r1ver Posted May 20, 2014 Share Posted May 20, 2014 Hi, I have a moving cup and want to fill it with fluid. I used the method mentioned in the forum, convert my cup into VDB, and use it as collision volume. But, it always leak... Could anyone tell me what's wrong with my setup? cup_test.hip Quote Link to comment Share on other sites More sharing options...
xray Posted May 26, 2014 Share Posted May 26, 2014 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.