contact.moment.on2.global

Syntax

Vector Access

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

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

Returns:

v - contact moment acting on end2 (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.on2.global.x(cm) (3D ONLY)

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

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

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

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

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