Announcement

Collapse
No announcement yet.

liquid valve interaction

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

  • liquid valve interaction

    i'm trying to simulate a valve closing a pipe of water, but the water travels through my collision object.
    the interaction is fine if the water hits a closed valve being opened, but not the other way around.

    if i lower my collision object into the stream of water, it passes right through it. increasing max steps under advection helps a little, but then other things start to freak out, does anyone have any tips on settings i could try?

  • #2
    hh, this is because the geometry does not change the content of the frozen cells, and when the valve is moved it occupies cells already filled with water. you can work around this in several ways.
    - make the valve to be source with small discharge and zero value for the liquid.
    - create a second invisible valve placed after the first one and activate it after the first one is stopped.
    - use the wetting option with a short drying parameter
    ______________________________________________
    VRScans developer

    Comment


    • #3
      thanks for the tips, making the valve a source cleaned out the cells inside it nicely, but they are still passing through. i tried a second valve and wetting too, but it did not seem to do much

      Comment


      • #4
        i ran some tests here, the fastest stop of the liquid i achieved with disabled wetting and valve set to be a source with discharge=0.1 and liquid=0.
        of course the liquid can't disappear immediately, it needs some time to flow out, but after 2-3 sec there is no liquid behind the valve anymore.
        ______________________________________________
        VRScans developer

        Comment


        • #5
          hmm, are your emitter emitting after closing the valve, or did you also stop emmission? there will still be pressure on the emitting side of the valve after closing, so mine is just pumping on (mostly because i'm not quite sure how to turn it off ) and the flow goes straight through...

          Comment


          • #6
            can you send me the scene?
            ______________________________________________
            VRScans developer

            Comment


            • #7
              of course, you've got PM, thanks!

              Comment


              • #8
                the vorticity is set to 0.5 that is not recommended for liquid sims, just set the vorticity to 0 and the valve works fine
                ______________________________________________
                VRScans developer

                Comment


                • #9
                  aha! sweet! excellent! vorticity, that did the trick, works fine now.

                  outstanding support as always, thanks!

                  Comment

                  Working...
                  X