Jump to content

Flip Fluid - Add velocity to a river loop


apileofmud

Recommended Posts

Hi everyone, Houdini newbie here! 

I'm trying to do a water/river sim where the water goes around the loop as shown below:

hdn01.thumb.jpg.c270040f6408d3cae1a6e0238856317e.jpg

Right now the particles are simulated with a flip object with velocity on z set to 0.5. How should I set up the velocity so the particles go around the loop? Or should I use an object to emit particles instead? Not sure what's the best way to approach.

I'd really appreciate your help here! :)

Link to comment
Share on other sites

I’m not an expert, as I’m still learning flip fluids myself but I think I might be able to point you in the right direction.

Turn on a boundary layer in the flip solver. The boundary layer asks for geometry sop path and a volume velocity path. You can make custom geo or Boolean out pieces of your fluid source geometry. Animating it allows you to compute velocit. a mountain with $F in offset or time could work. Anything to make the geo move. Then you can compute velocity from the deforming geometry and store it into a volume. I’m not clear on how to get velocity values stored on the volume.

The simulation will sample this incoming velocity every frame. So you can influence the sim depending on where you place your geo and how you set up your velocity, Again those are both being read from the boundary layer. I recently learned about this and I’m just doing my best to explain, if anyone has a better explanation I look forward to learning more about this myself. I hope it helps!

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