Jump to content

Calculate volume velocity


Skybar

Recommended Posts

I have an advected density field (VDB). Is it possible to calculate a velocity field only from this? I was fiddling with a Volume VOP, bringing in the current and previous frame of the density field and comparing those; but I couldn't quite figure out how to create velocity from it. Is it possible? Has anyone done anything similar before?

Link to comment
Share on other sites

No idea whether it'd work, but thinking out loud; subtract the later frame from the earlier frame, and use that as the goal divergence field for a Gas Project Nondivergent DOP?
In essence using the former frame as pump and later frame as sink. Do that in a DOPnet set to be historyless, and just do one round of solve.

 

Hmm. Perhaps the Use Volume Velocity For Collisions option in Gas Build Collision Mask DOP could be misused in some way?

 

Good luck :)

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