Freezing & self-colliding FLIP sim

   2645   2   0
User Avatar
Member
55 posts
Joined: Feb. 2017
Offline
Hi there,

I am trying to make a sim in which a glass is filled with liquid, when about half full the liquid has to start freezing from the bottom up. This freezing should stop the liquid from moving, and additionally any newly poured liquid should collide with the already frozen liquid. This frozen state should then spread based on distance.

The filling is working, and I can also spread the frozen attribute over the sim while running. By using i@stopped, I can freeze the particles, but this does not stop the new flip particles from penetrating the liquid.

I have tried using a gasparticletofield dop node, to copy the frozen attribute into the collision field. While this shows up correctly when visualizing the collision field on the flipobject, the liquid still collides with it. Can anyone give any pointers on how to correctly, dynamically add parts of the flipsim to the collision field. So that other particles do not merge with those particles any more.


Note;
I figured it would be easier to do this freezing effect with pop fluids or vellum fluids, since each particle there actually represents volume. However, I feel those options do not give the nice swirlyness I get from flip, which would be quite essential in this project.
Technical VFX artist @ Housemarque / Sony Interactive Entertainment
User Avatar
Member
802 posts
Joined: Feb. 2017
Offline
Hey Robbert,

have you tried to do the freezing with a high viscosity value? Like they do with lava setups.

Cheers
CYTE
User Avatar
Member
55 posts
Joined: Feb. 2017
Offline
CYTE
Hey Robbert,

have you tried to do the freezing with a high viscosity value? Like they do with lava setups.

Cheers
CYTE

Wow that was such a simple solution for something that I tried to solve so complicated. Never tried any lava-things so I guess never really thought of this. Initially, the viscosity gives a bit, like really though slime but I just additionally ramped in some pop drag based on the frozen attribute, and then used i@stopped to lock them in place when they are fully frozen.

Oh well, i'll leave this here in case someone else searches for something similar.
Technical VFX artist @ Housemarque / Sony Interactive Entertainment
  • Quick Links