Preliminary Discussion on the Refinement Mesh Generation for Adaptive Analysis

Abstract

In recent years, due to the rapid development of computer hardware and the urgent need of complex engineering problems, great support has been provided in the related fields of unstructured mesh generation. A large number of research results show that the adaptive analysis is an effective way to improve the efficiency and precision of the numerical calculation. The reliable error estimation and the powerful mesh generation are two key problems in the process of adaptive numerical analysis. H-type refinement strategy adding the new nodes in the high error area, gradually refines the mesh to reduce the size of the element to achieve the purpose of mesh adaptation; this strategy is simple, intuitive and easy to program. Although the calculation accuracy of unstructured triangle and tetrahedron elements is not high, these elements are suitable for discretization of any complex problem domain, and have a wider range of application in academic and engineering fields.

Share and Cite:

Tang, Q. and Ren, Y. (2020) Preliminary Discussion on the Refinement Mesh Generation for Adaptive Analysis. Journal of Applied Mathematics and Physics, 8, 1560-1567. doi: 10.4236/jamp.2020.88121.

1. Introduction

Mesh generation is the process of dividing the continuous geometric domain into a number of discrete sub-domains, which is the key part of numerical analysis method. The mesh used for scientific computation can be divided into two categories; one is structured mesh; the other is unstructured mesh [1]. According to the engineering needs, different types of elements can be used in different parts of the same physical model, which can spend the least calculation cost and get the highest calculation accuracy. The automatic mesh generation tool with high performance is indispensable in the process of adaptive analysis, because the mesh quality has a direct impact on the accuracy and computational efficiency of numerical calculation results [2]. As the one-dimensional problem is very simple and only involves the segmentation of line segments, so the main discussion is for two-dimensional and three-dimensional problem domain mesh segmentation. The development of an automatic mesh generator with strong robustness can solve complex problems and is currently limited to two-dimensional problems, because arbitrary three-dimensional mesh generation is still difficult to achieve [3].

The most important character of structured mesh is that there is a regular mapping relationship between nodes and grid elements; that is to say, the connection mode between each node and its adjacent nodes is fixed, and the connection information of each node can be obtained by calculating the node number, which makes structured grid generation relatively easy, but it can only be applied to models with relatively simple geometric structure. Two-dimensional quadrilateral element and three-dimensional hexahedron element are structured meshes. Unstructured mesh can be applied to the model with complex geometry structure, but its generation is more difficult and there is no mapping relationship between nodes and mesh elements. Triangles in 2D and tetrahedrons in 3D are all unstructured meshes.

Because tetrahedral meshes are usually regarded as triangular meshes in three-dimensional space, the study of triangulation techniques using both triangular and tetrahedral meshes is called triangulation techniques. One-dimensional simplex is a line segment, while two-dimensional and three-dimensional simplexes are triangles and tetrahedrons, respectively. Triangular mesh generation is the most flexible mesh generation method, which can automatically generate 2D and 3D models. Triangular meshes are more flexible than quadrilateral meshes and hexahedral meshes. Triangular and tetrahedral meshes can simulate any complex geometric model or complex boundary [4]. Although the computational accuracy of the quadrilateral and hexahedron elements is higher than that of the triangle and tetrahedron elements, it is difficult to generate quadrilateral and hexahedron meshes automatically for arbitrary 2D and 3D problems.

2. Delaunay Triangulation Algorithm

Delaunay triangulation was first proposed by the Russian mathematician Delaunay [5] in 1934, but it did not receive much attention at that time. Until the 1970s, with the great success of finite element method in more and more engineering application fields, mesh generation has gradually become the bottleneck restricting the further development of finite element analysis, and a large number of researchers have focused on the Delaunay triangulation algorithm. The core algorithm of Delaunay triangulation has attracted more and more attention of researchers.

The Delaunay triangulation algorithm has become the most famous and in-depth study method in the field of automatic mesh generation because of its good mathematical and graph-theoretical foundation. The following will introduce three of the most representative of the core algorithm for Delaunay triangulation including Lawson algorithm, Bowyer-Waston algorithm and dual graph Voronoi diagram algorithm.

2.1. Lawson Algorithm

