Geometry

I want to build a floating box with a hollow in the middle just like the picture 1

But how should I use DSPH to build the model?

If i use the layers function,I would get the result shown in Figure 2, where the wall thickness on both sides is the same as the bottom.


If I import an STL file, I can't seem to set the wall thickness, there are particle leakage problems.

Can you tell me how to fix it?

Comments

  • Create four boxes under the same mkbound

  • You can also create a stl file with inside and outside shells and fill the inbetween space with the fill option (see documentation)

    <setmkbound mk="1" />

                   <drawfilestl file="Box.stl" />

                   <fillbox x="0" y="0" z="0">

                           <modefill>void</modefill>

                           <point x="-1" y="-1" z="-1" />

                           <size x="2" y="2" z="2" />

                    </fillbox>

    Regards

  • Do as Alex mentioned, but I would also agree with you, that this is one of the areas DualSPHysics is not so strong yet (i.e. filling geometries, which are slightly complex).

    If you are really keen on getting it just right look at the drawpoint command, which allows you to draw individual points, almost as you please.

    Kind regards

Sign In or Register to comment.