Jump to content

FLIP fluid without initial movement


Recommended Posts

Hi!

If you look the attached file... I have a fluid surface which is surrounded by a static object - acting as a tank, and a sphere that is falling into fluid.

The problem is that the fluid surface starts moving before the sphere hits it.

What is the "correct" way to stop this happening?

test.hipnc

Link to comment
Share on other sites

Hello Kila!

You could stop it from happening by affecting particle velocity or field velocity and set it to zero. Altough it is good to know that this motion occurs because the particles are supposed to fill the tank and their initial state is just random inside the tank. Most people actually simulate a few frames before the simulation just to let the fluid settle down.

I controlled the particles velocity by switching from zero to simulation velocity at one frame. You can also do it using point clouds to see if an object is close to an inpact with the fluid and so on.

In my example file you have some particles "disapearing" that is because their vel is set to zero and if any of these particles are inside the coll they will get killed.

But I would rather say, give the fluid some frames to settle down. If anyone else knows a better solution I am glad to hear :)

I hope this helped

fluid_null_vel.hipnc

Link to comment
Share on other sites

Thx Hudson!

If i understood your setup correctly (Noobster here :D), you are forcing the velocity to be 0 till frame 20.

I'm a bit surprised that we have to use VOP, in order to do this kind of , very basic scenario. The "problem" is that i know you can do almost anything in VOP, but im trying to find an option from the UI that will do it for me.

Link to comment
Share on other sites

Some simulations won't look good starting with the first frame. Liquid simulations are particularly finicky in this sense. One possible solution is to simulate for a while before dropping the ball into the tank, so the fluid has a chance to settle down naturally. Then render out only the frames when the ball is dropping into the fluid.

Edited by lukeiamyourfather
Link to comment
Share on other sites

Now both me and Luke recommended you to simulate some frames to let the fluid settle down before your first rendering frame.

If you are still looking for a way of doing the same thing as I did in the VOP using UI. The closest I can get is in the file. But no one would use it because when you mesh your fluid you will get something rather ugly :P

flip_gravity_swap.hipnc

Link to comment
Share on other sites

I did not know that you dont need gravity in order to make RBD object fall :D

Well, you do. In Hudsons example he uses two Gravity DOPs, one that is always on for the sphere - and one which he activates later, that is only attached to the flip.

Link to comment
Share on other sites

  • 1 year later...

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