Jump to content

Flip sim goes crazy when I add collision


anicg

Recommended Posts

I (beginner in FLIP Fluid) have a FLIP simulation that gets crazy when I add a collision (static object)

I use the test geometry shaderball, used 2 spheres with mountain sop, boolean with front and back of the shaderball. The two deformed spheres are the source. The rest (boolean difference) of the shaderball is the collision.

Flipbook Without collision

https://streamable.com/qkh2p

Flipbook With collision

https://streamable.com/922a6

Ii feel it has something to do with possible intersection between particles and collision geo, so I reduced the size of the sphere to leave a gap with the collision geo but the flip sim is still going crazy.

Any idea?

Issue with FLIP simulation.hiplc

shaderball.PNG

Link to comment
Share on other sites

Hi,

Your dop collider doesn't use the sop transform. Make sure you specify the proper "OBJ Path" and check the "Use Object Transform" checkbox. To verify that it works, enable the "Display Geometry" Checkbox (The collider should then move along properly when viewed inside the dop net). This should solve wrong collisions, it still explodes though since every thing is moving really fast.

DOP_Collider.jpg.0fc0bf36336a2cc11e70006ce591be29.jpg

Edited by LucaScheller
Link to comment
Share on other sites

Thank you. I've fixed that part you showed. But for the "going crazy" part of the flip simulation, that can't be due to the fact that it's moving very fast, because it's moving very fast in both cases (with and without collision).

Without collision, the fluid looks very smooth, yes there is a lot of movement but it looks calm. However with collision, the fluid is shooting up in the air, there are particles shooting all over the place, the same set up just added the collision. Here is a second version of the flip books and a hip file attached (after correcting what you've highlighted):

Without collision v2:

https://streamable.com/m2mpq 

With collision v2:

https://streamable.com/v4cs5

I have the same problem in another simulation (rbd) as well. Is there something wrong in the collision? I'm dong this for the first time, I must be doing something wrong.

all over the place.PNG

all over the place 2.PNG

Very calm.PNG

Issue with FLIP simulation v2.hiplc

Edited by anicg
Link to comment
Share on other sites

Are you using drag in your simulation ? If yes, delete it and use a Geometry wrangle with (connected to the particle motion input) :

v@v *= ch("drag_threshold");

And how many substeps do you have ? Try 3-3 it may solve your issue.

 

Cheers,

Edited by DonRomano
Link to comment
Share on other sites

I did not add any drag (unless it is there by default and I did not find it/turn it of). The set up is very very simple. It is a failed attempt to mimic the free "Applied Houdini - Liquids 1", his fluid sim looks normal, mine is shooting all over the place.

node graph.PNG

applied houdini.PNG

Link to comment
Share on other sites

The issue here is not the velocity of flip but the velocity of the collision geometry which is very high ( too much). It's spinning really really fast, I can see values between -1100 and 600.

You can see immediately this problem also in DOPs, enabling "Collision Velocity" under Guides. 

If you don't want to change the sphere animation, you can reduce the velocities by using a wrangle before OUT_COLLISION_POLY or in the collision tab reducing the velocity scale, which is basically the same thing.

Here is the hipfile. Does this help?

 

Issue with FLIP simulation.hiplc

 

  • Like 1
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...