ENH: checkMesh: add stabilisation. Fixes #2171

This commit is contained in:
mattijs
2021-07-28 17:56:48 +01:00
parent 9ab8c525cf
commit 60aeca32a8
3 changed files with 25 additions and 10 deletions

View File

@ -180,7 +180,7 @@ void Foam::writeFields
(
radToDeg
(
Foam::acos(min(scalar(1), faceOrthogonality))
Foam::acos(min(scalar(1), max(scalar(-1), faceOrthogonality)))
)
);