Fluid simulation?

hi, i’m trying to make a fluid simulation, i need to fill a glass with water, but don’t know how to start.

i tried google, but all i had found was the new water system, but don’t know how to customize it to make a fluid fill a glass or any other recipient.

any help will be very useful.

thanks in advance.

HI Enzoravo

Did you perhaps find a solution that works for this? I need to do a Beer pour into a glass for a cinematic. (preferably with foam head as well). Either that or have the glass fill from the bottom up. I’m amazed that I can’t find any tutorials or info about this. I thought it would be a popular subject matter.

Thanks in advance. :slight_smile:

i didn’t find any tutorial about this topic, i’m still looking

Hi Enzo, I am dealing a similar task and I haven’t been able to find anything yet. did you manage to do it?

The abstract is you make tons of small spherical particles, force them to have enough surface friction that they aggregate, and you use them to simulate the physics - then instead of displaying round sphere you replace that with something that resembles a fluid.

Stuff that does it well is Nvidia Flex and or the later iteration of their game framework.

Sruff that does it badly? Evrything else.

Possible eception here may be Fluid Ninja.

Instead of simulating this stuff in engine, use ANY dcc, import an alembic cache and be done with it…
If you have 10 or so randomized variations where picking the same one right after is not possible no one will ever be able to tell its fake without running billions of tests.