Adjust tolerances

This commit is contained in:
Hrvoje Jasak 2017-12-28 19:37:02 +00:00
parent 312dfd4283
commit 47f7fcddc6

View file

@ -56,7 +56,7 @@ const Foam::debug::tolerancesSwitch
Foam::immersedBoundaryPolyPatch::liveFactor_ Foam::immersedBoundaryPolyPatch::liveFactor_
( (
"immersedBoundaryLiveFactor", "immersedBoundaryLiveFactor",
1e-3 1e-5
); );
@ -69,8 +69,8 @@ Foam::vector Foam::immersedBoundaryPolyPatch::cellSpan
{ {
const polyMesh& mesh = boundaryMesh().mesh(); const polyMesh& mesh = boundaryMesh().mesh();
// Calculate span as twice the bounding box size // Calculate span from the bounding box size
const scalar delta = 2*cmptMax const scalar delta = 3*cmptMax
( (
boundBox boundBox
( (