*automesh_params

Set 2D meshing parameters on edges and faces.

Syntax

*automesh_params <option1>=<value1> ?<option2>=<value2>? ... ?<optionN>=<valueN>?

Type

HyperMesh Tcl Modify Command

Description

Set 2D meshing parameters on edges and faces. This must be called before 2D meshing commands. After executing the 2D meshing commands, the parameters defined in this command are restored to their default values.

Inputs

mapmethod=<value>
Defines the method to map nodes between opposite edges of rectangular shaped surfaces:
0 - Auto decide (default)
1 – Force map to use parametric lengths. Generally useful when the number and biasing of nodes on opposite edges are similar in order to make more regular mesh flow lines.
2 – Force map to use arc lengths. Generally useful for constant size meshing with unaligned density and biasing on opposite edges to make more regularly shaped elements.
mindensity=<value>
Assign a minimum density on edges. This will ensure a minimum number of nodes even for small edges.
mindensitycurvratio=<value>
The ratio of the curved edge length to the length of a straight segment between edge ends, where mindensity will be applied.
mindensityclength=<value>
The threshold for edge length to split only small edges, where mindensity will be applied.
smoothedges=<value>
Defines the smoothing method to be used in the meshing command. Useful prior to calling automatic meshing. Valid values are:
0 - None
1 - Auto-decide (default)
2 - Size corrected
3 - Shape corrected
4 - Angle corrected

Examples

To set several 2D meshing options:

*automesh_params mindensity=2 mindensitylength=0.2 mindensitycurvratio=1.1 mapmethod=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

2020.1