Sticking FLIP to Collision

   6339   2   2
User Avatar
Member
7 posts
Joined: May 2009
Offline
Does anyone know a good method for getting a FLIP fluid to stick to a surface? Basically I want any points of the fluid that collide with an object to be ‘pinned’ to that object. I am trying to simulate a goop that will stick to a character when they touch the surface of the fluid.

I am aware of of the ‘Sticky Fluid’ parameter in the Projection Tab of the solver, but that only really works with collisions aligned to the xz plane, if anything is turned more than 90 degrees to the gravity it slides right off, and it won't stick to the underside of anything. That is unless there are other parameters elsewhere that increase the effectiveness of the stickiness.
User Avatar
Member
300 posts
Joined: Jan. 2010
Offline
You could use either a point cloud from your object or an SDF to affect the velocities.
Drive, monkey, drive!
User Avatar
Member
7 posts
Joined: May 2009
Offline
Alright, so modifying the velocity using a gas calculate or field force pretty much get the effect I'm looking for, except that the effect radius is too big, so it looks like the colliding object is pulling points away from the fluid surface when it is still some distance from actually colliding.

How do I detect which points have collided, and put that in a group or something so that only collided points are affected by the force? I can think of ways to do this stuff in SOPS, but DOPS' non-linear workflow makes figuring these things out very difficult.
  • Quick Links