Pavel K Posted June 9, 2020 Share Posted June 9, 2020 I'm stuck with a seemingly simple task. I have to quickly fill up rectangular tank with viscous fluid (in 80 frames). Naturally I added divergence field at the bottom of a tank but when it fills up water just keeps moving sideways because of a divergence. That's not ok, I need water surface to stay relatively calm at a certain height. But if I turn divergence off, water level just drops drastically. Is there a way to quickly fill up a tank with water using outside flip source? divergence_fill_test.hipnc Quote Link to comment Share on other sites More sharing options...
Atom Posted June 9, 2020 Share Posted June 9, 2020 You can always add another volume source and animate the box growing in size. ap_divergence_fill_test.hipnc 1 Quote Link to comment Share on other sites More sharing options...
Pavel K Posted June 9, 2020 Author Share Posted June 9, 2020 Thank you, Atom! It worked. This way you don't even need divergence field. Such a simple trick Quote Link to comment Share on other sites More sharing options...
Pavel K Posted June 12, 2020 Author Share Posted June 12, 2020 Ok, so here's final result https://www.youtube.com/watch?v=kB15FajJrVg I ran into a problem with unstable surface (it was uneven and constantly flickering). Couldn't make it to stay calm untill I tried this: if (@P.y<ch("height")) i@stopped=1 It's not perfect but passable; I have no idea how to do it better. There has to be a trick to smooth out the surface of flip simulations. Maybe I should have raised particle separation from 0.07 to 0.02 but I doubt it. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.