HyperView User's Guide

Geometry Operators

Geometry Operators

Previous topic Next topic Expand/collapse all hidden text  

Geometry Operators

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

The geometry operators enable visualization of element, material, and property data as scalars and vectors.

The Model library contains the following Geometry operators:

hmtoggle_plus1Area

Calculates the shell area.

Inputs

elems: an element entity table.

coords: a coordinate vector value table.

Outputs

answer: a scalar value table.

Notes

Only shell elements are processed.
If the answer scalar table is bound to nodes, the nodal shell area will be calculated; otherwise, the shell area will be calculated.
All vectors in coords must be relative to the global system.
Nodal shell area is the sum of element area divided by the number of nodes per element for all adjacent elements.

Expression Builder

Area(elems,coords)

XML Example

<call name="Area" elems="elem_tab" coords="coord_tab"

 answer="ans_tab" />

hmtoggle_plus1Volume

Calculates the solid/shell volume.

Inputs

elems: an element entity table.

thickness: shell thickness scalar table.

parts: a part entity table.

coords: a coordinate vector value table.

Outputs

answer: a scalar value table.

Notes

Only shell and solid elements are processed.
thickness and parts arguments default to NULL.
If thickness and/or parts are NULL, only solid elements will be processed.
All vectors in coords must be relative to the global system.
Composite thickness is unsupported at this time.

Expression Builder

Volume(thickness,parts,coords,elems)

XML Example

<call name="Volume" elems="elem_tab" coords="coord_tab"

 parts="part_tab" thickness="thickness_tab"

 answer="ans_tab" />

hmtoggle_plus1ElementAxisVector

Transforms a vector relative to the elemental system to the global system.

Inputs

elems: an element entity table.

coords: a coordinate vector value table.

vector: a vector relative to the elemental system.

elemSysMethod: the element system method for the model.  Valid values are  "Bisect" (default value) or "Midpoint" (to be used for all Radioss models).

Outputs

answer: an elemental vector value table.

Notes

All vectors in coords must be relative to the global system.
The vector string is a space-separated list of 3 scalar values.
elemSysMethod is only applicable for Element-bound vectors and is specific to quadrilateral elements only.

Expression Builder

ElementAxisVector(elems, coords, vector, elemSysMethod)

XML Example

<call name="ElementAxisVector" vector="1 0 0"

coords="coord_tab" elems="elem_tab"

answer="ans_tab" />

hmtoggle_plus1MaterialAxisVector

Transforms a vector relative to the element material system to the global system.

Inputs

elems: an element entity table.

coords: a coordinate vector value table.

systems: a system entity table.

mattheta: a scalar table of material angle offsets (default=”null”).

parts: a part entity table (default=”null”).

props: a property entity table (default=”null”).

vector: a vector relative to the material system.

Outputs

answer: an elemental vector value table.

Notes

All vectors in coords must be relative to the global system.
Solid material systems require part and property tables, and both must be passed.
Two methods for material orientation are supported: an angle offset relative to the element system, and the projection of a system onto the surface of the shell.
The vector string is a space-separated list of 3 scalar values.

Expression Builder

MaterialAxisVector (elems, coords, systems, mattheta, parts, props, vector)

XML Example

<call name="MaterialAxisVector" vector="1 0 0"

coords="coord_tab" systems ="sys_tab" elems="elem_tab"

mattheta="theta_tab" answer="ans_tab" />

hmtoggle_plus1PlyAxisVector

Transforms a vector relative to the element ply system to the global system.

Inputs

elems: an element entity table.

coords: a coordinate vector value table.

systems: a system entity table.

parts: a part entity table.

mattheta: an elemental scalar table of material angle offsets.

plytheta: a property scalar table of ply angle offsets.

vector: a vector relative to the material system.

Outputs

Answer: an elemental vector value table.

Notes

All vectors in coords must be relative to the global system.
Only shells will be processed by this operator.
The vector string is a space-separated list of 3 scalar values.

Expression Builder

PlyAxisVector(coords, elems, systems, parts, mattheta, plytheta, vector)

XML Example

<call name="PlyAxisVector" vector="1 0 0"

 coords="coord_tab" systems ="sys_tab"

 elems="elem_tab" parts="part_tab"

 mattheta="mat_theta_tab" plytheta="ply_theta_tab"

 answer="ans_tab" />

hmtoggle_plus1ScalarID

Creates a scalar value table from entity IDs.

Inputs

src: an entity table.

The following input is valid only if the src table is nodal:

system: reference, analysis, or null (default = “null”).

Outputs

Answer: a scalar table containing the IDs attached to the entities in src.

Notes

It is necessary to use ScalarID in conjunction with binding change operators to visualize property or material IDs.
To create scalars of nodal reference system IDs, set system to ‘reference’.
To create scalars of nodal analysis system IDs, set system to ‘analysis’.
To create scalars of nodal IDs, leave system unset or specify ‘null’.
In the case when processing material or property IDs for composites, it is necessary to inherit the layer list from a model table that contains layer data (for example, inherit=”PCOMP_THETA” with Nastran) on the dataset.

Expression Builder

ScalarID(src, system)

XML Example

<call name="ScalarID" src="part_tab"

 answer="ans_tab" />