From 95572f359f74dac95842c288fa84a4c63726dc66 Mon Sep 17 00:00:00 2001 From: mattijs Date: Thu, 27 Sep 2012 15:21:11 +0100 Subject: [PATCH] ENH: snappyHexMeshDict: updated comment --- .../generation/snappyHexMesh/snappyHexMeshDict | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMeshDict b/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMeshDict index 8d7927c42b..ef479dbbbb 100644 --- a/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMeshDict +++ b/applications/utilities/mesh/generation/snappyHexMesh/snappyHexMeshDict @@ -255,6 +255,8 @@ addLayersControls relativeSizes true; // Per final patch (so not geometry!) the layer information + // Note: This behaviour changed after 21x. Any non-mentioned patches + // now slide unless nSurfaceLayers is explicitly mentioned to be 0. layers { sphere.stl_firstSolid @@ -265,6 +267,17 @@ addLayersControls maxY { nSurfaceLayers 1; + // Per patch layer data + expansionRatio 1.3; + finalLayerThickness 0.3; + minThickness 0.1; + } + + // Disable any mesh shrinking and layer addition on any point of + // a patch by setting nSurfaceLayers to 0 + frozenPatches + { + nSurfaceLayers 0; } } @@ -281,6 +294,7 @@ addLayersControls //- Minimum thickness of cell layer. If for any reason layer // cannot be above minThickness do not add layer. + // Relative to undistorted size of cell outside layer. // See relativeSizes parameter. minThickness 0.25; @@ -417,7 +431,7 @@ meshQualityControls // Flags for optional output // 0 : only write final meshes // 1 : write intermediate meshes -// 2 : write volScalarFields with cellLevel and cell centres for postprocessing +// 2 : write volScalarField with cellLevel for postprocessing // 4 : write current intersections as .obj files debug 0;