Lawson algorithm is a Delaunay triangulation algorithm based on vertex-by-vertex insertion and local edges swapping, which was first proposed by Lawson [6] in 1977. In 1989, Joe [7] designed a decision criterion based on space out ball, at the same time, extended the 2D Lawson algorithm based on edge exchange to the 3D Delaunay triangulation algorithm based on face exchange.

The Idea of the two dimensional Lawson algorithm is very simple, that is, through the diagonal exchange of all convex quadrilaterals formed by two triangles sharing sides in the mesh, the situation which does not meet the Delaunay triangulation standard in the mesh is eliminated, and it has been proved theoretically that for the triangulation of any point set. Both of them can transform the existing local non-Delaunay triangulation meshes into the Delaunay triangulation standard meshes by using finite number of diagonal transformations.

The basic idea of the two dimensional Lawson algorithm is as follows:

1) First, a set of initial Delaunay triangulation should be set up;

2) Generating a set of nodes to be inserted, after inserting new nodes, selecting a triangle containing the inserted new nodes, respectively connecting the vertices of the triangle and the newly inserted nodes in turn, and cutting the original triangle into three small triangles;

3) Testing the empty circumcircle criterion for the newly created three small triangles in turn, if the three small triangles can meet the empty circumcircle test, then jump to the second step to re-insert the next node;

4) If there is a circumcircle including nodes, we need to swap the diagonals of the quadrilateral to create two new triangles, and when all the newly created triangles meet the empty circumcircle criterion, we stop the edge swapping operation;

5) Perform the insertion circularly until the set of points to be inserted is empty, that is, all the nodes are inserted.

The whole process of Lawson edge switching algorithm is shown in Figure 1. After adding a new node in the initial mesh, the triangle initial mesh with general quality is generated, and the empty circumcircle criterion is detected for these triangles, and the diagonal exchange operation is performed for the triangles that do not meet the empty circumcircle criterion, which is exactly aimed at the triangle mesh with low quality and starts the optimization operation of edge exchange. The red lines in the figure are the diagonal lines that need to be changed. Replace the red diagonal lines with blue diagonal lines, and finally generate a better quality and conform to the Delaunay characteristics of the mesh.

The Lawson edge exchange algorithm aims at 2D triangulation, and extends to 3D problem, then exchanges the diagonal faces of tetrahedron. Considering that there are many kinds of construction methods of tetrahedron and the exchange

Figure 1. Local edge exchange algorithm for two dimensional triangle subdivision.

methods of diagonal faces, the complexity of 3D Delaunay triangulation algorithm based on face exchange is much more than 2D algorithm based on edge exchange.

2.2. The Bowyer-Waston Algorithm

The Bowyer-Waston algorithm is a new algorithm, which is the combination of the algorithms proposed by British scientist Bowyer [8] and Australian scientist Waston [9], respectively in 1981. It is based on the combination of the two algorithms. The specific implementation steps of Bowyer-Waston algorithm are as follows:

1) First, an initial Delaunay mesh is created;

2) The points to be inserted in the node set are sequentially inserted in the positions other than the initial grid nodes;

3)After the new nodes are inserted into the initial Delaunay mesh, the triangles whose circumcircle contains the new insertion point are found out respectively from the triangle chain list, and the common sides of these triangles which do not conform to the Delaunay null circumcircle property are deleted;

4) A new Delaunay triangulation is formed by connecting every vertex of the polygon obtained from the deleted-triangles with the new insertion point;

5) Loop executes step 2 of the algorithm until the set including insertion points is empty.

2.3. The Dual Graph Voronoi Diagram Algorithm

Voronoi Diagram is a kind of graph composed of two-dimensional polygon or three-dimensional polyhedron, which is mainly used to study the problem of planar point set and its domain, proposed by Voronoi [10] in 1908, every point in the point set has a region satisfying certain conditions, which can be called Voronoi polygon. Voronoi polygons are pieced together to form a Voronoi diagram.

As shown in Figure 2(a), it is easy to see that each Voronoi polygon is similar to a cell, and that Voronoi diagram is a diagram contain a plurality of cells, each cell contain a red nucleus, and each cell, that is, the area related to the nucleus, is called Voronoi polygon or Voronoi element; A Delaunay triangulation can be obtained by connecting the red nuclei of two adjacent cells sharing a common edge with a blue solid line, and the red nuclei are the vertices of the triangulation, as shown in Figure 2(b). Delaunay triangulation is dual to Voronoi diagram, so we can obtain Delaunay triangulation by Voronoi diagram.

