zone.stress

Syntax

Tensor Access

t = zone.stress(p<,i1<,i2>>)
zone.stress(p<,i1<,i2>>) = t

Get/set the zone stress. Get: The zone-averaged value of all the internal tetra is returned, weighted by volume. Set: All of the zone’s internal tetra are assigned the same stress value. Note that compressive stresses are negative in FLAC3D.

Returns:

t - zone stress tensor or value

Accepts:

t - zone stress tensor or value

Arguments:

p - zone pointer

i1 - optional tensor index that, if given without i2, ranges from 1 to 6, accessing the xx, yy, zz, xy, xz, and yz tensor values.

i2 - optional tensor notation that must be given with i1. In this case, i1 corresponds to the first index of the tensor position and i2 to the second in the row/column format. For instance, i1 = 1 and i2 = 3 returns the xz tensor value.

Value Access

f = zone.stress.xx(p)
zone.stress.xx(p) = f

Get/set the xx-value of the zone stress. Get: The zone averaged value of all the internal tetra is returned, weighted by volume. Set: All of the zone’s internal tetra are assigned the same stress value. Note that compressive stresses are negative in FLAC3D.

Returns:f - xx-value of the zone stress tensor
Accepts:f - xx-value of the zone stress tensor
Arguments:p - zone pointer
f = zone.stress.xy(p)
zone.stress.xy(p) = f

Get/set the xy-value of the zone stress. Get: The zone averaged value of all the internal tetra is returned, weighted by volume. Set: All of the zone’s internal tetra are assigned the same stress value. Note that compressive stresses are negative in FLAC3D.

Returns:f - xy-value of the zone stress tensor
Accepts:f - xy-value of the zone stress tensor
Arguments:p - zone pointer
f = zone.stress.xz(p)
zone.stress.xz(p) = f

Get/set the xz-value of the zone stress. Get: The zone averaged value of all the internal tetra is returned, weighted by volume. Set: All of the zone’s internal tetra are assigned the same stress value. Note that compressive stresses are negative in FLAC3D.

Returns:f - xz-value of the zone stress tensor
Accepts:f - xz-value of the zone stress tensor
Arguments:p - zone pointer
f = zone.stress.yy(p)
zone.stress.yy(p) = f

Get/set the yy-value of the zone stress. Get: The zone averaged value of all the internal tetra is returned, weighted by volume. Set: All of the zone’s internal tetra are assigned the same stress value. Note that compressive stresses are negative in FLAC3D.

Returns:f - yy-value of the zone stress tensor
Accepts:f - yy-value of the zone stress tensor
Arguments:p - zone pointer
f = zone.stress.yz(p)
zone.stress.yz(p) = f

Get/set the yz-value of the zone stress. Get: The zone averaged value of all the internal tetra is returned, weighted by volume. Set: All of the zone’s internal tetra are assigned the same stress value. Note that compressive stresses are negative in FLAC3D.

Returns:f - yz-value of the zone stress tensor
Accepts:f - yz-value of the zone stress tensor
Arguments:p - zone pointer
f = zone.stress.zz(p)
zone.stress.zz(p) = f

Get/set the zz-value of the zone stress. Get: The zone averaged value of all the internal tetra is returned, weighted by volume. Set: All of the zone’s internal tetra are assigned the same stress value. Note that compressive stresses are negative in FLAC3D.

Returns:f - zz-value of the zone stress tensor
Accepts:f - zz-value of the zone stress tensor
Arguments:p - zone pointer