Next Article in Journal
Robust Blind Detection of Integer Carrier Frequency Offset for Terrestrial Broadcasting Systems Using Band Segmented Transmission
Previous Article in Journal
Common Fixed Point Results of Set Valued Maps for Aφ-Contraction and Generalized ϕ-Type Weak Contraction
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Deviation-Based Dynamic Vertex Reordering Technique for 2D Mesh Quality Improvement

1
SK Hynix, Icheon-si, Gyeonggi-do 28429, Korea
2
Midas Information Technology, Seongnam-si, Gyeonggi-do 13487, Korea
3
C3, 1300 Seaport Boulevard Suite 500, Redwood City, CA 94025, USA
4
Department of Computer Science and Engineering, Incheon National University, Incheon 22012, Korea
*
Author to whom correspondence should be addressed.
Symmetry 2019, 11(7), 895; https://doi.org/10.3390/sym11070895
Submission received: 24 June 2019 / Revised: 8 July 2019 / Accepted: 8 July 2019 / Published: 9 July 2019

Abstract

:
We propose a novel deviation-based vertex reordering method for 2D mesh quality improvement. We reorder free vertices based on how likely this is to improve the quality of adjacent elements, based on the gradient of the element quality with respect to the vertex location. Specifically, we prioritize the free vertex with large differences between the best and the worst-quality element around the free vertex. Our method performs better than existing vertex reordering methods since it is based on the theory of non-smooth optimization. The downhill simplex method is employed to solve the mesh optimization problem for improving the worst element quality. Numerical results show that the proposed vertex reordering techniques improve both the worst and average element, compared to those with existing vertex reordering techniques.

1. Introduction

When the finite element method (FEM) is used to solve certain partial differential equations (PDEs), the quality of a mesh element is determined geometrically. For instance, to solve the Poisson equation, equilateral elements are preferred over “long and skinny” ones [1,2]. In order to measure the quality of a triangle, the ratio of the radius of the incircle and the circumcircle may be used. The ratio is maximal for an equilateral triangle and tends to zero as the triangle becomes degenerate [1], so it serves as a good measure of the quality of a triangle. The quality of the whole mesh is typically defined as some average (mean, r.m.s., etc.) of the quality of its elements [1,3].
The FEM is faster and more accurate if the mesh is of high quality [1]. In order to obtain a high-quality mesh, numerical optimization algorithms may be used to move mesh vertices such that the quality of the elements improves. Since the quality of the elements is a continuous function of the position of the vertices, several papers have explored the use of different continuous numerical optimization techniques to efficiently carry out the quality improvement [4,5,6].
The objective function that is optimized by the numerical techniques can be formulated in the following two ways: (a) global formulation and (b) local formulation. In the global formulation, every vertex in the mesh contributes to the objective function (an average mesh quality) that is being optimized. In other words, in every iteration, all vertices are simultaneously moved to improve the mesh quality. In the local formulation, only one vertex contributes to the objective function being optimized in each step. In other words, in each step, only one vertex is moved, and other vertices wait for their turn to move.
In the local mesh optimization technique, a natural question arises about the order in which the vertices are moved: is it possible to further improve the mesh quality or the efficiency (fewer iterations/less time) of the optimization by changing the vertex ordering? The ordering of vertices is especially important when the mesh quality is defined as the quality of its worst-quality element. Can we prioritize vertices that belong to the worst-quality element? In this paper, we answer this question by analyzing the objective function that we are attempting to optimize. In particular, we consider the problem of improving the quality of the worst-quality element in a mesh because it significantly affects the efficiency and accuracy of the FEM.
Sastry et al. developed a global formulation for the objective function based on the log-barrier technique, which improved the quality of all poor elements in a mesh, not just the worst one [7]. A global formulation is sometimes too expensive since all we really need is a way to improve the quality of few poor elements in a mesh. Thus, local techniques may be preferred for this purpose because it takes much less time.
We attempted to improve the quality of the worst element using the active set method, [8,9] which is a local technique. We found that quality of the worst element improves only in the first few iterations, but the quality remains static in the subsequent iterations. This was because the worst-quality element was surrounded by other poor-quality elements. By moving any of the vertices of the worst-quality element, the adjacent poor-quality elements would become poorer. Thus, the optimization routine was stuck in a local optimum in the part of the mesh where the worst-quality element was present. In other parts of the mesh, however, we saw some significant vertex movement. In those parts, we observed that there were both high- and poor-quality elements, and the quality of the poor elements were being improved at the cost of the quality of good elements. This observation led us to develop our inequality-based vertex reordering technique.
A high inequality in the quality of elements around a vertex is indicative (though not necessarily) of a high potential of quality improvement around the vertex. When the vertex moves appropriately, the quality of poor elements improves, and the quality of good elements deteriorates. Thus, we end up with elements of nearly identical quality around the vertex. After the vertex movement, the quality of the neighbors of the (formerly) good elements remains unchanged because we move only one vertex at a time. As a result, we have propagated the inequality with respect to the mesh quality from one vertex to the neighboring vertex. When the propagation hits a vertex with the worst-quality element, it is possible to improve the quality of the worst element in subsequent iterations. The propagation of the inequality in element quality travels one vertex in every iteration. If the vertices are not ordered properly, it can potentially take a lot of iterations before we see the quality of the worst-quality element being improved. In this paper, we develop a vertex reordering technique such that the propagation of inequality in quality of mesh elements is accelerated. We reorder vertices based on how likely it is to improve the quality of adjacent elements based on the gradient of the element quality with respect to the vertex location.
The optimization of the worst-quality element in a mesh is a non-smooth optimization problem. This is because we consider multiple elements and pick the one with the minimum quality. This results in a piece-wise smooth function that we optimize by determining the ideal location of the vertices. Our  heuristic algorithm performs better than prior vertex reordering techniques because it is based on the theory of non-smooth optimization.

