contact.moment.on2.global

Syntax

v = contact.moment.on2.global(cm)

Get the contact moment acting on end2 expressed in the global coordinate system.

Returns:

v - contact moment acting on end2 (vector)

Arguments:

cm - mechanical contact pointer

Component Access

f = contact.moment.on2.global (cm)->x

f = contact.moment.on2.global.x(cm)

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

Returns:

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

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.on2.global(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.on2.global.y(cm)
f = contact.moment.on2.global.z(cm) (3D ONLY)