*elementtestvolumeareaskew
Tests 2D and 3D elements using the volumetric and areal element quality check.
Syntax
*elementtestvolumeareaskew
Type
HyperMesh Tcl Modify
Description
Tests 2D and 3D elements using the volumetric and areal element quality check. The 3D volumetric skew corresponds directly to the Abaqus and Fluent CFD tetra element quality checks.
Inputs
- entity_type
- The entity types to be checked. Only elements are supported.
- mark_id
- The mark ID containing the elements to test. Valid values are 1 and 2.
- skew
- The value to use as a threshold beyond which elements should be considered to have failed the test.
- dimension
- A code to measure the dimension of:
- 2 - Measure 2D elements.
- 4 - Measure 3D elements.
- output_mark_id
- The mark ID where the failed elements will be placed. Valid values are 1 and 2.
- contour
- A flag that determines how the results are presented. Valid values are:
- 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 to label the curve in the histogram. Only required, if contour is 2.
Example
To test all displayed tetra elements for a volumetric skew of
0.6:
*createmark elems 1 "displayed"
*elementtestvolumeareaskew elems 1 0.6 0 4 0 ""
To test all displayed tria elements for an areal skew of
0.5:
*createmark elems 1 "displayed"
*elementtestvolumeareaskew elems 1 0.5 0 2 0 ""
Errors
Incorrect usage results in a Tcl error. To
detect errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}