Skip to content
Merged
Show file tree
Hide file tree
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
7 changes: 2 additions & 5 deletions SU2_CFD/src/solvers/CIncNSSolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -647,11 +647,8 @@ void CIncNSSolver::SetTau_Wall_WF(CGeometry *geometry, CSolver **solver_containe

const auto iPoint = geometry->vertex[iMarker][iVertex]->GetNode();
const auto Point_Normal = geometry->vertex[iMarker][iVertex]->GetNormal_Neighbor();

/*--- Check if the node belongs to the domain (i.e, not a halo node)
* and the neighbor is not part of the physical boundary ---*/

if (!geometry->nodes->GetDomain(iPoint)) continue;
/*--- On the finest mesh compute also on halo nodes to avoid communication of tau wall. ---*/
if ((!geometry->nodes->GetDomain(iPoint)) && !(MGLevel==MESH_0)) continue;

/*--- Get coordinates of the current vertex and nearest normal point ---*/

Expand Down
1 change: 1 addition & 0 deletions SU2_CFD/src/solvers/CTurbSSTSolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ void CTurbSSTSolver::SetTurbVars_WF(CGeometry *geometry, CSolver **solver_contai

const auto iPoint = geometry->vertex[val_marker][iVertex]->GetNode();
const auto iPoint_Neighbor = geometry->vertex[val_marker][iVertex]->GetNormal_Neighbor();
if (!geometry->nodes->GetDomain(iPoint_Neighbor)) continue;

su2double Y_Plus = solver_container[FLOW_SOL]->GetYPlus(val_marker, iVertex);
su2double Lam_Visc_Wall = solver_container[FLOW_SOL]->GetNodes()->GetLaminarViscosity(iPoint);
Expand Down