Use the new primitive mesh magFaceAreas where appropriate
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-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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user