Jump to content

FLIP SIM- Collision and Sticking Problem


yeteatime

Recommended Posts

Hi!

I'm making a chocolate dipped strawberry (strawberry model from 4dm-works.com). There are 2 problems. 

1) When the strawberry falls into the chocolate, the FLIP is using both bounding box of the VDB and the VDB for its collision, creating this box around. VDB resolution is at 0.007 and uniform division for collision is at 500. (which I thought are high enough?) so I'm not sure what's up.

2) The 2nd problem is that the chocolate doesn't stick to the strawberry. I have the friction, viscosity, density and stick on collision on, but nothing's been happening. I have a feeling it's something super minor somewhere.. but I can't seem to figure it out.

 

How can I fix this? (Bound_Stick_Question.hipnc)

Thank you in advance for taking a look at it!

-Y

bound_question.thumb.jpg.f9e8d2fba4ada591891bd877f9edd1f6.jpgbound_question_collision.thumb.jpg.93d64dd2c03dbb29deec38140eeed20c.jpg

 

Link to comment
Share on other sites

I just ran into this last week actually. Using a volume sample and pointing to a collision volume with a division size below .01 resulted in this box like error.  

It seems to only happen if the collision volume drops to a division size of less than 0.01 but otherwise is fine. I couldn't seem to get this to show up in the collison display or trouble shoot it. 

If anyone can help I would appreciate this as well. 

 

 

  • Like 1
Link to comment
Share on other sites

1 hour ago, Feather said:

I just ran into this last week actually. Using a volume sample and pointing to a collision volume with a division size below .01 resulted in this box like error.  

It seems to only happen if the collision volume drops to a division size of less than 0.01 but otherwise is fine. I couldn't seem to get this to show up in the collison display or trouble shoot it. 

If anyone can help I would appreciate this as well. 

 

 

That fixed the collision problem for me, what you said about the division size. That is super good to know, thank you! The fluid still isn't sticking to the geo lol but solving one problem at a time is a good progress! I might just restart the project and see if I missed something.

 

1 hour ago, Drughi said:

It needs more exterior band voxels.

Also good to know, as I never even thought about that lol.. I'll keep that in mind for the future troubleshoot! Thank you!

Link to comment
Share on other sites

That is a nice example file.

Do you have any tips on keeping some of the fluid "stuck" to the collision object. I would like the strawberry to be coated in chocolate, even after it spins around and throws some of the fluid off to the sides. I tried increasing Surface Tension and Viscosity, but the fluid still won't stick?

 

Are exterior bands the same as narrow bands? I'm not really sure where that setting is located?

 

I noticed the solver is unlocked in your example. Did you make changes to the solver itself?

strawberry_dip.gif

Edited by Atom
Link to comment
Share on other sites

Exterior band voxels are from the colliders vdb. If the voxelsize of the collider is really small the "padding" - exterior band voxels need to be increased for collisions and also the sticking to work correctly.

In my example file I have only a very thin narrow band for better speed. If you do somthing other than testig you should increase it a bit.

I unlocked the solver only to enable opencl and to visualize the sticking.

You could try to increase exterior band voxels even more. To only have it collide small padding is ok, but for the sticking it not only needs to know if fluid is inside of the collider, but also if it is close to the collider - this is where the exterior band voxels are really important to give it this padding and ability to check if the fluid is close.

I will give it another test and try to make it stick more.

Edited by Drughi
  • Like 1
Link to comment
Share on other sites

  • 4 months later...

 

On 29.10.2019 at 12:36 PM, Drughi said:

The exterior band voxels are not only important for the collisions, but also for the sticking. You should add more resolution, increase the exterior band voxels and tweak the sticking settings.

 

 

Stick_Fluid_odforce.hipnc

 

output.gif

Hi! Why fluid density attribute so big (770000) and why decreasing this to 1 completely ruining sticky effect? Thanks

Link to comment
Share on other sites

  • 6 months later...
On 10/29/2019 at 6:27 PM, Atom said:

Thanks for the additional information. I can see the exterior band voxel bounding box change, when alter the value. I never really played around with that.

Getting closer, though.

strawberry_dip.gif

hi!

how much did u increase voxel bounding box? and its in collision source sop node or vdb from polygons right?


i increased from 8 to 50 (just to see if i have any difference ) on both and two times i have the same stickness like on original Drughi post gif with rubber toy

i think im wrong and changed wrong exterior band voxel?

thanks in advance

Link to comment
Share on other sites

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