2. Related Work

Several researchers have studied vertex reordering methods to improve the efficiency of the mesh optimization algorithm. Shontz and Knupp [10] examined several choices in deciding the ordering of vertices. They chose reordering schemes by considering the ease of implementation and geometry. Examples of the choices include the ordering based on the quality of the element and the distance by which the vertices were moved in the previous iteration. They also examined a static ordering technique in which the ordering remains fixed for all iterations and a dynamic ordering technique in which the ordering changed after every iteration. They found that vertex reordering was the most effective when the initial mesh was far from being the optimal mesh. They also observed that dynamic vertex ordering techniques were computationally too expensive when compared to static vertex reordering techniques. The results of the paper, however, were not definitive, i.e., the paper does not unequivocally recommend an ordering.
Park et al. [11] investigated static vertex reordering techniques to improve the efficiency of the mesh optimization algorithm. They investigated the effect of static vertex ordering on the time taken for the Laplacian smoothing algorithm to converge. In total, they investigated twenty vertex ordering techniques and explored the sensitivity of the timing results with the termination criterion and the mesh size. As in the previous study [10], the results of the paper were not definitive.
Some researchers [12,13] studied the effect of vertex reordering on cache performance. Strout et al. [12] developed six reordering methods and applied them to tetrahedral meshes using a hypergraph model. They focused on improving the overall execution time by applying hierarchical data reordering. Aupy et al. [13] proposed vertex reordering techniques using the reuse distance metric, which reduced the execution time by improving cache utilization.

3. Background

