Tight tolerances on mesh motion error

This commit is contained in:
Hrvoje Jasak 2019-03-27 18:12:22 +00:00
parent 62228e7189
commit 6c2263a2bf

View file

@ -225,7 +225,8 @@ void Foam::immersedBoundaryFvPatch::updatePhi
// HJ, 22/Dec/2017
forAll (magDivPhi, cellI)
{
if (magDivPhi[cellI] > SMALL)
// if (magDivPhi[cellI] > SMALL)
if (magDivPhi[cellI] > 1e-40)
{
// Attempt to correct via old volume
scalar corrOldVol = newVols[cellI] - divPhi[cellI]*deltaT;