contact.moment.on1.local

Syntax

v = contact.moment.on1.local(cm)

Get the contact moment acting on end1 expressed in the local coordinate system.

Returns:

v - contact moment acting on end1 (vector)

Arguments:

cm - mechanical contact pointer

Component Access

f = contact.moment.on1.local (cm)->x

f = contact.moment.on1.local.x(cm)

Get the \(x\)-component of the contact moment acting on end1 expressed in the local coordinate system.

Returns:

f - \(x\)-component of the contact moment acting on end1

Arguments:

cm - mechanical contact pointer

Access other vector components (\(y\), \(z\) (3D ONLY)) by substituting the component name where \(x\) 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 (e.g., f = contact.moment.on1.local(cm,3)) 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 = contact.moment.on1.local.y(cm)
f = contact.moment.on1.local.z(cm) (3D ONLY)