v :=,iloc)

Get principal stresses for an element with an elastic material model at the depth defined by the current depth factor and at the location corresponding to iloc. See also the and functions.

Stress computation is described in the structure shell recover stress, structure geogrid recover stress, and structure liner recover stress commands.


v - principal stresses ordered as \((\sigma_3,\sigma_2,\sigma_1)\) which corresponds with minimum (most negative), intermediate and maximum (most positive). Compressive stresses are negative. (The values are zero for an element with a plastic material model.)


p - pointer to a shell-type element

iloc - location index where iloc = 0 indicates the element centroid, while iloc = 1 to 3 indicates the positions of the nodes with those local indices

Component Access

f := (p, inode )->x

f :=,inode)

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


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 (,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 :=,inode)
f :=,inode)