mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: distinguish between face areaNormal/unitNormal in the code
This commit is contained in:
@ -127,7 +127,7 @@ Foam::scalar Foam::wallBoundedParticle::trackToEdge
|
||||
const bool posVol = (nbrTi.tet(mesh()).mag() > 0);
|
||||
const vector path(endPosition - localPosition_);
|
||||
|
||||
if (posVol == ((nbrTi.faceTri(mesh()).normal() & path) < 0))
|
||||
if (posVol == ((nbrTi.faceTri(mesh()).areaNormal() & path) < 0))
|
||||
{
|
||||
// Change into nbrCell. No need to change tetFace, tetPt.
|
||||
//Pout<< " crossed from cell:" << celli_
|
||||
|
||||
Reference in New Issue
Block a user