6 DOF Marine Variables in the Expression Editor

Modified on Tue, 7 Mar, 2023 at 1:51 PM

When using the SimericsMP expression editor, there are numerous pre-defined variables in the marine module as described in the Orca3D Help File topic, "Using the Expression Editor." As an example to get the vertical motion of the vessel at the towing point (which defaults to the CG), the variable is marine.heave and rotation about the transverse axis is marine.pitch. However, when using the coupled 6-DOF dynamics module, those variables are no longer defined. Instead, the body dynamics are defined using the variable names below. The reference location for all of these variables is the towing point (CG by default).


dynamics_6d.marine6DOF.displacement  (the translation vector of the body  in world coordinates)

dynamics_6d.marine6DOF.angle              (the rotation vector, defined as Euler angles, of the body)

dynamics_6d.marine6DOF.bodyVelocity   (the translational velocity vector of the body in body coordinates)

dynamics_6d.marine6DOF.bodyOmega    (the rotational velocity vector of the body in body coordinates)

dynamics_6d.marine6DOF.absVelocity     (the translational velocity vector of the body in world coordinates)

dynamics_6d.marine6DOF.absOmega      (the rotational velocity vector of the body in world coordinates)


so to create a variable called heave, the expression would look like:


heave = dynamics_6d.marine6DOF.displacement.z



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article