motionSmootherAlgoCheck::checkMesh: improved minVol test and removed unused tests

motionSmootherAlgoCheck::checkMesh is used by snappyHexMesh to check the mesh
after snapping and morphing.  The minVol test which checks for collapsed cells
is now relative to the cube of the minimum bounding box length so that it is
less dependent on the size of the geometry and less likely to need changing for
very small geometries.

The default value is set in
etc/caseDicts/mesh/generation/meshQualityDict
etc/caseDicts/mesh/generation/meshQualityDict.cfg

//- Minimum cell pyramid volume relative to min bounding box length^3
//  Set to a fraction of the smallest cell volume expected.
//  Set to very negative number (e.g. -1e30) to disable.
minVol 1e-10;

The unused minArea and minTriangleTwist tests have been removed
This commit is contained in:
Henry Weller
2022-02-24 16:44:34 +00:00
parent a34ddef943
commit 32e7b52c81
20 changed files with 110 additions and 301 deletions

View File

@ -35,13 +35,10 @@ maxConcave 80;
// 1 = regular tet
minTetQuality 1e-30;
//- Minimum pyramid volume. Is absolute volume of cell pyramid.
// Set to a sensible fraction of the smallest cell volume expected.
//- Minimum cell pyramid volume relative to min bounding box length^3
// Set to a fraction of the smallest cell volume expected.
// Set to very negative number (e.g. -1e30) to disable.
minVol 1e-20;
//- Minimum face area. Set to <0 to disable.
minArea -1;
minVol 1e-10;
//- Minimum face twist. Set to <-1 to disable. dot product of face normal
// and face centre triangles normal
@ -57,8 +54,5 @@ minFaceWeight 0.02;
//- minVolRatio (0 -> 1)
minVolRatio 0.01;
//must be >0 for Fluent compatibility
minTriangleTwist -1;
// ************************************************************************* //