Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CTurbSSTSolver.cpp to fix bug on calculating MuT #2453

Merged
merged 1 commit into from
Feb 27, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you looked for other uses of GetStrainMag to check if they are ok?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have checked the other part of code and they are all ok.

nodes->SetBlendingFunc(iPoint, mu, dist, rho, config->GetKind_Trans_Model());

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