*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:
- 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.
- mindensitylength=<value>
- The threshold for edge length to split only small edges, where mindensity will be applied.
- smoothmethod=<value>
- Defines the smoothing method to be used in the meshing command. Useful prior to calling automatic meshing. Valid values are:
- triamapflow=<value>
- Defines additional method for meshing triangular-shaped surfaces. Standard tria map method is used if not specified.
Examples
To set several 2D meshing options:
*automesh_params mindensity=2 mindensitylength=0.2 mindensitycurvratio=1.1 mapmethod=1 triamapflow=0 smoothmethod=2
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
2021.2 - Added new option triamapflow and renamed smoothedges option to smoothmethod.