rblock.moment.contact

Syntax

Vector Access

v = rblock.moment.contact(b<,i>)
rblock.moment.contact(b<,i>) = v

Get/set the rigid block contact moment.

Returns:

v - rigid block contact moment vector or component

Accepts:

v - rigid block contact moment vector or component

Arguments:

b - rigid block pointer

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

Component Access

f = rblock.moment.contact.x(b) (3D ONLY)
rblock.moment.contact.x(b) = f (3D ONLY)

Get/set the x-component of the rigid block contact moment.

Returns:f - x-component of the rigid block contact moment vector
Accepts:f - x-component of the rigid block contact moment vector
Arguments:b - rigid block pointer
f = rblock.moment.contact.y(b) (3D ONLY)
rblock.moment.contact.y(b) = f (3D ONLY)

Get/set the y-component of the rigid block contact moment.

Returns:f - y-component of the rigid block contact moment vector
Accepts:f - y-component of the rigid block contact moment vector
Arguments:b - rigid block pointer
f = rblock.moment.contact.z(b)
rblock.moment.contact.z(b) = f

Get/set the z-component of the rigid block contact moment.

Returns:f - z-component of the rigid block contact moment vector
Accepts:f - z-component of the rigid block contact moment vector
Arguments:b - rigid block pointer