Announcement

Collapse
No announcement yet.

realistic beer foam

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #61
    can you post an image? the simulation time for a good beer is not small, let us see the image before try to simulate
    ______________________________________________
    VRScans developer

    Comment


    • #62
      i have uploaded the cache files for you:
      http://we.tl/iR0z453EsM

      Comment


      • #63
        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


        • #64
          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


          • #65
            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 settings
            Attached Files
            ______________________________________________
            VRScans developer

            Comment


            • #66
              thank you very much. i will give it a try

              Comment


              • #67
                when i open the file i got an error about missing plugin name "Raylogger.dlh".
                is it critical that i will have it?

                Comment


                • #68
                  it's not critical, it's a development tool used to visualize in the viewport the traced rays
                  ______________________________________________
                  VRScans developer

                  Comment


                  • #69
                    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
                    Click image for larger version

Name:	Capture.PNG
Views:	1
Size:	150.5 KB
ID:	859359

                    Comment


                    • #70
                      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


                      • #71
                        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


                        • #72
                          ok, i ran a test with the liquid simulator, after 15 minutes we will know the result.
                          ______________________________________________
                          VRScans developer

                          Comment


                          • #73
                            the result is the same, as i expected
                            here is the scene with the liquid simulator object
                            Attached Files
                            ______________________________________________
                            VRScans developer

                            Comment


                            • #74
                              thanks.
                              i'm trying your scene now.
                              did you made this simulator from scratch or did you used simulation preset?

                              Comment


                              • #75
                                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

                                Click image for larger version

Name:	Capture.PNG
Views:	1
Size:	124.6 KB
ID:	859362

                                Comment

                                Working...
                                X