*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):
*reset_qa_calculator() or *readqualitycriteria() 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" )
*createdoublearray(89) 1 1 10 9.5 6 3 1.5 1 1 10 12 15 20 35 1 1 1 2 4.4 5 10 1 1 0 5 8 10 90 1 1 90 110 125 135 180 1 1 90 70 55 45 0 1 1 60 80 100 120 180 1 1 60 50 30 20 0 1 1 0 10 35 45 90 1 1 1 0.9 0.75 0.7 0 1 0 0 0.3 0.8 1 2 1 1 2 6 8 10 15 0 0 0.8 1 10
*reset_qa_calculator(1,89)
*createmark(surfaces,1) "displayed"
*autotopocleanup( 1, dummy", "nvh10.param" )