HM-3200 - Tetrameshing
HM-3200 - Tetrameshing
HyperMesh provides two methods for generating a tetrahedral element mesh. The volume
tetra mesher works directly with surface or solid geometry to automatically generate a
tetrahedral mesh without further interaction from you. Even with complex geometry, this
method can often generate a high quality tetra mesh quickly and easily.
The standard tetra mesher requires a surface mesh of tria or quad elements as input, and then provides you with a
number of options to control the resulting tetrahedral mesh. This offers a great deal of control over the tetrahedral
mesh, and provides the means to generate a tetrahedral mesh for even the most complex models.
You can use the Tetramesh panel to fill an enclosed volume with first or second order tetrahedral elements. A region
is considered enclosed if it is entirely bounded by a shell mesh (tria or quad elements), where each element has
material on one side and open space on the other.
This exercise uses the housing.hm file, which can be found in the hm.zip file. Copy the file from this directory to your
working directory.
In this step you will open and view the model file, housing.hm.
2. From the menu bar, click File > (and then) Open > (and then) Model.
4. Observe the model using the different visual options available in HyperMesh (rotation, zooming, and so on).
Only the geometry in the component cover is currently displayed. The file contains two parts defined by a
volume of surfaces. The geometry has been cleaned such that surface connectivity is proper and surface
edges that would cause sliver elements are suppressed.
Step 2. Create a Tetra Mesh Using Volume Tetra Mesher
In this step you will use the volume tetra mesher and equilateral triangles to create a tetra
mesh for the cover.
1. Open the Tetramesh panel by clicking Mesh > (and then) Create > (and then) Tetra Mesh from the menu bar.
5. Verify that the 2D type is set to trias and the 3D type is set to tetras. These options control the type of
elements that HyperMesh creates for the surface mesh and solid mesh of the part.
7. Verify that the Use curvature and Use proximity checkboxes are clear.
9. Click mesh.
The tetra mesh is created.
10. If the model's mesh lines and elements are not shaded, click on the Visualization toolbar.
11. Inspect the mesh pattern that the volume tetra mesher created.
Figure 1.
In this step you will use the volume tetra mesher and right triangles to create a tetra mesh for
the cover.
3. Click mesh.
The tetra mesh is created.
4. Inspect the mesh pattern that the volume tetra mesher created and compare it to the first mesh that you
created.
Note: The 2D type: R-trias setting tends to create tetra elements with triangular faces that are right
triangles (90-45-45 angles), while the 2D type: trias setting tends to create equilateral triangles (60-60-60
angles).
Figure 2.
In this step you will use the volume tetra mesher to create a tetra mesh with more elements
along curved surfaces.
5. Click mesh.
The tetra mesh is created.
6. Inspect the mesh pattern that the volume tetra mesher created and compare it to the previous meshes you
created. You can see that more small elements are created around the fillets.
Figure 3.
7. Reject the mesh by clicking reject.
In this step you will use the volume tetra mesher to create a tetra mesh with more elements
around small features.
3. Click mesh.
The tetra mesh is created.
4. Inspect the mesh pattern that the volume tetra mesher created and compare it to the previous meshes you
created. You can see that more elements are created around the surfaces with small angles.
Figure 4.
In this step you will prepare the display to tetra mesh the hub component using the standard
tetra mesher.
1. In the Model Browser, turn off the display of every component's geometry except for hub.
2. Turn off the display of every component's elements except for hub and tetras.
Note: There are tria shell elements in the hub component and no elements in the tetras component.
In this optional step, you will review the connectivity and quality of the tria mesh to validate its
integrity for the standard tetra mesher.
You will use the Edges and Check Elems panels to make sure that there are no free edges or very small angles in the
tria shell mesh.
1. Open the Edges panel by clicking Mesh > (and then) Check > (and then) Components > (and then) Edges
from the menu bar.
6. Open the Check Elements panel by clicking Mesh > (and then) Check > (and then) Elements > (and
then) Check Elements from the menu bar.
8. Identify the elements that have an aspect ratio greater than 5. Aspect ratio is the ratio of the longest edge of
an element to its shortest edge. This check helps you to identify sliver elements. All of the hub’s shell
elements pass the check; all of the elements have an aspect ratio less than 5.
9. Identify the tria elements that have an angle less than 20. This check helps identify sliver elements. All of the
hub’s shell elements pass the check; all the elements have angles greater than 20. The surface mesh is
suitable for creating a tetra mesh.
In this step you will create a tetra mesh for the hub using the standard tetra mesher.
1. In the Model Browser, Component folder, right-click on tetras and select Make Current from the context
menu.
4. Verify that the Float trias/quads to tetra mesh entity selector is set to comps.
Note: By using this entity selector, HyperMesh will swap the diagonal for any pair of surface trias, which
will result in a better tetra mesh quality. If you would rather keep the diagonal, see step 8.6.
6. Keep the diagonal as is by activating the Fixed Trias/quads to tetra mesh entity selector and setting it to
comps.
7. Click mesh.
Tetrahedral elements are generated.
Figure 5.
Step 9. Check Quality of Tetra Elements
In this step you will check the quality of the hub's tetra elements.
4. Identify the smallest element length among the displayed elements. If the minimum length is acceptable for a
target element size of 5.0, then no further action is necessary.
5. Identify the smallest angle (tria faces: min angle) among the displayed elements. If the minimum tria face
angle is no less than 10°, then the mesh quality should be acceptable.
6. Identify elements that have a tet collapse smaller than 0.3. The status bar indicates that three elements have
a tetra collapse smaller than 0.3.
Note: The tet collapse criteria is a normalized volume check for tetrahedral elements. A value of 1
indicates a perfectly formed element with maximum possible volume. A value of 0 indicates a completely
collapsed element with no volume.
In this step you will isolate the element with the tetra collapse smaller than 0.2 and find the
elements surrounding it.
1. With 0.3 still specified in the tet collapse< field, click tet collapse.
Note: You can retrieve the saved elements that failed the check from any panel by selecting retrieve in
the extended selection menu.
8. Click mask.
HyperMesh masks the elements and displays the three tetra element that failed the tetra collapse check.
HyperMesh identifies and displays the layer of elements that are attached to the three displayed elements.
HyperMesh identifies and displays the layers of elements that are attached to the displayed elements.
Note: You can duplicate the functionality of unmask adjacent using the Find panel, find attached
subpanel in the Tool page.
12. In the Model Browser, turn off the display of the hub elements that were unmasked.
In this step you will remesh the hub's displayed tetra elements to improve their tetra collapse.
4. Click remesh.
HyperMesh regenerates this area of the mesh.
7. Find out if the tetra collapse has improved for the displayed elements by clicking tet collapse. The status bar
indicates that the minimum tetra collapse is larger than the value reported before the tetra elements were
remeshed.
Optional: From the menu bar, click File > (and then) Save > (and then) Model.
You have created a tetra mesh for both parts in the model using different tetra meshing procedures. Either method
can be used to mesh parts, depending on the needs of the analysis. The tetra remesh function was used in this
tutorial to show how to quickly fix the quality of tetra elements.