*coarsening_mesh

Performs mesh coarsening on selected components.

Syntax

*coarsening_mesh comps_mark_id nodes_mark_id failed_comps_mark_id elem_size elem_type reserved1 feature_angle max_diameter update_rigids reserved2 create_plotels

Type

HyperMesh Tcl Modify

Description

Performs mesh coarsening on selected components. The ability exists to specify sacred nodes that will be maintained after coarsening.

Inputs

comps_mark_id
The ID of the mark containing the input components. This must also include any 1D multi-leg rigid elements that will be processed by the update_rigids option. Valid values are 1 and 2..
nodes_mark_id
The ID of the mark containing any nodes to be treated as sacred/fixed. These nodes must belong to the initial mesh. These nodes will be maintained during coarsening. Valid values are 1 and 2.
failed_comps_mark_id
The ID of the mark to store any failed components. Valid values are 1 and 2.
This mark can then be passed to *decimate_mesh for further processing.
elem_size
The element size to use for coarsening. This must be larger than the initial mesh size.
elem_type
Flag indicating the element type to generate for the coarsened mesh. Valid values are:
  • 0 – trias
  • 1 – quads
  • 2 – mixed
  • 3 – right trias
  • 4 – quads only
reserved1
Reserved for future use. Must be set to 0.
feature_angle
This specifies the maximum angle between the normals of two connected elements. This value is ignored for shell elements. For 3D elements, the appropriate free faces of shell elements are created and meshed with the given feature angle. This value is also used to construct the connected edges for the failed components. Then these components are coarsened/decimated in a second attempt.
If this value is less than 1.0, the default value of 85.0 degrees is used.
max_diameter
This option specifies the maximum hole diameter that will be filled by the coarsening operation. The default value is 0.0 (do not fill any holes).
update_rigids
0 – Do not delete the free legs of any rigidlink/RBE3 elements that are part of the input components.
1 – After coarsening, delete the free legs of any rigidlink/RBE3 elements that are part of the input components.
tolerance
Reserved for future use. Must be set to 0.
create_plotels
If set to non-zero, corresponding PLOTEL3/4 elements will be created. PLOTEL elements are only valid for OptiStruct.

Examples

Create a coarsened mesh with mixed type elements of element size 30 using all components. Keep node IDs 16 and 27 as anchor nodes. Ignore all internal loops with diameter less than 65. If the model has solid elements, create free faces of shell elements and mesh them with a feature angle of 45 degrees. If the model has rigidlink/RBE3, delete any free legs in the input components:
*createmark components 1 "all"
*createmark nodes 1 16 27
*coarsening_mesh 1 1 2 30 2 0 45 65 0 0 0

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