*split_elements_by_structure_pattern_freeselection

Creates a refined mesh inside a selected area and makes the transition using structured patterns .

Syntax

*split_elements_by_structure_pattern_freeselection entity_type mark_id refine_size adjacent_layers

Type

HyperMesh Tcl Modify

Description

Creates a refined mesh inside a selected area and makes the transition using structured patterns .

Inputs

entity_type
The type of entity used as input. Valid values are nodes and elems.
For nodes, all attached elements are considered.
mark_id
The ID of the mark containing the input entities. Valid values are 1 and 2.
refine_size
The element size for the refinement zone.
adjacent_layers
The number of adjacent element layers to use for making transitions.

Examples

To refine all elements attached to node 198 to a size of 25, using 1 layer for transtion:

*createmark nodes 1 198
*split_elements_by_structure_pattern_freeselection nodes 1 25 1

To refine elements 175-180 to a size of 0.5, using 2 layers for transtion:

*createmark elems 1 175-180 
*split_elements_by_structure_pattern_freeselection elems 1 0.5 2

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