# struct.shell.stress

Syntax

t := struct.shell.stress(p,inode)

Get the shell stresses at the current depth factor at the location corresponding to index inode.

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

Returns: t - recovered element stress tensor, or a specific component of that tensor p - a pointer to a shell element inode - index of the location of the resultant, from 0 to 3

Stresses are expressed in the global system. Note that compressive stresses are negative.

See also the FISH functions struct.shell.stress.valid and struct.shell.stress.prin.

Component Access

f = struct.shell.stress (p, i)->xx

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

Get the $$xx$$-component of the stress tensor.

Returns: f - the $$xx$$-value of the stress tensor p - a pointer to a shell element inode - index of the location of the resultant, from 0 to 3

Access other tensor components ($$yy$$, $$zz$$, $$xy$$, $$xz$$, $$yz$$) by substituting the component name where $$xx$$ appears above. $$xz$$, $$yz$$, and $$zz$$ are 3D only. See Member Access Operator for information about accessing members from data types using ->.

Deprecated Component Access

Component access by adding optional integer(s) in the function arguments (e.g., f = struct.shell.stress(p, inode,<int>,<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 tensor component access functions for inline help.

f := struct.shell.stress.xy(p,inode)
f := struct.shell.stress.xz(p,inode) (3D only)
f := struct.shell.stress.yy(p,inode)
f := struct.shell.stress.yz(p,inode) (3D only)
f := struct.shell.stress.zz(p,inode) (3D only)