HyperView User's Guide

Scalar Operators

Scalar Operators

Previous topic Next topic Expand/collapse all hidden text  

Scalar Operators

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

The Math library contains the following Scalar operator:

hmtoggle_plus1ScalarExtract

Extracts scalar values from vector or tensor values.

Inputs

src: a value table.

component: x,y,z,mag,xx,yy,zz,xy,yz,zx,p1,p2,p3,vm.

Outputs

answer: a value table.

Notes

src must be a vector or tensor format, and answer must be scalar format.
If src is a constant value table (created by the Constant operator), no records will be added to the answer table.
Valid components for vectors are “X, Y, Z, Mag”
Valid component strings for tensors are “XX, YY, ZZ, XY, YZ, ZX, P1, P2, P3, or VM”.

Expression Builder

In the Expression Builder, the ScalarExtract operator is called when a scalar or vector table is followed by a period, then by the component.

For example:

displacement.x: extracts the x-component of the displacement vector.

stress.vm: extracts the vonMises from the stress tensor.

stress.yy: extracts the normal y component from the stress tensor.

XML Example

<call name="ScalarExtract" src="src_tab" component="mag" answer="ans_tab" />