struct.shell.stress

Syntax

t := struct.shell.stress(p,iloc<,icomp>)

Get stress for an element with an elastic material model (expressed in the global coordinate system with compression negative) at the depth defined by the current depth factor and at the location corresponding to iloc. Returns either the full stress tensor or a specific stress component (if the optional argument icomp is given). See also the struct.shell.stress.depth.factor and struct.shell.stress.valid functions.

Stress computation for elements with elastic material models is described in the structure shell recover stress (or liner/geogrid) command. Get stress for elements with plastic material models using the struct.shell.plastic.ipstress function.

Returns:

t - stress tensor, or a specific stress component (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

icomp - optional argument indicating a specific stress component, from 1 to 6 in the order \(\{\sigma_{xx},\sigma_{yy},\sigma_{zz},\sigma_{xy},\sigma_{xz},\sigma_{yz}\}\).

See the commands structure shell recover stress, structure geogrid recover stress, and structure shell recover stress.

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

Arguments:

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)