The Delaunay triangulation of 2D and 3D problems has something in common in many aspects. Therefore, most of the successful algorithms in 2D problems can be improved and applied to 3D problems, but there are some difficulties in the process of extending to 3D space both in theory and in practice. Three-dimensional Delaunay triangulation is far from reaching the nearly perfect state of two-dimensional Delaunay triangulation, so far it is still the research focus of many researchers. The PLC (Piecewise Linear Complex) is used to describe the three-dimensional region which needs to be calculated, and the Piecewise Linear Complex is the expansion of the planar line graph from two-dimensional plane to three-dimensional space.

3. Mesh Generation

This paper introduces two high performance mesh generators based on Delaunay technology to generate unstructured mesh elements of triangle and tetrahedron. The 2D mesh code Triangle and 3D mesh code Tetgen are very suitable to be embedded into the main program of adaptive analysis simulation software.

3.1. Two Dimension

Triangle [11] is a robust 2D triangle mesh generator developed for Quake project by Professor Shewchuk of University of California, Berkeley, using standard C language. The Quake project is a tool that can simulate the propagation of energy during large-scale earthquakes, hoping to help reduce the loss of life and property in earthquake-prone countries and regions. It can be imagined that as an important part of the Quake project, Triangle with excellent mesh partition

Figure 2. Voronoi diagram and the dual graph of Voronoi diagram. (a) Voronoi diagram; (b) The dual graph of Voronoi diagram.

ability is beyond doubt. Based on Delaunay technique, Triangle constructs triangular meshes in any two-dimensional domain, and can triangulate the two-dimensional domain with some restrictions, which can generate high quality triangular meshes and Voronoi graphs. Triangle can also do full Delaunay triangulation, limited Delaunay triangulation, consistent Delaunay triangle.

3.2. Three Dimension

Tetgen [12] is an open source three-dimensional tetrahedral mesh generation program published by the Computational Mathematics and Scientific Computing Research Group in Germany. Tetgen can be used to discretize any polyhedron into tetrahedral meshes of good quality which makes it used by more and more well-known finite element open source software and commercial pre-processor now. In addition to being a tetrahedral mesh generator, Tetgen can be widely used in scientific research and engineering applications as a mesh generation component [13] [14].

4. Mesh H-Type Refinement Strategy

In the iterative process of adaptive analysis, the new node information needed to be added can be obtained according to the calculation of the previous step, combined with the mesh information of the previous step, the mesh is reconstructed by using mesh subdivision code, and the new mesh after node refinement is generated, which can be used for the next calculation and analysis. For two-dimensional triangle element and three-dimensional tetrahedron element, this chapter respectively designed a simple and intuitive H-type mesh refinement strategy [15] [16], as shown in Figure 3(a), white nodes represent the original nodes, black nodes represent the newly added nodes, add a new node in the midpoint of each side of the triangular element, and the original triangle is subdivided into four small triangles.

The refinement strategy of tetrahedron is carried out in two steps, as shown in Figure 3(b): The first step is to add a new black node at the midpoint position of all edges of the tetrahedral element, nodes 1, 2, 3 and 4 are original nodes, and black nodes 5, 6, 7, 8, 9 and 10 are new added nodes, and six new nodes are

Figure 3. H-type mesh refinement strategy. (a) Triangle; (b) Tetrahedron.

needed to subdivide a tetrahedral element. According to the connection mode of the nodes in the figure, it is not difficult to find that after excising the four vertex small tetrahedrons of the original tetrahedral element, the remaining polyhedron can still be further subdivided into four small tetrahedrons, and finally, the original tetrahedral element 1234 can be subdivided into eight small tetrahedral elements.

5. Conclusion

Adaptive analysis technique is an effective way to improve the efficiency and accuracy of numerical methods by estimating the error of some intermediate results of numerical methods and refining the mesh in the region where the gradient of field variables changes sharply, with the ultimate goal of obtaining the highest computational accuracy by minimizing the computational cost. In this work, the following conclusions can be drawn: 1) Mesh generation is one of the main problems in adaptive analysis. 2) Three most representative algorithms of Dealaulay triangulation are introduced. 3) Two mesh generators are very suitable to be embedded into the development of adaptive analysis. Triangle and Tetgen are separately responsible for triangle and tetrahedral mesh generation and reconstruction. 4) A simple and efficient strategy is designed to subdivide 2D triangular elements and 3D tetrahedral elements by adding nodes.

