Jump to content

Source Volume Collision vs Static Object plus Static Solver


art3mis

Recommended Posts

Hi

Have been working on a simulation now for a couple weeks but still unclear about the best method to obtain collision between fast moving geometry and smoke. Think fast moving fan or turbine.

For the moment disregard how fast this geometry is moving to displace the smoke(rotation) which I know requires lots of substeps.

How should I bring my SDF collision geometry(rotating fan) into my DOP?

1- Source Volume set to Collision

or

2- Static Object + Static Solver

In the attached you can see I am using the latter method. Not sure if my settings are correct.
For the former method, Source Volume Collision, most people use the last input on your Pyrosolver although in one Peter Quint video I see he uses the 3rd velocity input on the solver.

 

staticObject_inDOPs.png

Edited by art3mis
Link to comment
Share on other sites

Here are some comparisons:

Volume source collision:

correct_static_collision.thumb.gif.ef045ae62145bbed50bcc6c22aef8214.gif

Incorrect Static object collision:

incorrect_static_collision.thumb.gif.c09c4ac79f11621a6c2a254dd9586b1a.gif

Correct Static object collision:

correct_static_collision.thumb.gif.ef045ae62145bbed50bcc6c22aef8214.gif

As you can see the static object and the volume source are the same, as they should be since they do the same thing. Note that the I didn't have a collisionvel field, which can make the difference depending on the situation.

The "incorrect" static is "incorrect" because you're putting a vdb in the sop path parameter, but the solver is recreating this vdb every frame, which is likely not what you want. To fix is you need to put the path the vdb in the Proxy Volume parameter and change the mode to "volume sample".

Here is the hip file

volume_source_col.gif

pyro_col_ODF.hip

Edited by vtrvtr
too many gifs
  • Like 1
Link to comment
Share on other sites

Fantastic! Thanks for this.

So in the visualization would it be correct to say that the collision vdb is advecting the velocity field of the smoke object?

One thing I am unclear about in Volume Source is how to visualize the 'collisionvel' Target Field? Simply omitting this field and leaving only collision has no effect.

Edited by art3mis
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...