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.

This is hidden. Added to include remaining vector component access functions for inline help.

f := block.moitensor.yy(blp)
f := block.moitensor.zz(blp)
f := block.moitensor.xy(blp)
f := block.moitensor.xz(blp)
f := block.moitensor.yz(blp)