1. Introduction
There has been strong interest in using polygonal and polyhedral meshes when solving certain types of problems via the finite element method. For just a few examples, we note problems in solid mechanics [
1,
2], elasticity [
3,
4], fracture mechanics [
5,
6,
7], thin plates [
8], shells [
9], porous media [
10], topology optimization [
11,
12,
13], and finding eigenvalues [
14]. In fact, polygonal meshes are an important motivation for the development and use of methods beyond the classic finite element method, which include, for example, the discontinuous Galerkin methods (including weak Galerkin [
15] and ultra-weak methods [
16,
17,
18]), mimetic methods [
19,
20,
21], and virtual element methods [
22,
23,
24,
25].
Classic conforming finite element methods have also been developed for use on polygonal meshes, and especially for quadrilateral meshes. Approaches taken include the use of maps from reference finite elements [
26,
27,
28], restriction to low order elements [
29,
30,
31,
32], the use of macro-elements [
33], basis function enrichment [
34,
35,
36], and construction using barycentric coordinates [
9,
37,
38,
39]. Ideally, we would have families of conforming finite elements defined for any order of accuracy. These would possess a minimal number of degrees of freedom (DoFs) subject to conformity and accuracy constraints. Finite elements based on the use of non-affine maps from reference finite elements display degraded accuracy. Accuracy is restricted if only low order elements are defined. Macro-elements, basis function enrichment, and the use of barycentric coordinates in higher order cases results in finite elements with an excess number of DoFs.
Families of conforming finite elements defined on polygons that maintain both accuracy and a minimal number of DoFs have appeared recently [
40,
41,
42,
43] (as well as some finite elements in three dimensions [
44,
45,
46]). The approach taken is to begin with the space of polynomials
of degree up to
r defined
directly on the physical element
E to achieve accuracy of order
. To achieve conformity, one then adds in a space of supplemental functions. A basis for the supplemental functions must have certain properties on
, but they must be defined over all of
E by
filling in the interior. The “supplemental function space” is sometimes called the “filling space”.
In this paper, we discuss the construction of the supplemental functions, in the context of the finite elements developed by the current authors in [
43], which are called
direct finite elements. Let the element
be a closed, nondegenerate, convex polygon with
edges. The direct serendipity finite elements of index
are
-conforming and take the form
where
is the space of supplemental functions. The direct mixed finite elements are
-conforming and take two forms,
for full (
) and reduced (
)
-approximation, respectively, where
are the homogeneous polynomials of (exact) degree
r. These two finite elements are related to each other by the finite element exterior calculus [
47] through the de Rham complex
resulting in, for
,
The consequence is that
and, therefore,
The original construction of supplemental functions made use of rational functions (see (
21)), which are difficult to numerically integrate accurately. As a consequence, when solving a partial differential equation using direct finite elements, the quadrature error may be significant, leading to poor overall approximation of the solution. This was observed in [
43], although in that paper, the degradation in the approximation was attributed to poor mesh quality. While mesh quality remains an important ingredient in finite element analysis, quadrature approximation is also a critical component, especially for high order methods.
In this work, we introduce two constructions of the supplemental functions
which involve using continuous piecewise polynomials. Such constructions are motivated by the work of Kuznetsov and Repin [
33], and suggested by the work of Cockburn and Fu [
41]. These new supplemental functions can then be accurately integrated by quadrature rules. (A similar, but more complex, construction in three dimensions for cuboidal hexahedra is discussed in [
46]).
In the next two sections we present some basic notation and review the general definition of the original direct serendipity and direct mixed finite elements, which have supplemental functions that are
-smooth. Our new families of direct finite elements based on piecewise continuous supplemental functions are given in
Section 4. We give two constructions of the supplemental functions, so that one set lies in
and the other in
for any integer
. The approximation properties of these new direct finite elements are given in
Section 5. The results are optimal, up to the bounding constant. The proof follows that given in [
43], and we concentrate on the modifications that are required to handle the new supplements. In
Section 6, we present numerical tests that compare the errors and convergence rates of the new and original direct finite elements. We conclude the paper in
Section 7.
2. Notation
We choose to identify the edges and vertices of
adjacently in the counterclockwise direction, as depicted in
Figure 1 (throughout the paper, we interpret indices modulo
N). Let the edges of
be denoted
,
, and the vertices be
. Let
denote the unit outer normal to edge
, and let
denote the unit tangent vector of
oriented in the counterclockwise direction, for
.
For any two distinct points
and
, let
be the line passing through
and
, and take
to be the unit vector normal to this line interpreted as going from
to
and then spinning 90 degrees in the clockwise direction (i.e., pointing to the right). Then we define a linear polynomial giving the signed distance of
to
as
To simplify the notation for linear functions that will be used throughout the paper, let
be the line containing edge
and let
give the distance of
to edge
opposite the normal direction, i.e.,
These functions are strictly positive in the interior of
, and
vanishes on the edge
.
3. Direct Serendipity and Mixed Finite Elements
The general development of direct serendipity and mixed finite elements is given in [
43]. The definition of the supplemental space
in (
1) is key to the construction. For completeness, we review the definitions of these direct finite elements here.
When
(triangles), the direct serendipity supplemental space
is empty. When
and
, the direct serendipity spaces
are defined as subspaces of
by the rule
Therefore, we only need to understand
for
and
.
To define the supplemental basis functions, two series of choices must be made for each
such that
and
(i.e.,
and
are nonadjacent edges). First, as shown in
Figure 2, one must choose two distinct points
and
that avoid the intersection point
, if it exists. Then let
be the linear function associated to the line
. Second,
must be chosen to satisfy
The supplemental space for
is of the form
3.1. Direct Serendipity Finite Elements
Every shape function of the direct serendipity finite element
is a sum of a polynomial and a linear combination of the supplemental functions, as in (
1). To implement them, one must define the DoFs. For example, for
, one can take
where
is the one dimensional surface measure. Alternatively, one can use nodal DoFs (i.e., evaluation at a node point) in place of (15) and/or (16). For the former, on each edge
, its corresponding edge nodes are
points such that they, along with the two vertices, are equally distributed on
. For the latter, the interior cell nodes can be set to be the Lagrange nodes of order
of a triangle that lies strictly inside
.
The basis of corresponding to the DoFs can be constructed. Given a computational mesh of convex polygons over a domain , the basis can be simply pieced together to form a global -conforming basis of the space .
3.2. Direct Mixed Finite Elements
As discussed in the introduction, full,
, and reduced,
,
-approximating mixed finite element spaces follow from a de Rham complex (
3), where the direct serendipity finite elements serve as the precursor (
4). The supplemental space is related to
by the simple Formula (
6).
The DoFs for these spaces (with
or
) can be taken to be
where the
and
bubble functions, for
, are
Given the mesh
over
, one constructs the basis and the
-conforming global space
(see [
43] for details). As an alternative, when solving partial differential equations, one can use the hybrid form of the method [
48], which does not require the construction of global basis functions.
4. Piecewise Continuous Supplements
In [
43],
satisfying (
11) on
, for
,
, was taken to be the simple rational function
These rational functions are smooth over the element. We now give new direct serendipity and mixed finite elements by providing an alternate construction of
as a piecewise continuous polynomial defined over a sub-partition of
. We present two strategies, the first of which is convenient for the construction of continuous supplemental functions in
, and the second for constructing smoother supplemental functions in
for integer
.
4.1. Supplemental Functions in
Our first strategy for constructing
requires a sub-triangulation of the element
, and we present two natural choices. The first sub-triangulation is depicted in
Figure 3 and denoted as
. One picks a vertex
and divides
into
sub-triangles. The sub-triangles are
with vertices
,
, and
, where
. For the second sub-triangulation, depicted in
Figure 4 and denoted as
, one picks a point
in the interior of
and divides it into
N sub-triangles. Now the sub-triangles are
with vertices
,
, and
, where
. We use the centroid of the element for
.
Let the piecewise polynomial function space of degree
s corresponding to each sub-triangulation be
We construct
in
or
, depending on which of the two sub-triangulations is used, such that
by using interpolation at the vertices of the sub-triangles. If the sub-triangulation is chosen to be
, the restrictions (
24) uniquely specify all the vertex values. However, if the triangulation is
, the center value is not determined, so we assign
.
Our construction has
being
on
and 1 on
as required by (
11). Moreover,
. After constructing the supplemental functions in (13) with this
, each
is in
or
, and therefore also in
.
4.2. Supplemental Functions in
We now present the second of our two strategies for constructing
for two nonadjacent edges
and
. Recall that
is the linear polynomial giving the (signed) distance to the line
extending edge
. When
and
are parallel, we simply define
as the linear polynomial
When
and
are not parallel, we first define a sub-partition of
by adding a single extra line
through a point
as depicted in
Figure 5. The point
is chosen so that it is closer to
than the endpoints of
, i.e.,
The line
passes through
and is parallel to
. This line divides
into
near
and
near
, i.e.,
Let
be the unit normal vector of
pointing into
, and let
be a unit tangent vector.
We next construct the function
, which is 1 on edge
and 0 on edge
. It is defined piecewise on the sub-partition of
as
where
is an integer. The function is continuous, since
on
implies that
in either case of the definition. Moreover, in the tangential direction,
and, in the normal direction,
which is continuous for
, so
. By iterating the argument, we have that
and so also in
for
. If
,
is continuous, so it is in
.
Finally, after constructing both
and
, we define
which is
on
, 1 on
. Moreover,
. The supplemental functions in (13) constructed with this
lie in
.
We end this section with two specific examples, using the sub-partitions shown in
Figure 6, which divide
by
N lines. The first example has a sub-partition based on the midpoints
of the edges
,
, and gives rise to the spaces denoted
and
. We compute the minimal distance of the midpoints to the edges, i.e.,
Then for any two non parallel and nonadjacent edges
and
, simply take the partition line
to be the line parallel to
that is the fixed distance
away and intersects
.
The second specific example uses a sub-partition based on trisecting each edge, resulting in the points, for edge , being denoted counterclockwise as for , . In this case, we simply take to be the closest of these points to , omitting and . We denote the resulting spaces and .
5. Approximation Properties
We discuss now the global approximation properties for our direct finite element spaces. The results of [
43] do not directly apply here because there it was assumed that the functions
are smooth on the element. Consider a collection of meshes
of convex polygons partitioning a domain
, where
is the maximal element diameter.
We need to make the usual assumption that our collection of meshes is uniformly shape regular [
49] (pp. 104–105). For any
, let
be its diameter. Denote by
,
, the sub-triangle of
with vertices being three of the
N vertices of
, and define
The
shape regularity parameter of the single mesh
is
Assumption 1. The collection of meshes is uniformly shape regular.
That is, the shape regularity parameters are bounded below by a positive constant: there exists , independent of and , such that the ratio We also require some mild restrictions on the construction of .
Assumption 2. For every , assume that the functions of are constructed using such that the zero set intersects and . Moreover, suppose that for some and that the sub-partitions introduced in Section 4 for their construction depend continuously on the vertices of . The continuous dependence requirement of the sub-partitions is met if we systematically choose the points
in
Section 4.1 (say as the centroid) and
satisfying (
26) in
Section 4.2 (say be taking
as the closer endpoint of
to
, or so that
).
We state first the approximation result for .
Theorem 1. Let , , and (or if ). If Assumptions 1 and 2 hold (so the basis functions are in on each element), then there exists a constant , such that for all functions , Proof. The methodology of the proof follows [
42,
43]. The key difference is that we must relax the smoothness requirement made on the supplemental functions. We highlight the differences, and leave the reader to consult [
42,
43] for some of the details.
Given a mesh
, we construct an interpolation operator
as a generalization of that defined in [
50]. To do so, we use a nodal set of DoFs for the finite elements, and identify global nodal points
,
. These nodal points must be chosen systematically with respect to the vertices of the mesh, so they depend continuously on them. The global nodal basis function for
is denoted
.
A geometry object
is associated to each
. If
lies in the interior of some element, we choose the element to be
. Otherwise, we choose an edge containing
to be
, where we additionally ask that
if
. We use these to define the dual basis
with respect to
,
. The corresponding interpolation operator
is then
There are two essential steps towards showing the approximation property. First, the nodal basis functions are bounded,
and, second, the dual basis functions are bounded up to a scaling factor,
We show the necessary boundedness by mapping the elements and using a continuity and compactness argument.
As depicted in
Figure 7, to each element
, we associate a regular polygon (equilateral and equiangular)
. We can then define a map
as a composition of a map that changes the geometry but not the size to
, and then a scaling map (see [
43] for precise details).
Define the nodal basis functions
on
. It is enough to show the boundedness of their
norms. Although they are no longer smooth functions, compared to [
42,
43], they are continuous on
, and smooth on all the subregions generated by the sub-partition. Moreover, by assumption the sub-partition is required to depend continuously on the vertices of
. Therefore,
will still depend continuously on
and the vertices of
, which vary in a compact set. We conclude that the nodal basis functions are bounded in
norm. The boundedness of
in the
norm can be shown in a similar way. □
For the mixed finite elements, we have the following result, wherein we see projection operators , , where , and , the -orthogonal projection operator onto .
Theorem 2. Let or , . If Assumptions 1 and 2 hold, then there is a constant , such thatwhere and for reduced and full -approximation, respectively. Moreover, the discrete inf-sup conditionholds for some independent of . For the proof, we define the projection operator
by piecing together local operators
that are defined in terms of the DoFs (17)–(19). The approximation properties given in [
42,
43] hold with a similar proof, using now that the subregions generated by the sub-partition depend continuously on the vertices of the element.
6. Numerical Results
We present numerical experiments for our new finite elements as applied to Poisson’s equation
where
. The corresponding weak form finds
such that
where
is the
inner product. Setting
we have the mixed weak form, which finds
and
such that
These weak forms naturally give rise to finite element approximations. According to Theorems 1 and 2, the following convergence analysis holds by a standard argument [
27,
51].
Theorem 3. If Assumptions 1 and 2 hold, then there exists a constant , independent of and , such that for ,where approximates (47). Moreover, with or , ,where approximates (49) and (50). We perform our tests on a unit square domain
, and take the source term
, so the exact solution is
. We consider five types of supplemental spaces. The original direct serendipity and mixed finite element spaces will be denoted
and
, respectively. These use supplements based on the rational functions (
21).
For the
supplemental functions introduced in
Section 4.1, there are two varieties. Denote the space using supplemental functions that are constructed based on the vertex sub-triangulation as
and its corresponding mixed spaces as
, and those based on the center point sub-triangulation as
and
, respectively. The spaces based on the
supplements were described in
Section 4.2 and denoted
and
.
6.1. The Meshes Used
Approximate solutions are computed on a sequence of Voronoi meshes
generated by the package PolyMesher [
52]. Each mesh has
elements, which are generated with
random initial seeds and up to
smoothing iterations to improve the shape regularity.
For comparison to the results appearing in [
43], we use the same mesh sequence
with
, 10, 14, 18, and 22. We show the meshes for
and
in
Figure 8. The shape regularity parameters are given in
Table 1. Note that the
and
meshes are the least regular.
In [
43] it was observed numerically that the
mesh performed well for the original direct finite elements (using rational supplemental functions) when
, but had a degraded convergence rate when
. The problem was resolved by removing short edges from the
mesh. However, as we will see in this section, the problem is actually due to inaccurate numerical quadrature of the rational supplemental functions, which only showed up in those tests for the more refined mesh (i.e., not
) and higher values of
r.
6.2. Results for Direct Serendipity Spaces
We present and compare the results of the numerical tests performed for
,
,
,
, and
, where
. We take
in
Section 4.2 for the construction of
and
, because it gives better results than a larger
p in most cases. According to Theorem 3, we expect all those spaces to have the convergence rates
for
errors and
r for
-seminorm errors. As
Table 2 and
Table 3 suggests, the convergence rates at
for
are all slightly better than optimal in this test. However, we can observe a slower convergence rate at
for
. (We interject that convergence rates are computed as improvement from the previous mesh in our sequence.)
In
Table 4, we compare the results for the
mesh of
,
,
,
, and
. On the one hand, the results suggest that the new spaces are all approximately optimal for
, which is an obvious improvement compared to
. On the other hand, the errors for
of the new spaces are slightly worse than those of
, and among all the new spaces,
has the best performance in error. We conclude that
shows the best overall performance among all the spaces considered.
We suggest that the reason for such an observation is that the dominant errors for
are from the numerical quadrature applied to the integration of rational functions, especially on the elements that are less shape regular. However, for
, the new supplements, as piecewise polynomials, cannot approximate the shape of a smooth function as well as the original rational supplements, especially those from
and
, of which
for
are flat in the middle and oscillate near the boundary. In contrast, the supplements from
and
are more reasonably shaped, and those from
are better since its partition has sub-triangles that are more shape regular (as was shown in
Figure 3 and
Figure 4). This argument is also supported by the observation that the results are usually worse if we take larger
p for
and
, where the shape of the supplements are even worse.
6.3. Results for Direct Mixed Spaces
We perform numerical tests for
,
,
,
,
, for the full
-approximation spaces where
and the reduced
-approximation spaces where
, and
. Since those mixed spaces are constructed from corresponding direct serendipity spaces
, it is natural that we find the comparison of the results similar to the small
r cases discussed in
Section 6.2. For all the spaces, we can observe the convergence rates approximately optimal in general but the errors are slightly worse for
, especially when
, as shown in
Table 5 and
Table 6. All spaces perform similarly well, although
usually performs best in these tests. Among the new spaces,
performs a bit better, and it gives results close to those of
. For reference, we provide the numerical results for
in
Table 7 and
Table 8.
7. Conclusions
We reviewed the construction of direct serendipity and mixed finite elements on non-degenerate, planar convex polygons. The direct serendipity finite element spaces are of the form
The full and reduced
-approximation mixed finite element spaces are obtained from a de Rham complex, where the direct serendipity finite elements serve as a precursor. The mixed spaces are of the form
where
We presented two approaches to construct the supplemental functions in as piecewise polynomials. The first approach divides a polygonal element into sub-triangles, and constructs the supplements as continuous piecewise polynomials that lie in . The second approach has a more complicated subdivision of that needs to be treated carefully. However, it provides a framework for constructing supplements that lie in for any .
The approximation properties of the new finite elements were proved under the regularity assumption of the mesh sequences and some mild restrictions on the construction.
We performed numerical tests on a randomly generated mesh sequence and compared results for five different ways of constructing the supplemental functions, including the original construction using smooth but rational functions. The comparison suggested that it is better to use the piecewise polynomial supplements rather than the rational supplements for higher order r. Although the rational supplements are smooth and so tend to approximate better, noticeable errors could be seen due to inaccurate numerical integration, especially on meshes with short edges. Among the new spaces, it was found that the spaces with supplements based on the center point sub-triangulation (23) performed best.