The improvement of the worst-quality element is a non-smooth optimization problem. We wish to improve the quality of the worst element through a local optimization technique. Let x i and q ( x i ) be a vector of coordinates of the vertices and the quality of an element i, respectively. Then, the quality of the worst element is denoted as
max 1 i n q ( x i ) ,
where n is the number of elements around a free (interior) vertex. Then, we solve the following optimization problem, which is denoted as
min max 1 i n q ( x i ) .
The objective function is smooth when the set of worst-quality elements (the set may contain just one element) remains the same as the vertex positions are perturbed. The objective function is non-smooth when such a perturbation results in a different set of elements being ranked as having the worst quality. Since q ( x i ) is itself a smooth function (when the element is non-inverted), the objective function is non-smooth only when two or more element qualities are identical and they are also the worst-quality elements.
In our formulation of the objective function, we consider the position of only one free vertex at a time. Our algorithm is based on the necessary condition for optimality of such non-smooth objective functions. In this context, our objective function is non-smooth when the qualities of two or more elements (adjacent to the vertex) are equally poor and they are also the worst-quality elements around the vertex. The set of worst-quality elements for a given vertex position is called the active set [8,9]. The gradients associated with the quality of the elements in the active set contribute to the first-order necessary conditions for the optimality of the function. Let the gradient of the quality of element i be denoted by q ( x i ) . A vector g is called the sub-gradient of the objective function F, if ∃ an ϵ neighborhood such that F ( x i + ϵ ) F ( x i ) g T ϵ . It can be shown that g is set of all vectors which are convex combinations of the gradients of the quality of the elements in the active set. This set of all sub-gradients is also called the sub-differential of F at x, denoted by F ( x ) . A first order necessary condition for optimality of a non-smooth objective function at x is 0 F ( x ) .
For three or more elements in the active set, this condition simply means that the origin must be inside convex hull of the gradients of the constituent element quality functions. If there are just two elements in the active set, their gradients must be anti-parallel. If there is only one function in the active set, the gradient must vanish. In our context, the gradient vanishes only when the quality of the worst element is also the quality of the ideal element. If the worst-quality element is ideal, either it is the only element under consideration or all elements have the ideal quality. In the latter case, the active set contains multiple elements.
Figure 1a shows an example when the gradient of the constituent element quality with respect to the free vertex (red) vanishes. The four arrows indicate the (negative) gradient of their quality with respect to the free vertex. Since our goal is to minimize the objective function as in Equation (2), we consider the direction of the negative gradients. The blue area indicates a convex hull of the gradients, and the free vertex is located inside the convex hull of the gradients. For this case, the gradients vanish since all elements around the free vertex reach the ideal element qualities. Therefore, the movement of the free vertex could deteriorate the element qualities (of at least one element) around the free vertex. Figure 1b shows an example when the free vertex is located outside the convex hull of the (negative) gradients of the constituent element quality functions. For this case, the movement of the free vertex is able to significantly improve all element qualities around the free vertex. Therefore, we prioritize this free vertex when the vertex reordering is performed.

4. Algorithm

4.1. Vertex Reordering Algorithm

Based on our previous observation, our objective function is optimal when two or more elements have the same quality and the gradients of the function defining their quality are directed such that their convex combination can vanish, i.e., there is a convex combination of the gradients of the worst quality elements whose magnitude is zero. If such a combination exists, we will call them suitably directed gradients.
To compute the ordering of free vertices, we first sort our elements based on their quality by descending order and compute the gradient of their quality with respect to the free vertex. Second, for every free vertex, we start with the worst-quality element and add other elements to this “pseudo-active” set (PAS) until the gradients of the function defining their qualities are suitably directed such that their convex combination of gradients can vanish. Specifically, we add the next worst-quality element to PAS until the free vertex is inside the convex hull of the gradients. Third, we compute the difference in the quality of the best ( q b e s t ) and the worst-quality ( q w o r s t ) element in the PAS for every free vertex. Finally, we sort the vertices based on the difference in the quality ( L q ) in descending order, where L q is computed as q w o r s t - q b e s t . The flowchart and the pseudo code of our algorithm are presented in Figure 2 and Algorithm 1, respectively.
Algorithm 1 Vertex Reordering Algorithm
Symmetry 11 00895 i001
A high inequality in the quality of elements around a vertex indicates a high potential for quality improvement around the vertex. Thus, our idea is to prioritize the free vertex with large differences between the best and the worst-quality element (i.e., L q ), in the pseudo-active set. Optimizing these free vertices is able to quickly improve the mesh qualities and accelerates the mesh optimization process over the entire mesh.
Figure 3 shows a toy example of computing the difference in the quality of the best and the worst element (i.e., L q ) in the pseudo-active set for one free vertex. Let the element qualities of four elements, e 0 , e 1 , e 2 , e 3 , be 1.159, 1.058, 2.064, and 2.911, respectively. A smaller value indicates a better element quality. The four arrows in this figure indicate the (negative) gradient of their quality with respect to the free vertex (red). The free vertex is located outside the convex hull of the gradients of the constituent element quality functions. For this free vertex, P A S = e 0 , e 1 , e 2 , e 3 and q w o r s t is 2.911 and q b e s t is 1.058, respectively. Finally, L q is 1.853, which is computed as q w o r s t - q b e s t . We repeat this process for the other free vertices and sort the free vertices based on L q .

4.2. Mesh Quality Improvement

