Keeping liquid in moving container

Discussions about the use of Realflow
momostudio
Posts: 6
Joined: Mon Mar 09, 2020 12:20 pm

Keeping liquid in moving container

Post by momostudio » Mon Mar 09, 2020 12:39 pm

Hi, This is my first ever forum post so hope I can get some help here.
I'm making one of those loop animations and have a bottle on a conveyor belt that comes along, gets filled and moves off.
The liquid fills the bottle but when it moves the liquid moves to the side but some breaks through the bottom side.
I've tried all sorts, making the glass wall thicker, adding an animated K Volume daemon which kind of worked but surely it can't be this tough.

So basically.
spline lathed bottle with collider tag (tried adding a volume tag but saw no difference)
Liquid with gravity

I'm trying a lot of tutorials to learn but I cant seem to find any where the filled object moves around keeping the liquid inside.

Thank you

interelectronix
Posts: 5
Joined: Thu Mar 05, 2020 4:37 pm

Re: Keeping liquid in moving container

Post by interelectronix » Mon Mar 09, 2020 2:44 pm

I think this is related to the Iso Surface.

Go to the object in the Display Tab and turn on Iso Surface.
then go to object tab and adjust the cell size and the surface offset until the object turns fully purple. then turn of the iso surface in display and you should be good to go.

Perhaps you also have to turn on constant collision detection in the object detection

momostudio
Posts: 6
Joined: Mon Mar 09, 2020 12:20 pm

Re: Keeping liquid in moving container

Post by momostudio » Mon Mar 09, 2020 4:14 pm

Thanks, I have constant collision turned on now but still the same. I can’t find the iso surface options.
Which display tab? Thanks for your help.

interelectronix
Posts: 5
Joined: Thu Mar 05, 2020 4:37 pm

Re: Keeping liquid in moving container

Post by interelectronix » Tue Mar 10, 2020 7:47 am

These are the tabs I was talking about. see screenshots
Attachments
Screenshot 2020-03-10 at 08.45.15.png
Screenshot 2020-03-10 at 08.45.15.png (121.11 KiB) Viewed 115 times
Screenshot 2020-03-10 at 08.45.05.png
Screenshot 2020-03-10 at 08.45.05.png (157.06 KiB) Viewed 115 times

momostudio
Posts: 6
Joined: Mon Mar 09, 2020 12:20 pm

Re: Keeping liquid in moving container

Post by momostudio » Tue Mar 10, 2020 8:28 am

Massive apologies, I’m using cinema 4d realflow. I wasn’t sure how they’d differ but it doesn’t seem to have this option.

User avatar
ChristianZ
Posts: 3552
Joined: Sat Sep 09, 2006 11:37 am
Location: CH
Contact:

Re: Keeping liquid in moving container

Post by ChristianZ » Tue Mar 10, 2020 9:17 am

You can try to enable "Show Collision Geometry" in the collider tag
https://nextlimitsupport.atlassian.net/ ... er+Display
RF10.5 standard + RFC4D3, Mac&Windows

momostudio
Posts: 6
Joined: Mon Mar 09, 2020 12:20 pm

Re: Keeping liquid in moving container

Post by momostudio » Tue Mar 10, 2020 2:43 pm

Thanks ChristianZ. I found similar last night. I’m unsure how to change the collision geometry though. When I applied it I could see gaps. Do I need to toggle something on or off to get the controls so I can edit the shape?
Thanks

momostudio
Posts: 6
Joined: Mon Mar 09, 2020 12:20 pm

Re: Keeping liquid in moving container

Post by momostudio » Tue Mar 10, 2020 3:04 pm

So I think I’ve found it thanks, I’ve added a volume tag and changed the surface of set in there.

Thanks to both of you. Massive help.

User avatar
ChristianZ
Posts: 3552
Joined: Sat Sep 09, 2006 11:37 am
Location: CH
Contact:

Re: Keeping liquid in moving container

Post by ChristianZ » Tue Mar 10, 2020 3:06 pm

Yes, there are the parameters in the volume tag such as volume mode, cell size, surface offset that influence the "collision shape" of the object. If that does not help, a re-design of the object would be necessary (which can be a different one than the one you show in the rendered image).
RF10.5 standard + RFC4D3, Mac&Windows

User avatar
ChristianZ
Posts: 3552
Joined: Sat Sep 09, 2006 11:37 am
Location: CH
Contact:

Re: Keeping liquid in moving container

Post by ChristianZ » Wed Mar 11, 2020 8:16 am

Interestingly, in my projects using RFC4DR3 it was easier to not use the option of the volume tag and instead only use the collider-tag on the moving object. The "trick" for good accuracy in the collision detection is then to simulate at much higher frame rate (slow motion) than in the final movie.
RF10.5 standard + RFC4D3, Mac&Windows

Post Reply

Return to “Realflow”