Skip to content

Commit 513bb94

Browse files
committed
fix
1 parent e7c9f2a commit 513bb94

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

SU2_CFD/src/solvers/CNSSolver.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -823,10 +823,8 @@ void CNSSolver::SetTau_Wall_WF(CGeometry *geometry, CSolver **solver_container,
823823
const auto iPoint = geometry->vertex[iMarker][iVertex]->GetNode();
824824
const auto Point_Normal = geometry->vertex[iMarker][iVertex]->GetNormal_Neighbor();
825825

826-
/*--- Check if the node belongs to the domain (i.e, not a halo node)
827-
* and the neighbor is not part of the physical boundary ---*/
828-
829-
if (!geometry->nodes->GetDomain(iPoint)) continue;
826+
/*--- On the finest mesh compute also on halo nodes to avoid communication of tau wall. ---*/
827+
if ((!geometry->nodes->GetDomain(iPoint)) && !(MGLevel==MESH_0)) continue;
830828

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

0 commit comments

Comments
 (0)