Skip to content

Commit 0b3d7e5

Browse files
authored
Merge branch 'develop' into develop
2 parents 3b84f1d + 124795b commit 0b3d7e5

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

SU2_CFD/src/solvers/CIncNSSolver.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -647,11 +647,8 @@ void CIncNSSolver::SetTau_Wall_WF(CGeometry *geometry, CSolver **solver_containe
647647

648648
const auto iPoint = geometry->vertex[iMarker][iVertex]->GetNode();
649649
const auto Point_Normal = geometry->vertex[iMarker][iVertex]->GetNormal_Neighbor();
650-
651-
/*--- Check if the node belongs to the domain (i.e, not a halo node)
652-
* and the neighbor is not part of the physical boundary ---*/
653-
654-
if (!geometry->nodes->GetDomain(iPoint)) continue;
650+
/*--- On the finest mesh compute also on halo nodes to avoid communication of tau wall. ---*/
651+
if ((!geometry->nodes->GetDomain(iPoint)) && !(MGLevel==MESH_0)) continue;
655652

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

SU2_CFD/src/solvers/CTurbSSTSolver.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,7 @@ void CTurbSSTSolver::SetTurbVars_WF(CGeometry *geometry, CSolver **solver_contai
467467

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

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

0 commit comments

Comments
 (0)