*elementtestaltitudeaspect

Tests tetra elements for whether or not they pass the tetra AR element quality check, and puts those that fail on the specified output mark.

Syntax

*elementtestaltitudeaspect entities markmask aspectratio outputmark contour title

Type

HyperMesh Tcl Modify Command

Description

Tests tetra elements for whether or not they pass the tetra AR element quality check, and puts those that fail on the specified output mark.

Inputs

entities
The entity types to be checked. Currently, the only allowable option is elements.
markmask
The mark that contains the elements to test.
aspectratio
The value to use as a threshold beyond which elements should be considered to have failed the test.
outputmark
The mark where HyperMesh should put the elements that fail the test.
contour
A code telling if HyperMesh should:
  • 0 - Display the results of the test normally.
  • 1 - Display the elements color coded by their ratings.
  • 2 - Build a histogram showing the distribution of ratings.
title
The title with which to label the curve in the histogram.

Example

*createmark(elements,1) "displayed"
*createmark(elements,2)
*elementtestaspect(elements, 1, 5, 2, 0, "Tetra Altitude Aspect")

The tetra element aspect ratio corresponds directly to the Nastran TETRAAR element quality check. It is calculated by dividing the largest edge length of the element by its smallest altitude.