Tight tolerances on mesh motion error
This commit is contained in:
parent
62228e7189
commit
6c2263a2bf
1 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
|
|
Reference in a new issue