From a08bb7bae1cc7b3153281aeb0d8edf09e78e922e Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Tue, 15 Mar 2022 14:50:12 +0000 Subject: [PATCH] meshQualityDict: Switch off the minVol control by default It is not clear for what cases the minVol control is useful or necessary and for some cases it causes problems with snapping and layer addition if not set to a sufficiently small value. --- etc/caseDicts/mesh/generation/meshQualityDict | 2 +- etc/caseDicts/mesh/generation/meshQualityDict.cfg | 4 ++-- .../RAS/annularThermalMixer/system/snappyHexMeshDict | 2 +- .../pimpleFoam/RAS/propeller/system/snappyHexMeshDict | 2 +- .../wingMotion_snappyHexMesh/system/snappyHexMeshDict | 2 +- .../pisoFoam/LES/motorBike/motorBike/system/snappyHexMeshDict | 2 +- .../simpleFoam/turbineSiting/system/snappyHexMeshDict | 2 +- tutorials/mesh/foamyHexMesh/blob/system/meshQualityDict | 2 +- .../multiphase/interFoam/RAS/DTCHull/system/meshQualityDict | 2 +- .../interFoam/RAS/DTCHullMoving/system/meshQualityDict | 2 +- .../interFoam/RAS/DTCHullWave/system/meshQualityDict | 2 +- .../interFoam/RAS/mixerVesselAMI/system/snappyHexMeshDict | 2 +- .../interFoam/RAS/planingHullW3/system/meshQualityDict | 2 +- .../interFoam/RAS/propeller/system/snappyHexMeshDict | 2 +- .../laminar/cavitatingBullet/system/snappyHexMeshDict | 2 +- 15 files changed, 16 insertions(+), 16 deletions(-) diff --git a/etc/caseDicts/mesh/generation/meshQualityDict b/etc/caseDicts/mesh/generation/meshQualityDict index cfe837b340..2b40bbc8b3 100644 --- a/etc/caseDicts/mesh/generation/meshQualityDict +++ b/etc/caseDicts/mesh/generation/meshQualityDict @@ -28,7 +28,7 @@ maxConcave 80; //- 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; +minVol -1e30; //- Minimum quality of the tet formed by the face-centre // and variable base point minimum decomposition triangles and diff --git a/etc/caseDicts/mesh/generation/meshQualityDict.cfg b/etc/caseDicts/mesh/generation/meshQualityDict.cfg index df7b2610b5..0df5352f38 100644 --- a/etc/caseDicts/mesh/generation/meshQualityDict.cfg +++ b/etc/caseDicts/mesh/generation/meshQualityDict.cfg @@ -14,9 +14,9 @@ maxInternalSkewness 4; maxConcave 80; -minVol 1e-10; +minVol -1e30; -minTetQuality -1e30; +minTetQuality -1e30; minTwist 0.02; diff --git a/tutorials/compressible/rhoPimpleFoam/RAS/annularThermalMixer/system/snappyHexMeshDict b/tutorials/compressible/rhoPimpleFoam/RAS/annularThermalMixer/system/snappyHexMeshDict index 7ef24fffb1..bfd050785c 100644 --- a/tutorials/compressible/rhoPimpleFoam/RAS/annularThermalMixer/system/snappyHexMeshDict +++ b/tutorials/compressible/rhoPimpleFoam/RAS/annularThermalMixer/system/snappyHexMeshDict @@ -247,7 +247,7 @@ meshQualityControls maxInternalSkewness 4; maxConcave 80; - minVol 1e-13; + minVol -1e30; minTetQuality -1; minTwist 0.01; minDeterminant 0.001; diff --git a/tutorials/incompressible/pimpleFoam/RAS/propeller/system/snappyHexMeshDict b/tutorials/incompressible/pimpleFoam/RAS/propeller/system/snappyHexMeshDict index eeb931159c..bad6b9f6c0 100644 --- a/tutorials/incompressible/pimpleFoam/RAS/propeller/system/snappyHexMeshDict +++ b/tutorials/incompressible/pimpleFoam/RAS/propeller/system/snappyHexMeshDict @@ -391,7 +391,7 @@ meshQualityControls //- 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; + minVol -1e30; //- Minimum quality of the tet formed by the face-centre // and variable base point minimum decomposition triangles and diff --git a/tutorials/incompressible/pimpleFoam/RAS/wingMotion/wingMotion_snappyHexMesh/system/snappyHexMeshDict b/tutorials/incompressible/pimpleFoam/RAS/wingMotion/wingMotion_snappyHexMesh/system/snappyHexMeshDict index 1c2faebcf1..8f0f40e260 100644 --- a/tutorials/incompressible/pimpleFoam/RAS/wingMotion/wingMotion_snappyHexMesh/system/snappyHexMeshDict +++ b/tutorials/incompressible/pimpleFoam/RAS/wingMotion/wingMotion_snappyHexMesh/system/snappyHexMeshDict @@ -268,7 +268,7 @@ meshQualityControls //- 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; + minVol -1e30; //- Minimum quality of the tet formed by the face-centre // and variable base point minimum decomposition triangles and diff --git a/tutorials/incompressible/pisoFoam/LES/motorBike/motorBike/system/snappyHexMeshDict b/tutorials/incompressible/pisoFoam/LES/motorBike/motorBike/system/snappyHexMeshDict index 8871133c55..fec07f1567 100644 --- a/tutorials/incompressible/pisoFoam/LES/motorBike/motorBike/system/snappyHexMeshDict +++ b/tutorials/incompressible/pisoFoam/LES/motorBike/motorBike/system/snappyHexMeshDict @@ -279,7 +279,7 @@ meshQualityControls //- 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; + minVol -1e30; minTetQuality 1e-30; diff --git a/tutorials/incompressible/simpleFoam/turbineSiting/system/snappyHexMeshDict b/tutorials/incompressible/simpleFoam/turbineSiting/system/snappyHexMeshDict index a25152680a..5f75b4f18c 100644 --- a/tutorials/incompressible/simpleFoam/turbineSiting/system/snappyHexMeshDict +++ b/tutorials/incompressible/simpleFoam/turbineSiting/system/snappyHexMeshDict @@ -327,7 +327,7 @@ meshQualityControls //- 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; + minVol -1e30; //- Minimum quality of the tet formed by the face-centre // and variable base point minimum decomposition triangles and diff --git a/tutorials/mesh/foamyHexMesh/blob/system/meshQualityDict b/tutorials/mesh/foamyHexMesh/blob/system/meshQualityDict index 9239dc9d8b..d727c0f69a 100644 --- a/tutorials/mesh/foamyHexMesh/blob/system/meshQualityDict +++ b/tutorials/mesh/foamyHexMesh/blob/system/meshQualityDict @@ -38,7 +38,7 @@ minTetQuality 1e-30; //- 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; +minVol -1e30; //- Minimum face twist. Set to <-1 to disable. dot product of face normal // and face centre triangles normal diff --git a/tutorials/multiphase/interFoam/RAS/DTCHull/system/meshQualityDict b/tutorials/multiphase/interFoam/RAS/DTCHull/system/meshQualityDict index 89d91b5160..1c9c1d3c7c 100644 --- a/tutorials/multiphase/interFoam/RAS/DTCHull/system/meshQualityDict +++ b/tutorials/multiphase/interFoam/RAS/DTCHull/system/meshQualityDict @@ -29,7 +29,7 @@ maxConcave 80; //- 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; +minVol -1e30; //- Minimum quality of the tet formed by the face-centre // and variable base point minimum decomposition triangles and diff --git a/tutorials/multiphase/interFoam/RAS/DTCHullMoving/system/meshQualityDict b/tutorials/multiphase/interFoam/RAS/DTCHullMoving/system/meshQualityDict index 4cda897dd9..6bb70d763c 100644 --- a/tutorials/multiphase/interFoam/RAS/DTCHullMoving/system/meshQualityDict +++ b/tutorials/multiphase/interFoam/RAS/DTCHullMoving/system/meshQualityDict @@ -29,7 +29,7 @@ maxConcave 80; //- 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; +minVol -1e30; //- Minimum quality of the tet formed by the face-centre // and variable base point minimum decomposition triangles and diff --git a/tutorials/multiphase/interFoam/RAS/DTCHullWave/system/meshQualityDict b/tutorials/multiphase/interFoam/RAS/DTCHullWave/system/meshQualityDict index 89d91b5160..1c9c1d3c7c 100644 --- a/tutorials/multiphase/interFoam/RAS/DTCHullWave/system/meshQualityDict +++ b/tutorials/multiphase/interFoam/RAS/DTCHullWave/system/meshQualityDict @@ -29,7 +29,7 @@ maxConcave 80; //- 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; +minVol -1e30; //- Minimum quality of the tet formed by the face-centre // and variable base point minimum decomposition triangles and diff --git a/tutorials/multiphase/interFoam/RAS/mixerVesselAMI/system/snappyHexMeshDict b/tutorials/multiphase/interFoam/RAS/mixerVesselAMI/system/snappyHexMeshDict index 27ca9a5f9f..1728572f0e 100644 --- a/tutorials/multiphase/interFoam/RAS/mixerVesselAMI/system/snappyHexMeshDict +++ b/tutorials/multiphase/interFoam/RAS/mixerVesselAMI/system/snappyHexMeshDict @@ -516,7 +516,7 @@ meshQualityControls //- 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; + minVol -1e30; // Minimum quality of the tet formed by the face-centre // and variable base point minimum decomposition triangles and diff --git a/tutorials/multiphase/interFoam/RAS/planingHullW3/system/meshQualityDict b/tutorials/multiphase/interFoam/RAS/planingHullW3/system/meshQualityDict index 6e7239690d..96d9060cde 100644 --- a/tutorials/multiphase/interFoam/RAS/planingHullW3/system/meshQualityDict +++ b/tutorials/multiphase/interFoam/RAS/planingHullW3/system/meshQualityDict @@ -29,7 +29,7 @@ maxConcave 80; //- 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; +minVol -1e30; //- Minimum quality of the tet formed by the face-centre // and variable base point minimum decomposition triangles and diff --git a/tutorials/multiphase/interFoam/RAS/propeller/system/snappyHexMeshDict b/tutorials/multiphase/interFoam/RAS/propeller/system/snappyHexMeshDict index eeb931159c..bad6b9f6c0 100644 --- a/tutorials/multiphase/interFoam/RAS/propeller/system/snappyHexMeshDict +++ b/tutorials/multiphase/interFoam/RAS/propeller/system/snappyHexMeshDict @@ -391,7 +391,7 @@ meshQualityControls //- 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; + minVol -1e30; //- Minimum quality of the tet formed by the face-centre // and variable base point minimum decomposition triangles and diff --git a/tutorials/multiphase/interFoam/laminar/cavitatingBullet/system/snappyHexMeshDict b/tutorials/multiphase/interFoam/laminar/cavitatingBullet/system/snappyHexMeshDict index 94e59334a6..58d7a1b749 100644 --- a/tutorials/multiphase/interFoam/laminar/cavitatingBullet/system/snappyHexMeshDict +++ b/tutorials/multiphase/interFoam/laminar/cavitatingBullet/system/snappyHexMeshDict @@ -292,7 +292,7 @@ meshQualityControls //- 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; + minVol -1e30; //- Minimum quality of the tet formed by the face-centre // and variable base point minimum decomposition triangles and