We focus on improving the worst element quality on the mesh using mesh optimization. Here, mesh optimization refers to a technique of moving interior vertices while fixing the element connectivity. We use local mesh optimization where only one free (interior) vertices moves at a time.
The inverse mean ratio (IMR) quality metric is used to improve the mesh quality [14]. Let a, b, and c be the three vertices of a triangle. Next, define the incidence matrix A by b a , c a . Let W be the incidence matrix for an ideal element. Then, the IMR quality metric is defined as
q ( x i ) = A W 1 F 2 2 det ( A W 1 ) ,
where · F is the Frobenius norm. The IMR quality metric ranges from 1 to ∞ for valid elements with 1 being the best value.
Since the objective function defined in Equation (2) is a non-smooth objective function, we use a downhill simplex method to minimize it. The downhill simplex method is a popular derivative-free method, which does not use either function derivatives or a Hessian, but only uses function evaluations [15]. It first generates a virtual initial simplex to begin, which is a triangle in 2D and removes the vertex with the worst function value and replace it with another point with a better value by repeatedly performing three actions to find the optimal point: expansions, reflections, and contractions [16]. Readers refer to [15,16] for more details on the downhill simplex method.
When the downhill simplex method is used, initial simplex diameter should be appropriately chosen such that the mesh optimization process converges quickly. Based on the observation in [15], we choose an initial simplex diameter to be 0.1× (minimum edge length).

5. Vertex Reordering Schemes

During the mesh optimization process, vertex reordering can be performed either statically or dynamically [10]. For the static case, vertex ordering is performed only once at the beginning of the optimization process, and the ordering remains fixed for all remaining iterations. For the dynamic case, we first reorder the free vertices at the beginning of the optimization process and reapply vertex reordering at the end of some constant number of iterations within the optimization. We further divide dynamic vertex reordering into two methods by how often the reordered list is updated. The fully dynamic ordering updates the reordered list at the end of each iteration within the optimization. The half dynamic ordering is a compromise between a static and fully dynamic vertex ordering. The half dynamic ordering applies vertex reordering at the beginning of the optimization process and updates the reordered list after half of the free vertices are optimized.
The half dynamic ordering is devised from the following observations. We apply the local mesh optimization, which is a Gauss-Seidel type mesh optimization. The element quality around each free vertex varies as the mesh optimization process proceeds. The half dynamic ordering scheme utilizes the updated element quality and performs vertex reordering one more time in the middle of the mesh optimization process. Specific vertex reordering schemes considered in this study are summarized next.
  • Null ordering. Do not reorder the free vertices. The ordering is the initial ordering of the free vertices as given by the mesh generator.
  • Static ordering. Apply the proposed vertex reordering algorithm at the beginning of the optimization process, and the ordering remains fixed for all iterations.
  • Fully dynamic ordering. Apply the proposed vertex reordering algorithm at the end of each iteration within the optimization.
  • Half dynamic ordering. Apply the proposed vertex reordering algorithm at the beginning of the optimization process and reapply vertex reordering algorithm after half of the free vertices are optimized.

6. Numerical Experiments

We describe our numerical results to show the effectiveness of the proposed vertex reordering algorithm. Figure 4 summarizes the vertex reordering schemes we used for the numerical experiments. We implemented our vertex reordering algorithms in Mesquite software [17]. Specifically, we used Mesquite version 2.99. A quick sort algorithm was used to perform vertex reordering. The machine employed for this study was equipped with an AMD Opteron processor 6174 (2.2GHz) and 6.5 GB of RAM.
A total of four 2D test meshes, which were triangular, were used as shown in Figure 5. Three meshes (i.e., conjugate, cylinder, gate) were produced during the mesh deformation process and the Shashkov mesh was provided in Mesquite software. Properties of the four test meshes and mesh quality statistics (minimum, average, maximum and standard deviation) are shown in Table 1 and Table 2, respectively. The IMR quality metric was used to measure the element quality. A smaller value indicated a better element quality, and the ideal element had a value of one. We also tested the proposed vertex reordering schemes using other shape-based mesh quality metrics such as a condition number quality metric [17]. Due to the page limits, those results were omitted here but we observed consistent results. We performed an accurate mesh optimization such that the mesh optimization procedure is driven to a highly converged solution [2].

6.1. Mesh Quality

