Skip to content
GitLab
Menu
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-plus
Commits
cc8781f4
Commit
cc8781f4
authored
Aug 04, 2016
by
Henry Weller
Browse files
ORourkeCollision: Corrected probability test
Resolves bug-report
http://bugs.openfoam.org/view.php?id=2097
parent
232a2a09
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lagrangian/spray/submodels/StochasticCollision/ORourkeCollision/ORourkeCollision.C
View file @
cc8781f4
...
@@ -142,7 +142,7 @@ bool Foam::ORourkeCollision<CloudType>::collideParcels
...
@@ -142,7 +142,7 @@ bool Foam::ORourkeCollision<CloudType>::collideParcels
scalar
xx
=
this
->
owner
().
rndGen
().
template
sample01
<
scalar
>
();
scalar
xx
=
this
->
owner
().
rndGen
().
template
sample01
<
scalar
>
();
// Collision occurs
// Collision occurs
if
(
xx
<
collProb
)
if
(
xx
>
collProb
)
{
{
if
(
d1
>
d2
)
if
(
d1
>
d2
)
{
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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