*automesh

Employs a surface-based automeshing algorithm to generate a mesh on a given surface face.

Syntax

*automesh face_index algorithm elem_type

Type

HyperMesh Tcl Modify

Description

Employs a surface-based automeshing algorithm to generate a mesh on a given surface face.

Inputs

face_index
The index of the surface face to mesh.
algorithm
Determines the surface-based mesh generation algorithm to use to create elements for the given face. Valid values are:
  • 1 - Auto decide
  • 2 - Map as rectangle
  • 3 - Map as triangle
  • 4 - Map as pentagon
  • 5 - Advancing front
  • 6 - Map as circle
elem_type
Flag indicating the elements generated for mapped meshing algorithms. Valid values are:
  • 0 - trias
  • 1 - quads
  • 2 - mixed
  • 3 - right trias
  • 4 - quads only

Examples

To automesh face 0 with mixed elements using advancing front:
*automesh 0 5 2

Errors

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