*hex_refinement

Refines selected hexa elements while maintaining connectivity.

Syntax

*hex_refinement entity_type1 mark_id1 entity_type2 mark_id2 refinement_level

Type

HyperMesh Tcl Modify Command

Description

Refines selected hexa elements while maintaining connectivity.

Inputs

entity_type1
The type of entity. Currently supported for elements.
mark_id1
The ID of the mark containing hexa elements to be refined. Valid values are 1 and 2.
entity_type2
The type of entity. Currently supported for elements.
mark_id2
The ID of the mark containing all the elements attached to elements in mark mark_id1. Valid values are 1 and 2.
refinement_level
The level of refinement. Level 1 will refine the hexa elements by splitting them to 1/3 of their original size.

Example

To refine the displayed hexa elements to level 1:

*createmark elements 1 "displayed"
*createmark elements 2 "all"
*hex_refinement elems 1 elems 2 1

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

2022.1