*autotopocleanup
Performs automatic preparation of a model’s topology for meshing, using specified element size and element quality criteria.
Syntax
*autotopocleanup surfmark criteria_filename param_filename
Type
HyperMesh Tcl Modify
Description
Performs automatic preparation of a model’s topology for meshing, using specified element size and element quality criteria. These criteria may include geometry feature recognition (fillets, holes, beads, flanges, etc.), the topology simplification, cleaning of small features, etc. The parameters controlling the topology cleanup stages and tools are given as a set of topology cleanup parameters.
Inputs
- Surfmark
- The mark of surfaces to be processed.
- criteria_filename
- The path to the file with element quality criteria.
- param_filename
- The path to the file with topology cleanup parameters.
The quality criteria and topology cleanup parameters files should be prepared using Criteria Editor dialog from HyperMesh or Batchmesher. Both criteria and parameters set can be pre-set directly in the command file. In this case, use "dummy" (without quotes) for the criteria and/or parameters file name, respectively (this allows you to specify criteria/parameters directly within of of the following commands):
*readqualitycriteria or *setqualitycriteria for criteria;
*createcleanupparamsfromstrings, *create_batch_file, or *readbatchparamsfile for cleanup parameters.
The cleanup parameters are deleted after every call of the *autotopocleanup command, so when a "dummy" parameter is used the cleanup parameters must be set with one of the above mentioned commands prior to each call of *autotopocleanup.
Examples
*createmark surfaces 1 "displayed"
*autotopocleanup 1 "nvh10.criteria" "nvh10.param"
*createstringarray 14 \
" 0 penalty value 0.00 0.00 0.80 1.00 10.00" \
" 1 min length 1 1.0 3.000 2.749 1.502 1.000 0.749 1" \
" 2 max length 1 1.0 3.000 3.600 4.500 6.000 9.000 0" \
" 3 aspect ratio 1 1.0 1.000 2.000 4.400 5.000 10.000 0" \
" 4 warpage 1 1.0 0.000 5.000 13.000 15.000 30.000 0" \
" 5 max angle quad 1 1.0 90.000 110.000 134.000 140.000 160.000 0" \
" 6 min angle quad 1 1.0 90.000 70.000 46.000 40.000 20.000 0" \
" 7 max angle tria 1 1.0 60.000 80.000 112.000 120.000 150.000 0" \
" 8 min angle tria 1 1.0 60.000 50.000 34.000 30.000 15.000 0" \
" 9 skew 1 1.0 0.000 10.000 34.000 40.000 70.000 0" \
"10 jacobian 1 1.0 1.000 0.900 0.700 0.600 0.300 0" \
"11 chordal dev 0 1.0 0.000 0.300 0.800 1.000 2.000 0" \
"12 taper 1 1.0 0.000 0.200 0.500 0.600 0.900 0" \
"13 % of trias 1 1.0 0.000 6.000 10.000 15.000 20.000 0"
*setqualitycriteria 1 14 0
*createmark surfaces 1 "displayed"
*autotopocleanup 1 "dummy" "nvh10.param"