# zone.tetra.stress

Syntax

t := zone.tet.stress(z<,ioverlay><,itetra>)
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 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.