*triangle_clean_up

Fixes sliver/bad quality elements which fail the user-defined aspect ratio.

Syntax

*triangle_clean_up entity_type mark_id <criteria>=<value>

Type

HyperMesh Tcl Modify

Description

Fixes sliver/bad quality elements which fail the user-defined aspect ratio.

Inputs

entity_type
The type of input entity. Valid values are elems and comps.
mark_id
The ID of the mark of input entities. Valid values are 1 and 2.
<criteria>=<value>
There are two possible criteria:
aspect=<value>
The elements failing this given aspect ratio value will be fixed. The aspect ratio is defined as the minimum height/longest edge.
height=<value>
The elements failing this given element height value will be fixed. The minimum height is defined as shortest distance from a node to opposite edge.

Examples

To correct all elements failing aspect ratio of 8:

*createmark components 1 "all"
*triangle_clean_up components 1 aspect=8 mode=3

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

2019