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:
Sebastián Barschkis 2020-02-06 19:27:47 +01:00
parent ffb94e88b0
commit a24b5a74b5
1 changed files with 1 additions and 1 deletions

View File

@ -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\