*fill_fe_holes
Fills FE holes by automatic or manual detection.
Syntax
*fill_fe_holes mode mark_id max_width string_array number_of_strings
Type
HyperMesh Tcl Modify Command
Description
Fills FE holes by automatic or manual detection.
Inputs
- mode
- The mode to identify FE holes:
- 0 - Do automatic hole detection using elements on mark_id.
- 1 - Do manual hole detection using nodes on mark_id. The nodes should be part of a free boundary.
- 2 - Do manual hole detection using given the closed 1D elements on mark_id.
- mark_id
- The mark ID containing either nodes or elements, based on mode type.
- 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.
- number_of_strings
- Integer indicating the size (number of strings) in the string array created using *createstringarray.
Example
To fill the holes defined by the closed 1D elements 10-30, using a max width of 20.5,
remeshing filled elements, and create the elements in the adjacent
component:
*createmark elems 1 10-30
*createstringarray 3 "Remesh: 1" "AdjacentComp: 1" "DefineMaxWidth: 1"
*fill_fe_holes 2 1 20.5 1 3
To smoothly fill a feature hole using a set of
nodes:
*createstringarray 4 "ByFeature:1" "Remesh:1" "DefineMaxWidth:0" "CurvedFill:1"
*createmark nodes 1 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
*fill_fe_holes 1 1 0 1 4
Fill a feature hole using guide pairs (12,18) and
(25,13):
*createstringarray 3 "ByFeature:1" "Remesh: 0" "GuideNodePairs: 12 18 25 13"
*createmark nodes 1 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
*fill_fe_holes 1 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
}
Version History
13.0.110