rblock.spin
Syntax
Vector Access
- v = rblock.spin(b<,i>)
- rblock.spin(b<,i>) = v
Get/set the rigid block angular velocity.
Returns: v - rigid block angular velocity vector or component
Accepts: v - rigid block angular velocity vector or component
Arguments: b - rigid block pointer
i - Optional vector component that ranges from {3 to 3 in 2D; 1 to 3 in 3D}.
Component Access
- f = rblock.spin.x(b) (3D ONLY)
- rblock.spin.x(b) = f (3D ONLY)
Get/set the x-component of the rigid block angular velocity.
Returns: f - x-component of the rigid block angular velocity vector Accepts: f - x-component of the rigid block angular velocity vector Arguments: b - rigid block pointer
Was this helpful? ... | PFC 6.0 © 2019, Itasca | Updated: Nov 19, 2021 |