The purpose of this experiment was to observe whether the proposed vertex reordering techniques are able to improve the element quality compared with the null ordering technique, which does not reorder free vertices. Figure 6 shows the worst element quality on the optimized test meshes using various vertex reordering methods. For all test cases, the proposed vertex reordering techniques outperformed the null ordering technique. We observed that the proposed vertex reordering techniques improve the worst element quality up to 7.3% compared to those with the null ordering method.
Figure 7 shows the optimized output meshes when various vertex reordering techniques are used for the conjugate mesh. In terms of the worst element quality, the half dynamic vertex reordering technique produces the best output mesh. The worst element quality was 1.813 when the IMR quality metric was used. Figure 7 shows that the output mesh using the full dynamic vertex ordering for the conjugate mesh. The output mesh using the full dynamic vertex ordering method shows better average element qualities compared with the output meshes using other vertex reordering techniques. For this output mesh with the dynamic vertex ordering, we observed that the triangular elements are more uniform and close to equilateral triangles. Figure 8 shows the optimized output meshes when various vertex reordering techniques are used for the Shashkov mesh. The fully dynamic vertex ordering technique also produces the best output meshes in terms of both the worst and average element qualities.
Table 3 shows initial L q value distributions for various meshes. For the cylinder and Shashkov meshes, the deviation (also, the maximum) of L q values are larger than the gate and conjugate meshes. It indicates that the cylinder and Shashkov meshes are more heterogeneous compared to the other two meshes. Our previous results show that the proposed vertex reordering techniques are more effective for non-uniform meshes whose maximum and the standard deviation of the L q values are large. This is because the proposed vertex reordering technique utilizes the difference in the quality of the best and the worst element (i.e., L q ) in the pseudo-active set.
We also investigated whether the proposed vertex reordering techniques were able to also improve the average element quality on the mesh. Figure 9 shows the average element quality on the optimized test meshes using various vertex reordering methods. For all test meshes, the proposed vertex reordering methods outperformed the null reordering method, which does not perform vertex reordering. The average element quality is improved by up to 5.5% when the proposed vertex reordering techniques are used compared with the one with the null vertex reordering. Therefore, the proposed vertex reordering techniques was able to simultaneously improve both the worst and average element qualities.

6.2. Timing

The purpose of this experiment is to observe the effect of the vertex reordering on the CPU time. Here, the CPU time means the total time, which includes both the vertex reordering time and the mesh optimization time. The null ordering method only includes the mesh optimization time, but other vertex reordering methods take additional vertex reordering time. Table 4, Table 5, Table 6 and Table 7 show comparisons of the vertex reordering time, mesh optimization time and the total time using various vertex reordering methods.
For all tested meshes, the fully dynamic vertex reordering method is the slowest among the compared methods since it updates the vertex list at the end of each iteration. Surprisingly, the half dynamic vertex reordering method takes less total time than the null reordering scheme for all tested meshes other than the conjugate mesh. These results can be understood by two factors. First, the vertex list is only updated at the beginning of the optimization process and after half of the vertices are optimized. Therefore, the computational overhead for sorting is small. Second, due to the smart vertex reordering, free vertices are quickly converged to the optimal locations and the mesh optimization timing is minimized. Overall, the half vertex reordering method shows the best performance in most cases when considering both mesh quality and timing. It simultaneously improves both the average and worst element quality with the minimal computational overhead.

6.3. Comparison with Existing Vertex Reordering Schemes

We compare the proposed vertex reordering schemes with the existing vertex reordering methods in terms of both the worst element quality and the timing. Specifically, we compared the proposed half dynamic vertex reordering method with two existing static vertex reordering schemes. We chose the half dynamic vertex reordering scheme for comparison among the proposed vertex reordering techniques, since our numerical results show robust performance for both mesh quality and timing. The full dynamic vertex reordering scheme was too slow to use in practice for large size meshes.
First, the existing vertex reordering method was a WQP (worst quality patch) method, which orders the free vertices from worst quality first, and the best quality last [10,11]. The second method is the LNG (largest norm of gradient) method, which evaluates the l 2 norm of the local gradient of the objective function and sorts the free vertices by putting the largest norm first, and the smallest norm last [10,11]. Our preliminary results show that the dynamic version of both LNG and WQP are too slow to converge. Therefore, we compared the proposed half dynamic vertex reordering method with the static version of both LNG and WQP.
For tested meshes, the proposed half dynamic vertex reordering method shows the best performance in terms of the worst element quality on the optimized meshes. Similar results are observed for the average element quality. Both WQP and LNG methods show mixed results. They sometimes improve the worst element quality compared with the null reordering method, but for some test cases, they show poor performance that is worse than the null reordering method. Figure 10 shows the worst element quality of the optimized meshes. For two tested meshes, we observe that the WQP method shows poor performance that is and even worse than the null reordering method. The LNG method showed worse performance than the null reordering method for the Shashkov mesh.

