rblock.moi.real
Syntax
Tensor Access
- t = rblock.moi.real(b<,i1<,i2>>)
- rblock.moi.real(b<,i1<,i2>>) = t
Get/set the rigid block real 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.
- When modified, no other rigid block attributes are changed (e.g., pebble sizes, rigid block volume). The specification of the moment of inertia in this way results in the principal moments of inertia being in a fixed state so that they will not be automatically updated when scaling a rigid block unless the user changes the fix state (see
rblock.moi.fix
).
Returns: t - rigid block real moment of inertia tensor or value
Accepts: t - rigid block real 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.real.xx(b) (3D ONLY)
- rblock.moi.real.xx(b) = f (3D ONLY)
Get/set the xx-value of the rigid block real moment of inertia.
Note
When modified, no other rigid block attributes are changed (e.g., pebble sizes, rigid block volume). The specification of the moment of inertia in this way results in the principal moments of inertia being in a fixed state so that they will not be automatically updated when scaling a rigid block unless the user changes the fix state (see
rblock.moi.fix
).Returns: f - xx-value of the rigid block real moment of inertia tensor Accepts: f - xx-value of the rigid block real moment of inertia tensor Arguments: b - rigid block pointer
- f = rblock.moi.real.xy(b) (3D ONLY)
- rblock.moi.real.xy(b) = f (3D ONLY)
Get/set the xy-value of the rigid block real moment of inertia.
Note
When modified, no other rigid block attributes are changed (e.g., pebble sizes, rigid block volume). The specification of the moment of inertia in this way results in the principal moments of inertia being in a fixed state so that they will not be automatically updated when scaling a rigid block unless the user changes the fix state (see
rblock.moi.fix
).Returns: f - xy-value of the rigid block real moment of inertia tensor Accepts: f - xy-value of the rigid block real moment of inertia tensor Arguments: b - rigid block pointer
- f = rblock.moi.real.xz(b) (3D ONLY)
- rblock.moi.real.xz(b) = f (3D ONLY)
Get/set the xz-value of the rigid block real moment of inertia.
Note
When modified, no other rigid block attributes are changed (e.g., pebble sizes, rigid block volume). The specification of the moment of inertia in this way results in the principal moments of inertia being in a fixed state so that they will not be automatically updated when scaling a rigid block unless the user changes the fix state (see
rblock.moi.fix
).Returns: f - xz-value of the rigid block real moment of inertia tensor Accepts: f - xz-value of the rigid block real moment of inertia tensor Arguments: b - rigid block pointer
- f = rblock.moi.real.yy(b) (3D ONLY)
- rblock.moi.real.yy(b) = f (3D ONLY)
Get/set the yy-value of the rigid block real moment of inertia.
Note
When modified, no other rigid block attributes are changed (e.g., pebble sizes, rigid block volume). The specification of the moment of inertia in this way results in the principal moments of inertia being in a fixed state so that they will not be automatically updated when scaling a rigid block unless the user changes the fix state (see
rblock.moi.fix
).Returns: f - yy-value of the rigid block real moment of inertia tensor Accepts: f - yy-value of the rigid block real moment of inertia tensor Arguments: b - rigid block pointer
- f = rblock.moi.real.yz(b) (3D ONLY)
- rblock.moi.real.yz(b) = f (3D ONLY)
Get/set the yz-value of the rigid block real moment of inertia.
Note
When modified, no other rigid block attributes are changed (e.g., pebble sizes, rigid block volume). The specification of the moment of inertia in this way results in the principal moments of inertia being in a fixed state so that they will not be automatically updated when scaling a rigid block unless the user changes the fix state (see
rblock.moi.fix
).Returns: f - yz-value of the rigid block real moment of inertia tensor Accepts: f - yz-value of the rigid block real moment of inertia tensor Arguments: b - rigid block pointer
- f = rblock.moi.real.zz(b) (3D ONLY)
- rblock.moi.real.zz(b) = f (3D ONLY)
Get/set the zz-value of the rigid block real moment of inertia.
Note
When modified, no other rigid block attributes are changed (e.g., pebble sizes, rigid block volume). The specification of the moment of inertia in this way results in the principal moments of inertia being in a fixed state so that they will not be automatically updated when scaling a rigid block unless the user changes the fix state (see
rblock.moi.fix
).Returns: f - zz-value of the rigid block real moment of inertia tensor Accepts: f - zz-value of the rigid block real moment of inertia tensor Arguments: b - rigid block pointer
Was this helpful? ... | PFC 6.0 © 2019, Itasca | Updated: Nov 19, 2021 |