You can control the general shape, size, and density of the
core, as well as the size of elements created at the outer boundary of the core using the
parameters in the Hexcore dialog box and the commands in the
/mesh/hexcore/ menu.
There are two approaches available for generating the hexcore mesh.
The default Cartesian type.
The Octree type which supports the size controls defined, or the computed size field. This results in faster hexcore mesh generation. However, it does not support generation of hexcore mesh up to boundaries.
When the Cartesian type is used, internally the following steps are taken to generate the hexcore mesh:
Generating initial Cartesian cells inside a bounding box (or the region specified) around the volume to be meshed.
Marking the Cartesian cells that intersect the boundary mesh and those cells having sizes larger than the average size of the faces they intersect.
Marking additional buffer-layer cells adjacent to the cells marked in Step 2 (if specified).
Marking additional cells to enforce one-level refinement difference between adjacent cells.
Subdividing all marked (in steps 2–4) cells and repeating steps 2–5 until the local face size criteria is met.
Deleting cells that intersect or are within some distance to the closest face on the surface mesh.
Triangulating the external surface of the hexcore
by converting quads into tri interface faces. The quad faces become
parents (with type parent-face) of the interface
faces.
Note: Pyramids are not used for the transition from the hexcore to the tetrahedral cell regions.
Smoothing the interface faces (if interface smoothing is enabled).
Initializing and refining the tetrahedral cells between the interface faces and the boundary mesh.
Note: The maximum skewness reported at the end of the refinement process is not necessarily the final maximum skewness. Sliver cells on the interfaces can be removed at a later stage.
Removing sliver cells on the interface faces.
Merging Cartesian cells with tetrahedral (and wedge, if present) cells to form contiguous cell zones.
When the Octree type is used, internally the following steps are taken to generate the hexcore mesh.
A uniform Octree domain is initialized for the region specified by the volume to be meshed.
The octants are refined to local surface mesh sizes and to respect BOI size controls, if defined.
If the size-field exists, the Octree refinement will be driven by the size-field instead.
Peel layers are enforced. Cells that intersect the surface mesh or are within some distance to the surface mesh are deleted.
Buffer layers are enforced as applicable.
The external surface of the hexcore mesh is triangulated, the quads are converted to
tri interface faces. The quad faces become parents (with type
parent-face) of the interface faces.
Note: Pyramids are not used for the transition from the hexcore to the tetrahedral cell regions.
The interface faces are smoothed (if interface smoothing is enabled).
The tetrahedral cells between the interface faces and the surface mesh are generated.
The sliver cells on the interface faces are removed.
The hex cells are merged with tetrahedral cells to form contiguous cell zones.
Important: If prism parameters have been attached to boundary zones, the prism layers will first be generated. The hexcore meshing procedure will then be applied to the resulting prism caps, along with the other boundary zones that were not involved in the prism mesh generation.