Fills FE holes from a node list defining the hole.
Syntax
*fill_fe_holes_nodelist
list_id max_width string_array number_of_strings
Type
HyperMesh Tcl Modify
Description
Fills FE holes from a node list defining the hole.
Inputs
- list_id
- The list ID containing the nodes on the hole boundary.
- max_width
- Maximum allowed hole width.
- 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.
- 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 the hole defined by node list 1, using a max width of 20.5, remeshing filled
elements, and create the elements in the adjacent
component:
*createlist nodes 1 1 2 3 4 5
*createstringarray 3 "Remesh: 1" "AdjacentComp: 1" "DefineMaxWidth: 1"
*fill_fe_holes_nodelist 1 20.5 1 3
Use guide node pairs (17,22) and (45,16) for complex hole
loops:
*createstringarray 4 "DefineMaxWidth:0" "Remesh:0" "AdjacentComp:0" "GuideNodePairs: 17 22 45 16"
*createlist nodes 1 22 23 27 17 66 34 88 26 22 1 99 4 45 12 43 16 99
*fill_fe_holes_nodelist 1 0 1 4
Errors
Incorrect usage results in a
Tcl error. To
detect errors, you can use the
catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}