# struct.shell.stress.prin

Syntax

v := struct.shell.stress.prin(p,inode)

Get the resolved principal stress at the current depth factor and position given by inode.

inode = 0 indicates the element centroid, while inode = 1 to 3 indicates the positions of the nodes with those indices.

Note that compressive stresses are negative in FLAC3D.

Returns: v - position vector p - a shell element pointer inode - index of the location of the resultant, from 0 to 3

Component Access

f := struct.shell.stress.prin (p, inode )->x

f := struct.shell.stress.prin.x(p,inode)

Get the $$x$$-component of the resolved principal stress at the current depth factor and position given by inode.

Returns: f - $$x$$-component of the position vector p - a shell element pointer inode - index of the location of the resultant, from 0 to 3

Access other vector components ($$y$$, $$z$$) 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 (struct.shell.stress.prin(p,inode,<int>)) 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 := struct.shell.stress.prin.y(p,inode)
f := struct.shell.stress.prin.z(p,inode)