rblock.moi.real
Syntax
- t = rblock.moi.real(p)
- rblock.moi.real(p) = t
Get/set the rigid block real moment of inertia.
Note
In 2D, the polar moment of inertia is used and a float is returned (see below).
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
).
Component Access
f = rblock.moi.real
(p)->xx
rblock.moi.real
(p)->xx
= f
- f = rblock.moi.real.xx(p) (3D ONLY)
- rblock.moi.real.xx(p) = 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
).
Access other tensor components (\(yy\), \(zz\), \(xy\), \(xz\), \(yz\)) by substituting the component name where \(xx\) appears above. \(xz\), \(yz\), and \(zz\) are 3D only. See Member Access Operator for information about accessing members from data types using ->
.
Deprecated Component Access
Component access by adding optional integer(s) in the function arguments (e.g., f = rblock.moi.real(p, 1, 1)
) 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? ... | Itasca Software © 2024, Itasca | Updated: Dec 14, 2024 |