struct.node.vel.local
Syntax
- m := struct.node.vel.local(sn<,i>)
- struct.node.vel.local(sn<,i>) := m
Get the generalized velocity (expressed in the node-local 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
- Accepts:
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.
Was this helpful? ... | Itasca Software © 2024, Itasca | Updated: Dec 19, 2024 |