diff --git a/src/autoMesh/autoHexMesh/meshRefinement/meshRefinementRefine.C b/src/autoMesh/autoHexMesh/meshRefinement/meshRefinementRefine.C index 9a5f6cf63379293e884c8c74fa59fa48b981c203..1599857d62b6edc534e112a045f9c544fe6a162c 100644 --- a/src/autoMesh/autoHexMesh/meshRefinement/meshRefinementRefine.C +++ b/src/autoMesh/autoHexMesh/meshRefinement/meshRefinementRefine.C @@ -1164,7 +1164,12 @@ Foam::labelList Foam::meshRefinement::refineCandidates // Refinement based on curvature of surface // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - if (curvatureRefinement && (curvature >= -1 && curvature <= 1)) + if + ( + curvatureRefinement + && (curvature >= -1 && curvature <= 1) + && (surfaces_.minLevel() != surfaces_.maxLevel()) + ) { label nCurv = markSurfaceCurvatureRefinement (