block.moitensor
Syntax
- t := block.moitensor(blp)
Get the free moment of inertia tensor for a rigid block. An array with six values is returned. If the block is joined to other blocks, the moi of the entire joined volume is returned.
Returns: t - moment of inertia tensor Arguments: blp - block pointer
Component Access
f := block.moitensor
(blp)->xx
- f := block.moitensor.xx(blp)
Get the \(xx\)-component of the free moment of inertia tensor for a rigid block.
Returns: f - \(xx\)-component of the free moment of inertia tensor Arguments: blp - block pointer
Access other tensor components (\(yy\), \(zz\), \(xy\), \(xz\), \(yz\)) by substituting the component name where \(xx\) appears above. See Member Access Operator for information about accessing members from data types using ->
.
Deprecated Component Access
Component access by adding an optional integer in the function arguments (block.moitensor(blp,<int, <int>>)
) is deprecated. It remains available but will not be supported in future versions. See Component Access with Integers in FISH on the Deprecated Commands and FISH page for details.
Was this helpful? ... | 3DEC © 2019, Itasca | Updated: Aug 19, 2023 |