Fix T51759: fluid simulation particles not remoevd when colliding with outflow objects.
Reviewed By: brecht Differential Revision: https://developer.blender.org/D2719
This commit is contained in:
parent
3232d8ec8f
commit
405121d613
Notes:
blender-bot
2023-02-14 06:54:27 +01:00
Referenced by issue #51759, Fluid simulation. An outflow mesh doesn't remove additional fluid mesh (Generated by Fluid Particles option)
|
@ -855,6 +855,10 @@ void LbmFsgrSolver::advanceParticles() {
|
|||
if(k<=mSizez-1-cutval){
|
||||
CellFlagType pflag = RFLAG(level, i,j,k, workSet);
|
||||
//errMsg("PIT move"," at "<<PRINT_IJK<<" flag"<<convertCellFlagType2String(pflag) );
|
||||
if (pflag & CFMbndOutflow) {
|
||||
DEL_PART;
|
||||
continue;
|
||||
}
|
||||
if(pflag & (CFBnd)) {
|
||||
handleObstacleParticle(p);
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue