Use the new primitive mesh magFaceAreas where appropriate

This commit is contained in:
Henry Weller
2020-06-03 17:11:56 +01:00
parent 6ef064984d
commit 44cf9977c3
12 changed files with 34 additions and 25 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-2018 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -212,7 +212,7 @@ bool Foam::functionObjects::dsmcFields::write()
{
pBf[i] =
fDMean.boundaryField()[i]
& (patch.faceAreas()/mag(patch.faceAreas()));
& (patch.faceAreas()/patch.magFaceAreas());
}
}