rblock.force.contact

Syntax

Vector Access

v = rblock.force.contact(p<,i>)
rblock.force.contact(p<,i>) = v

Get/set the rigid block contact force.

The contact force vector is defined as the sum of the contact force vectors acting on the rigid block and is updated during force-displacement calculation.

Returns:

v - contact force vector or component

Accepts:

v - contact force vector or component

Arguments:

p - rigid block pointer

i - optional vector component

Component Access

f = rblock.force.contact.x(p)
rblock.force.contact.x(p) = f

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

Returns:f - x-component of the rigid block contact force vector
Accepts:f - x-component of the rigid block contact force vector
Arguments:p - rigid block pointer
f = rblock.force.contact.y(p)
rblock.force.contact.y(p) = f

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

Returns:f - y-component of the rigid block contact force vector
Accepts:f - y-component of the rigid block contact force vector
Arguments:p - rigid block pointer
f = rblock.force.contact.z(p) (3D ONLY)
rblock.force.contact.z(p) = f (3D ONLY)

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

Returns:f - z-component of the rigid block contact force vector
Accepts:f - z-component of the rigid block contact force vector
Arguments:p - rigid block pointer