Jump to content

Particle controlled FLIP fluids


Recommended Posts

Hi, i'm trying to make explosion of barrel with water. I want to control my flip particles with pop network, inside dop network. Actually, i need flip particles to inherit initial velocity of particles from my popnet. Well, when i create flip object from shelf, i get pop solver attached to flip solver and it contains particles generated by flipfluidobject. So, yes, i can do some staff in this pop solver, but how can get my geometry information inside this popnet(pop solver), because i want to use, lets say my N attribute to set initial speed. Here is scene file, please help me with this setup.Thanks.

barrel.hip

Link to comment
Share on other sites

You can perform a pointcloud lookup with a voppop.

pcopen a op:/obj/mysop/my_custom_normals[$FF]

and pcfilter out the N.

Add that to the acceleration.

On the pops level:

Set the Activation of that vop pop to: $FF<=2 -> I am not sure it actually solves the popsolver on frame 1, so I made it active for frame 1 and 2.

Just a few notes:

*) when dealing with pointclouds and modifying them you will need to recook your sim for the pointcloud to refresh.

Or have a look at your file.

You can get good results layering noise in your normals and also having different amplitutes mixing in those normals.

barrel_02.hip

  • Like 4
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...