Jump to content

Controlling Forces based on attributes.

Recommended Posts

Hi Guys,

I'd like to know a way to control different forces, based on some attributes. I find is very easy to control Pop Forces based on position or velocity or Cd attributes... but I want to have this control using for example Gas Turbulence or Gas Surface Tension to control my fluid...


Imagine I have one liquid that is flowing along a curve and after TX > 5 it will increase surface tension and turbulence.


How would you do that?

Share this post

Link to post
Share on other sites

Turbulence is just a property of the velocity field. You would need to create a custom vel field and add it to your sim. If you want this to be directly controlled by sop point attributes you could make a setup where you are sourcing a volume from attributes on geometry and then add this to your simulation. For example you could comb the normals on a piece of geo, turn this in to a collision volume (using N as the velocity source attrib) and you will end up with a collisionvel field that conforms to the direction of the normals. I've used this to create fast flowing rapids in a flip sim, for example.



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