*fill_fe_gaps_elems
Fills gaps in FE from elements selected on both sides of the gap.
Syntax
*fill_fe_gaps_elems mode mark_id1 mark_id2 max_width string_array number_of_strings
Type
HyperMesh Tcl Modify Command
Description
Fills gaps in FE from elements selected on both sides of the gap.
Inputs
- mode
- 0 - The input elements are the shell elements defining the boundary, and the gap boundaries are.
- mark_id1
- The mark ID containing the elements at the first boundary. Valid values are 1 and 2.
- mark_id2
- The mark ID containing the elements at the second boundary. Valid values are 1 and 2.
- max_width
- Maximum allowed gap width to be filled.
- 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 gaps less than 100 between elements in comps 1 and 5, including
remeshing:
*createmark elems 1 "by comp id" 1
*createmark elems 2 "by comp id" 5
*createstringarray 2 "Remesh: 1" "DefineMaxWidth: 1"
*fill_fe_gaps_elems 0 1 2 100.0 1 2
To fill gaps between features of two sets of elements using a gap width of 50, and using
guide node pairs for correct
triangulation:
*createmark elems 1 12-18 55-100
*createmark elems 2 45-50 101-166
*createstringarray 4 "ByFeature:1" "Remesh:0" "DefineMaxWidth:1" "AdjacentComp:1" "GuideNodePairs:17 18 25 66"
*fill_fe_gaps_elems 0 1 2 10 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
14.0