PairCollision: Reduce division stabilization to SMALL

This commit is contained in:
Henry Weller
2015-12-14 10:21:22 +00:00
parent fe1dc82e5a
commit 201366f7f2

View File

@ -246,7 +246,7 @@ void Foam::PairCollision<CloudType>::wallInteraction()
vector pW = nearPt - pos;
scalar normalAlignment = normal & pW/(mag(pW) + ROOTSMALL);
scalar normalAlignment = normal & pW/(mag(pW) + SMALL);
// Find the patchIndex and wallData for WallSiteData object
label patchI = patchID[realFaceI - mesh.nInternalFaces()];