rblock.moi
Syntax
Tensor Access
- t = rblock.moi(b<,i1<,i2>>)
Get the rigid block moment of inertia.
Note
In 2D, the polar moment of inertia is used so the optional integers are not available and a float is returned.
Returns: t - rigid block moment of inertia tensor or value
Arguments: b - rigid block pointer
i1 - Optional tensor index that, if given without i2, ranges from 1 to 7, accessing the xx, yy, zz, xy, xz, and yz tensor values.
i2 - Optional tensor notation that must be given with i1. In this case, i1 corresponds to the first index of the tensor position and i2 to the second in the row/column format. For instance, i1 = 1 and i2 = 3 returns the xz tensor value.
Value Access
- f = rblock.moi.xx(b) (3D ONLY)
Get the xx-value of the rigid block moment of inertia.
Returns: f - xx-value of the rigid block moment of inertia tensor Arguments: b - rigid block pointer
- f = rblock.moi.xy(b) (3D ONLY)
Get the xy-value of the rigid block moment of inertia.
Returns: f - xy-value of the rigid block moment of inertia tensor Arguments: b - rigid block pointer
- f = rblock.moi.xz(b) (3D ONLY)
Get the xz-value of the rigid block moment of inertia.
Returns: f - xz-value of the rigid block moment of inertia tensor Arguments: b - rigid block pointer
- f = rblock.moi.yy(b) (3D ONLY)
Get the yy-value of the rigid block moment of inertia.
Returns: f - yy-value of the rigid block moment of inertia tensor Arguments: b - rigid block pointer
Was this helpful? ... | PFC 6.0 © 2019, Itasca | Updated: Nov 19, 2021 |