*hm_failed_elements_cleanup
Cleans up the mesh by eliminating reversed and small sized elements. May create new elements instead of reversed.
Syntax
*hm_failed_elements_cleanup markmask elem_type min_elemsize max_feature_angle max_reverse_angle
Type
HyperMesh Tcl Modify
Description
Cleans up the mesh by eliminating reversed and small sized elements. May create new elements instead of reversed.
Inputs
- markmask
- Elements of the original mesh.
- Elem_type
- Determines the type of new elements:
- min_elemsize
- Determines minimum element size of elements in the mesh after cleanup.
- max_feature_angle
- Determines mesh feature angle for keeping features when possible after cleanup.
- max_reverse_angle
- Determines maximum angle between adjacent element normals for reversed elements detection.
Example
To eliminate elements in the displayed tria mesh with size less than 1.5, remove reversed elements with adjacent normals greater than 150 degrees, trying to keep features greater than 60 degrees:
*createmark(elements,1) displayed
*hm_failed_elements_cleanup(1, 0, 1.5, 60, 150)
The *createmark() command is required.
Errors
None.