Leaking MPM solver

   825   2   0
User Avatar
Member
16 posts
Joined: 3月 2016
Offline
Hi - any tips on keeping MPM solver from messing up collisions? I've got some viscous/sticky fluids inside a sealed collider, using the vdb/invert option in the MPM collider node. The simulation always has leaks/errors, it looks like the sim is lagging the animation and this allows the edge particles to escape. See vid attached

Things I've tried:
1. substeps - min/max up to 200/20000
2. CFL - down to 0.01
3. looser/denser meshing for the collider
4. changing collision type to animated deforming (instead of animated/rigid)

Thanks for any advice! Chris

Attachments:
liquiType.[0001-0128]_1.mp4 (8.5 MB)

User Avatar
Member
16 posts
Joined: 3月 2016
Offline
Fixed! By watching the MPM masterclass, which is super-helpful by the way.
The missing checkbox was this one, which watches out for particles creeping through the collider, exactly what I wanted.

Attachments:
mpm_collisions.jpg (59.3 KB)

User Avatar
Member
2127 posts
Joined: 9月 2015
Offline
Can't remember the issue I had, but was puzzled as to how to change it when I was doing some metal mpm sims.
Putting this setting on helped a lot and gave a much better result.

The only difference in my case, being metal, it worked better with the drop down set to 'Position-Based Move Outside Colliders'
  • Quick Links