*defaultmeshsurf_growth
Generates surface meshes using surface deviation parameters with growth ratio transitions given by refinement sizes defined on points, edges and surfaces.
Syntax
*defaultmeshsurf_growth mark_id elem_size elem_type elem_type_2 previous_settings comp_mode size_control skew_control mesh_type keep_mesh min_size max_size chordal_dev max_angle growth_rate id_array number_of_ids size_array number_of_sizes
Type
HyperMesh Tcl Modify
Description
Generates surface meshes using surface deviation parameters with growth ratio transitions given by refinement sizes defined on points, edges and surfaces.
Inputs
- mark_id
- The ID of the mark containing the surfaces to mesh. Valid values are 1 and 2.
- elem_size
- The default element size used to calculate element densities along edges (when necessary).
- 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
- elem_type_2
- Flag indicating the elements generated for free meshing algorithms. Valid values are:
- 0 - trias
- 1 - quads
- 2 - mixed
- 3 - right trias
- 4 - quads only
- previous_settings
- Flag indicating whether to break, keep or redo connectivity between neighboring
surfaces. Valid values are:
- 0 – Keep previous settings and do not break connectivity between neighboring surfaces.
- 1 – Break connectivity between neighboring surfaces.
- 2 – Keep connectivity between neighboring surfaces.
- 3 – Redo connectivity between neighboring surfaces by expanding surface selection by one layer of adjacent surfaces.
- comp_mode
- Parameter specifying how entities are organized into components:
- 0 – Elements are created in the current component.
- 1 – Elements are created in the same components as their parent surfaces.
- size_control
- Flag indicating whether to create uniformly sized elements. Valid values are:
- 0 – Do not create uniformly sized elements.
- 1 – Create uniformly sized elements.
- skew_control
- Flag indicating whether to create optimally shaped elements when using mapping
algorithms. Valid values are:
- 0 – Do not create optimally shaped elements.
- 1 – Create optimally shaped elements.
- mesh_type
- Parameter specifying the meshing algorithm for edge/surface meshing. Valid values are:
- 34 – Proximity and curvature based surface meshing.
- 35 – Curvature based surfaced meshing.
- 36 – Proximity and curvature based meshing with free edge deviation.
- 37 – Curvature based surface meshing with free edge deviation.
- keep_mesh
- Determines wether any existing mesh is preserved. Valid values are:
- 0 - Do not keep existing mesh.
- 1 - Keep existing mesh.
- min_size
- The minimum edge size.
- max_size
- The maximum edge size.
- chordal_dev
- The chordal deviation value.
- max_angle
- The maximum angle (in degrees) between edges.
- growth_rate
- The growth rate of the refinement size transition.
- id_array
- The ID of the string array that contains the refinement geometry IDs. The integer array is created using the *createarray command. This should always be set to 1.
- number_of_ids
- Integer indicating the size (number of integers) in the integer array created using *createarray.
- size_array
- The ID of the double array that contains the refinement geometry sizes. The double array is created using the *createdoublearray command. This should always be set to 1.
- number_of_sizes
- Integer indicating the size (number of doubles) in the double array created using *createdoublearray.
Examples
To create a tria mesh with chordal deviation settings using a growth rate of 1.23 with
refinement sources defined at point ID 93, size 1, edge ID 35, size 1.5 and surface ID 2,
size
2.1:
*createmark surfaces 1 all
*createarray 6 1 1 1 93 35 2
*createdoublearray 3 1.0 1.5 2.1
*defaultmeshsurf_growth 1 5 0 0 2 1 1 1 35 0 0.5 5 0.1 15 1.23 1 6 1 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
11.0