The following list outlines the TetGen meshing options along with their default value available through the AIM interface.
- Proj_Name = NULL
This corresponds to the output name of the mesh. If left NULL, the mesh is not written to a file.
- Tess_Params = [0.025, 0.001, 15.0]
Body tessellation parameters. Tess_Params[0] and Tess_Params[1] get scaled by the bounding box of the body. (From the EGADS manual) A set of 3 parameters that drive the EDGE discretization and the FACE triangulation. The first is the maximum length of an EDGE segment or triangle side (in physical space). A zero is flag that allows for any length. The second is a curvature-based value that looks locally at the deviation between the centroid of the discrete object and the underlying geometry. Any deviation larger than the input value will cause the tessellation to be enhanced in those regions. The third is the maximum interior dihedral angle (in degrees) between triangle facets (or Edge segment tangents for a WIREBODY tessellation), note that a zero ignores this phase
- Preserve_Surf_Mesh = True
Tells TetGen to preserve the surface mesh provided (i.e. do not add Steiner points on the surface). Discrete data transfer will NOT be possible if Steiner points are added.
- Mesh_Verbose_Flag = False
Verbose output from TetGen.
- Mesh_Quiet_Flag = False
Complete suppression of all TetGen output messages (not including errors).
- Quality_Rad_Edge = 1.5
TetGen maximum radius-edge ratio.
- Quality_Angle = 0.0
TetGen minimum dihedral angle (in degrees).
- Mesh_Format = "AFLR3"
Mesh output format. Available format names include: "AFLR3", "TECPLOT", "SU2", "VTK", and "NASTRAN".
- Mesh_ASCII_Flag = True
Output mesh in ASCII format, otherwise write a binary file if applicable.
- Mesh_Gen_Input_String = NULL
Meshing program command line string (as if called in bash mode). Use this to specify more complicated options/use features of the mesher not currently exposed through other AIM input variables. Note that this is the exact string that will be provided to the volume mesher; no modifications will be made. If left NULL an input string will be created based on default values of the relevant AIM input variables. See TetGen Command Line Inputs for options to include in the input string.
- Ignore_Surface_Mesh_Extraction = True
If TetGen doesn't preserve the surface mesh provided (i.e. Steiner points are added) a simple search algorithm may be used to reconstruct a separate (not dependent on the volume mesh node numbering) representation of the surface mesh. In general, this has little use and can add a significant computational penalty. The default value of "True" is recommended.
- Mesh_Tolerance = 1E-16
Sets the tolerance for coplanar test in TetGen.
- Multiple_Mesh = False
If set to True a volume will be generated for each body. When set to False (default value) only a single volume mesh will be created.
- Mesh_Sizing = NULL
See Mesh Sizing for additional details.
- Regions = NULL
If this input is set, the volume mesh will be divided into regions, each bounded by surface mesh and identified by an interior seed
point. If a seed appears in the Regions
input, then its region will be meshed and the markers for all cells in the region will be set to the region's id
. The markers for cells that fall outside of any user-defined region or hole will be numbered automatically. The input is a vector of tuples. The tuple keys are ignored and the tuple values are dictionaries; each requires an integer id
entry and a 3-vector seed
point. For example, from within a pyCAPS script,
tetgen.setAnalysisVal('Regions', [
( 'A', { 'id': 10, 'seed': [0, 0, 1] } ),
( 'B', { 'id': 20, 'seed': [0, 0, -1] } )
])
Automatic hole detection will be disabled if one or both of the Regions
and Holes
inputs is not NULL.
- Holes = NULL
If this input is set, the volume mesh will be divided into regions, each bounded by surface mesh and identified by an interior seed
point. If a seed appears in the Holes
input, then its region will not be meshed. The input is a vector of tuples. The tuple keys are ignored and the tuple values are dictionaries; each requires a 3-vector seed
point. For example, from within a pyCAPS script,
tetgen.setAnalysisVal('Holes', [
( 'A', { 'seed': [ 1, 0, 0] } ),
( 'B', { 'seed': [-1, 0, 0] } )
])
Automatic hole detection will be disabled if one or both of the Regions
and Holes
inputs is not NULL.