Jump to content

Divergence field in FLIP fluids


Mozzarino

Recommended Posts

Hi,
I'm trying to understand how the divergence field works in Houdini, and how it interacts with FLIP fluid particles.
Positive divergence should cause the fluid to expand but there seems to be a difference between having positive values in the divergence field and having positive values of divergence in the particles attribute:
-If I have positive values of divergence in the particles attribute, the field copies this values (or does some other math operation) and the fluid expands.
-If I have positive values of divergence in the field, the particles don't inherit any divergence and the fluid stays the same.
-If I disable the option "Divergence by attribute" and have positive values of divergence in the field, the fluid also stays the same. 

Another thing I can't understand: If I want to fill a volume of 1m^3 using the gasequalizevolume micro-solver with the paramater "Scale Goal Volume" set to 0 then, according to Houdini's Documentation I have to change the parameter "Add Goal Volume" and set it to 1. I tried this and the FLIP solver simply copied the value 1 to the divergence field which doesn't result in any change on the fluid surface.

Could some one shed some light on this behaviour, and what is the correct approach to fill specific volumes knowing the total volume value?

EDIT: The divergence field is actually working as intended, I was modfying it in the sourcing input rather than in the velocity volume input...
 

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