simple cup fill with flip fluid

   5869   5   2
User Avatar
Member
143 posts
Joined: July 2015
Offline
hello

I have a simple scene here.
no matter what nothing works.
simply particles are dying and never fill the cup.
please let me know what is wrong with my setup.

thank you in advance

Attachments:
simple fill cup.hip (1.9 MB)

User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
Hi Hadi

You can use Divergence Field to solve your problem.

Just turn on Add Divergence Field parameter in the flipfluidobject.

Turn on flipsolver1->Volume Motion->Divergence->Divergence by Attribute
finally add a POP Wrangle and connect it to Sourcing input of Flip Solver and use this expression inside it :

f@divergence = 2; //or any value you need

Of course instead using of POP Wrangle you can add this point attribute in SOP level too.
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
143 posts
Joined: July 2015
Offline
hi sadjad!
thank you

In fact I tried to increase the emitter size. kinda works but my emitter should remain small.
I guess “add particle desperation” had a little impact of getting high resolution fluid.

decreasing the particle size from 0.1 to 0.02 makes the cup not to fill again.
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
I just try Divergence method on your project and it's working very well ,with Divergence value you can control speed of filling.
SO please test this method and let me know if you have any problem
Edited by Sadjad Rabiee - Aug. 29, 2017 13:45:06
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
143 posts
Joined: July 2015
Offline
thank you again.

I just did what you said and It magically works.
in one the posts about filling and flip fluid, Jeff'd advised a guy to not rely on divergence because now flip fluid can do much better job comparing to previous versions… It was about a river flow with flip!

that was the reason I kinda was avoiding using this method.
don't know exactly why Jeff said that but I think It is working well for me!

ps: I just wanted to know, what is the rule of “Add particle separation” parameter?
isn't it capable of doing the trick anyhow?
Edited by MirHadi - Aug. 29, 2017 14:05:53
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
Check this
Edited by Sadjad Rabiee - Aug. 29, 2017 14:04:50

Attachments:
JK_Divergence.hip (983.8 KB)

https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
  • Quick Links