7. Conclusions

We have proposed a novel vertex reordering technique for 2D mesh quality improvement such that the propagation of inequality in the quality of mesh elements is accelerated. Our idea is to prioritize the free vertex with large differences between the best and the worst-quality element, in the pseudo-active set.
Numerical results show that the optimized meshes using the proposed vertex reordering methods improve both the worst and average element quality up to 7.3% and 5.5%, respectively, compared those with the null ordering method, which does not reorder vertices. Moreover, the worst element quality is improved up to 21.3% compared with existing vertex reordering techniques. For some test meshes, the proposed vertex reordering method is able to improve the mesh optimization efficiency up to 31.2% compared with the null ordering method, since free vertices are quickly converged to the optimal points and the mesh optimization time is minimized.
The proposed vertex reordering technique is more effective when the deviation of free vertices’s quality difference (i.e., L q value) is huge. For such non-uniform meshes, the ordering of vertices is important when the mesh optimization is performed. Among the proposed vertex reordering techniques, we recommend employing the half dynamic vertex reordering method since it shows the best performance in most cases when considering both the output mesh quality and the timing. The full dynamic vertex reordering scheme is too slow to use in practice for large size meshes.
The proposed vertex reordering techniques can be extended to high order meshes. We plan to apply the proposed vertex reordering techniques to improve high order elements. We also plan to extend the proposed vertex reordering method to 3D meshes.

Author Contributions

All authors contributed equally and significantly in writing this article. All authors read and approved the final manuscript.

Funding

The authors disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported by the National Research Foundation of Korea (NRF) grant funded by the Korea government (MSIT) (NRF-2017R1C1B1007080).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Shewchuk, J. What is a good linear element? Interpolation, conditioning, and quality measures. In Proceedings of the International Meshing Roundtable, Ithaca, NY, USA, 15–18 September 2002; pp. 115–126. [Google Scholar]
  2. Kim, J.; Sastry, S.; Shontz, S. A numerical investigation on the interplay amongst geometry, meshes, and linear algebra in the finite element solution of elliptic PDEs. Eng. Comput. 2012, 28, 431–450. [Google Scholar] [CrossRef]
  3. Knupp, P. Algebraic mesh quality metrics. SIAM J. Sci. Comput. 2001, 23, 193–218. [Google Scholar] [CrossRef]
  4. Sastry, S.; Shontz, S. Performance characterization of nonlinear optimization methods for mesh quality improvement. Eng. Comput. 2012, 28, 269–286. [Google Scholar] [CrossRef]
  5. Benitez, D.; Rodriguez, E.; Escobar, J.; Montenegro, R. Performance evaluation of a parallel algorithm for simultaneous untangling and smoothing of tetrahedral meshes. In Proceedings of the International Meshing Roundtable, Orlando, FL, USA, 13–16 October 2013; pp. 579–598. [Google Scholar]
  6. Kim, J.; Panitanarak, T.; Shontz, S. A multiobjective mesh optimization framework for mesh quality improvement and mesh untangling. Int. J. Numer. Methods Eng. 2013, 94, 20–42. [Google Scholar] [CrossRef]
  7. Sastry, S.; Shontz, S.; Vavasis, S. A log-barrier method for mesh quality improvement. In Proceedings of the International Meshing Roundtable, Paris, France, 23–26 October 2011; pp. 329–346. [Google Scholar]
  8. Freitag, L.; Plassmann, P. Local optimization-based simplicial mesh untangling and improvement. Int. J. Numer. Methods Eng. 2000, 49, 109–125. [Google Scholar] [CrossRef]
  9. Sastry, S. Maximizing the minimum angle with the insertion of steiner vertices. In Proceedings of the Canadian Conference on Computational Geometry, Kingston, ON, Canada, 10–12 August 2015; pp. 193–198. [Google Scholar]
  10. Shontz, S.; Knupp, P. The effect of vertex ordering on 2D local mesh optimization efficiency. In Proceedings of the International Meshing Roundtable, Pittsburgh, PA, USA, 12–15 October 2008; pp. 107–124. [Google Scholar]
  11. Park, J.; Knupp, P.; Shontz, S. Static vertex reordering schemes for local mesh quality improvement. In Proceedings of the CSRI Summer Proceedings, Albuquerque, NM, USA, 31 May–2 June 2010; pp. 166–177. [Google Scholar]
  12. Strout, M.; Osheim, N.; Rostron, D. Evaluation of hierarchical mesh reordering. In Proceedings of the International Conference on Computational Science, Baton Rouge, LO, USA, 25–27 May 2009; pp. 540–549. [Google Scholar]
  13. Aupy, G.; Park, J.; Raghavan, P. Locality-aware Laplacian mesh smoothing. In Proceedings of the International Conference on Parallel Processing, Philadelphia, PA, USA, 16–19 August 2016; pp. 588–597. [Google Scholar]
  14. Munson, T. Mesh shape-quality optimization using the inverse mean-ratio metric. Math. Program. 2007, 110, 561–590. [Google Scholar] [CrossRef]
  15. Kim, J.; Shin, M.; Kang, W. A derivative-free mesh optimization algorithm for mesh quality improvement and untangling. Math. Probl. Eng. 2015, 2015, 264741. [Google Scholar] [CrossRef]
  16. Nocedal, J.; Wright, S. Numerical Optimization, 2nd ed.; Springer: Berlin, Germany, 2006. [Google Scholar]
  17. Brewer, M.; Diachin, L.; Knupp, P. The mesquite mesh quality improvement toolkit. In Proceedings of the International Meshing Roundtable, Santa Fe, NM, USA, 14–17 September 2003; pp. 239–250. [Google Scholar]
