Fluid densities

   871   2   0
User Avatar
Member
23 posts
Joined: Dec. 2016
Offline
Hello,
This may be a simple question and I am new to Houdini.
I would like to mix two liquids with varying densities so that the lesser density liquid comes on top of the higher density liquid, like the foam that comes over the beer when poured into a glass.

My question is how do I set the density values for the two liquids individually?

Thanks
User Avatar
Staff
66 posts
Joined: Sept. 2014
Offline
In the FLIP solver->Volume Motion->Density tab there will be an option that says “Density by Attribute”. This will allow you to set the density per-particle. You can then set the densities as needed with a POP Wrangle.

I would recommend watching some of the fluids masterclasses to help get comfortable using some of these tools.
User Avatar
Member
23 posts
Joined: Dec. 2016
Offline
Hi..Thanks for your reply,that helped me. Also, I found a file named variableviscosity in the Houdini example files folder. That helped me as well.
  • Quick Links