Jump to content

source flip fluid with velocity


nicoladanese

Recommended Posts

  • 1 month later...

Atoms response is the simplest route, otherwise

In your geo network run your geo into (1) a volume node and then into a volume vop to set up your vector direction and noise, then in a secondary tree run (2) your geo into a vdb from polygons with  like 0.1 voxel size with a fog vdb, then scatter points in that vdb.  Then drop down a attribute from volume, set it to vector and set its name to "vel" both the trees will plug into the attribute from volume, scatter goes into points to apply attribute and the volume vop into the volumes to use, then drop down a volume rasterizeattributes with attributes set to "vel" and into a Null.  You can test what its doing by using the usual volume trail sop and use the same points and volume rasterize outputs to check your velocity field.

 

Just as an NB point in your volume vop you have to bind export to "vel" with what ever noise etc your adding.

 

in your DOP network you can either use a volume source or popadvect by volumes.

Volume source: set initialize to source flip and point the sop path to the out vel null you made, also change field to match and source volume/target field names to vel.

pop advect is pre set up with vel.

 

This gives you the ability to add alot of control, and is how they went through in in the master class/ or top 10 new features for 17 if i remember correctly.

 

Below is the same applied to a FLIP Tank and emission from a geo object as mentioned using this method.

 

 

 

vel_DOPS_source_setup.PNG

vel_source_setup.PNG

CANON_VEL_APPLIED.PNG

CANON_EFFECT_ADVECT.PNG

Edited by PixelEmpire
Added further explanation and examples
  • Like 1
  • Thanks 2
Link to comment
Share on other sites

  • 1 year later...
On 4/21/2019 at 7:46 PM, Atom said:

Try dropping down a pointvelocity node, after the create surface.

fluid_velocity.gif.4fbcdf735ffca7fe3f402f60ffb252a1.gif

 

It allows you to add curl noise or bring in your own velocity attribute.

Untitled-1.jpg.06bb814c9a679971f2ca99917fd75682.jpg

ap_fluid_velocity_042119.hiplc

Hi there, I was looking to initialize velocites onto particles and your approach seemed to be very close to what i am trying to create. Can you tell me what you were doing inside the attribwrangle_INSTALL_VEL node?

I'm sorry for bringing this back up again :)

 

Kind regards,

Tristan

Link to comment
Share on other sites

31 minutes ago, tgybels said:

Hi there, I was looking to initialize velocites onto particles and your approach seemed to be very close to what i am trying to create. Can you tell me what you were doing inside the attribwrangle_INSTALL_VEL node?

I'm sorry for bringing this back up again :)

 

Kind regards,

Tristan

Hey Tristan, I don't have houdini with me now but I think you can download the hiplc attached to check what that wrangle is doing

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