zone.tetra.stress

Syntax

t := zone.tet.stress(z<,ioverlay><,itetra>) (3D ONLY)
zone.tet.stress(z<,ioverlay><,itetra>) := t

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

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

The total number of tetra in each overlay depends on the zone type (brick, degenerate-brick, wedge, pyramid, or tetrahedron).

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

Note that compressive stresses are negative in FLAC3D.

Returns:

t - zone tetra stress tensor or value

Arguments:

z - zone pointer

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

itetra - optional index of the tetra in the overlay, from 1 to 5 for a brick zone type.

Component Access

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

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

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

Returns:

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

Accepts:

f - $$xx$$-component of the zone tetra 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.tet.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.tet.stress.yy(z)
f := zone.tet.stress.zz(z)
f := zone.tet.stress.xy(z)
f := zone.tet.stress.xz(z)
f := zone.tet.stress.yz(z)