How do I make the fluid stick to the surface?

   10537   4   2
User Avatar
Member
56 posts
Joined: 8月 2011
Offline
I want to make the fluid particle to flow through the surface.

the red direction… but I can't get the motion right.
I am very new to SPH fluid, and don't know how to approach to solve the problem.

I tried changing bounce, friction, viscosity, surface tension, gas constant….. but it doesn't seem like doing anything.

What parameter value I should change?

My ultimate goal is achieving melted chocolate fountain…


THANK YOU !

Attachments:
ball.hipnc (322.9 KB)
Untitled-1.jpg (142.4 KB)

User Avatar
Member
512 posts
Joined: 7月 2009
Offline
hi,
there's no simple check box to make this setup work,
I gave this a shot and implemented a technique first shown by Alejandro Echeverry at odforce using flip fluids (my sph kept exploding when I decreased particle seperation). The trick here is to use a signed distance field on the sphere to check wether the partickes are inside or outside the volume, this way you can calculate the direction vector to the nearest point to the surface and the distance to it and use this data to influence the particle acceleration. All that happens in a Vop POP.
check out the attached file,

cheers,

Manu

Attachments:
Manu_sticky_fluid_test.hipnc (444.1 KB)

http://vimeo.com/user2522760 [vimeo.com]
http://stormbornvfx.com/ [stormbornvfx.com]
Manuel Tausch
User Avatar
Member
14 posts
Joined: 2月 2014
Offline
This is incredible.. amazing… But i have to be honest… I DO NOT understand it… I want it to.. It have been month and i didnt wanted to comment… But… I dont understand how the SDF is used in that POP VOP inside a FLIP SOLVER… it is kind of complex… If there is someone who can explain it i will be on debt for life!

Thank you very very much!
User Avatar
Member
1769 posts
Joined: 12月 2006
Offline
Beware that this file is using a very old flip solver which is deprecated for couple of years.
daniel bukovec | senior fx td | weta digital
qLib -- http://qlab.github.io/qLib/ [qlab.github.io]
User Avatar
Member
702 posts
Joined:
Offline
Here is a version of Manuels hip file updated to h16

Attachments:
Manu_sticky_fluid_test_H16.hip (975.8 KB)

  • Quick Links