ENH: snappyHexMesh: early exit of leak detection. See #2403

Changed behaviour to make it the default
This commit is contained in:
mattijs
2022-06-09 11:16:10 +01:00
parent 4f0166397e
commit c5cede38aa
6 changed files with 22 additions and 20 deletions

View File

@ -74,7 +74,7 @@ Foam::refinementParameters::refinementParameters
pointField(0)
)
),
useLeakClosure_(dict.getOrDefault<bool>("useLeakClosure", true)),
useLeakClosure_(dict.getOrDefault<bool>("useLeakClosure", false)),
faceZoneControls_(dict.subOrEmptyDict("faceZoneControls")),
allowFreeStandingZoneFaces_
(

View File

@ -199,8 +199,8 @@ public:
}
//- Whether to attempt to close any 'leak' between
// locationsInsideMesh and locationsOutsideMesh or exit with
// error. Default is true.
// locationsInsideMesh and locationsOutsideMesh. Default is
// false (dump path and exit with error)
// (see also refinementSurfaces::leakLevel to force surfaces to
// be checked for leaks early-on in the refinement)
bool useLeakClosure() const