struct.shell.stress

Syntax

Tensor Access

t = struct.shell.stress(p,inode<,i1<,i2>>)

Get the shell stresses at the current depth factor at the location corresponding to index inode.

inode = 0 indicates the element centroid, while inode = 1 to 3 indicates the positions of the nodes with those indices.

Stresses are expressed in the global system. Note that compressive stresses are negative in FLAC3D.

See the structure shell recover stress, structure geogrid recover stress, and structure shell recover stress commands. See also the struct.shell.stress.valid and struct.shell.stress.prin functions.

Returns:

t - recovered element stress tensor, or a specific component of that tensor

Arguments:

p - a pointer to a shell element

inode - index of the location of the resultant, from 0 to 3

i1 - optional tensor indice 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 indice of the tensor position and i2 to the second in the row/column format. For instance, i1 = 1 and i2 = 3 return the xz tensor value.

Value Access

f = struct.shell.stress.xx(p,inode)

Get the xx-value of the recovered element stress. Note that compressive stresses are negative in FLAC3D.

Returns:

f - xx-value of the recovered element stress tensor

Arguments:

p - zone pointer

inode - index of the location of the resultant, from 0 to 3

f = struct.shell.stress.xy(p,inode)

Get the xy-value of the recovered element stress. Note that compressive stresses are negative in FLAC3D.

Returns:

f - xy-value of the recovered element stress tensor

Arguments:

p - zone pointer

inode - index of the location of the resultant, from 0 to 3

f = struct.shell.stress.xz(p,inode)

Get the xz-value of the recovered element stress. Note that compressive stresses are negative in FLAC3D.

Returns:

f - xz-value of the recovered element stress tensor

Arguments:

p - zone pointer

inode - index of the location of the resultant, from 0 to 3

f = struct.shell.stress.yy(p,inode)

Get the yy-value of the recovered element stress. Note that compressive stresses are negative in FLAC3D.

Returns:

f - yy-value of the recovered element stress tensor

Arguments:

p - zone pointer

inode - index of the location of the resultant, from 0 to 3

f = struct.shell.stress.yz(p,inode)

Get the yz-value of the recovered element stress. Note that compressive stresses are negative in FLAC3D.

Returns:

f - yz-value of the recovered element stress tensor

Arguments:

p - zone pointer

inode - index of the location of the resultant, from 0 to 3

f = struct.shell.stress.zz(p,inode)

Get the zz-value of the recovered element stress. Note that compressive stresses are negative in FLAC3D.

Returns:

f - zz-value of the recovered element stress tensor

Arguments:

p - zone pointer

inode - index of the location of the resultant, from 0 to 3