Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
201366f7
Commit
201366f7
authored
Dec 14, 2015
by
Henry Weller
Browse files
PairCollision: Reduce division stabilization to SMALL
parent
fe1dc82e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lagrangian/intermediate/submodels/Kinematic/CollisionModel/PairCollision/PairCollision.C
View file @
201366f7
...
...
@@ -246,7 +246,7 @@ void Foam::PairCollision<CloudType>::wallInteraction()
vector
pW
=
nearPt
-
pos
;
scalar
normalAlignment
=
normal
&
pW
/
(
mag
(
pW
)
+
ROOT
SMALL
);
scalar
normalAlignment
=
normal
&
pW
/
(
mag
(
pW
)
+
SMALL
);
// Find the patchIndex and wallData for WallSiteData object
label
patchI
=
patchID
[
realFaceI
-
mesh
.
nInternalFaces
()];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment