*split_elements_by_structure_pattern

Creates a transition mesh between refined and boundary regions.

Syntax

*split_elements_by_structure_pattern refine_mark_id transition_mark_id refine_size

Type

HyperMesh Tcl Modify Command

Description

Creates a transition mesh between refined and boundary regions.

Inputs

refine_mark_id
The ID of the mark containing the elements in the refinement zone. Valid values are 1 and 2.
transition_mark_id
The ID of the mark containing the elements in the transition zone. Valid values are 1 and 2.
refine_size
The element size for the refinement zone.

Examples

To refine element 509 to a size of 0.5, using elements 511-518 as the transition zone:

*createmark elements 1 509
*createmark elements 2 511-518 
*split_elements_by_structure_pattern 1 2 0.5

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

2019