Jump to content

Flip leaking from geo problem


dpap

Recommended Posts

The  problem is that I cant get the collision geo to have a hole underneath it as the actual geo does. 

 

Check the "Collision Guide Geometry" and you'll see that there in no hole...

 

How can I make a small hole underneath the container?

 

post-9497-0-55446600-1397683697_thumb.jp

post-9497-0-80035700-1397683727_thumb.jp

Link to comment
Share on other sites

I added thickness but still no luck.

 

No leaking from the hole. Plus the fluid penetrates the Collision Geo (although I increased substeps and collision separation). 

 

Not fun, not fun at all....

 

Any suggestions?

 

 

 

 

 

Btw: I subtructed 2 vdbs and converted them to a polygon mesh to get thickness. Is there more straight forward way to add thickness?

Polyextrude definitely doesn't work it in this case... 

Duplicating the geo,scaling the one down and bridging the two holes by hand is not practical at all.

post-9497-0-63387400-1397735234_thumb.jp

leaking from geo 2.hip

Link to comment
Share on other sites

Thank you Paul for your answer and the example file.

 

I would never thought of trying Bullet..

 

Although it seems to work if you emit only for 1 frame (as I did in the attached file) you'll see the fluid collapses on itself so something  is going wrong...

In other words with your setup if I only change the emission setting so that  the source acts like the fluid's initial state (something like the "FLIP fluid from some" shelf button ) the scene doesn't act as expected.

It should slowly get empty and not collapse on it self in a few frames. Right?

I tried different values in Substeps, Grid Scale , Collision Separation but nothing changed...

 

Apart from that it should be nice to have Volume based collision solution since the documentation and everyone here keeps preaching that flip collides work better with volumes 

 

 

 

 

 

 

 

leaking from geo 4.hip

Link to comment
Share on other sites

You have a very fundamental misunderstanding, namely the Grid Scale parameter in the Flip Fluid Object. It defines the resolution of the flip volume grid as a multiplier of the particle separation. In your scene you have a Grid Scale of 250, which means that there is practically a single voxel for the whole simulation, which understandably fails.

 

Always, always check the collision field visualization of the Flip Object!

To get a flip to behave properly, my rule of thumb is to have all colliders at least 2 voxels thick -to get there I extruded your geo a bit more, and increased the sim res a bit

 

Also, setting the Particle Radius Scale in the Flip Object to 0.5 caused most of the fluid collapsing on itself.

 

leaking_from_geo_4e.hip

  • Like 1
Link to comment
Share on other sites

Hi Eetu and thanks for your answer!

 

Sorry for the misunderstanding but the l upload the leaking from geo 4.hip  just to show Paul that things don't work as they should in his suggested approach.

My settings(leaking from geo 3.hip) where totally different and my collision was looking good (..now that sounds like a little child apologizing, haha!!!)

So I plead not guilty for the Grid Scale= 250  :)  (Please don't be offended Paul!)

 

Anyway to be a little more serious, I need some time to have a thorough look at your file and find the differences from mine and then I 'll post back.

Link to comment
Share on other sites

Ahh, sorry, I guess I didn't read the thread properly, just grabbed the latest hip - this v3 makes a lot more sense :)

 

I think your troubles come from the way you construct your vdb, all this unsigned distance field business etc. Also, usually you do need to multiply an sdf by -1 when you bring it into DOPs, as the inside/outside "sense" is the other way round there (sigh)

 

Also, you have a very low res velocity field with a very high res collision field, that doesn't usually help that much in leakage situations like these (I guess it's mainly for getting more detailed particle collisions?)

As said above, try to keep your collisions two velocity voxels thick.

 

Here I changed to a regular sdf, adjusted the resolutions and multiply the sdf by -1

 

leaking_from_geo_3e.hip

Link to comment
Share on other sites

sorry guys for this missunderstanding.

I wanted to do 25 and not 250, my bad (no offense dpap  ^_^ )

 

But that's not change anything. It was not a good solution for this effect!

 

cheers

Link to comment
Share on other sites

  • 1 year later...

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