TetGen Analysis Interface Module (AIM)
TetGen Analysis Interface Module (AIM)
Loading...
Searching...
No Matches
AIM Inputs

The following list outlines the TetGen meshing options along with their default value available through the AIM interface.

  • Proj_Name = "tetgen_CAPS"
    Output name prefix for meshes to be written in formats specified by Mesh_Format. These meshes are not linked to any analysis, but may be useful exploring meshing parameters.

  • Mesh_Format = NULL
    Optional list of string mesh formats to generate meshes not linked to analysis.
    Available format names include: "exodus", "fast", "libMeshb", "stl", "bstl", "su2", "tecplot", "ugrid", "vtk", "bvtk", "vtu", "wavefront".
    where the "b" prefix indicates binary version.

  • 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_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. ‍/ } else if (index == Mesh_Tolerance) { ainame = EG_strdup("Mesh_Tolerance"); // TetGen specific parameters defval->type = Double; defval->vals.real = 1E-16;

    /*!

    • Mesh_Tolerance = 1E-16
      Sets the tolerance for coplanar test in TetGen.
  • Multiple_Mesh = "SingleDomain"
    If "SingleDomain": Generate a single volume mesh file is assuming multiple bodies define a single computational domain (i.e. CFD)

    If "MultiFile": Generate a volume mesh file for each body.

    If "MultiDomain": Generate a single mesh file containing multiple volume meshes for each body.
  • 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.input.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.input.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.

  • Surface_Mesh = NULL
    A Surface_Mesh link.