Skip to content

Commit 131f47f

Browse files
committed
fix reverts
1 parent 662f0d8 commit 131f47f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

SU2_CFD/src/solvers/CIncNSSolver.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -684,9 +684,9 @@ void CIncNSSolver::SetTau_Wall_WF(CGeometry *geometry, CSolver **solver_containe
684684

685685
const su2double VelTangMod = GeometryToolbox::Norm(int(MAXNDIM), VelTang);
686686

687-
/*--- Compute nearest-neighbor distance of the interior point from the wall ---*/
687+
/*--- Compute normal distance of the interior point from the wall ---*/
688+
const su2double WallDistMod = GeometryToolbox::Distance(nDim, Coord, Coord_Normal);
688689

689-
su2double WallDistMod = GeometryToolbox::Norm(int(MAXNDIM), WallDist);
690690
su2double Density_Wall = nodes->GetDensity(iPoint);
691691

692692
/*--- Compute the shear stress at the wall in the regular fashion

SU2_CFD/src/solvers/CNSSolver.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -863,9 +863,9 @@ void CNSSolver::SetTau_Wall_WF(CGeometry *geometry, CSolver **solver_container,
863863

864864
const su2double VelTangMod = GeometryToolbox::Norm(int(MAXNDIM), VelTang);
865865

866-
/*--- Compute nearest-neighbor distance of the interior point from the wall ---*/
866+
/*--- Compute normal distance of the interior point from the wall ---*/
867+
const su2double WallDistMod = GeometryToolbox::Distance(nDim, Coord, Coord_Normal);
867868

868-
const su2double WallDistMod = GeometryToolbox::Norm(int(MAXNDIM), WallDist);
869869
su2double T_Wall = nodes->GetTemperature(iPoint);
870870
const su2double Conductivity_Wall = nodes->GetThermalConductivity(iPoint);
871871

0 commit comments

Comments
 (0)