Practical Applications of Swapping
Judy Hill
Geometric Modeling Project
Spring, 1998


Freitag and Ollivier-Gooch (1997) also tested the effect of face and edge swapping. The results of these tests are shown below in Table FE1. In these tests, a random mesh, generated using the Delaunay algorithm with no improvement, was generated containing 5104 tetrahedra. The mesh was then improved using either face swaps only or a combination of face and edge swaps. Several criteria for determining the "quality" of the mesh were examined. Presented here are two of those criteria: minimizing the maximum dihedral angle (minmax angle) and maximizing the minimum sine of the dihedral angle (maxmin sine).


Case Min. Dihed. Max. Dihed % Dihedral Angles < % Dihedral Angles >
6 12 18 162 168 174
Init. mesh 0.32 178.97 1.41 4.90 9.86 2.40 1.08 0.24
Without Edge Swapping
Minmax angle 0.54 178.97 0.76 3.20 7.40 1.21 0.46 0.11
Maxmin sine 0.54 178.97 0.68 2.94 6.94 1.27 0.49 0.12
With Edge Swapping
Minmax angle 0.54 178.97 0.24 1.42 4.19 0.36 0.15 0.034
Maxmin sine 0.54 178.97 0.15 0.96 3.16 0.43 0.15 0.033

Table FE1. Results for face and edge swapping in 3D mesh (Freitag and Ollivier-Gooch 1997).


Comparing the improvement of the minimum and maximum dihedral angles among the tetrahedral elements, there appears to be little improvement between the initial and "improved" meshes. However, the percentage of elements with extremely large or small angles is reduced by swapping. Face swapping, alone, reduces the number of distorted elements by, at some degrees, a factor of two. Furthermore, when edge swapping is added, the percentage of distorted elements is significantly reduced. Elements with large dihedral angles are almost non-existent (0.43%). Elements with extremely small angles are very few (1.42 percent, in the worst case).

Thus, as can be seen from these results, local topological improvement of element shape reduces the number of elements with extremely large or small angles. However, it cannot be determined from this analysis is whether the numerical accuracy has been improved.


Back to the main page

Judy Hill
April 27, 1998