From 255b1c4ab439735f7ef79e22976b7c6fcb4fd34d Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Thu, 17 May 2012 12:58:47 +0100 Subject: [PATCH] ENH: blob: updated tutorial --- tutorials/mesh/cvMesh/blob/Allrun | 3 +- tutorials/mesh/cvMesh/blob/system/cvMeshDict | 16 ++----- .../mesh/cvMesh/blob/system/snappyHexMeshDict | 48 +------------------ 3 files changed, 7 insertions(+), 60 deletions(-) diff --git a/tutorials/mesh/cvMesh/blob/Allrun b/tutorials/mesh/cvMesh/blob/Allrun index aafdcec4844..860857ec956 100755 --- a/tutorials/mesh/cvMesh/blob/Allrun +++ b/tutorials/mesh/cvMesh/blob/Allrun @@ -6,7 +6,8 @@ cd ${0%/*} || exit 1 # run from this directory runApplication blockMesh runApplication cvMesh -runApplication snappyHexMesh +#runApplication collapseEdges 1e-10 180 -overwrite +runApplication snappyHexMesh -overwrite runApplication checkMesh -constant -allGeometry -allTopology # ----------------------------------------------------------------- end-of-file diff --git a/tutorials/mesh/cvMesh/blob/system/cvMeshDict b/tutorials/mesh/cvMesh/blob/system/cvMeshDict index ca2fd3ccd62..27fff068837 100644 --- a/tutorials/mesh/cvMesh/blob/system/cvMeshDict +++ b/tutorials/mesh/cvMesh/blob/system/cvMeshDict @@ -92,6 +92,8 @@ surfaceConformation surfaceConformationRebuildFrequency 10; + specialiseFeaturePoints off; + conformationControls { initial @@ -230,18 +232,8 @@ polyMeshFiltering meshQualityControls { - maxNonOrtho 65; - maxBoundarySkewness 50; - maxInternalSkewness 10; - maxConcave 80; - minVol 1e-20; - minTetQuality 1e-30; - minArea -1; - minTwist 0.0; - minDeterminant 0.001; - minFaceWeight 0.02; - minVolRatio 0.01; - minTriangleTwist -1; + #include "meshQualityDict" } + // ************************************************************************* // diff --git a/tutorials/mesh/cvMesh/blob/system/snappyHexMeshDict b/tutorials/mesh/cvMesh/blob/system/snappyHexMeshDict index 3ac70912b49..da3f1895b4b 100644 --- a/tutorials/mesh/cvMesh/blob/system/snappyHexMeshDict +++ b/tutorials/mesh/cvMesh/blob/system/snappyHexMeshDict @@ -282,53 +282,7 @@ addLayersControls // where to undo. meshQualityControls { - //- Maximum non-orthogonality allowed. Set to 180 to disable. - maxNonOrtho 65; - - //- Max skewness allowed. Set to <0 to disable. - maxBoundarySkewness 20; - maxInternalSkewness 4; - - //- Max concaveness allowed. Is angle (in degrees) below which concavity - // is allowed. 0 is straight face, <0 would be convex face. - // Set to 180 to disable. - maxConcave 80; - - //- Minimum pyramid volume. Is absolute volume of cell pyramid. - // Set to a sensible fraction of the smallest cell volume expected. - // Set to very negative number (e.g. -1E30) to disable. - minVol 1e-13; - - //- Minimum quality of the tet formed by the face-centre - // and variable base point minimum decomposition triangles and - // the cell centre. This has to be a positive number for tracking - // to work. Set to very negative number (e.g. -1E30) to - // disable. - // <0 = inside out tet, - // 0 = flat tet - // 1 = regular tet - minTetQuality -1; //1e-30; - - //- Minimum face area. Set to <0 to disable. - minArea -1; - - //- Minimum face twist. Set to <-1 to disable. dot product of face normal - //- and face centre triangles normal - minTwist 0.02; - - //- minimum normalised cell determinant - //- 1 = hex, <= 0 = folded or flattened illegal cell - minDeterminant 0.001; - - //- minFaceWeight (0 -> 0.5) - minFaceWeight 0.02; - - //- minVolRatio (0 -> 1) - minVolRatio 0.01; - - //must be >0 for Fluent compatibility - minTriangleTwist -1; - + #include "meshQualityDict" // Advanced -- GitLab