ORourkeCollision: Corrected probability test
Resolves bug-report http://bugs.openfoam.org/view.php?id=2097
This commit is contained in:
parent
16624b772a
commit
7dfa780c48
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ bool Foam::ORourkeCollision<CloudType>::collideParcels
|
|||
scalar xx = this->owner().rndGen().template sample01<scalar>();
|
||||
|
||||
// Collision occurs
|
||||
if (xx < collProb)
|
||||
if (xx > collProb)
|
||||
{
|
||||
if (d1 > d2)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue