# zone.tri.stress

Syntax

t := zone.tri.stress(z<,ioverlay><,itri>) (2D ONLY)
zone.tri.stress(z<,ioverlay><,itri>) := t

Get/set a list of the the zone triangle stresses.

If ioverlay is specified (an integer from 1 to 2) then only the stresses in the triangle of that overlay are returned. If itri is specified as well, then only the tensor from that specific triangle is returned.

The total number of triangles in each overlay depends on the zone type (quadrilateral or triangle).

See also the functions zone.overlays and zone.tri.num.

Note that compressive stresses are negative in FLAC.

Returns:

t - zone triangle stress tensor or value

Arguments:

z - zone pointer

ioverlay - optional overlay index of the triangle, from 1 to 2

itri - optional index of the triangle in the overlay, from 1 to 2.

Component Access

f := zone.tri.stress (z)->xx
zone.tri.stress (z)->xx := f

f := zone.tri.stress.xx(z)
zone.tri.stress.xx(z) := f

Get/set the $$xx$$-component of a list of the the zone triangle stresses.

Returns:

f - $$xx$$-component of the zone triangle stress tensor or value

Accepts:

f - $$xx$$-component of the zone triangle stress tensor or value

Arguments:

z - zone pointer

Access other tensor components ($$yy$$, $$zz$$, $$xy$$, $$xz$$, $$yz$$) by substituting the component name where $$xx$$ 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 (zone.tri.stress(z,<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 vector component access functions for inline help.

f := zone.tri.stress.yy(z)
f := zone.tri.stress.zz(z)
f := zone.tri.stress.xy(z)
f := zone.tri.stress.xz(z)
f := zone.tri.stress.yz(z)