*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
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

Example

To create a first order rigid body mesh on surfaces 1-10, with minimum size of 0.5 and maxmium 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
}