Jump to content

How do you combine 2 velocity fields?

Recommended Posts

So, I am trying to advect some particles around a torus with a 'volume velocity from surface', thing is, once they get out of range of the torus they just kinda stay there.

So I am trying to add another velocity field to push them back, however I have gotten awfully stuck on this.

In the example I have a torus with velocity and a box with all velocities pointing inwards, so how do I best combine these two?


Also Happy New Year to all!


Share this post

Link to post
Share on other sites

Alright, I think I might've found a temporary solution.

Instead of trying to combine them, I use the torus velocity on a 'pop advect by volumes' advection type: vel, then the inwards velocities on another 'pop advect by volumes' but here I use advection type: force with a lower velocity scale.

I also delete the scatter points for the box velocities based on the torus' shape first.

Hope this makes sense and is not just unintelligible nonsense.

Still hoping to see some other solution though!


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