Constrained Motion

edited May 30 in DualSPHysics v4.2
Hi
In a 2D simulation of a floating body, How can I fix the body in the x direction?
In other words, how can I restrict the sway motion?

Comments

  • You have to modify the source code
    You can also play with unrealistic values of the center of gravity, but the best option is to cancel forces in X direction acting on the floating body

    Regards
  • Thanks Alex!
    1) Is there any easier solution instead of modifying the code?
    2) How the inertia matrix (v11, v12, ..., v33) is computed?
    Thanks
  • the inertia can be defined by the user...
    ... see the output XML (or CaseTemplate) to check the format

    center x="Ixx" y="Iyy" z="Izz" units_comment="metres (m)"
  • But if we do not define the inertia, the Gencase will compute it.
    I want to know the formulas of the inertia to check it.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!