mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
PairCollision: Reduce division stabilization to SMALL
This commit is contained in:
@ -246,7 +246,7 @@ void Foam::PairCollision<CloudType>::wallInteraction()
|
|||||||
|
|
||||||
vector pW = nearPt - pos;
|
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
|
// Find the patchIndex and wallData for WallSiteData object
|
||||||
label patchI = patchID[realFaceI - mesh.nInternalFaces()];
|
label patchI = patchID[realFaceI - mesh.nInternalFaces()];
|
||||||
|
|||||||
Reference in New Issue
Block a user