From d1b44711415b8aa621dd1a786a3ac89b7b48a161 Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Wed, 21 Feb 2018 11:15:38 +0000 Subject: [PATCH] BUG: snappyHexMesh: make corner-point detection compatible with cutting --- .../snappyHexMesh/meshRefinement/meshRefinementProblemCells.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesh/snappyHexMesh/meshRefinement/meshRefinementProblemCells.C b/src/mesh/snappyHexMesh/meshRefinement/meshRefinementProblemCells.C index ffd42013dc3..78c39347521 100644 --- a/src/mesh/snappyHexMesh/meshRefinement/meshRefinementProblemCells.C +++ b/src/mesh/snappyHexMesh/meshRefinement/meshRefinementProblemCells.C @@ -817,7 +817,7 @@ Foam::labelList Foam::meshRefinement::markFacesOnProblemCells } } } - else if (nBoundaryAnchors == 7) + else if (nBoundaryAnchors == 7 && nonBoundaryAnchor != -1) { // Mark the cell. Store the (single!) non-boundary anchor point. hasSevenBoundaryAnchorPoints.set(celli, 1u); -- GitLab