Start from a boundary mesh that contains triangular and quadrilateral faces as well as hexahedral cells in the quadrilateral face regions. The resulting mesh is referred to as a zonal hybrid mesh.
Add a layer of pyramids to the quadrilateral boundary face zone that lies between the hexahedral region and the adjacent region to be meshed with tetrahedra. This creates the triangular boundary face zone that is required to create tetrahedra in the adjacent region. Refer to Generating Pyramids for details.
Create a domain encompassing the region to be meshed with tetrahedra. Refer to Using Domains to Group and Mesh Boundary Faces for details.
Generate the tetrahedra in the selected domain using either automatic or manual tet mesh generation, or a combination of both. Refer to Generating Tetrahedral Meshes for details.
Figure 14.4: Surface Mesh shows the surface mesh for a portion of a grid containing hexahedra, pyramids, tetrahedra, and prisms that was created on a plenum feeding a valve-port cylinder.
The less complicated plenum pipe on the left of the figure is meshed using hexahedral cells.
The more complex valve port (valve not visible because it is inside the surrounding pipe) is meshed using tetrahedra.
Pyramids are used as a transition between the hexahedral grid for the plenum and the tetrahedral grid for the valve port. This transition occurs where the triangular and quadrilateral faces meet in the middle of the figure.
Additionally, the quadrilateral faces produced by extending triangular faces in the cylinder (that is, the quadrilateral sides of the resulting prism wedges) can be seen in the far right of the figure.