Fixed bug in Stokes flow option just added to cpu/Color.cpp (not in gpu library yet)
This commit is contained in:
parent
c57f59adaa
commit
284150e770
@ -642,7 +642,7 @@ extern "C" void ColorCollide( char *ID, double *disteven, double *distodd, doubl
|
||||
if (C == 0.0) nx = ny = nz = 1.0;
|
||||
#ifdef STOKES
|
||||
m1 = m1 + rlx_setA*(- 11*rho -alpha*C - m1);
|
||||
m2 = m2 + rlx_setA*((3*rho - m2);
|
||||
m2 = m2 + rlx_setA*(3*rho - m2);
|
||||
m4 = m4 + rlx_setB*((-0.6666666666666666*jx)- m4);
|
||||
m6 = m6 + rlx_setB*((-0.6666666666666666*jy)- m6);
|
||||
m8 = m8 + rlx_setB*((-0.6666666666666666*jz)- m8);
|
||||
|
Loading…
Reference in New Issue
Block a user