*create_batch_file

This command sets a limited set of cleanup parameters directly in the command file for use with *autotopocleanup.

Syntax

*create_batch_file element_size element_type feature_angle pinholes_diameter layers_around_holes nodes_around_holesbeads_suppr_height max_edge_fillets_radius

Type

HyperMesh Tcl Modify

Description

Use this command to set a limited set of cleanup parameters directly in the command file for use with *autotopocleanup. Only a few automatic cleanup options are used; others are switched off or used with default parameters.

Inputs

element_size
The target mesh element size.
element_type
Mesh element types:
  • 0 – triangle
  • 1 – quadrilateral
  • 2 - mixed
feature_angle
Elements feature angle used for features definition.
pinholes_diameter
Maximum diameter of the holes to be removed (filled).
layers_around_holes
Target number of layers of quadrilateral elements around the round holes (usually it is 0, 1, 2)
nodes_around_holes
Minimum number of nodes (element links) for round holes.
beads_suppr_height
Maximum height of beads to be totally suppressed (removed).
Max_edge_fillets_radius
Maximum radius of edge fillets to be removed (converted to hard corners).

Examples

To perform topology cleanup of all displayed surfaces using element quality criteria from the file nvh10.criteria as well as the following following target cleanup parameters:
  • Element size – 10 mm
  • Element type – mixed
  • Element feature angle - 30 degrees
  • Remove holes with diameter less than 8 mm
  • Create 2 layers of quad elements around holes
  • Keep minimal 6 element links for the holes
  • Remove edge fillets with radius less than 9.0 mm
*create_batch_file(10,2,30,8,2,6,9 )
*createmark(surfaces,1) "displayed"
*autocleanup( 1, "nvh10.criteria" )

The cleanup parameters are deleted just after each use, so they must be set before every use.