Fluid: Optimization for fluid domain obstacle boundary handling
This fix should especially improve liquid obstacles boundaries, i.e. help with the problem of particles sticking to the surface.
This commit is contained in:
parent
ffb94e88b0
commit
a24b5a74b5
|
@ -181,7 +181,7 @@ def liquid_adaptive_step_$ID$(framenr):\n\
|
|||
phi_s$ID$.join(phiIn_s$ID$)\n\
|
||||
\n\
|
||||
if using_obstacle_s$ID$:\n\
|
||||
phi_s$ID$.subtract(phiObsIn_s$ID$)\n\
|
||||
phi_s$ID$.subtract(o=phiObsIn_s$ID$, flags=flags_s$ID$, subtractType=FlagObstacle)\n\
|
||||
\n\
|
||||
if using_outflow_s$ID$:\n\
|
||||
phiOut_s$ID$.join(phiOutIn_s$ID$)\n\
|
||||
|
|
Loading…
Reference in New Issue