*fill_fe_gaps_nodelist

Fills gaps in FE from node lists selected on both sides of the gap.

Syntax

*fill_fe_gaps_nodelist list_id1 list_id2 max_width string_array number_of_strings

Type

HyperMesh Tcl Modify

Description

Fills gaps in FE from node lists selected on both sides of the gap.

Inputs

list_id1
The list ID containing the nodes on the first boundary. Valid values are 1 and 2.
list_id2
The list ID containing the nodes on the second boundary. Valid values are 1 and 2.
max_width
Maximum allowed gap width to be filled.
number_of_strings
Integer indicating the size (number of strings) in the string array created using *createstringarray.
string_array
The string array ID that contains the additional input parameters. The string array is created using the *createstringarray command. This should always be set to 1.
Strings are indicated using the format "name: value". Valid strings are:
AdjacentComp
0 - Fill elements should be created in a new component.
1 - Fill elements should be created in the adjacent component.
ByFeature
0 - Features should not be considered.
1 - Features should be considered.
CurvedFill
0 - Gaps are filled without taking into consideration the shape of adjacent elements.
1 - Gaps are filled taking into consideration the shape of adjacent elements, ensuring a smooth fill.
DefineMaxWidth
0 - Consider max_width for hole filling.
1 - Ignore max_width.
DetectNodeClusters
0 - The ordered input node list is used as-is for gap filling, without detecting clusters in the input.
1 - The ordered input node list is split and clustered based on connectivity. This is useful for supplying multiple lists as input.
GuideNodePairs
Specifies an optional list of node IDs in the form "M1 M2 N1 N2 O1 O2 ..." where (M1, M2), (N1, N2) and (O1, O2) are node pairs. These pairs are used to divide the gap to be filled into smaller loops. When provided, gaps are filled ensuring that the loops are split at the specified pairs. This aids in filling complex hole shapes by guiding the filling process correctly.
Remesh
0 - Fill elements should not be remeshed.
1 - Fill elements should be remeshed.
number_of_strings
Integer indicating the size (number of strings) in the string array created using *createstringarray.

Example

To fill gaps less than 100 between node lists 1 and 2, including remeshing:
*createlist nodes 1 1 2 3 4 5
*createlist nodes 2 6 7 8 9 10
*createstringarray 2 "Remesh: 1" "DefineMaxWidth: 1"
*fill_fe_gaps_nodelist 1 2 100.0 1 2
To fill multiple gaps, where the input list contains nodes from all gaps at once:
*createlist nodes 1 18 19 22 36 56 23 34 45 20 21 67 89 71 72 73 74 75 76
*createlist nodes 2 57 98 43 13 16 17 42 43 44 48 46 49 91 92 93 94 95 96
*createstringarray 2 "Remesh:0" "DefineMaxWidth:0" "DetectClusters:1"
*fill_fe_gaps_nodelist 1 2 0 1 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

14.0