rigid_transform#

class waveresponse.rigid_transform(t: array, surge: RAO, sway: RAO, heave: RAO, roll: RAO, pitch: RAO, yaw: RAO)[source]#

Rigid body transformation of (surge, sway and heave) RAOs.

Transforms surge, sway and heave RAOs from one location to another by assuming rigid body motion. Note that the rotational degrees-of-freedom (i.e., roll, pitch and yaw) does not need transformation, since these are independent of location, and thus will be the same for all points on the rigid body.

Parameters:
  • t (array-like) – Translation vector, describing the translation ‘from-old-to-new’ location on the rigid body. Given as (x_new, y_new, z_new) - (x_old, y_old, z_old), where (x_new, y_new, z_new) are coordinates of the ‘new’ location, and (x_old, y_old, z_old) are coordinates of the ‘old’ location.

  • surge (obj) – Surge RAO.

  • sway (obj) – Sway RAO.

  • heave (obj) – Heave RAO.

  • roll (obj) – Roll RAO.

  • pitch (obj) – Pitch RAO.

  • yaw (obj) – Yaw RAO.

Returns:

  • surge_new (obj) – Surge RAO (rigid body transformed).

  • sway_new (obj) – Sway RAO (rigid body transformed).

  • heave_new (obj) – Heave RAO (rigid body transformed).