struct.shell.stress.prin

Syntax

v := struct.shell.stress.prin(p,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 struct.shell.stress.depth.factor and struct.shell.stress.valid functions.

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

Returns:

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.)

Arguments:

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 := 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

Arguments:

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)