Jump to content

How do you combine 2 velocity fields?


davidkvien

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!

vel_test-01.hiplc

Link to comment
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!

vel_test-02.hiplc

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...