*refine_by_patterns
Refines a zone of elements using an all quad pattern.
Syntax
*refine_by_patterns mark_id node_id strings
Type
HyperMesh Tcl Modify Command
Description
Refines a zone elements using an all quad pattern. The zone is described by a refinement box and center node. The refined mesh is then connected to the existing mesh using an all quad pattern through the transition zone, described by a transition box.
The refinement box will contain the refined elements, while the region between the refinement box and the transition box will contain quads patterns used to transition between the refined mesh and base mesh size.
Inputs
- mark_id
- The ID of the mark containing the elements to refine. Valid values are 1 and 2. Generally, it is best to select displayed elements and allow the proper elements within the box to be selected internally.
- node_id
- The ID of the node defining the center of the refinement box.
- strings
- A string that contains the additional input parameters. Each string must be space separated, including between = and the value. All strings are mandatory.
Example
To refine elements around node 60 with refinement size 1 using a refinement box of dimension (10,15,20) and transition box of dimension (40,50,45):
*createmark elements 1 "displayed"
*refine_by_patterns 1 60 "refine_zone_size = 1 auto_transition = 0 transition_zone_length = 40 transition_zone_width = 50 transition_zone_height = 45 refine_zone_length = 10 refine_zone_width = 15 refine_zone_height = 20 system_id = 0 squeez = 1"
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
14.0