fvMesh: Stabilise magSf with rootVSmall rather than vSmall
for running cases NCC in extended precision
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user