diff --git a/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMeshDict b/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMeshDict index dd523164ea..cc975eb970 100644 --- a/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMeshDict +++ b/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMeshDict @@ -323,9 +323,10 @@ meshQualityControls minTriangleTwist -1; //- if >0 : preserve single cells with all points on the surface if the - // resulting volume after snapping (approximation) is larger than - // minVolFraction times old volume. If <0 : delete always. - minVolFraction 0.5; + // resulting volume after snapping (by approximation) is larger than + // minVolCollapseRatio times old volume (i.e. not collapsed to flat cell). + // If <0 : delete always. + //minVolCollapseRatio 0.5; // Advanced diff --git a/src/autoMesh/autoHexMesh/meshRefinement/meshRefinementProblemCells.C b/src/autoMesh/autoHexMesh/meshRefinement/meshRefinementProblemCells.C index 5f3e335d60..ea1e8a083c 100644 --- a/src/autoMesh/autoHexMesh/meshRefinement/meshRefinementProblemCells.C +++ b/src/autoMesh/autoHexMesh/meshRefinement/meshRefinementProblemCells.C @@ -524,9 +524,9 @@ Foam::labelList Foam::meshRefinement::markFacesOnProblemCells // Collapse checking parameters scalar volFraction = -1; - if (motionDict.found("minVolFraction")) + if (motionDict.found("minVolCollapseRatio")) { - volFraction = readScalar(motionDict.lookup("minVolFraction")); + volFraction = readScalar(motionDict.lookup("minVolCollapseRatio")); } const bool checkCollapse = (volFraction > 0); scalar minArea = -1; diff --git a/src/autoMesh/autoHexMesh/refinementSurfaces/refinementSurfaces.H b/src/autoMesh/autoHexMesh/refinementSurfaces/refinementSurfaces.H index 2c6fbbe8f2..e8fd361401 100644 --- a/src/autoMesh/autoHexMesh/refinementSurfaces/refinementSurfaces.H +++ b/src/autoMesh/autoHexMesh/refinementSurfaces/refinementSurfaces.H @@ -154,7 +154,7 @@ public: return cellZoneNames_; } - //- Get indices of named surfaces (surfaces with faceZoneName) + //- Get indices of unnamed surfaces (surfaces without faceZoneName) labelList getUnnamedSurfaces() const; //- Get indices of named surfaces (surfaces with faceZoneName)