Skip to content

Commit 3e8292c

Browse files
Shubham shuklapcarruscag
andauthored
Update SU2_CFD/src/solvers/CTurbSSTSolver.cpp
Co-authored-by: Pedro Gomes <38071223+pcarruscag@users.noreply.github.com>
1 parent f517cb7 commit 3e8292c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

SU2_CFD/src/solvers/CTurbSSTSolver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ void CTurbSSTSolver::Postprocessing(CGeometry *geometry, CSolver **solver_contai
272272
}
273273
shearStress = sqrt(shearStress);
274274

275-
const su2double FrictionVelocity = max(sqrt(shearStress/flowNodes->GetDensity(iPoint)), 1e-10);
275+
const su2double FrictionVelocity = max(sqrt(shearStress/flowNodes->GetDensity(iPoint)), EPS);
276276
const su2double wall_dist = geometry->vertex[iMarker][iVertex]->GetNearestNeighborDistance();
277277

278278
const su2double Derivative = flowNodes->GetLaminarViscosity(jPoint) * pow(nodes->GetSolution(jPoint, 0), 0.673) / max(wall_dist, EPS);

0 commit comments

Comments
 (0)