Jump to content

Mask a velocity volume with an object

Recommended Posts

Hi everyone,


I have a velocity volume working well to advect a vellum sim, by pulling the objects towards the normals of an object. 

However I'd like to remove all velocity values from within the object, so that once they've been pulled in and "captured", that they can then move freely within the shape of that object. The object is not being fed into the vellum sim for collisions.

Is it a matter of doing something like, multiplying the velocity by the inverse of the density? I tried this but couldn't quite get it right, I'm not sure if I'm missing something.


Thanks in advance for any help!



Share this post

Link to post
Share on other sites

Ok I got this working by multiplying velocity field by inverse of density.


What I was missing was the need to split the velocity into x y z vector for the multiplication, and then convert back to vector.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now