contact.force.from.stress

Syntax

v = contact.force.from.stress(c,m)

Compute the contact force corresponding to a specified stress tensor in the local coordinate system.

Returns:

v - contact force expressed in the local coordinate system (vector)

Arguments:

c - mechanical contact pointer m - stress tensor

Component Access

f = contact.force.from.stress (c)->x

f = contact.force.from.stress.x(c,m)

Get the \(x\)-component of the contact force in the local coordinate system.

Returns:

f - \(x\)-component of the contact contact force in the local coordinate system

Arguments:

c - 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.force.from.stress(c,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.force.local.y(c)
f = contact.force.local.z(c) (3D ONLY)