Jump to content

Varied density in FLIP: low density not rising?


goldleaf

Recommended Posts

I've been getting back into FLIP, and trying to replicate this test done in Naiad a while ago:

 

https://vimeo.com/25020677

Using some POP nodes, I know I'm getting attributes changed on the points properly, but I can't figure out why the solver isn't pulling the higher density particles down under the lower density ones. I even played with @mass, hoping that'd do it, but it doesn't. The POP nodes are affecting the points just fine; when I crank up viscosity/velocity/color, those are set properly. The red points should be rising up, and the teal/blue ones should be sinking since they're heavier:

 

post-3767-0-45457100-1423774887_thumb.pn

Does anyone have some insight(s) as to why the density isn't making points rise/fall?

Thanks!

dense_flip_separation.hipnc

Link to comment
Share on other sites

Well shoot, I thought it set the Density to 1000 (set on the Dop Object) if there was no incoming density, but I guess I was wrong! Thanks Skybar!

 

I'll upload a hip file when I get what I'm looking for, but here is an image of it all working. I also had to make the differences between the two densities a lot larger (the light weight foam is 1/1000th of the water).

 

post-3767-0-56635000-1423782317_thumb.pn

Edited by goldleaf
Link to comment
Share on other sites

Hi Sergio,

 

I'm not 100% sure, but I think it's because you're only setting density, not viscosity. I added that to your hip file, and I'm seeing foamy-ness.

 

post-3767-0-56529300-1423976951_thumb.pn

 

Also, something I noticed, is it's easy to convert too many into foam, and that can make the foam form a huge ball that rises to the top and floats. That's a function of how you're creating your foam grp so I made a few modifications to your file, so that not so many points are "foam-ified" at the same time.

 

Also, over on the SideFX forum, johner graciously provided some great help, check out his tips/hip files: https://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&p=171883 (that's why I added the gas stick on collision, and how I was able to solve some other issues). I also attached my hip file for the vimeo video to that thread as well.

 

Hopefully those help guide you in the right direction!

Foam_Generation_modified.hipnc

  • Like 1
Link to comment
Share on other sites

  • 2 years later...

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