DualSPHysics Converting Case to 2D but horizontally oriented

Hi. I'm new to DualSPHysics and would like to ask how I can convert the case to 2D but cutting horizontally instead of vertically like the usual case. Right now it automatically asks for "new y-position" and creates a plane that cuts across the vertically. How can I rotate this? I tried inputting 90 degrees in angle but it defaults back to 0 degrees.

I hope anyone can help me with this. Thank you.

Comments

  • Hi,


    You can take a horizontal 2D section by the usual method (x and z coords) and setting the gravity to zero in all directions like so:

    <gravity x="0" y="0" z="0" comment="Gravitational acceleration" units_comment="m/s^2" />

    This can be seen in the example case FlowCylinder (among others I believe). Since there is no gravity in the y-direction now it is effectively no longer vertical.


    Hope this helps,

    Nick

Sign In or Register to comment.