Skip to content

Commit 33b9fe3

Browse files
authored
Fix for halo nodes for compressible + wall functions (#2599)
* fix * Aachen turbine ... * Aachen turbine - change tolerance
1 parent e7c9f2a commit 33b9fe3

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
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

TestCases/parallel_regression.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1085,7 +1085,8 @@ def main():
10851085
Aachen_3D_restart.cfg_dir = "turbomachinery/Aachen_turbine"
10861086
Aachen_3D_restart.cfg_file = "aachen_3D_MP_restart.cfg"
10871087
Aachen_3D_restart.test_iter = 5
1088-
Aachen_3D_restart.test_vals = [-7.701447, -8.512235, -6.014939, -6.468414, -5.801735, -4.607179, -5.550688, -5.300764, -3.804188, -5.256009, -5.764984, -3.609605, -2.229276, -2.883960, -0.563469]
1088+
Aachen_3D_restart.tol = 0.00001
1089+
Aachen_3D_restart.test_vals = [-7.701448, -8.512355, -6.014939, -6.468419, -5.801738, -4.607179, -5.550692, -5.300771, -3.804188, -5.256009, -5.765048, -3.609605, -2.229276, -2.883895, -0.563469]
10891090
test_list.append(Aachen_3D_restart)
10901091

10911092
# Jones APU Turbocharger restart

0 commit comments

Comments
 (0)