can you post an image? the simulation time for a good beer is not small, let us see the image before try to simulate
Announcement
Collapse
No announcement yet.
realistic beer foam
Collapse
X
-
-
i see, the problem is that the foam is born inside the bottle, and the bottle is moving. this situation is not handled by the simulator, currently only the liquid is tested against the moving geometry and pushed by it. of course your scene shows taht the foam must be handled too, and we will do it, but i still recommend to avoid it if possible.
if you want to simulate the liquid in the bottle, i would suggest to use cascade connected simulators when possible to avoid moving geometry. we have sample scene with wine, but it's for the old core, i'm attaching the same scene reworked for the flip solver. actually the old complex setup with the transferring source is no longer needed, we have direct transfer mechanism. you have to simulate the bottle first, and then simulate the glass, set the bottle simulator in the cascade slot of the glass simulator, this is all .
btw, what is this object, a modified cylinder, that you use as foam? why is it needed?Attached Files______________________________________________
VRScans developer
Comment
-
thank you for your replay.
because i couldn't get a working foam head, i used only the underwater foam. for the above water i just animated a mesh that look like foam head.
my problem is actually not the foam inside the bottle. my problem is the foam on top of the water. i'm trying to get a foam head that will grow on top of the water and will look stable and nice. so far it acts more as bath foam.
Comment
-
not sure what can be the reason, the settings are looking normal for me, perhaps the b2b is too low, but seems not critical.
can you try with the scene in the attachment? i just tested it, the foam is forming stable head, the sim time is about 15 min
if the scene in the attachment behaves good with your build, you can use the settingsAttached Files______________________________________________
VRScans developer
Comment
-
using your file the result is good.
the problem is that in your file you are not using the new liquid simulator but the old improved simulator.
i tried to copy your settings to the new liquid simulator and the result are very different. i'm attaching a photo here and also a link where you can download my scene and a preview video file of the two simulations side by side.
http://we.tl/b0BMPKBkSg
Comment
-
yes, this is actually the old sample scene, that is made before the existence of the liquid simulator, but it uses the same core, see the advection type , it's flip.
you can use an automation to copy settings, beside this you can check what exactly you forgot to copy.
go to the original simulator, push "simulation presets" and save the settings. switch to the new simulator, push the same button and select load, when you load the settings there will be a message suggesting to show the changes, press yes and you will see what parameter you forgot to copy. are you using the same scene scale? the scale is very important, because it's related to the gravity.______________________________________________
VRScans developer
Comment
-
it is exactly the same settings.
i think that there is a problem with the fluid simulator and this is why the result are so different.
also since there is no way to use the old simulator i think that you should test this scene with the liquid simulator. since this is what the end user is going to use.
Comment
-
using the scene that you sent me i manually copied all of the parameters from your simulator to a new simulator.
the problem remain the same. you can see it in the footage that i'm attaching and you can download the preview video from the link.
i think that when you copy the parameters using the preset option you are changing more parameters then actually exposed in the new simulator.
can you also try to copy the parameters manually to see if you have the same problem?
http://we.tl/ALup20IcC3
Comment
Comment