mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: blockMesh: protect face projection from misses. Fixes #1591.
This commit is contained in:
@ -247,7 +247,14 @@ void Foam::blockFaces::projectFace::project
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (iter > 0 && (iResidual+jResidual)/initialResidual < relTol)
|
if
|
||||||
|
(
|
||||||
|
iter > 0
|
||||||
|
&& (
|
||||||
|
initialResidual < ROOTVSMALL
|
||||||
|
|| ((iResidual+jResidual)/initialResidual < relTol)
|
||||||
|
)
|
||||||
|
)
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user