ORourkeCollision: Corrected probability test

Resolves bug-report http://bugs.openfoam.org/view.php?id=2097
This commit is contained in:
Henry Weller 2016-08-04 10:05:22 +01:00
parent 16624b772a
commit 7dfa780c48

View file

@ -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)
{