*morphsetsmoothtests

Sets the element test criteria used for shape combination checking via *morphshapesmooth.

Syntax

*morphsetsmoothtests mode active elem_type test_id warning error invalid

Type

HyperMesh Tcl Modify Command

Description

Sets the element test criteria used for shape combination checking via *morphshapesmooth.

This command allows you to edit the element test criteria for shape combination checking used by the *morphshapesmooth command. You can make every supported test active or inactive for each of the six basic element types (trias, quads, tetras, pyras, pentas, and hexas) as well as set any thresholds for the warning, error, and invalid limits. Currently only aspect ratio, skew, minimum angle, maximum angle, warpage, tetra collapse, and jacobian tests are supported.

Inputs

mode
0 - Set all element tests to be inactive
1 - Set all element tests to the default values
2 - Set one individual test to be active or inactive and set limits for the test
Note that all other options below are ignored for modes 0 and 1.
active
0 - Make test inactive
1 - Make test active
elem_type
0 - trias
1 - quads
2 - tetras
3 - pyras
4 - pentas
5 - hexas
test_id
0 - aspect ratio
1 - skew
2 - minimum angle
3 - maximum angle
4 - warpage
5 - tetra collapse
6 - Jacobian
warning
The limit beyond which the element will report a warning for element quality.
error
The limit beyond which the element will report an error for element quality.
invalid
The limit at or beyond which the element will report invalid elements for element quality.

Example

To clear all tests and then assign values of 0.3, 0.2, and 0.1 for quad element Jacobian:

*morphsetsmoothtests 0 0 0 0 0.0 0.0 0.0
*morphsetsmoothtests 2 1 1 6 0.3 0.2 0.1

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

14.0