mDBC with an stl geometry

Hello all,

Is it possible to implement mDBC with an stl geometry ? I have an issue adding several layers and defining the normals for my geometry.

I want to implement mDBC because floating bodies in my case are falling between the boundary particles and the fluid particles (see screenshot) so I want to avoid this gap. Otherwise, is there any other solutions to avoid this problem ?

Best regards,

Clement B.

Comments

  • Have you tried starting from one box and getting one stl to work? Then scaling up slowly, perhaps that could weed out some issues.

    In my experience mDBC and stl can be combined, but it can be a bit difficult, so have to be patient and always plot the normals in Paraview etc.

    Kind regards

  • Thanks for your answer, as suggested I will try with one box in stl and see how I can implement that.

    However my final geometry contain a curve, do you think implementing curved boundary particles layers with their normals is possible ?

    Best regards


  • Hello, yes, but you should play around with the smoothing length parameter in normal generations section and increase it from 2.0 to something higher.

    Kind regards

  • Hello again,

    The normals are working! However, I can't use the "layers vdp" command in the "drawfilestl" section so I am not able to create the boundary particles layers, how can I implement that ?

    Thanks in advance,

    Regards

    Clement

  • This is unfortunately an area where the options in DualSPHysics are limited. Your best bet is to draw the stl faces directly and have a few different version which all have been shrunk approximately.

    Let me know if you find a better way for layers, of course you can always use fillbox to fill the stl.

    Kind regards

  • Right now your best option can be to use two STL files:

    1) one with the actual geometry that you will use to define the Case_hpd_Actual.vtk that will compute normals

    2) second one that can be created with faces at half dp or less inside the previous one (I think you can use SOLIDIFY transformation of Blender to do that) and this second one will be use to create the particles

    So you have to check if there are normal vectores between the particles generated with 2) that starts from the particles and ends at the position defined in 1)


    Regards

    Alex

Sign In or Register to comment.