# zone.stress

Syntax

t := zone.stress(z)
zone.stress(z) := t

Note

• In the description below, the following correspondence is assumed between 3D and 2D analysis:
• 3D volumes <-> 2D areas

Get/set the zone stress. Get: The zone-averaged value of all the internal subzones (tetrahedron in 3D, triangle in 2D) is returned, weighted by volume. Set: All of the zone’s internal subzones are assigned the same stress value. Note that compressive stresses are negative.

Returns:

t - zone stress tensor

Accepts:

t - zone stress tensor

Arguments:

z - zone pointer

Component Access

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

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

Get/set the $$xx$$-component of the zone stress.

Returns:

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

Accepts:

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