fvMesh: Stabilise magSf with rootVSmall rather than vSmall

for running cases NCC in extended precision
This commit is contained in:
Henry Weller
2023-06-16 13:22:25 +01:00
parent f8074234c0
commit 29fb55b24b
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2023 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -152,7 +152,7 @@ void Foam::primitiveMesh::makeFaceCentresAndAreas
fAreas[facei] = 0.5*sumA;
}
magfAreas[facei] = max(mag(fAreas[facei]), vSmall);
magfAreas[facei] = max(mag(fAreas[facei]), rootVSmall);
}
}