*setredoconnectparams

Specifies parameters for redo connectivity element remeshing. 

Syntax

*setredoconnectparams mesh_side num_layers

Type

HyperMesh Tcl Modify Command

Description

This command specifies parameters for redo connectivity element remeshing.

Use of this command implies that it will be followed by a command that performs remeshing/meshing by elements with redo option selected.

Inputs

mesh_side
Flag indicating where the transition from existing element density to selected density occurs:
0 - Transition starts at border formed by selected elements and goes num_layers outside (default)
1 - Transition starts at border formed by selected elements and goes num_layers inside
num_layers
The number of layers for transitioning from existing element density to selected density. Default value is 2.

Examples

To remesh elements with IDs 1-40, redo connectivity option selected and transition from current element size to element size of 10 occurring in two layers of elements outside the border formed by selected elements:

*createmark elems 1 1-40
*setredoconnectparams 0 2
*defaultremeshelems 1 10.0 2 2 0 1 1 1 0 0 0 0 3 30

To remesh elements with IDs 1-40, redo connectivity option selected and transition from current element size to element size of 4 occurring in three layers of elements inside the border formed by selected elements:

*createmark elems 1 1-40
*setredoconnectparams 1 3
*defaultremeshelems 1 4.0 2 2 0 1 1 1 0 0 0 0 3 30 

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

12.0.110