struct.node.vel.global

Syntax

m := struct.node.vel.global(sn<,i>)

Get the generalized velocity (expressed in the global coordinate system) of the structure node. The generalized velocity consists of translational and rotational components that are ordered \(\{ v_x, v_y, v_z, \omega_x, \omega_y, \omega_z \}\) or \(\{ v_x, v_y, \omega \}\) in 2D.

Returns:

m - matrix of velocity with all degrees-of-freedom if the argument i is not assigned, or velocity at the ith degree-of-freedom if the argument i is assigned

Arguments:

sn - pointer to a structure node

i - degree-of-freedom, i ∈ {1, 2, … , 6} or {1, 2, 3} in 2D. The default is 1.