Jump to content

FLIP and VDB collision


r1ver

Recommended Posts

The main issue is that your fluid particles are moving so quickly that they don't ever see the collision volume, which has rather thin walls. The general solution is to make the volume thicker so it traps all possible particles.

 

Here's an example for your specific issue. Create a volume representing the interior of your cup. Don't scale the volume by -1 in the volume source since the volume represents a void to trap the liquid. I've made it very thick by increasing the exterior band voxels.

 

This won't work if you need the fluid to slosh out of the cup, but if you just want it to stay in the cup it should work OK.

cup_test_fix.hip

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...