contact.moment.on1.global

Syntax

Vector Access

v = contact.moment.on1.global(cm<,i>)

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

Returns:

v - contact moment acting on end1 (vector or component)

Arguments:

cm - mechanical contact pointer

i - Optional vector component that ranges from {3 to 3 in 2D; 1 to 3 in 3D}.

Component Access

f = contact.moment.on1.global.x(cm) (3D ONLY)

Get the x-component of the contact moment acting on end1 expressed in the global coordinate system.

Returns:f - x-component of the contact moment acting on end1
Arguments:cm - mechanical contact pointer
f = contact.moment.on1.global.y(cm) (3D ONLY)

Get the y-component of the contact moment acting on end1 expressed in the global coordinate system.

Returns:f - y-component of the contact moment acting on end1
Arguments:cm - mechanical contact pointer
f = contact.moment.on1.global.z(cm)

Get the z-component of the contact moment acting on end1 expressed in the global coordinate system.

Returns:f - z-component of the contact moment acting on end1
Arguments:cm - mechanical contact pointer