Skip to content

Commit

Permalink
Update CTurbSSTSolver.cpp to fix bug on calculating MuT
Browse files Browse the repository at this point in the history
  • Loading branch information
ShiheJia authored Feb 25, 2025
1 parent c725fc1 commit 1199125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SU2_CFD/src/solvers/CTurbSSTSolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ void CTurbSSTSolver::Postprocessing(CGeometry *geometry, CSolver **solver_contai
const su2double dist = geometry->nodes->GetWall_Distance(iPoint);

const su2double VorticityMag = max(GeometryToolbox::Norm(3, flowNodes->GetVorticity(iPoint)), 1e-12);
const su2double StrainMag = max(nodes->GetStrainMag(iPoint), 1e-12);
const su2double StrainMag = max(flowNodes->GetStrainMag(iPoint), 1e-12);
nodes->SetBlendingFunc(iPoint, mu, dist, rho, config->GetKind_Trans_Model());

const su2double F2 = nodes->GetF2blending(iPoint);
Expand Down

0 comments on commit 1199125

Please sign in to comment.