Skip to content
Snippets Groups Projects
Commit 80b5d3a1 authored by mattijs's avatar mattijs
Browse files

ENH: blockMesh: protect face projection from misses. Fixes #1591.

parent ec3de712
Branches
Tags
No related merge requests found
......@@ -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;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment