Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
pcarruscag authored Feb 25, 2025
1 parent ca0b4b6 commit cb37bac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SU2_CFD/include/solvers/CFVMFlowSolverBase.inl
Original file line number Diff line number Diff line change
Expand Up @@ -2498,7 +2498,7 @@ void CFVMFlowSolverBase<V, FlowRegime>::Friction_Forces(const CGeometry* geometr
FrictionVel = sqrt(fabs(WallShearStress[iMarker][iVertex]) / Density);

if (!wallfunctions && MGLevel == MESH_0 && geometry->nodes->GetDomain(iPoint)) {
// for CMultiGridGeometry, the normal neighbor of halo nodes is not set
// for CMultiGridGeometry and halos, the nearest neighbor distance is not set
const su2double WallDistMod = geometry->vertex[iMarker][iVertex]->GetNearestNeighborDistance();
YPlus[iMarker][iVertex] = WallDistMod * FrictionVel / (Viscosity / Density);
}
Expand Down

0 comments on commit cb37bac

Please sign in to comment.