It’s pretty simple: a cup that moves along the x axis with water in it. I thought it was simple, but Blender is doing some really wacky things. Here is what I did (I have the .blend file uploaded, too, so you can take a look):
-
Add a cylinder as the cup and model it however you would want a cup to look. Add a solidify modifier and apply it (I tried not applying it and got the same result).
-
Add a cube and add a subdivision surface of 6 iterations. Place it inside the cup, not touching any of the edges.
-
Add another cube to act as the domain.
-
Set the cylinder as an obstacle of type “shell.” Set the subdivided cube as a liquid of type “volume.”
-
Animate the cylinder by moving it down the x-axis.
-
In the fluid panel, click “Export Animation” for both the fluid and the obstacle.
-
Finally, bake the animation.
You might get something different, but the rendered fluid is larger than the fluid I had put in and it sometimes ends up outside the cup. Even if I didn’t animate it, I’m sure I’d still have this problem. Any explaination? Thanks in advance.
Attachments
fluid_problem.blend (1.93 MB)