The automatic tetrahedral mesh generation process is divided into two fundamental tasks: initialization and refinement.
The automatic initialization procedure includes the following steps:
Merging free nodes.
Deleting unused nodes.
Improving the surface mesh.
Initializing the mesh.
Generating and separating cell regions.
Important: If the mesh fails to initialize, typically this indicates a problem with the surface mesh. In some rare cases, the sliver size (which is automatically computed) may need to be changed. This may happen for domains in which the minimum boundary face size is very small as compared to the domain extent. When changing the sliver size, the rule of thumb is that the specified value should be of the order 1e-12 times the minimum face area.
The automatic refinement procedure includes the following steps:
Sorting the boundary faces by size.
Refining the boundary cells.
Reverse sorting cells by skewness.
Refining the active cell zones.
Swapping cells based on skewness.
Reverse sorting cells by skewness.
Smoothing the mesh.
Removing boundary slivers.
You can select either the advancing front refinement, or the skewness-based refinement of the tetrahedral mesh. The refinement procedure is repeated a number of times.
You can control the number of repetitions for skewness-based refinement by setting the Number of Levels in the Tet Refine Controls dialog box. For each subsequent level of refinement, the cell skewness thresholds are lowered. Additional refinement levels increase the mesh resolution (and the number of cells) and decrease the average cell skewness.
Each refinement level actually consists of two sweeps through the refinement procedure:
One sweep at the appropriate skewness threshold for that particular level of refinement.
Another sweep with a high skewness threshold and a relaxed Min Boundary Closeness set in the Tet Refine Controls dialog box.
This sweep attempts to reduce highly skewed cells in confined regions of the geometry.
Boundary slivers will be removed after the refinement sweeps are complete if the Remove Slivers option is enabled in the Refinement tab of the Tet dialog box.
In some rare cases, it may happen that the first sweep of the first refinement level will never finish because more skewed cells are formed due to refinement, which will be further refined to create more skewed cells, and so on. Such a problem may occur when there is a problem with the boundary mesh, such as rapid mesh transition in small gaps, and so on. You can avoid this problem by using the incremental improvement option for the refinement parameters or by increasing the Min Node Closeness value in the Tet Refine Controls dialog box.
You can select the fast transition option for the refinement parameters in order to generate a mesh with a smaller number of cells. When this option is selected, appropriate refinement parameters will be used to generate fewer cells during meshing. The rate of change of the cell size is increased in order to reduce the number of cells generated. Alternatively, you can specify an appropriate cell sizing option with a sufficiently large value for the growth rate.
Important: Various steps in the automatic meshing process can be added or eliminated using the Tet dialog box. In addition, most aspects of the automatic meshing process can be changed dynamically through the Scheme interface. Contact your support engineer for details.