Figure 1. (a) An example when the free vertex (red) is located inside the convex hull (blue area) of the gradients of the constituent element quality functions and their gradient vanishes. (b) An example when the free vertex (red) is located outside the convex hull (blue area) of the gradients of the constituent element quality functions.
Figure 1. (a) An example when the free vertex (red) is located inside the convex hull (blue area) of the gradients of the constituent element quality functions and their gradient vanishes. (b) An example when the free vertex (red) is located outside the convex hull (blue area) of the gradients of the constituent element quality functions.
Symmetry 11 00895 g001
Figure 2. Flowchart of the proposed vertex reordering algorithm.
Figure 2. Flowchart of the proposed vertex reordering algorithm.
Symmetry 11 00895 g002
Figure 3. An example of computing the L q in the pseudo-active set for one free vertex (red). Four elements around the free vertex is denoted as e 0 , e 1 , e 2 , and e 3 . The four arrows indicate the (negative) gradient of their quality with respect to the free vertex. The blue area indicates a convex hull of the gradients. The free vertex is located outside the convex hull of the gradients of the constituent element quality functions.
Figure 3. An example of computing the L q in the pseudo-active set for one free vertex (red). Four elements around the free vertex is denoted as e 0 , e 1 , e 2 , and e 3 . The four arrows indicate the (negative) gradient of their quality with respect to the free vertex. The blue area indicates a convex hull of the gradients. The free vertex is located outside the convex hull of the gradients of the constituent element quality functions.
Symmetry 11 00895 g003
Figure 4. Various vertex reordering schemes we used for the numerical experiments.
Figure 4. Various vertex reordering schemes we used for the numerical experiments.
Symmetry 11 00895 g004
Figure 5. (a) Gate mesh, (b) cylinder mesh, (c) Shashkov mesh, (d) conjugate mesh.
Figure 5. (a) Gate mesh, (b) cylinder mesh, (c) Shashkov mesh, (d) conjugate mesh.
Symmetry 11 00895 g005
Figure 6. Comparison of the worst element quality on the optimized test meshes.
Figure 6. Comparison of the worst element quality on the optimized test meshes.
Symmetry 11 00895 g006
Figure 7. Optimized output meshes with various vertex reordering schemes (Conjugate mesh).
Figure 7. Optimized output meshes with various vertex reordering schemes (Conjugate mesh).
Symmetry 11 00895 g007
Figure 8. Optimized output meshes with various vertex reordering schemes (Shashkov mesh).
Figure 8. Optimized output meshes with various vertex reordering schemes (Shashkov mesh).
Symmetry 11 00895 g008
Figure 9. Comparison of the average element quality on the optimized test meshes.
Figure 9. Comparison of the average element quality on the optimized test meshes.
Symmetry 11 00895 g009
Figure 10. Comparison of the proposed half dynamic vertex reordering method with the worst quality patch (WQP) and largest norm of gradient (LNG) [10,11] in terms of the worst element quality.
Figure 10. Comparison of the proposed half dynamic vertex reordering method with the worst quality patch (WQP) and largest norm of gradient (LNG) [10,11] in terms of the worst element quality.
Symmetry 11 00895 g010
Table 1. The test mesh configurations.
Table 1. The test mesh configurations.
Mesh Name# of Vertices# of Elements
Gate21074034
Cylinder41677232
Shashkov525210,200
Conjugate699413,441
Table 2. Mesh quality statistics.
Table 2. Mesh quality statistics.
Mesh NameMinAvgMaxStd.dev
Gate1.0011.73787.1525.355
Cylinder1.00012.3152282.60053.123
Shashkov1.00013.213277.04621.821
Conjugate1.0001.40430.9921.201
Table 3. L q value distributions for initial meshes.
Table 3. L q value distributions for initial meshes.
Mesh NameMinAvgMaxStd.dev
Gate0.0021.29284.8637.437
Cylinder0.00111.9342270.89074.233
Shashkov0.0016.836225.53618.374
Conjugate0.0010.24620.9750.695
Table 4. Timing results (gate mesh).
Table 4. Timing results (gate mesh).
Reordering SchemesReordering TimeOptimization TimeTotal Time
Null ordering-99.36599.365
Static ordering0.60070.51171.111
Fully dynamic ordering1388.83053.8391442.669
Half dynamic ordering2.14564.46566.609
Table 5. Timing results (cylinder mesh).
Table 5. Timing results (cylinder mesh).
Reordering SchemesReordering TimeOptimization TimeTotal Time
Null ordering-86.14486.144
Static ordering0.00371.29471.297
Fully dynamic ordering762.74661.204823.94
Half dynamic ordering1.26054.67055.930
Table 6. Timing results (Shashkov mesh).
Table 6. Timing results (Shashkov mesh).
Reordering SchemesReordering TimeOptimization TimeTotal Time
Null ordering-136.836136.836
Static ordering0.010141.595141.605
Fully dynamic ordering5364.980107.7095472.689
Half dynamic ordering3.16899.822102.990
Table 7. Timing results (conjugate mesh).
Table 7. Timing results (conjugate mesh).
Reordering SchemesReordering TimeOptimization TimeTotal Time
Null ordering-888.510888.510
Static ordering0.1901028.1491028.339
Fully dynamic ordering9971.85096.02110,067.871
Half dynamic ordering32.533983.0071015.540

Share and Cite

MDPI and ACS Style

Choi, J.; Kim, H.; Sastry, S.P.; Kim, J. A Deviation-Based Dynamic Vertex Reordering Technique for 2D Mesh Quality Improvement. Symmetry 2019, 11, 895. https://doi.org/10.3390/sym11070895

AMA Style

Choi J, Kim H, Sastry SP, Kim J. A Deviation-Based Dynamic Vertex Reordering Technique for 2D Mesh Quality Improvement. Symmetry. 2019; 11(7):895. https://doi.org/10.3390/sym11070895

Chicago/Turabian Style

Choi, Junhyeok, Harrim Kim, Shankar Prasad Sastry, and Jibum Kim. 2019. "A Deviation-Based Dynamic Vertex Reordering Technique for 2D Mesh Quality Improvement" Symmetry 11, no. 7: 895. https://doi.org/10.3390/sym11070895

APA Style

Choi, J., Kim, H., Sastry, S. P., & Kim, J. (2019). A Deviation-Based Dynamic Vertex Reordering Technique for 2D Mesh Quality Improvement. Symmetry, 11(7), 895. https://doi.org/10.3390/sym11070895

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop