Automatic Mesh Generation PDF
Automatic Mesh Generation PDF
M = {G, T, A}
• geometry - nodal coordinates
• topology - element types, adjacency relationships
• attributes - color, loading, boundary conditions, ...
• geometrical similarity
◦ topologically compatible mesh is geometrically similar to model
entity E d (1 ≤ d ≤ 3) if for any two different mesh entities Mid
and Mjd classified to E d holds
Mid ∩ Mjd = ∅d if d = 3
Mid ∩∗ Mjd = ∅d if d = 1 or d = 2
• constructive methods
◦ applicable to arbitrary geometry and topology
◦ element creation - advancing front method
◦ point insertion - Delaunay method
Methods
◦ algebraic methods
◦ PDE based methods
◦ multiblock methods
Typeset in LATEX by Daniel Rypl
3 UNSTRUCTURED MESH GENERATION 11
Algorithm
1. tree construction
2. mesh generation
3. mesh optimization
parental octant
8 9 terminal octant
Level
2
15 16
12 root octant
13 14
7
0
10 11
1 1 2
5 6
2 3 4 5 6 7 8 9
1
3 10 11 12
3 4
4 13 14 15 16
Octree hierarchy.
• mesh generation
◦ exterior cells - skipped
◦ interior cells - templates (predefined patterns of elements topologically
compatible with the cell)
- cell corner points - mesh nodes
- there is at maximum one midside point per octree edge
(consequence of one-level difference rule)
P4 4
- 2D: i=0 i = 24 = 16 templates (6 basic templates)
P12 12
- 3D: i=0 i = 212 = 4096 templates (78 basic templates)
Basic 2D templates.
◦ less flexible mesh density control (less suitable for adaptive analysis)
- limited cell sizing (power of 2)
- limited mesh density gradation
(consequence of one-level difference rule)
Typeset in LATEX by Daniel Rypl
3 UNSTRUCTURED MESH GENERATION 20
Algorithm
1. front setup
2. mesh generation
3. mesh optimization
- spatial search
- shape - circle (2D), sphere (3D) with center at P opt
- size - related to mesh density at P opt
- points in the neighbourhood ordered with respect to the
increasing distance from P opt
3
Popt Popt
2
1
f f
Front propagation.
• mesh optimization
◦ Laplacian smoothing of interior mesh nodes
- repositioning of nodes to barycenter of nodes of all elements
incident to smoothed node
- modifies mesh geometry
- preserves mesh topology
- iterative process (convergence after about 5 cycles)
◦ topological transformations (to remove slivers)
- diagonal edge swapping, generalized face swapping, node merging
- modify mesh topology
- preserve mesh geometry
Computational Aspects
• front management
◦ hashing
• spatial search
◦ background grid
◦ background octree data structure
• intersection check
◦ bounding box intersection
◦ alternating digital tree
Delaunay Triangulation
Triangulation of convex hull S of points P i , i = 1, 2, 3, . . . , m in Rn , n ≥ 2
where for each simplex K holds Delaunay criterion
Voronoi Diagram
Set of cells Vi around m points P i , i = 1, 2, 3, . . . , m in Rn , n ≥ 2
defined as
Vi = {P ∈ Rn | ∀i 6= j : k P P i k ≤ k P P j k}
Duality between Voronoi diagram (left) and Delaunay triangulation (right) in 2D.
Algorithm
1. initial Delaunay triangulation setup
2. mesh generation
• boundary node insertion
• recovery of domain boundary
• interior classification
• interior node insertion
3. mesh optimization
• mesh generation
◦ incremental point insertion algorithm - Delaunay kernel
- Bowyer (Watson) algorithm
Ti+1 = Ti − CP + BP
P - (i + 1)th point from a convex hull S
Tj - Delaunay triangulation of first j points from a convex hull S
CP - cavity, set of elements K from Ti whose circumball contains P
BP - ball, set of new elements formed by boundary facets of CP and P
Typeset in LATEX by Daniel Rypl
3 UNSTRUCTURED MESH GENERATION 35
P
P
Bowyer algorithm.
- cavity CP is star-shaped
- boundary facets of CP are visible from P
• mesh optimization
◦ Laplacian smoothing of interior mesh nodes
- repositioning of nodes to barycenter of nodes of all elements
incident to smoothed node
- modifies mesh geometry
- preserves mesh topology
- iterative process (convergence after about 5 cycles)
Computational Aspects
• Delaunay kernel - cavity construction
◦ spatial search
(adjacency search from simplex containing point being inserted)
◦ robustness of in-circle and in-sphere test
(rounding errors, ill-conditioned simplices, perturbation)
• boundary recovery
◦ topological issue (localization of missing facet)
◦ geometrical issue (localization of entities intersecting missing facet)
• quadtree-like (2D)
◦ 9-tree over domain interior
◦ all-quad templates
• octree-like (3D)
◦ 27-tree over domain interior
◦ all-hexa templates with one exception
• isomorphism technique (used to mesh boundary region between the
domain boundary and interior tree)
• poor quality elements along boundary
• limited mesh density flexibility
• cannot handle domains with internal faces
(multiple region and multiple material domains)
Typeset in LATEX by Daniel Rypl
3 UNSTRUCTURED MESH GENERATION 43
Triangle Merging
• extension of 2D advancing front technique
◦ merging two consequently generated triangles to form a quad
◦ modification of the optimal point placement
◦ preserving even number of segments in each closed part of the front
• high quality mesh
Whisker Weaving
• spatial twisted continuum
• constructs a dual (topology based) representation of mesh
(from a boundary discretization)
• identifies chords - chains of elements neighbouring by a facet
• mesh geometry is derived from topology
Typeset in LATEX by Daniel Rypl
3 UNSTRUCTURED MESH GENERATION 45
Simplex Splitting
• initial grid of half density
• triangles split into 3 quadrilaterals
• tetrahedrons split into 4 hexahedrons
• poor connectivity and quality (especially in 3D)
Triangle Merging
• initial triangular grid of half density
• merging neighbouring triangles forming well-shaped quadrilaterals
• one-level refinement
◦ triangles split into 3 quadrilaterals
◦ quadrilaterals split into 4 quadrilaterals
• high quality mesh
• unable to form single row mesh
Typeset in LATEX by Daniel Rypl
REFERENCES 46
References
[1] T.J. Baker, Automatic mesh generation for complex three-dimensional re-
gions using a constrained Delaunay triangulation, Engineering with Com-
puters 5 (1989), 161–175.
[2] T.D. Blacker, Paving: A new approach to automated quadrilateral mesh gen-
eration, International Journal for Numerical Methods in Engineering 32
(1991), 811–847.
[3] J. Bonet and J. Peraire, An alternating digital tree (ADT) algorithm for
3D geometric searching and intersection problem, International Journal for
Numerical Methods in Engineering 31 (1991), 1–17.
[4] A. Bowyer, Computing Dirichlet tessellations, Computer Journal 24 (1981),
162–167.
[5] P.J. Frey, H. Borouchaki, and P.L. George, Delaunay tetrahedrization us-
ing an advancing-front approach, Proceedings of 5th International Meshing
Roundtable, Sandia National Laboratories, 1996.
[6] H. Jin and R.I. Tanner, Generation of unstructured tetrahedral meshes by
REFERENCES 47
[19] T.J. Tautges, T.D. Blacker, and S. Mitchell, The whisker weaving algorithm:
A connectivity-based method for constructing all-hexahedral finite element
meshes, International Journal for Numerical Methods in Engineering 39
(1996), 3327–3349.
[20] D.F. Watson, Computing the n-dimensional Delaunay tessellation with ap-
plication to Voronoi polytopes, The Computer Journal 24 (1981), 167–172.
[22] J.Z. Zhu, O.C. Zienkiewicz, E. Hinton, and J. Wu, A new approach to the de-
velopment of automatic quadrilateral mesh generation, International Journal
for Numerical Methods in Engineering 32 (1991), 849–866.