Complex geometry initial conditions

I want to simulate a realistic dam break case using DualSPhysics and I was wondering if it's possible to create a fillbox that matches a realistic complex geometry?
In other words, can I set a certain water height to fill a complex geometry?

Regards

Comments

  • Hello,

    You should have a look at TestCase Pump.

    Regards
  • Please read the documentation first:
    https://github.com/DualSPHysics/DualSPHysics/wiki/12.-Testcases#1213-pump
    Page 45 of doc/guides/XML_v4.0_GUIDE.pdf
  • Thank you both for the reply.
    I did look into the pump case, and I was aware of the fillbox method. I tried to create the case with the freecad macro and the only problem is that I need to fillbox to rotate for a few degrees to accurately capture the part of the domain that needs to be filled but it seems that rotating isn't an option. I even had the idea to create several smaller fillboxes but it's a big domain.
    It seems that the fillfigure option is the one I need. I shall check it out, shame there isn't an example for it.

    Thank you again and regards.
  • I am not sure that "fillfigure" will work on the GUI with FreeCad.
    It is better if you directly work with modiying the XML

    Regards
  • @kozmonaut

    Just jumping in. Did you get it to work with fillfigure? Would you mind showing a basic example?
  • @Asalih3d

    In the end I realized that fillprism would be the easiest way to do it but it was a drag since I had to add a lot of points.
    I studied the fillfigure option through the example in the /doc/xml_format/CaseTemplate.xml
    The code is as follows:
    bound ">
Sign In or Register to comment.