HyperView User's Guide

Tensor Operators

Tensor Operators

Previous topic Next topic Expand/collapse all hidden text  

Tensor Operators

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

The Math library contains the following Tensor operators:

hmtoggle_plus1DeviatorT

Stores the deviatoric part of src into answer.

Inputs

src: a tensor value table.

Outputs

answer: a tensor value table.

Notes

src and answer must be tensor format.
If src is a constant value table (created by the Constant operator), no records will be added to the answer table.

Expression Builder

dev(src)

XML Example

<call name="DeviatorT" src="src_tab"
answer="ans_tab" />

hmtoggle_plus1SphericalT

Stores the spherical part of src into answer.

Inputs

src: a tensor value table.

Outputs

answer: a tensor value table.

Notes

src and answer must be tensor format.
If src is a constant value table (created by the Constant operator), no records will be added to the answer table.

Expression Builder

sph(src)

XML Example

<call name="SphericalT" src="src_tab"
answer="ans_tab" />

hmtoggle_plus1PrincipalAxisVector

Stores one of the principal axes of the src tensor into answer.

Inputs

src: a real tensor value table.

axis: a string "major", "mid", or "minor" (default = "major").

Outputs

answer: a real vector value table.

Notes

src and answer must be bound to the same entity type.
If src is a constant value table (created by the Constant operator), no records will be added to the answer table.

Expression Builder

PrincipalAxisVector(src,"Minor")

XML Example

<call name="PrincipalAxisVector" src="src_tab"
axis="minor" answer="ans_tab" />

hmtoggle_plus1TensorFromScalar

Creates a 3-D tensor from six scalar tables and stores the result in answer.

Inputs

xx: a scalar value table.

yy: a scalar value table.

zz: a scalar value table.

xy: a scalar value table.

yz: a scalar value table.

zx: a scalar value table.

sysid: a system ID or keyword (default = 0).

Outputs

answer: a tensor value table.

Notes

xx, yy, zz, xy, yz, zx and answer must be real bound to the same entity type, and of the same domain (complex or real).
sysid is a string containing an ID or keyword that defines the system the tensor will be created relative to:
o0”: Global (the default)
oA positive integer: a system ID in the model
o“elem”:  the elemental coordinate system
o“anal”: the nodal analysis system
o“ply”: the elemental ply system
o“mat”: the elemental material system
If xx is a constant value table (created by the Constant operator), no records will be added to the answer table.
If a record cannot be found in all six input scalar tables, no tensor will be created.

Expression Builder

TensorFromScalar(xs,ys,zs,xys,yzs,zxs)

XML Example

<call name="TensorFromScalar" xx="xs_tab" yy="ys_tab"
zz="zs_tab" xy="xys_tab" yz="yzs_tab" zx="zxs_tab"
answer="ans_tab" />