*rbody_mesh

Creates a rigid body mesh on surfaces.

Syntax

*rbody_mesh mark_id min_size max_size max_chordal max_angle remesh mesh_type elem_comp elem_order shared_edge_flag

Type

HyperMesh Tcl Modify Command

Description

Creates a rigid body mesh on surfaces.

Inputs

mark_id
The ID of the mark containing the surfaces to mesh. Valid values are 1 and 2.
min_size
The minimum element size.
max_size
The maximum element size.
max_chordal
The maximum allowed chordal deviation.
max_angle
The maximum feature angle.
remesh
0 - Delete existing elements before mesh
1 - Do not delete existing elements before mesh
mesh_type
0 - Trias
1 - Mixed
elem_comp
0 - Organize elements in current component
1 - Organize elements in surface component(s)
elem_order
1 - First
2 - Second
shared_edge_flag
For options 1-6 connectivity with existing mesh is broken:
0 - Allow node movement across shared edges, and ignore chordal deviation
1 - Do not allow node movement across shared edges, and ignore chordal deviation
2 - Allow node movement across suppressed edges, and ignore chordal deviation
3 - Allow node movement across shared edges, and keep chordal deviation
4 - Do not allow node movement across shared edges, and keep chordal deviation
5 - Allow node movement across suppressed edges, and keep chordal deviation
6 - Do not allow node movement across shared edges, do not allow edge swap in cleanup, and keep chordal deviation
Options 7 – 9 are currently unavailable.
10 – Same as option 0 but keep connectivity with existing mesh
11 – Same as option 1 but keep connectivity with existing mesh
12 – Same as option 2 but keep connectivity with existing mesh
13 – Same as option 3 but keep connectivity with existing mesh
14 – Same as option 4 but keep connectivity with existing mesh
15 – Same as option 5 but keep connectivity with existing mesh
16 – Same as option 15 and allow mesh refining to avoid intersections

Example

To create a first order rigid body mesh on surfaces 1-10, with minimum size of 0.5 and maximum size of 30.0:
*createmark surfs 1 1-10
*rbody_mesh 1 0.5 30 0.1 15 1 1 1 1 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

2021.1 – Added new shared_edge_flag values 6, 10, 11, 12, 13, 14, 15, and 16.