Ask and answer questions and download tutorials

Thousands of tutorials to learn from

Feed

What is the best way to model liquid in Solidworks?

By Ingmar Roosileht on 13 Oct 19:52 6 answers 5956 views 9 comments

I have this asymmetrical container and need to model water in it for rendering. So I need a separate part representing water. It would be a real pain to model it from scratch because of all the fillets and etc.
Also, it would be great if that water-part would follow the shape of my container if it's dimensions/shape changes.

6 answers

  • d4974bed
    d4974bed almost 3 years ago

    Suggest that maybe the "Combine" command will do what you want.
    See tutorial (this is my first attempt at doing a tutorial, so please hold me harmless if it is not perfect.
    Also see attachment

    Attachments

    Container with Water.zip, 671 KB
    Download
    1. Step 1

      1: Create a model of your "CONTAINER". Save

      Medium

    2. Step 2

      2: Create a model for the "WATER". This is nothing more than a cylinder that is slightly larger in diameter than the "CONTAINER" is just a little short of the heighte of the "CONTAINER" ( this shortnes will become the water level). Save

      Medium

    3. Step 3

      3: Use the "INSERT PART" command and insert the "CONTAINER". Save

      Medium

    4. Step 4

      4: Now use the "COMBINE" Command. You will now get a popup (step 5). Save

      Medium

    5. Step 5

      5: Select "SUBTRACT" in operation type. Select the "WATER" in main body. Select the "CONTAINER" in Bodies to combine. Click the "GREEN CHECKMARK". You will now get a popup (step 6). Save

      Medium

    6. Step 6

      6: In bodoes to keep click "SELECTED BODIES". Put a checkmark on "BODY 2". Click "OK". Magic... you now have your "WATER". Save

      Medium

    7. Step 7

      7: Now... make an assembly of the "CONTAINER" and "WATER". I will leave it up to you to add color or material types whatever suits you. Hope this is what you were looking for, and if so hope it helps you out. Incidently you can do "MASS PROPERTIES" if you want to see exactly how much "WATER" you have in your "CONTAINER".

      Medium

  • w.wolf
    w.wolf almost 3 years ago

    I'm not getting a better idea so try this, offset the inner surfaces of the container with a very small number (rather than using zero for rendering purposes) then use whatever kind of surface to close it from the top then knit to form a solid ...
    If you change the dimensions it'll adapt but not if you change the shape ...

  • Ingmar Roosileht
    Ingmar Roosileht almost 3 years ago

    Thanks w.wolf, will try this method as soon as possible.
    I came up with another method too, First I made new plane, where I needed the water level to be, then using intersection under convert entities, sketched a contoure of my container, then extruded it using Up to body setting. But this should only work when the container doesn't widen at the bottom. Also, when rendering, it produced ugly artifacts, where water and the container meet, as if there were a small gap between my container and liquid.

  • Ingmar Roosileht
    Ingmar Roosileht almost 3 years ago

    w.wolf is right. His way of doing it - offsetting inner surfaces works great!
    I added a picture to show these undesirable artifacts:

    Added images

    Square
  • Tomica Vukovic
    Tomica Vukovic over 2 years ago

    There is another way.
    Make a water part of desired amount of water in your profile of bottle. Then create new part. insert a part of water in new part, make a bottle - you must position a part, make a intersect line with inserted part, and make a body of bottle and add glass material for bottle- then you can weight a bottle and amount of water in it.

Add your answer to: "What is the best way to model liquid in Solidworks?"

Save Cancel