Acknowledgements

This work is funded by Scientific Research Fund of Hunan Provincial Education Department (18B384).

NOTES

*Corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

References

[1] Frey, P.J. and George, P.L. (2000) Mesh Generation: Application to Finite Elements. Hermes Science, Oxford.
[2] Shewchuk, J.R. (2002) Delaunay Refinement Algorithms for Triangular Mesh Generation. Computational Geometry, 22, 21-74.
https://doi.org/10.1016/S0925-7721(01)00047-5
[3] Si, H. (2010) Constrained Delaunay Tetrahedral Mesh Generation and Refinement. Finite Elements in Analysis and Design, 46, 33-46.
https://doi.org/10.1016/j.finel.2009.06.017
[4] Ruppert, J.A. (1995) Delaunay Refinement Algorithm for Quality 2-Dimensional Mesh Generation. Journal of Algorithms, 18, 548-585.
https://doi.org/10.1006/jagm.1995.1021
[5] Delaunay, B.N. (1928) Sur la sphere vide. In: Proceedings of the Mathmatics, Toronto, 11-16 August 1924, 695-700.
[6] Lawson, C.L. (1977) Software for C1 Surface Interpolation. In: Rice, J.R., Ed., Mathematical Software III, Academic Press, New York, 161-194.
https://doi.org/10.1016/B978-0-12-587260-7.50011-X
[7] Joe, B. (1989) Three-Dimensional Triangulation from Local Transformation. SIAM Journal on Scientific Computing, 10, 718-741.
https://doi.org/10.1137/0910044
[8] Bowyer, A. (1981) Computing Dirichlet Tessellations. The Computer Journal, 24, 162-166.
https://doi.org/10.1093/comjnl/24.2.162
[9] Waston, D.F. (1981) Computing the n-Dimensional Delaunay Tessellation with Application to Voronoi Polytons. The Computer Journal, 24, 167-172.
https://doi.org/10.1093/comjnl/24.2.167
[10] Voronoi, G.F. (1908) Nouvelles applications des paremetres continus a la theorie des formes quadratiques. Journal Fur Die Reine Und Angewandte Mathematik, 134, 198-287.
https://doi.org/10.1515/crll.1908.134.198
[11] Shewchuk, J.R. (1996) Triangle: Engineering a 2D Quality Mesh Generator and Delaunay Triangulator. In: Lin, M.C. and Manocha, D., Eds., Applied Computational Geometry towards Geometric Engineering, Springer, Berlin, 203-222.
https://doi.org/10.1007/BFb0014497
[12] Si, H. (2008) Adaptive Tetrahedral Mesh Generation by Constrained Delaunay Refinement. International Journal for Numerical Methods in Engineering, 75, 856-880.
https://doi.org/10.1002/nme.2318
[13] Si, H. and Gärtner, K. (2011) 3D Boundary Recovery by Constrained Delaunay Tetrahedralization. International Journal for Numerical Methods in Engineering, 85, 1341-1364.
https://doi.org/10.1002/nme.3016
[14] Si, H., Fuhrmann, J. and Gärtner, K. (2010) Boundary Conforming Delaunay Mesh Generation. Journal of Computational Mathematics, 50, 38-53.
https://doi.org/10.1134/S0965542510010069
[15] Tang, Q., Wei, K.X., Zhang, G.Y. and Sun, X.G. (2020) A Fully Automatic h-Adaptive Analysis Procedure Using the Edge-Based Smoothed Point Interpolation Method. International Journal of Computational Methods, 17, Article ID: 1845001.
https://doi.org/10.1142/S0219876218450019
[16] Tang, Q., Zhang, G.Y., Liu, G.R., Zhong, Z.H. and He, Z.C. (2011) A Three-Dimensional Adaptive Analysis Using the Meshfree Node-Based Smoothed Point Interpolation Method. Engineering Analysis with Boundary Elements, 35, 1123-1135.
https://doi.org/10.1016/j.enganabound.2010.05.019

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.