Jump to content
Sign in to follow this  
Masoud

How cant I increase fluid particles velocity, over time?

Recommended Posts

Hi;

In a particle fluid simulation, I add velocity using "point vop". The problem is the particles start to move very fast from beginning, but I want they start to move by ease.

How cant I increase particle's speed (velocity), over time?

 

Thanks.

Fluid_Velocity.hip

Share this post


Link to post
Share on other sites

pop wrangle plugged in to "particle velocity" on the flip solver...

v@v *= fit(@Frame, 1, 24, 0, 1);

This will multiply your velocity on a ramp from 0-1 between frames 1 and 24. 

 

Share this post


Link to post
Share on other sites
7 hours ago, woodenduck said:

pop wrangle plugged in to "particle velocity" on the flip solver...

v@v *= fit(@Frame, 1, 24, 0, 1);

This will multiply your velocity on a ramp from 0-1 between frames 1 and 24. 

 

It doesn't work.

Share this post


Link to post
Share on other sites

instead of feeding initial velocity from SOPs, use POP Force DOP or other forces

force acts on velocity every timestep, therefore it will keep gradually increasing your particles velocity

you can also add some POP Drag or POP Wind to introduce some air resistance to not accelerate forever

Share this post


Link to post
Share on other sites

Hi "anim",

The problem is I want to assign a fix, velocity noise to points, and when I use noise in a Dop, "POP VOP" node, it changes noise over time. I just want to scale velocity over time.

Edited by Masoud

Share this post


Link to post
Share on other sites

then you can store your already computed v that you are happy with into some temporary attrib like v@tmpv using Attribute Swap SOP, method: Move

and in DOPs use POP Wrangle: v@force = v@tmpv * chf("weight");

it will use your v@tmpv vector (further scaled by weight parm) as a force

since force is added to velocity each timestep it will naturally accelerate, so just adjust weight to control the rate

Edited by anim

Share this post


Link to post
Share on other sites

Thanks.

Edited by Masoud

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
Sign in to follow this  

×