Patrick M. Knupp R: Key Words
Patrick M. Knupp R: Key Words
Patrick M. Knupp R: Key Words
Patrick M. Knupp*R
Parallel Computing Sciences Department, Sandia National ¸aboratories, M/S 0847, P.O. Box 5800, Albuquerque,
NM 87185-0847, ;.S.A.
SUMMARY
Three-dimensional unstructured tetrahedral and hexahedral "nite element mesh optimization is studied
from a theoretical perspective and by computer experiments to determine what objective functions are most
e!ective in attaining valid, high-quality meshes. The approach uses matrices and matrix norms to extend the
work in Part I to build suitable 3D objective functions. Because certain matrix norm identities which hold
for 2;2 matrices do not hold for 3;3 matrices, signi"cant di!erences arise between surface and volume
mesh optimization objective functions. It is shown, for example, that the equality in two dimensions of the
smoothness and condition number of the Jacobian matrix objective functions does not extend to three
dimensions and further, that the equality of the Oddy and condition number of the metric tensor objective
functions in two dimensions also fails to extend to three dimensions. Matrix norm identities are used to
systematically construct dimensionally homogeneous groups of objective functions. The concept of an ideal
minimizing matrix is introduced for both hexahedral and tetrahedral elements. Non-dimensional objective
functions having barriers are emphasized as the most logical choice for mesh optimization. The performance
of a number of objective functions in improving mesh quality was assessed on a suite of realistic test
problems, focusing particularly on all-hexahedral &whisker-weaved' meshes. Performance is investigated on
both structured and unstructured meshes and on both hexahedral and tetrahedral meshes. Although several
objective functions are competitive, the condition number objective function is particularly attractive.
The objective functions are closely related to mesh quality measures. To illustrate, it is shown that the
condition number metric can be viewed as a new tetrahedral element quality measure. Published in 2000
by John Wiley & Sons, Ltd.
KEY WORDS: unstructured grid generation; "nite element mesh; mesh optimization; smoothing; condition
number
*Correspondence to: Patrick M. Knupp, Parallel Computing Sciences Department, Sandia National Laboratories, M/S
0847, P.O. Box 5800, Albuquerque, NM 87185-0847, U.S.A.
R E-mail: pknupp@sandia.gov
S This article is a U.S. Government work and is in the public domain in the U.S.A.
1. INTRODUCTION
By valid it is meant that the elements are properly oriented with locally positive Jacobian determinant.
A
Published in 2000 by John Wiley & Sons, Ltd. Int. J. Numer. Meth. Engng 2000; 48:1165}1185
FINITE ELEMENT MESH QUALITY 1167
Section 2 de"nes the 3D Jacobian and metric tensor matrices in terms of element edges.
Section 3 shows that many well-known volume objective functions can be expressed in terms of
matrix norms. Section 4 uses 3D matrix norm identities to form dimensionally homogeneous
groups of objective functions and de"nes several new objective functions. Section 5 describes the
ideal element types in terms of matrices and introduces the idea of di!erentiation of a scalar
function with respect to a matrix in order to create objective functions which have the ideal
elements as stationary points. Because non-dimensional objective functions appear to be the most
e!ective in improving mesh quality, Section 6 focuses on identifying as many non-dimensional
objective functions as possible and discusses relationships between them and gives reasons why,
among all the non-dimensional objective functions, the Jacobian condition number is one of the
most attractive. Section 7 considers optimization of tetrahedral meshes and studies the Jacobian
condition number as a tetrahedral quality measure. Section 8 presents the results of numerical
optimization experiments performed with the CUBIT code. Section 9 is the summary and
conclusion.
For reasons discussed in Part I, attention is focused not on the mesh elements but rather on the
nodes of the mesh and the edges emanating from a given node. The mesh optimization is a series
of local optimization problems, one for each free node of the mesh.
Let M be the number of elements attached to a given interior node of the mesh whose spatial
position is to be &optimized' and let M be the set of integers m"0, 1, 2, . . . , M!1.B Assume for
the rest of this paper that m3M. Let the given node be associated with the vector x3R. It is
assumed that each of the M elements is attached to the interior node by 3 neighbouring vertices.#
Let the three neighbour nodes associated with the mth element be xKI 3R with k"1, 2, 3. To
achieve control over mesh quality, the local objective function f (x) needs to be based, not directly
on x, but rather on the important geometric entities associated with the node. The critical
quantities for the mth element are:
1. The 3 edge vectors, eKI:
eKI"xKI!x
xK!x xK!x xK!x
JK"[eK, eK, eK]" yK!y yK!y yK!y
zK!z zK!z zK!z
B
According to Carey [10], the total number of edges or vertices attached to the interior node is (M#4). M can be as
large as 40 in the all-hexahedral whisker-weaved meshes.
#
This assumption eliminates unusual element types such as pyramids and knives for the present.
** The name &Jacobian' refers to the underlying mapping from a master element to a physical element that exists for the
most commonly used element types. If the Jacobian of the map is evaluated at the corners of the element, one obtains
the Jacobian matrix de"ned here.
Published in 2000 by John Wiley & Sons, Ltd. Int. J. Numer. Meth. Engng 2000; 48:1165}1185
1168 P. M. KNUPP
A if i"j
Diag A" GH
0 else
Published in 2000 by John Wiley & Sons, Ltd. Int. J. Numer. Meth. Engng 2000; 48:1165}1185
FINITE ELEMENT MESH QUALITY 1169
which is the matrix formed from the diagonal elements of A, and O!diag A"A!Diag A, which
is the matrix consisting of the o!-diagonal elements of A.
Let f be a scalar quality metric for the mth triad attached to the centre node, derived from the
K
building blocks in this section. For example,
where the A are the Jacobian matrices constructed from the adjacent edges. Consider the vector
K
f"( f , f , . . . , f )3R+. The p-norm of f is
+\
N
" f " " " f "N
N K
K
¸ength (length):
f (A)""A"
*
In the 2-norm, Length is the sum of the squares of the three edge lengths. Length is important
because it is the objective function for Laplacian smoothing. This objective function is widely
used due to its simplicity but it is recognized that it does not consistently produce valid meshes.
Length is also the sum of the eigenvalues (trace) of the metric tensor.
In the 4-norm, this objective function is closely related to, but not identical with, the &Length-
weighted Laplacian' smoother [12].
Published in 2000 by John Wiley & Sons, Ltd. Int. J. Numer. Meth. Engng 2000; 48:1165}1185
1170 P. M. KNUPP
f (A)""A2A"
,+2
NMT has no simple geometric interpretation (it is the sum of the three edge lengths to the fourth
power plus the sum of the squares of the pairwise projected edge lengths). However, as shown in
Reference [8], because A2A is symmetric, the square of the norm of the metric tensor is the sum of
the squares of its eigenvalues. Minimization of this functional should make the eigenvalues of the
metric tensor equal (in a least-squares sense). This, in turn, means that the metric tensor will be
made proportional to a rotation matrix, giving near-equal aspect ratios and orthogonality. To
our knowledge, this objective function has never been tried in 3D, but it is an obvious extension of
the work in Reference [13].
O+-Diagonal (length): The O!-Diagonal objective function:
f (A)"a
4
In the continuum the volume objective function is non-elliptic, so non-smoothed grids result. This
property carries over to the discrete optimization function for volume. Volume has been
proposed in References [1, 14], and others.
Adjoint of the Jacobian matrix (length):
f (A)""adj A""a"A\"
The geometric interpretation of this objective function can be found by noting that
f (A)"a "A\"
1
Published in 2000 by John Wiley & Sons, Ltd. Int. J. Numer. Meth. Engng 2000; 48:1165}1185
FINITE ELEMENT MESH QUALITY 1171
When writing the Smoothness objective function for surface meshes in Part I in terms of matrix
norms, it was found that f (A)"f (A)"i(A) because the norm of the adjoint was equal to the
1 '1
norm of the matrix. This does not hold in three dimensions, and therefore, there are three
objective functions ( f , f and i) to consider, whereas in 2D there was only one.
1 '1
Inverse smoothness (length)\: This objective function is an ad hoc generalization that appears
in Reference [17] and others:
f ""A"/a
'1
Note that f (A)"f (A\).
'1 1
¹he Oddy metric (length): In Part I on surface meshes, the condition number of the metric
tensor was shown to be equivalent to an objective function based on the Oddy metric [18]. This
equivalence does not hold in three dimensions, thus there is another objective function to
consider
The objective functions of the previous section do not exhaust the myraid possibilities that arise
by approaching mesh optimization via matrix norms. This section seeks to answer two questions
(1) are there some other potentially useful objective functions that have so far been over-looked,
and (2) is there a way to group objective functions in some rational way? Brackbill suggested
combining continuum objective functions into a group to control smoothness, area, or ortho-
gonality [16] but found that it was di$cult to select the constants in these combinations due to
dimensional inhomogeneity of the objective functions. As shown in Part I, this limitation can be
partly overcome by combining objective functions having the same dimension.RR This idea is
extended further here by giving a systematic way to construct dimensionally homogeneous
groups via certain identities which hold for arbitrary 3;3 matrices (these identities do not hold
for 2;2 matrices). There are two identities that appear rather fundamental, and from which many
others can be constructed. The "rst has dimensions (length):
RR By dimension reference is made to the idea that if the matrix A has a particular set of units (say length), then the units of
other related matrices and norms are determined.
Published in 2000 by John Wiley & Sons, Ltd. Int. J. Numer. Meth. Engng 2000; 48:1165}1185
1172 P. M. KNUPP
and can be derived from a trivial matrix identity. The second has dimensions (length):
and can be derived from the fact that every matrix satis"es its own characteristic polynomial.
These identities are not particularly useful in themselves because the objective functions they
suggest (e.g. tr A) have geometrical interpretations that do not correspond to a useful element
quality measure. Replacing A with A2 A in these identities, one can obtain two other identities
having dimensions of (length) and (length) which contain norms upon which useful objective
functions can be based:
"A2A"#2a"A\","A"
3"A" "A2A"!"A"#6a,2 "AA2A"
The identities given in this section suggest dimensionally homogeneous groups of objective
functions. Let c , c , c , and c be arbitrary real constants.
Group six (length):
Every matrix A with column vectors a , i"1, 2, 3, has the following factorization:
G
A"DQ2
where
A"[a , a , a ]
D"diag (d , d , d )
Q"[a /d , a /d , a /d ]
Published in 2000 by John Wiley & Sons, Ltd. Int. J. Numer. Meth. Engng 2000; 48:1165}1185
FINITE ELEMENT MESH QUALITY 1173
and d ""a ". The normalized column vectors of A are contained in Q and the lengths in D. Thus
G G
"Q""3 because the column vectors comprising Q are of unit length. The quantity det (Q) is
referred to in the CUBIT code [12] as the scaled Jacobian quality measure. It varies from minus
one to plus one. Positive scaled Jacobian is considered the minimal quality permitted for a mesh,
while negative values of the scaled Jacobian signify that invalid elements exist.
The matrix A determines the geometric quality of the corresponding element. In the absense of
anisotropy, each edge of the element should have equal length. This requirement corresponds to
making the diagonal matrix D have equal positive entries, i.e. D "* for some *'0. The proper
GG
choice for Q depends on the element type. For a hexagonal element, the edges of the element
should be orthonormal, hence we require Q2"R for some rotation matrix R where R2R"I and
det (R)"#1 to maintain proper orientation.
Thus, for an isotropic hexahedral element the ideal matrix has the form
A"*R
where R is an orthogonal matrix with det(R)"1 and *'0. If A has this form then
(1) the column vectors of A are orthogonal,
(2) the lengths of the column vectors are equal, and
(3) the volume of the region spanned by the 3 vectors is positive, and
(4) the corner of the element de"ned by A matches the corner of a cube.
Although the form of the ideal A has been determined, the scalar * and the matrix R have not
been speci"ed. These control the element size and orientation, respectively. With isotropic
meshes, it is not desirable to specify the size and orientation of each element of the mesh, rather,
the optimization procedure should do this. To eliminate these two quantities, note that the
following relationship holds for the ideal element:
A2A"*I
*"a
A"aR
"MR"""RM"""M"
for any matrix M, the rotation matrix in the ideal will not need to be speci"ed.
The ideal matrix for tetrahedral elements will be discussed in Section 7.
Not all of the objective functions described so far are minimized by the ideal A. Although it is
neither necessary nor su$cient to require that an objective function be minimized by the ideal,
doing so is a rational approach to designing objective functions. Consider the function f (A)
Published in 2000 by John Wiley & Sons, Ltd. Int. J. Numer. Meth. Engng 2000; 48:1165}1185
1174 P. M. KNUPP
taking 3;3 matrices to a scalar. Di!erentiation of f with respect to A can be de"ned to be the
following 3;3 matrix:SS
[* f/*A] "*f/*A
GH GH
Derivatives for relevant functions f (A) are given in Appendix A. The matrix function has
a stationary point when * f/*A"0, with 0 denoting the 3;3 zero matrix.
Applying the di!erentiation formula to the Length objective function we "nd that A"0 is the
minimizer. Of course, A"0 is not attained in practice because the admissible set of A1s are
required to satisfy the boundary data which holds the surface mesh nodes "xed. It is reasonable to
ask if the Length objective function can be modi"ed in some way to give the ideal as the
minimizer. Length is part of the Group 2 objective function of the previous section, so let us ask if
one can choose the constants c to give the desired minimizer. This is indeed possible, and can also
G
be done for the other Group objective functions:
f (A)""A"!3a
*
f (A)""A2A"!3a
*
f (A)""AA2A"!3a
*
The smoothness and inverse smoothness objective functions must also be modi"ed slightly to
have the ideal as the minimizer:
f (A)"a "A\"
1
f (A)"a\ "A"
'1
Empirical results con"rm that, in general, mesh quality is improved with these modi"ed objective
functions, when compared to their original forms.
The non-dimensional objective functions are interesting because they are scale-independent and
are the lowest-order objective functions having barriers.AA Furthermore, they can be symmetrized
so that f (A)"f (A\). This means that both the local map from the logical to the physical region
and the local inverse map from the physical to the logical region are well conditioned. Begin by
de"ning the following three non-dimensional objective functions:
f (A)"a\ "A"
f (A)"a\ "A2A"
f (A)"a\ "AA2A"
Published in 2000 by John Wiley & Sons, Ltd. Int. J. Numer. Meth. Engng 2000; 48:1165}1185
FINITE ELEMENT MESH QUALITY 1175
f "f !2 fK
fK "fK !2 f
f "f !3i(A)#3
fK "fK !3i(A)#3
The condition number objective functions are related through the following identities:
Then for n"0, 1, 2, 3 one obtains the i(A2A), Symmetric Oddy, S *a new symmetric objective
function, and i(A), respectively, showing that these objective functions are all part of the same
family. Another interesting family can be obtained from the three objective functions f , f , f ,
* * *
and their respective counterparts to give three more symmetric dimensionless objective functions:
i.e. the condition number is the square root of the product of the sum of the squares of the
edge-lengths and the sum of the squares of the adjacent face areas, divided by six times the volume
of the tetrahedron de"ned by the edges. This is similar to, but not identical with, the objective
function given in Reference [19, p. 11], for a tetrahedral quality measure.
Minimizing the condition number of A would seem to be a good idea because this maximizes
the distance to the set of singular matrices [20, p. 26]. In view of this, i(A) is the "rst objective
function we know of that directly states that invalid meshes are to be avoided.BB
Because condition number is the simplest symmetric non-dimensional objective function, close
attention was paid to its performance in the empirical tests given in Section 8.
Although our main focus is on hexahedral mesh optimization, the theory presented applies
particularly well to tetrahedral elements and suggests the ideal of introducing weight matrices to
drive elements toward the proper ideal. The ideal isotropic tetrahedral element is the unit
equilateral tetrahedron. For isotropic tetrahedral elements the ideal matrix A again has D"*I.
BB
We speculate that all of the non-dimensional objective functions having barriers measure distance from the set of
singular matrices.
Published in 2000 by John Wiley & Sons, Ltd. Int. J. Numer. Meth. Engng 2000; 48:1165}1185
FINITE ELEMENT MESH QUALITY 1177
However, the columns of Q should not be orthonormal. Instead let us require Q2"R= where
R is a rotation matrix and
1 1/2 1/2
=" 0 (3/2 (3/6 (1)
0 0 (2/(3
This matrix is derived from examining the edge vectors of the ideal tetrahedron. Since
det (=)"(2/2, the ideal must have the form
A"((2a)R=
A2A"((2a)=2=
The objective functions given in the previous sections should be weighted for the tetrahedral
case in order that the tetrahedral ideal is a stationary point. If f (A) is minimized by A"A then
f (A=\) is minimized by A"A =. Thus, for example, the modi"ed length objective function
for tetrahedra reads
f (A)""A=\"!3 ((2a)
*
The matrix A=\ forms the linear transformation between the ideal tetrahedral element and the
element de"ned by the matrix A.
In this section, however, attention is mainly focused on the Jacobian condition number
objective function as it applies to tetrahedral elements. The weighted condition number objective
function for tetrahedral is
i(A=\)""A=\" "=A\"
Proposition. Let A , i"0, 1, 2, 3 be the matrix associated with node i of a tetrahedral element.
G
Then f (A =\)"C, where C is a constant independent of i and f is any of the objective functions
G
discussed in this paper.
Proof. A sketch of a proof goes like this: one can "rst show that there exists matrices M such
G
that A "A M . One can also show that there exist rotation matrices such that M =\
G G G
"=\R . Then
G
"A =\"""A M =\"""A =\R """A =\"
G G G
A similar result holds for " (A =\)\ " and for det (A =\). )
G G
Thus, for each objective function a single number can be associated with any given tetrahedron.
Adopting the de"nition of a tetrahedral-shape measure given in Reference [6], any of the
dimensionless objective functions are valid shape measures provided (i) 1/ f is used, and (ii) there is
a unique, global maximum. The latter requirement is not proven here but is likely to hold for
Published in 2000 by John Wiley & Sons, Ltd. Int. J. Numer. Meth. Engng 2000; 48:1165}1185
1178 P. M. KNUPP
most of the dimensionless objective functions. If the weight = were not included in the argument
of the objective function, the function would no longer be invariant under a change of node.
i(A) is somewhat similar to the Q tetrahedral measure reported in Reference [19, p. 11]. But
)
i(A=\) is neither identical to Q nor can it be expressed in terms of any combination of the
)
quality metrics given in Reference [21]. Thus i(A=\) is a new tetrahedral element quality
measure. To emphasize this point, tests A}D from Reference [21] were performed, to show how
the condition number quality measure varies with distortions of a tetrahedron## (see Table I).
The key feature to note in the table is that the condition number quality measure behaves
similarly to other tetrahedral quality measures.*** We suspect, but have not proved, that
i(A=\) can be shown to be an equivalent tetrahedral quality measure to Q in the sense de"ned
)
in Reference [22]. At the very least, then, the situation for using condition number as a tetrahedral
quality measure is paraphrased from Reference [20]: &since it is impossible to "ll an arbitrary
volume with equilateral tetrahedral, equivalent quality measures will perform similarly, but with
somewhat di!erent results'. The &somewhat di!erent' results will be seen in section 10 where
numerical experiments are performed to determine which objective function gives the best overall
mesh quality.
As a "nal observation, note that most of the tetrahedral quality measures given in References
[21, 6] cannot be expressed in terms of matrix norms. Three exceptions are the mean ratio g,
which is roughly (a\ "A")\, c, approximately "A"/a, and the i measure, which is roughly
(a"A\")\.
8. EMPIRICAL TESTS
The theory presented has identi"ed a number of promising objective functions, but is unable to
determine, for example, whether i(A) or i(A2A) will produce superior mesh quality. To explore
this question, computer experiments on realistic problems are needed. Many of the objective
functions considered in this paper were implemented within the CUBIT code. All of the objective
functions can be evaluated in terms of just three matrix functions, the determinant, the norm, and
the norm of the adjoint. Evaluating the gradient of an objective function entails an indirect
approach because if one attempts to write out the complete expression an unwieldy number of
##
A normalization factor of 1/3 was included in the de"nition so that the ideal element gave i"1.
***Note that i(A=\) is symmetric about the apex distance and has values close to c.
Published in 2000 by John Wiley & Sons, Ltd. Int. J. Numer. Meth. Engng 2000; 48:1165}1185
FINITE ELEMENT MESH QUALITY 1179
terms results. For example, "A" contains 9 terms which must be di!erentiated, "adj A" has 27,
while a has 6. When di!erentiated, these objects contain 9, 54, and 18 terms, respectively. i(A)
contains upwards of 324 non-di!erentiated terms in the numerator alone, if everything is
expanded fully. The di$culty may be avoided by making use of the idea of di!erentiating a scalar
function of a matrix introducted in the previous section. Let
Figure 1. Initial WW hexahedral mesh on sphere Figure 2. Initial WW hexahedral mesh on knee
geometry. geometry.
Published in 2000 by John Wiley & Sons, Ltd. Int. J. Numer. Meth. Engng 2000; 48:1165}1185
1180 P. M. KNUPP
Table II. Average quality metrics for hexahedral mesh (knee geometry).
The list was then reduced to include only those objective functions having barriers since this is
a critical requirement of any robust optimizer (see Table III). Among those having barriers there
were several which performed particularly well, so the list was further reduced. To compare
results between objective functions several quality measures were used. For hexahedral elements
these were: aspect ratio [23], skew [23], Oddy's metric [18], condition number, and minimum
Published in 2000 by John Wiley & Sons, Ltd. Int. J. Numer. Meth. Engng 2000; 48:1165}1185
FINITE ELEMENT MESH QUALITY 1181
Table III. Average quality metrics for == hexahedral mesh (sphere geometry)*barriers only.
scaled Jacobian. For tetrahedral elements, these were: gamma [21], condition number, and
minimum scaled Jacobian. Except for the minimum scaled the Jacobian, smaller numbers in the
tables indicate superior mesh quality. Results were also compared against two volume smoothers
already in CUBIT namely, Laplacian smoothing and Equipotential [24].
Although only a very limited set of tests could be performed, the following observations are
made:
(1) As expected, objective functions having barriers maintain valid meshes whereas those
without barriers did not consistently do so.
(2) All of the objective functions having barriers gave meshes notably superior to those
smoothed with CUBIT's original Laplacian and equipotential algorithms. This was espe-
cially true on the whisker-weaved meshes.
(3) The objective functions that were modi"ed to make the ideal a stationary point (like f
1
and f ) generally performed better than the original objective functions, but not always,
'1
(4) The weighted objective functions, f (A=\), consistenty improved tetrahedral mesh quality
over the unweighted objective functions, f (A), through not dramatically,
(5) It is currently rare to achieve excellent quality by optimizing the whisker-weaved meshes,
although the quality is much improved with the non-dimensional objective functions
compared to the unoptimized mesh. For example, the minimum scaled Jacobian was
typically #0.003 in the unoptimized mesh and #0.300 in the optimized mesh. Hexahedral
element swapping techniques to change mesh connectivity may be considered in the future
to further improve quality.
(6) In terms of relative e$ciency, it was found that objective functions which use the metric
tensor were noticeably slower than those which use the Jacobian matrix (see Table III). The
fastest objective function based on the metric tensor was Oddy (A).
(7) On Swept meshes, Oddy performed very well, whereas on whisker-weaved meshes it lagged
quite a few others (see Table IV).
(8) Somewhat surprisingly, quality achieved with the smoothness objective function was
noticeably less than a half dozen other objective functions also having barriers. Smoothness
was also the slowest of the objective functions based on the Jacobian matrix.
Published in 2000 by John Wiley & Sons, Ltd. Int. J. Numer. Meth. Engng 2000; 48:1165}1185
1182 P. M. KNUPP
Table IV. Average quality metrics for swept hexahedral mesh (curved geometry).
(9) Condition number of the Jacobian matrix, condition number of the metric tensor, inverse
smoothness, and Oddy (all in their weighted forms) appeared to give the best quality of all
the objective functions tried on tetrahedral meshes (see Table V). An l norm was used in
this test. These objective functions also performed well on hexahedral meshes.
This paper applied the matrix norm idea to design objective functions for "nite element volume
mesh optimization. Traditional volume objective functions such as length, volume, and smooth-
ness can be expressed in terms of matrix norms. In two dimensions, smoothness, inverse
smoothness, and condition number of the jacobian matrix are identical objective functions, while
Published in 2000 by John Wiley & Sons, Ltd. Int. J. Numer. Meth. Engng 2000; 48:1165}1185
FINITE ELEMENT MESH QUALITY 1183
in three dimensions they become three distinct objective functions because the norm of the
adjoint matrix is no longer equal to the norm of the matrix. Similarly, in two dimensions oddy
and the condition number of the metric tensor give the same objective function while in three
dimensions there are distinct.
Two fundamental matrix norm identities were presented having dimensions of length and
length. These show the relationship between a number of objective functions and how dimen-
sionally homogeneous groups of objective functions can be formed. The arbitrary constants in
these groups can be determined by introducing the matrix corresponding to the ideal mesh
element. The constants were chosen so that the ideal matrix is a stationary point of any given
objective function. For example, the power of a in the smoothness and inverse smoothness
objective functions was adjusted to make the ideal a stationary point.
Non-dimensional objective functions with barriers seem to be the most logical choice for
mesh objective functions because they are scale invariant and avoid inverted elements. Several
non-dimensional matrix norm identities were derived in terms of smoothness and inverse
smoothness to show how other non-dimensional objective functions were related to one
another. For example, the condition number of the metric tensor can be expressed in terms of
the condition number of the Jacobian matrix, smoothness, and inverse smoothness. Given the
wealth of potential non-dimensional objective functions the condition number of the Jacobian
matrix was preferred because it is the simplest of the symmetric non-dimensional objective
functions and because it is a measure of the distance of a given matrix to the set of singular
matrices.
The ideal matrix corresponding to tetrahedral elements was related to a matrix = derived from
considering the equilateral tetrahedral element. Objective functions for tetrahedral elements
expressed in terms of the matrix A=\ have the ideal matrix as a stationary point. For each such
objective function it was shown that a single number, independent of the node at which it is
computed, could be assigned to a given tetrahedral element. To illustrate, the condition number
of the Jacobian for tetrahedral elements was subjected to the distortions given in Reference [21],
the numerical results being very similar to the other tetrahedral quality measures given in that
reference.
Finally, many of the objective functions were implemented in the CUBIT code and empirically
tested using unstructured all-hexahedral whisker-weaved meshes, semi-structured swept meshes,
and an all-tetrahedral mesh. Ultimately, the list of objective functions could not be reduced to just
one objective function as several were competitive. In terms of dimension, the non-dimensional
objective functions performed best. Of these, Oddy, condition number of the metric tensor, and
others based on the metric tensor gave good mesh quality but, due to their relative slowness, are
less attractive. Probably the two best overall objective functions were condition number of the
Jacobian matrix and inverse smoothness (with a).
Although this study has clari"ed a number of issues, there remain several others that must be
addressed before the matrix norm approach can realize its full potential. E$ciency issues related
to the optimization algorithm need further consideration. In addition, barrier-based objective
functions require that one optimize beginning with a valid mesh. If this is not done, the resulting
mesh will likely contain inverted elements. Part III will consider ways to create valid meshes from
invalid meshes so that barrier-based objective functions can further improve mesh quality.
Because the objective functions in this paper are based only on interior nodes, the current
approach does not guarantee good mesh quality on the boundary of the domain. This also will be
addressed in Part III.
Published in 2000 by John Wiley & Sons, Ltd. Int. J. Numer. Meth. Engng 2000; 48:1165}1185
1184 P. M. KNUPP
*
"A""2A
*A
*
trace(A)"I
*A
*
trace (AL)"n(AL\)2
*A
*aL
"naLA\2
*A
*
"A""4 "A" A
*A
*
"A2A""4AA2A
*A
*
"O!Diag A2A""4A O!Diag (A2A)
*A
*
"adj A""2A +"A" I!A2A,
*A
*
"A\""2a\A +"A" I!A2A!a "A\" (A2A)\,
*A
*
trace (adj A)"(trace A) I!A2
*A
*
"AA2A""6AA2AA2A
*A
*
"A=2""2A=2=
*A
*
"=A""2=2=A
*A
ACKNOWLEDGEMENTS
This work was made possible through the MICS program o$ce directed by Fred Howes and managed at
Sandia Laboratories by David Womble. We would also like to thank department manager Rob Leland for
his support and CUBIT team members Scott Mitchell and Nate Folwell for providing many whisker-
weaved mesh examples.
This work was funded by the Department of Energy's Mathematics, Information and Computational
Sciences Program (SC-31) and was performed at Sandia National Laboratories. Sandia is a multiprogram
laboratory operated by Sandia Corporation, A Lockheed Martin Company, for the United States Depart-
ment of Energy under contract DE-ACO4-94AL85000.
Published in 2000 by John Wiley & Sons, Ltd. Int. J. Numer. Meth. Engng 2000; 48:1165}1185
FINITE ELEMENT MESH QUALITY 1185
REFERENCES
1. Chen CL, Szema KY, Chakravarthy SR. Optimization of unstructured grid. 33rd Aerospace Sciences Meeting, AIAA
95-0217, Reno NV, January 1995.
2. Freitag L, Jones M, Plassman P. An e$cient parallel algorithm for mesh smoothing. In Proceedings of the Fourth
International Meshing Round¹able, Sandia National Laboratories, 1995; 47}58.
3. Parthasarathy VN, Kodiyalam S. A constrained optimization approach to "nite element mesh smoothing.
Finite Elements in Analysis and Design 1991; 9:309}330.
4. Canann S, Tristano J, Staten M. An approach to combined Laplacian and optimization-based smoothing for
triangular, quadrilateral, and quad-dominant meshes. Proceedings of the 7th International Meshing Round ¹able,
Detroit, 1998; 479}494.
5. Zavattieri P. Optimization strategies in unstructured mesh generation. International Journal for Numerical Methods in
Engineering 1996; 39:2055}2071.
6. Dompierre J, Labbe P, Guibault F, Camerero R. Proposal of benchmarks for 3D unstructured tetrahedral mesh
optimization. Proceedings of the 7th International Meshing Round¹able 198, Dearborn MI, October 26}28, 1998;
459}478.
7. Folwell NT, Mitchell SA. Reliable whisker weaving via curve contraction. Proceedings of the 7th International
Meshing Round¹able, Dearborn, MI, 1998; 365}378.
8. Knupp P, Robidoux N. A framework for variational grid generation: conditioning the Jacobian matrix with matrix
norms. SIAM J. Sci. Comput. 2000, to appear.
9. Knupp P. Achieving "nite element mesh quality via optimization of the Jacobian matrix norm and associated
quantities, Part I*A framework for surface mesh optimization. International Journal for Numerical Methods in
Engineering 2000; 48:401}420.
10. Carey G. Computational Grids. Taylor & Francis: London, 1997.
11. Gill P, Murray W, Wright M. Practical Optimization. Academic Press: New York, 1981.
12. CUBIT Mesh Generation Environment. SAND94-1100, Sandia National Laboratories, Albuquerque, NM 87185.
13. Liao G. Variational approach to grid generation. Numerical PDE1s 1992; 8:143}147.
14. Castillo J. A discrete variational method. SIAM Journal on Scienti,c and Statistical Computing 1991; 12(2):454}468.
15. Jacquotte OP, Cabello J. A variational method for the optimization and adaptation of grids in computational #uid
dynamics. In Numerical Grid Generation in Computational Fluid Mechanics 188, Sengupta S et al. (eds). PineRidge
Press: Swansea UK, 1988; 405}413.
16. Brackbill J, Saltzman J. Adaptive zoning for singular problems in two dimensions. Journal of Computational Physics
1982; 46:342}368.
17. Tinoco JG, Barrera P. Smooth and convex grid generation over general plane regions. Mathematics and Computers in
Simulation. Elsevier: Amsterdam, 1998.
18. Oddy A, Goldak J, McDill M, Bibby M. A distortion metric for isoparametric "nite elements. ¹ransactions of CSME,
No. 38-CSME-32, Accession No. 2161, 1988.
19. George PL, Borouchaki H. Delaunay ¹riangulation and Meshing. Hermes: Paris, 1998.
20. Golub G, Van Loan C. Matrix Computations. Johns Hopkins University Press: Baltimore, MD, 1983.
21. Parthasarathy VN, Graichen CM, Hathaway AF. A comparison of tetrahedron quality measures. Finite Elements in
Analysis and Design 1993; 15:255}261.
22. Liu A, Joe B. Relationship between tetrahedron quality measures. Bit 1994; 34:268}287.
23. Robinson J. CRE method of element testing and the Jacobian shape parameters. Engineering Computations 1987;
4:113}118.
24. Tipton RE. Grid optimization by equipotential relaxation. Unpublished, Lawrence Livermore National Laboratory,
1990.
Published in 2000 by John Wiley & Sons, Ltd. Int. J. Numer. Meth. Engng 2000; 48:1165}1185