Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2012 Oct 1.
Published in final edited form as: Comput Aided Des. 2011 Oct 1;43(10):1213–1221. doi: 10.1016/j.cad.2011.06.017

Dual Formulations of Mixed Finite Element Methods with Applications

Andrew Gillette a, Chandrajit Bajaj b
PMCID: PMC3185384  NIHMSID: NIHMS310570  PMID: 21984841

Abstract

Mixed finite element methods solve a PDE using two or more variables. The theory of Discrete Exterior Calculus explains why the degrees of freedom associated to the different variables should be stored on both primal and dual domain meshes with a discrete Hodge star used to transfer information between the meshes. We show through analysis and examples that the choice of discrete Hodge star is essential to the numerical stability of the method. Additionally, we define interpolation functions and discrete Hodge stars on dual meshes which can be used to create previously unconsidered mixed methods. Examples from magnetostatics and Darcy flow are examined in detail.

Keywords: Discrete exterior calculus, Finite element method, Partial differential equations, Whitney forms, Hodge star

1. Introduction

The theory of Discrete Exterior Calculus (DEC) has provided a novel viewpoint for analyzing linear systems derived from finite element theory. We highlight three important conclusions of this theory:

  1. Variables in a PDE should be discretized as degree of freedom arrays (“cochains”) over a primal simplicial mesh or its dual mesh.

  2. A discrete Hodge star is used to transfer information between primal and dual meshes.

  3. Whitney elements provide stable finite elements for the primal mesh.

Most numerical methods for PDEs over unstructured tetrahedral meshes discretize variables as cochains over the primal mesh and build up linear systems from there. In this paper, we look at the alternative approach of discretizing variables over the dual mesh and design dual formulations of the linear systems based on DEC theory. This approach is especially valuable in the context of mixed finite element systems as they employ all the key ingredients of DEC theory: both primal and dual cochains, a discrete Hodge star, and, typically, Whitney elements.

Before turning to mixed systems, however, we look at a simpler example from electromagnetics illustrating the relevance and benefit of our technique. The example is inspired by He and Teixeira [17]. Using a Discrete Exterior Calculus analysis of Maxwell's equations, one can derive a second order vector wave equation

D1TM2D1E=ω2M1E, (1)

where e is the electric field intensity, discretized as a cochain on the primal mesh, ω is a coefficient, Inline graphic1 is a rectangular incidence matrix having entries of 0 and ±1 only, and Inline graphick is a discrete Hodge star operator.

The dual formulation of this physical phenomenon is an equation for the magnetic field intensity , discretized as a cochain on the dual mesh:

D1M11D1TH¯=ω2M21H¯. (2)

Both systems (1) and (2) are computationally tractable if Inline graphick is a diagonal matrix which, by DEC theory, can be achieved when the primal and dual meshes are orthogonal. If orthogonality is not guaranteed, as is the case with barycentric dual meshes, Inline graphick is defined using Whitney elements and results in a sparse matrix. As a consequence, system (2) then involves possibly full rank matrices and is thus significantly more computationally expensive to solve. He and Teixeira [17] reduce the rank of the Mk1 matrices by using a topological thresholding technique which requires an input parameter.

Our approach skirts the problem of full rank inverses by introducing a novel definition of the Mk1 matrices free of parameters and guaranteed to produce a sparse matrix. The outline of the paper and summary of its contributions are as follows:

  • In Section 2, we briefly discuss prior work and fix relevant notation.

  • In Section 3, we use the Sibson coordinate functions to construct dual Whitney-like functions which define a novel sparse inverse discrete Hodge star (MkDual)1. We show how the choice of discrete Hodge star requires certain geometric quality conditions of the primal and dual mesh elements. A specific example is given showing how our dual formulation of the problem can result in a better conditioned linear system than the primal formulations.

  • In Section 4, we examine how our methodology applies to generic PDE problems as well as to some specific applications employing mixed finite element methods. We cast each into our common notational framework and show how to formulate equivalent dual formulations of the problem from a DEC-based analysis. The specific advantages of these dual formulations are analyzed, including an ability to compare and contrast calculations on a primal mesh with the analogous calculations on the dual mesh.

2. Prior Work and Notation

Our work is inspired primarily by the emergent theory of Discrete Exterior Calculus (DEC). DEC is an attempt to create from scratch a discrete theory of differential geometry and topology whose definitions and theorems mimic their continuous counterparts [19, 9]. A central conclusion of the theory is that degrees of freedom for finite elements should be assigned to mesh vertices, edges, faces or interiors according to the dimensionality of the variable being modeled. If these degrees of freedom have a natural geometric duality, as occurs for example between electric and magnetic fields, two meshes of the domain are necessary - a primal and dual mesh [18]. This has given rise to DEC-based methods for solving problems of Darcy flow [20], electromagnetism [17] and elasticity [29], among others. As we will show, the ‘bottom-up’ approach of DEC clearly suggests alternative discretization methods less evident from such ‘top-down’ theories as finite element exterior calculus [2].

The main notational aspects of DEC are encapsulated by Figures 1 and 2. Figure 1 shows our notation for domain elements, i.e. primal k-simplices σk and their geometric dual nk-cells ⋆σnk where n is the dimension of the domain. The dual domain mesh is defined by taking the circumcenters or barycenters of n-simplices and connecting them based on simplex adjacency in the usual manner. The measure of σk (respectively ⋆σnk) is denoted |σk| (respectively |⋆σnk|), meaning length for k = 1, area for k = 2, and volume for k = 3, with the convention that |σ0| = |⋆σn| = 1.

Figure 1.

Figure 1

Primal simplices are shown in black in the top row: σ0 is a vertex, σ1 is an edge, and σ2 is a face. Their corresponding dual cells for n = 2 are shown in red on bottom: ⋆σ2 is the barycenter of σ2, ⋆σ1 is an edge between barycenters, and ⋆σ0 is a planar polygon with barycenters as vertices. In three dimensions (n = 3), primal vertices have dual polytopes, primal edges have dual polygonal facets, primal faces have dual edges, and primal volumes have dual vertices.

Figure 2.

Figure 2

The combined DEC and deRham diagram for a contractible domain in ℝ3. The top row shows the L2 deRham diagram with continuous Hodge star maps between function spaces. The middle and bottom rows show primal and dual cochain spaces, respectively, along with the discrete exterior derivative and discrete Hodge star maps. The Inline graphic and Inline graphic maps are interpolation (Whitney) and projection (deRham) maps.

Figure 2 shows the various continuous and discrete spaces relevant to DEC theory for n = 3 and the operators between them. The vector space of k-cochains, i.e. linear mappings from k-simplices to ℝ, is denoted Inline graphic¯k. The vector space of dual k-cochains, i.e. linear mappings from k-cells of the dual mesh to ℝ, is denoted Inline graphick. The Inline graphick matrix is the transpose of the (k+1)st boundary operator, i.e. it encodes element adjacency and orientation information with entries ±1.

The interpolation map Inline graphick converts a k-cochain into a piecewise-defined k-form whose global continuity in a distributional sense is indicated by Figure 2 (e.g. Inline graphic1wH(curl)). Define Inline graphick by

k(w)σkCkw(σk)Wσk. (3)

where Inline graphicσk is the Whitney function associated to simplex σk. These functions are described in Appendix A. The Whitney functions were first described in [27] and later recognized by Bossavit [6] and others as the correct generalization of edge and face elements needed for DEC theory. An extensive treatment of all of these spaces, functions, and operators is given in [14].

We now discuss the Hodge star * and its discretization as a square matrix Inline graphic or Inline graphic−1. As shown in Figure 2, the continuous Hodge star * maps between forms of complementary and orthogonal dimensions, i.e. * : Λk → Λnk. For domains in ℝ3 as considered here, * is defined by the equations

1=dxdydz,dx=dydz,dy=dxdz,dz=dxdy,=1.

For a more general definition of *, see [1].

A discrete Hodge star Inline graphic maps not only between cochains of complementary dimensions but also between primal and dual meshes [18]. In this paper, we focus on the two definitions of a discrete Hodge star most relevant to DEC theory. The first is the diagonal discrete Hodge star defined by

(MkDiag)ij|σik||σik|δij. (4)

The definition of MkDiag fits nicely into DEC theory when the dual mesh is defined by taking circumcenters of the primal simplices, thus producing orthogonal meshes [9]. In practice, however, it is often desirable to use barycenters to define the dual mesh as this guarantees that σk will intersect ⋆σk in the ambient space. A correction factor for this change is given by Auchmann and Kurz [3].

The more widely used approach for barycentric dual meshes employs Whitney interpolants in the definition of the discrete Hodge star:

(MkW hit)ij(Wσik,Wσjk)=KWσlkWσjk (5)

The inner product here is the standard integration of scalar or vector valued functions over the domain. Dodziuk [11] originally proposed the definition of MkW hit but it has been called the Galerkin Hodge [7] for its relation to finite element methods. Bell [5] has implemented linear solvers in a DEC context using MkW hit for various k.

Many other discrete Hodge stars appear in the literature, including the combinatorial discrete Hodge star of Wardetzsky and Wilson [25, 28] and the metrized chain Hodge star of DiCarlo et al. [10]. To our knowledge, no authors have defined a discrete Hodge star using dual interpolatory functions as we propose in this work.

3. Dual Whitney Interpolants and Dual Discrete Hodge Stars

It is evident from the DEC-deRham diagram in Figure 2 that the direct interpolation of degrees of freedom on a dual mesh is not available in the common theory. Further, we have seen from the discussion in Section 2 that the definition of (Mk)−1 has only been implied from definitions of Inline graphick. In this section, we define a set of interpolation functions Inline graphic analogous to the Whitney functions and use them to provide an explicit definition of a dual discrete Hodge star.

Define the dual Whitney interpolant of a dual k-cochain Inline graphick to be

¯k(w¯)σnkC¯kw¯(σnk)W¯σnk (6)

where Inline graphicσnk is a dual Whitney function associated to the k-cell ⋆σnk in the dual mesh. These functions are defined using a generalization of barycentric coordinates known as Sibson functions [22], also called the natural neighbor or natural element coordinates [23]. Figure 3 summarizes the definition.

Figure 3.

Figure 3

Geometric calculation of a Sibson coordinate. Ci is the area of the Voronoi region associated to vertex vi inside Inline graphic. D(x) is the area of the Voronoi region associated to x if it is added to the vertex list. The quantity D(x) ∩ Ci is exactly D(x) if x = vi and decays to zero as x moves away from vi, with value identically zero at all vertices besides vi. The bottom right figure shows how the level sets of the Sibson coordinate associated to vi sit inside a single polygon. More figures can be found in Milbradt and Pick [21]

Definition 1

Let x be a point inside a polyhedral cell Inline graphic of the dual mesh. Let P denote the set of vertices {vi} and define

P=P{x}={v1,,vN,x}.

Denote the Voronoi cell associated to a point p in a pointset Q by

VQ(p){yT:|yp|<|yq|,qQ\{p}}.

Note that these Voronoi cells have been restricted to Inline graphic and are thus always of finite size. Fix the notation

Ci |VP(vi)| = |{yInline graphic : |yvi| < |yvj|, ∀ji}|
= area of cell for vi in Voronoi diagram on the points of P,
D(x) |VP(x)| = |{yInline graphic : |yx| < |yvi|, ∀i}|
= area of cell for x in Voronoi diagram on the points of P′.

By a slight abuse of notation, define

D(x)Ci|VP(x)VP(vi)|.

The notation is shown in Figure 3. The Sibson coordinates are defined to be

λ¯i(x)D(x)CiD(x)or,equivalently,λ¯i(x)D(x)Cij=1NDj(x)Cj.

Milbradt and Pick [21] modify the definition of the Sibson functions for polytopes so that the coordinates of a point on an edge or facet of the polytope are dependent only on the Sibson functions associated to the boundary vertices of that edge or facet. This ensures C0 continuity of the functions across adjacent mesh elements.

Moreover, it has been shown that the Sibson functions are C on the polygon except at the vertices vi where they are C0 and on circumcircles of Delaunay triangles where they are C1 [22, 12]. Since the finite set of vertices are the only points at which the function is not C1, we conclude that λ̄iH1(K) where K is the domain mesh. This is the typical continuity required for finite element applications with nodal interpolation functions and makes them fit for use in the dual Whitney functions we define next.

Definition 2

The dual Whitney function Inline graphicσ3−k associated to the k-dimensional element ⋆σ3−k in a 3D dual mesh is defined as follows.

  • Dual Vertices. The function associated to a dual vertex ⋆σ3i is the Sibson coordinate for the vertex, i.e.
    W¯σ3λ¯i
  • Dual Edges. The function associated to an oriented dual edge ⋆σ2 ≔ [i, j] is the vector-valued function
    W¯σ2λ¯iλ¯jλ¯jλ¯i

    An example is shown in Figure 4.

  • Dual Faces. Consider a dual face ⋆σ1 with m vertices {0, …, m−1}. Partition the face canonically into triangles by adding a vertex at the centroid of the face vertices and adding the edges [, i]. Define 2-simplices τi ≔ [, i, i+1], indices taken mod m. Define 3-simplices by connecting the τi to the endpoint of σ1 inside the polyhedron. Define
    W¯σ1i=0m1|τi||σ1|Wτiχτi,
    where χτi is the characteristic function on τi (1 on τi, 0 otherwise) and
    Wτi2(λc¯λi×λi+1λiλc¯×λi+1+λi+1λc¯×λi).

    Note that Inline graphicτi is the Whitney 2-form associated to face τi of a tetrahedron (see (A.2) in Appendix A) and that these tetrahedra partition the entire polyhedra. An example is shown in Figure 5.

  • Dual Cells. The scalar-valued function associated to a dual cell ⋆σ0 is a constant function on the cell:
    W¯σ0χσ0={1/|σ0|onσ00otherwise
Figure 4.

Figure 4

The dual Whitney function associated to the lower right edge of a pentagon is shown on the left. The magnified portion shows the vector field in the neighborhood of this edge. The gradients were approximated in Matlab using a simple 2-point difference rule on a regular grid laid over the pentagon.

Figure 5.

Figure 5

Sample computation of a dual Whitney function associated to a dual face ⋆σ1 with vertices i. By adding the centroid , we have a canonical decomposition of ⋆σ1 into triangles τi. A weighted sum of the primal Whitney function associated with each τi is constructed to define the function for the face. As shown on the right, each τi, e.g. the shaded triangle, forms a tetrahedron by connecting its vertices to the vertex of σ1 interior to the polyhedron. Note that in general need not be the same as σ1 ∩ ⋆σ1.

Since the dual Whitney functions use a generalization of barycentric coordinates, it can be shown that they have the standard continuity across faces, e.g. tangential continuity for Inline graphicσ2 and normal continuity for Inline graphicσ1. This means the image of Inline graphic0 is in H1, the image of Inline graphic1 is in H(curl), and so forth (see Figure 2). A proof of this and other properties of Inline graphick appears in [14]. We are also developing a higher order version of these operators [15].

Using dual Whitney functions, we define a novel dual discrete Hodge star by

((MkDual)1)ij(W¯σik,W¯σjk). (7)

The inner product here is the standard integration of scalar or vector valued functions over the dual domain ⋆K. For instance, in the case k = 3, the definition yields

((M3Dual)1)ij(W¯σi3,W¯σj3)=Kλ¯iλ¯j.

The formulation for other k values will similarly involve integrals of the λ̄i functions.

Lemma 1

(MkDual)1 is sparse.

Proof

Observe that Inline graphicσk has localized support by construction. Entry ij of (MkDual)1 will be non-zero only if σik and σjk are adjacent. Thus each row of the matrix will have at most as many non-zero entries as σik has adjacent nk cells, meaning the matrix is sparse.

Lemma 1 does not hold if MkDual is replaced by MkW hit as these sparse matrices typically have dense inverses. Note that (MkDiag)1 is trivially sparse since it is diagonal, however, it can only be employed when the meshes are orthogonal.

3.1. Local Structure of Discrete Hodge Stars

The continuous Hodge star * is a local operator meaning its effect on a differential form evaluated at a particular point on a manifold depends only on the geometry of a local neighborhood of the point. The discrete Hodge star is thus required to be a local operator as well meaning the evaluation of Inline graphick on a basis cochain wik (1 on σik and 0 otherwise) should involve values on only a few simplices adjacent to σik. In the language of matrix theory, this requirement says Inline graphick should be sparse.

We now give a more specific characterization of the sparsity structure of MkW hit and (MkDual)1. The intuition for these results is demonstrated by Figure 6

Figure 6.

Figure 6

The various discrete Hodge stars depend on different aspects of mesh geometry as shown in this 2D examples. The diagonal Hodge star (left) computes ratios of sizes of primal-dual element pairs. The Whitney Hodge star (middle) has entries of Whitney functions integrated against each other. The support of a particular Wσi1 function is shown in grey; the integral of its projection to the bold edge has value 1. The Dual Hodge star (right) that we propose has entries of dual Whitney functions integrated against each other. The support of a particular W¯σi1 is shown in blue; the integral of its projection to the bold dual edge has value 1.

Lemma 2

Entry ij in MkW hit is non-zero only if there exists σnK such that σn has at least one vertex from σik and one vertex from σjk.

Proof

Computing entry ij in MkW hit involves [4, Prop. 9.6] summing terms of the form

(Kλ1λ2)det(VITWJ) (8)

where λ1, λ2 are barycentric functions associated to v1σik, v2σjk, respectively; I is a list of k vertices from σik not including v1; J is a list of k vertices from σjk not including v2; and VI, WJ are n × k matrices. The pth column of VI is the vector ∇λp where λp is the barycentric function associated to the pth entry in I. The qth column of WJ is the vector ∇λq where λq is the barycentric function associated to the qth entry in J.

Observe that the support of the barycentric function associated to vertex v is contained within the n-simplices touching v. Thus, if there is no σn with at least one vertex from σik and one vertex from σik, the λ1 and λ2 appearing in (8) will always have disjoint support, making the entry zero.

Using the same kind of reasoning, we have a similar result for our dual discrete Hodge star.

Lemma 3

Entry ij in (MkDual)1 is non-zero only if there existsσ0 ∈ ⋆K such thatσ0 has at least one vertex from σik and one vertex from σjk.

The number of k-simplices in an n-simplex is (n+1k+1) which gives the following corollary.

Corollary 1

Let A(σk) denote the number of n-simplices in K incident on at least one vertex from σk. Then the number of non-zero entries in row i of MkW hit or row i of (MkDual)1 is at most (n+1k+1)A(σik).

The bound can be sharpened for particular choices of n and k or if additional assumptions are made about K. As stated, however, the corollary provides a simple means for evaluating the computational expense of a particular discretization scheme as we will discuss in Section 4.

3.2. Numerical Stability

To maintain the numerical stability of a DEC-based method, the discrete Hodge star matrix should have a bounded condition number. Put differently, the entries of the matrix should be roughly the same order of magnitude. This requirement is frequently considered from the context of numerical analysis but is often absent from the literature on discrete operators.

The common thread in the geometrically-defined discrete Hodge stars such as MkDiag is a measurement of the size of dual cells i.e. |⋆ σk|. This suggests that geometric criteria on primal elements alone will not be sufficient to control the condition number of the discrete Hodge star matrix. In particular, since ratios of primal to dual cells are computed, the following criteria must be satisfied:

  • N1. Primal simplices σk satisfy geometric quality measures.

  • N2. Dual cells ⋆σk satisfy geometric quality measures.

  • N3. The value of |⋆ σk|/|σk| is bounded above and below.

  • N4. The primal and dual meshes do not have large gradation of elements, i.e. mini|σik| and maxi|σik| are the same order of magnitude and mini|σik| and maxi|σik| are the same order of magnitude.

Conditions N1 and N2 are required for discretization stability. Aspect ratio is often used as a geometric quality measure for tetrahedra. Conditions N3 and N4 are based on our analysis above. Condition N4 in particular shows that these discrete Hodge stars are not fit for use on meshes tailored to multi-resolution situations where gradation is necessary to achieve reasonable computation times. Examples are shown in Figures 7 and 8.

Figure 7.

Figure 7

Examples illustrating how the measure of a primal simplex σk (black) and its dual ⋆σk (red) need not be the same order of magnitude. (a) In this 2D example, the ratio |⋆ σ1|/|σ1| can be made arbitrarily small by increasing the length of σ1. (b) The ratio |⋆ σ1|/|σ1| can be made arbitrarily large by decreasing the length of σ1. (c) The ratio |⋆ σ2|/|σ2| can be made arbitrarily large by decreasing the area of σ2. Thus, a discrete Hodge star involving terms of the form |⋆ σk|/|σk| may have a bad condition number unless primal and dual mesh quality is controlled.

Figure 8.

Figure 8

Graded meshes also present a problem for discrete Hodge stars involving primal-dual size ratios. The primal mesh shown here induces a wide variation in values of |⋆σk|/|σk| for k = 0, 1, 2. This can cause ill-conditioned Inline graphick matrices, resulting in numerical instability.

For MkW hit, the size of the matrix entries are controlled by the size of the inner products of Whitney basis forms. The integrals in (8) are on the order of the size of |σk|, meaning again that a large gradation in primal mesh element size could produce large condition numbers. Since MkW hit does not depend on the size of dual mesh elements, however, its condition number is more stable against violations of conditions N2 and N3. Analogously, the condition number of (MkDual)1 is more stable against violations of conditions N1 and N3. Our conclusions are summarized below.

  • Conditions N1-N4 are necessary to ensure MkDiag has a good condition number.

  • Conditions N1 and N4 are necessary to ensure MkW hit has a good condition number.

  • Conditions N2 and N4 are necessary to ensure (MkDual)1 has a good condition number.

3.3. Improved Condition Numbers with (MkDual)1

To provide concrete evidence for our numerical stability claims, we present a simple example in 2D showing how M1Diag and M1W hit can have condition numbers an order of magnitude worse than (M1Dual)1 on the same mesh. This serves as a proof of concept that the DEC-based dual formulation of a problem can provide practical advantages in cases of difficult mesh geometry.

In the 2D mesh shown in Figure 9, the labeled vertices of the primal mesh have coordinates v1 = (0, 0), v2 = (0, 1), v3 = (P, 12), and v4 = (−P, 12), where P is a free parameter we can adjust to modify the geometry. The remaining vertices are chosen so that they form equilateral triangles with edges σ13, σ23, σ14, and σ24, as shown. The orthogonal, circumcenter-based dual mesh is shown in red.

Figure 9.

Figure 9

Mesh used for sample calculation of Inline graphic1 matrices. The vertices have coordinates v1 = (0, 0), v2 = (0, 1), v3 = (P, 12), v4 = (−P, 12).

Without loss of generality, fix any ordering on the mesh edges, beginning with

{σ12,σ13,σ14,σ23,σ24,}. (9)

We first calculate the upper left 5 × 5 block of each matrix, yielding the matrix values assigned to all possible interactions between pairs of these first five edges. Using the circumcentric dual mesh and definition (4), we compute

M1Diag=(4P214P00000ϱ00000ϱ00000ϱ00000ϱ) (10)

where ϱ=14P4+P3+12P2. Since M1Diag is diagonal, its condition number is the ratio of its largest diagonal entry to its smallest. The uncomputed diagonal entries will be very close to ϱ meaning the condition number can be approximated as

cond(M1Diag)4P214P/ϱO(P).

Using the Whitney interpolant for edges (see (A.1) in Appendix A) and the definition of M1W hit given in (5), we can also compute

M1W hit=(αβββββγ0δ0β0γ0δβδ0γ0β0δ0γ) (11)

where α=12P2+124P, β=4P2148P, γ=12P2+203P+21144P, and δ=4P2548P. Note that some of the structure of M1W hit suggested by (11) is an artifice of our ordering of the edges as stated in (9). However, the remaining diagonal entries of M1W hit are all close to γ, the entire matrix is symmetric, and the remaining non-zero off-diagonal terms are roughly the same size. Thus, the eigenvalues of the 5 × 5 matrix shown in (11) allow us to approximate the condition number of M1W hit. Using Mathematica, we find analytical expressions for the max and min eigenvalues of the 5 × 5 matrix and take their ratio to approximate

cond(M1W hit)24P2+53P+288P41203P3+3P2+9+3103P+18O(P)

Finally, we compute (M1Dual)1 using the barycentric dual mesh and definition (7), yielding

(M1Dual)1=(ϑζζζζζθκξ0ζκθ0ξζξ0θκζ0ξκθ) (12)

where ϑ=(ησ121,ησ121), ζ=(ησ121,ησ131), θ=(ησ131,ησ131), κ=(ησ131,ησ141) and ξ=(ησ131,ησ231). Note that analytical expressions of these inner products are not feasible due to the need to compute areas of intersection of irregular polygons in the definition of the λ̄ functions. Instead, using Matlab, we create a simple grid-based quadrature method to estimate the entries of (M1Dual)1 for various values of P. As with M1W hit, we then estimate the condition number of the entire matrix by the ratio of the max and min eigenvalues of the 5 × 5 matrix given in (12).

The cases P = 2, 5, and 10 were tested. The integral required to compute ξ has support outside of the portion of the dual mesh shown in Figure 9. We thus set ξ to be the same as ζ, since both are inner products associated to adjacent edges in the dual mesh. The computed values of κ were very small, as expected; we found that setting κ to zero did not affect the condition number estimate. Our results are summarized in Table 1.

Table 1.

Comparison of condition numbers of different discrete Hodge stars for various values of P.

p
cond(M1Diag)
cond(M1W hit)
cond((M1Dual)1)
2 6.3 3.2 1.5
5 17.2 9.9 1.3
10 34.6 21.6 1.4

Our numerical experiments thus provide evidence for the claim

cond((M1Dual)1)O(1).

The above example confirms that while our dual discrete Hodge star has an analogous definition to the primal discrete Hodge star, its condition number is indeed controlled by the geometric properties of the dual mesh elements, not those of the primal mesh elements. This fact is especially useful for problems on tetrahedral meshes where slivers (narrow, nearly planar tetrahedra) frequently occur and are difficult to remove.

4. Applications

The dual interpolation functions Inline graphicnk we defined in (6) and the dual discrete Hodge star we defined in (7) are new tools for designing stable finite element methods. We start by explaining the generic methodology of our approach and then apply it to two sample finite element problems from the literature: magnetostatics and Darcy flow.

4.1. Generic methodology

The Discrete Exterior Calculus approach to discretizing a PDE is as follows:

  1. Translate the continuous PDE problem into the language of exterior calculus.

  2. Linearize the problem, possibly by introducing an intermediary variable (i.e. a mixed method).

  3. Discretize the k-forms into k-cochains and the operators d and * into Inline graphic and Inline graphic matrices.

  4. Solve a linear system constructed from the discrete equations.

Our methodology focuses on step III and exposes how there are often many natural choices for discretization in line with DEC theory. Consider the case where we are given a PDE in terms of a variable u that is treated as a k-form in the continuous setting. Suppose that a mixed method is possible in which the intermediary variable v should be interpreted as an nk − 1 form. In this case, the typical mixed linear system is

(MkDkTDk0)(UV¯)=(F¯G). (13)

where uInline graphick, Inline graphicnk−1 are the discretized variables and Inline graphicnk, gInline graphick+1 are the discretized load data.

The simple idea at the heart of our technique is to swap the type of dicretization (primal or dual) of each variable and then infer the rest of the system from DEC theory. Note that the cochain order of each variable should not change, only the mesh on which it is discretized. Hence, the dual formulation of system (13) is

(Mnk1Dnk1Dnk1T0)(U¯V)=(FG¯). (14)

where now ūInline graphick, vInline graphicnk−1 are the discretized variables and fInline graphicnk, Inline graphick+1 are the discretized load data. We show in Figure 10 how these two discretizaions fit into a generic DEC-deRham diagram in a natural and complementary fashion.

Figure 10.

Figure 10

Portion of a generic DEC-deRham diagram (cf. Figure 2) showing the natural duality between the variables and operators of systems (13) and (14). Discretizations of the variables are written in place of the primal or dual cochain spaces to which they belong.

Additional equivalent systems can be derived by using proxy variables in clever ways, e.g. solving for some zInline graphick−1 such that x is defined uniquely by x = Inline graphick−1z. These systems are easiest to understand via the specific examples we now examine.

4.2. Magnetostatics

The magnetostatics problem is characterized by Gauss's law for magnetism, Ampère's law, and a constitutive relationship, respectively,

divb=0,b=h,curlh=j. (15)

Here, j is a given current density and b and h both represent the magnetic field. It is assumed that the domain Ω is contractible with boundary Γ written as a disjoint union Γe ∪ Γh such that · b = 0 on Γe and × h = 0 on Γh.

A DEC-based treatment of the problem reveals canonical and symmetrical ways to put this into a mixed formulation linear system, depending on whether b is discretized as a primal or dual cochain. If we discretize b as a primal 2-cochain bInline graphic2 and h as a dual 1-cochain Inline graphic1, equations (15) become

D2B=0,M2B=H¯,D1TH¯=J¯.

This allows for two possible mixed systems. The first is

(M2D2TD20)(BP¯)=(H¯00). (16)

In this system, 0Inline graphic1 is any dual 1-cochain satisfying D2TH¯0=J¯ and is defined by H¯H¯0+D2TP¯. Thus D1TH¯=D1T(H¯0+D2TP¯)=J¯ is assured.

The second mixed system is

(M21D1D1T0)(H¯A)=(0J¯). (17)

In this system, b is defined by b := Inline graphic1a, so that Inline graphic2b = Inline graphic2 Inline graphic1a = 0. For a fixed , systems (16) and (17) result in the same solution pair (b, ) and were shown by Bossavit [7] to converge to the solution pair (b, h) to (15) as the size of mesh elements goes to zero.

We now consider a novel dual discretization approach by treating b as a dual 2-cochain Inline graphic2 and h as a primal 1-cochain hInline graphic1. The continuous problem (15) is now discretized by

D0TB¯=0,B¯=M1H,D1H=J.

The first mixed system of this dual formulation is

(M1D0D0T0)(B¯P)=(H00). (18)

In this system, h0Inline graphic1 is any primal 1-cochain satisfying Inline graphic1h0 = j and h is defined by HM11B¯. Thus Inline graphic1h = Inline graphic1(h0+ Inline graphic0p) = J is assured. The last system is

(M1D1TD10)(HA¯)=(0J), (19)

where is defined by B¯D1TA¯ so that D0TB¯=D0TD1TA¯=0. For a fixed J, systems (18) and (19) will result in the same solution pair (b̄, h). In a future work, we will show that these systems also converge to the solution pair (b, h) to (15) as the size of mesh elements goes to zero. Taking that for granted, we state the advantages of having all four systems (16), (17), (18), and (19) available for implementation.

First, observe that systems (16) and (17) make use of the Inline graphic2 matrix and its inverse while (18) and (19) use the Inline graphic1 matrix. If the diagonal Hodge star is used, then Inline graphic2 requires good ratios between the size of primal faces and their dual edges while Inline graphic1 requires good ratios between the size of primal edges and their dual faces. Thus, on unstructured meshes, one system may break numerically on a mesh that is acceptable for another system.

Second, if the Whitney Hodge star is used, Mk1 may be a full rank matrix, making systems (17) and (18) less attractive numerically. By constructing the dual discrete Hodge stars as proposed in this paper, these systems become sparse again by Lemma 1 and thus are available as a practical alternative.

Third, having four systems available for the same problem allows for rigorous error-checking and cross-confirmation of results. This is particularly valuable when physical experimental confirmation of the results is impossible or expensive.

4.3. DarcyFlow

The Darcy flow problem in ℝ3 is

{f+kup=0inΩ,divf=ϕinΩ,fnˆ=ψonΩ, (20)

where k and μ are physical constants, f is volumetric flux and p is pressure. It is assumed that there is no external body force, the boundary Γ := Ω is piecewise smooth, and the compatibility condition Ω ϕdΩ = Ω ψdΓ is satisfied. Without loss of generality, take μ = k.

First consider discretizing f as a a primal 2-cochain fInline graphic2 and p as a dual 0-cochain Inline graphic 0, yielding the discretized equations

M2F+D2TP¯=0,D2F=Φ.

Hirani el al. [20] used this approach to derive the linear system

(M2D2TD20)(FP¯)=(0Φ). (21)

We present an alternative formulation using the same discretization, inspired by the magnetostatics systems (17) and (19). Let f0Inline graphic2 be a primal 2-cochain satisfying Inline graphic2f0 = Φ. The system is

(M21D1D1T0)(Q¯G)=(F00). (22)

Here, is a solution to D2TP¯=Q¯. The existence of is guaranteed by the exactness of the dual cochain sequence at Inline graphic1 and uniqueness of is determined by initial conditions or boundary data. The flux cochain f is defined to be M21Q¯ so that D2F=D2(M21Q¯)=D2(F0+D1G)=ϕ.

We now present the dual formulations derived by treating f as a dual 2-cochain Inline graphic2 and p as a primal 0-cochain pInline graphic0. The discretized equations are now

M11F¯+D0P=0,D0TF¯=Φ¯.

The first system of this formulation is

(M11D0D0T0)(F¯P)=(0Φ¯). (23)

The second system is

(M1D1TD10)(QG¯)=(F¯00). (24)

where 0 is a solution to D0TF¯0=Φ¯ and is defined to be Inline graphic1Q, analogous to system (22). Thus, taking D0T of both sides of the top equation of (24) yields D0TF¯=Φ¯. Further, the bottom equation of (24) yields Inline graphic1Q = 0 which, by the exactness property of the primal cochain sequence implies that there exists a solution p to Inline graphic0P = −Q.

We now have four mixed systems, (21)-(24), discretizing the Darcy flow equations (20), three of which had not be considered by Hirani et al. [20]. This plethora of equivalent systems offers the same advantages as those discussed at the end of the magnetostatics example from Section 4.2.

5. Conclusion

In this work we have augmented the theories of Discrete Exterior Calculus and mixed methods by introducing two novel tools: Whitney-like interpolation functions defined on dual domain meshes and a sparse inverse discrete Hodge star. We have shown the tools to have natural, straightforward definitions and clear geometric interpretations. We have used them to derive previously unexamined numerical stability criteria relating to the condition number of the discrete Hodge star used in the method, based on the geometry of the dual mesh cells. Further, we have demonstrated in both general and specific contexts how these tools can be used to develop alternative discretizations of PDEs with sparse, well-conditioned matrices. The techniques we have described provide a valuable methodology for researchers to revisit their current finite element formulations and confirm or improve their results with new discretization methods.

Research Highlights.

  • In Section 3, we use the Sibson coordinate functions to construct dual Whitney-like functions which define a novel sparse inverse discrete Hodge star (MkDual)1. We show how the choice of discrete Hodge star requires certain geometric quality conditions of the primal and dual mesh elements. A specific example is given showing how our dual formulation of the problem can result in a better conditioned linear system than the primal formulations.

  • In Section 4, we examine how our methodology applies to generic PDE problems as well as to some specific applications employing mixed finite element methods. We cast each into our common notational framework and show how to formulate equivalent dual formulations of the problem from a DEC-based analysis. The specific advantages of these dual formulations are analyzed, including an ability to compare and contrast calculations on a primal mesh with the analogous calculations on the dual mesh.

Acknowledgments

We are grateful to Alexander Rand for his help in implementing the Sibson coordinates. This research was supported in part by NIH contracts R01-EB00487, R01-GM074258, and a grant from the UT-Portugal CoLab project.

Appendix A. Whitney Functions for Primal Meshes

Whitney k-forms are piecewise linear functions on a primal mesh, one for each k-simplex in the mesh.

  • Primal Vertices. The Whitney 0-form associated to a vertex σ0vi is denoted
    Wσ0λi,

    where λi is the barycentric function for the vertex. More precisely, λi is defined by the condition of being linear on every simplex of the mesh, subject to the constraints λi (vj) = δij.

  • Primal Edges. The Whitney 1-form associated to an oriented edge σ1 ≔ [vi, vj] is the vector-valued function
    Wσ1λiλjλjλi. (A.1)
  • Primal Faces. The Whitney 2-form associated to an oriented face σ2 ≔ [vi, vj, vk] is the vector-valued function
    Wσ22(λiλj×λk+λjλk×λi+λkλi×λj) (A.2)
  • Primal Tetrahedra. 1 The Whitney 3-form associated to an oriented tetrahedron σ3 is its characteristic function, scaled by the reciprocal of the volume σ3.
    Wσ3χσ3={1/|σ3|onσ30otherwise

Appendix B. Generalized Barycentric Functions

Let Inline graphic be a top-dimensional cell of the dual mesh (i.e. a polygon in 2D or a polyhedron in 3D) with vertices v1, …, vN. A set of functions λ̄i : Inline graphic → ℝ, i = 1, …, N are called barycentric coordinates on Inline graphic if they satisfy two properties.

B1. Non-negative: λ̄i ≥ 0.

B2. Linear Completeness: For any linear function L : Inline graphic → ℝ,

L=i=1NL(vi)λ¯i.

A set of barycentric coordinates { λ̄i} also satisfies these additional familiar properties:

B3. Partition of unity: i=1Nλ¯i1.

B4. Linear precision: i=1Nviλ¯i(x)=x

B5. Interpolation: λ̄i (vj) = δij.

A proof that properties B3-B5 are implied by B1-B2 in the 2D case can be found in our paper [16]. The 3D case is similar.

Three major approaches to defining generalized barycentric functions on 2D polygons have emerged in the literature. The Wachspress functions [24, 13] are rational functions constructed explicitly based on the areas of certain triangles within Inline graphic. The Sibson functions [22], also called the natural neighbor or natural element coordinates [23], are also constructed explicitly, but instead use the areas of Voronoi regions associated with the vertices of Inline graphic. The Harmonic functions [26, 8] are defined as the solution to Laplace's equation over Inline graphic with certain piecewise linear boundary data.

We have shown in [16] that any of these functions suffice to give the optimal interpolation estimate for the lowest order case in 2D, assuming some basic geometric quality criteria on the dual mesh elements. For this paper, we have employed only the Sibson coordinates as they generalize easily to 3D, are reasonable to implement, and are more stable against bad geometry than the Wachspress functions. A formal proof of their convergence properties in 3D will be the focus of a future work.

Footnotes

1
Note that the Inline graphicσ3 definition has been simplified from a more general definition of Whitney forms [27] using the geometric identity
λi(λj×λk)=±13!|σ3|
where the right side has sign −1 if an odd index was omitted from the scalar triple product and +1 otherwise. This reduces the sum in the general formula to (1/|σ3|) Σi λi, which is simply 1/|σ3| due to the partition of unity formed by the barycentric functions.

Publisher's Disclaimer: This is a PDF file of an unedited manuscript that has been accepted for publication. As a service to our customers we are providing this early version of the manuscript. The manuscript will undergo copyediting, typesetting, and review of the resulting proof before it is published in its final citable form. Please note that during the production process errors may be discovered which could affect the content, and all legal disclaimers that apply to the journal pertain.

Contributor Information

Andrew Gillette, Email: agillette@math.utexas.edu.

Chandrajit Bajaj, Email: bajaj@cs.utexas.edu.

References

  • 1.Abraham R, Marsden JE, Ratiu T. Manifolds, tensor analysis, and applications, volume 75 of Applied Mathematical Sciences. second. Springer-Verlag; New York: 1988. [Google Scholar]
  • 2.Arnold D, Falk R, Winther R. Finite element exterior calculus: from Hodge theory to numerical stability. Bulletin of the American Mathematical Society. 2010;47(2):281–354. [Google Scholar]
  • 3.Auchmann B, Kurz S. A geometrically defined discrete Hodge operator on simplicial cells. Magnetics, IEEE Transactions on. 2006 April;42(4):643–646. [Google Scholar]
  • 4.Bell N, Hirani A. PyDEC: Software and Algorithms for Discretization of Exterior Calculus. arXiv:1103.3076. 2011 [Google Scholar]
  • 5.Bell WN. PhD thesis. University of Illinois; Urbana-Champaign: 2008. Algebraic Multigrid for Discrete Differential Forms. [Google Scholar]
  • 6.Bossavit A. Mixed finite elements and the complex of Whitney forms. In: Whiteman J, editor. The mathematics of finite elements and applications VI. Academic Press; 1988. pp. 137–144. [Google Scholar]
  • 7.Bossavit A. Computational electromagnetism and geometry (5) Journal of the Japan Society of Applied Electromagnetics. 2000;8:203–209. [Google Scholar]
  • 8.Christiansen SH. A construction of spaces of compatible differential forms on cellular complexes. Math Models Methods Appl Sci. 2008;18(5):739–757. [Google Scholar]
  • 9.Desbrun M, Hirani AN, Leok M, Marsden JE. Discrete Exterior Calculus. arXiv:math/0508341. 2005 [Google Scholar]
  • 10.DiCarlo A, Milicchio F, Paoluzzi A, Shapiro V. Discrete physics using metrized chains. 2009 SIAM/ACM Joint Conference on Geometric and Physical Modeling; 2009. pp. 135–145. [Google Scholar]
  • 11.Dodziuk J. Finite-difference approach to the Hodge theory of harmonic forms. Amer J Math. 1976;98(1):79–104. [Google Scholar]
  • 12.Farin G. Surfaces over Dirichlet tessellations. Computer Aided Geometric Design. 1990;7(1-4):281–292. [Google Scholar]
  • 13.Floater M, Hormann K, Kós G. A general construction of barycentric coordinates over convex polygons. Advances in Computational Mathematics. 2006;24(1):311–331. [Google Scholar]
  • 14.Gillette A. PhD thesis. University of Texas; Austin: 2011. Stability of Dual Discretization Methods for Partial Differential Equations. [Google Scholar]
  • 15.Gillette A, Bajaj C. Dual Whitney k-forms and higher order analogues. in preparation. [Google Scholar]
  • 16.Gillette A, Rand A, Bajaj C. Error estimates for generalized barycentric interpolation. Advances in Computational Mathematics. 2010 doi: 10.1007/s10444-011-9218-z. to appear. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.He B, Teixeira F. Geometric finite element discretization of Maxwell equations in primal and dual spaces. Physics Letters A. 2006;349(1-4):1–14. [Google Scholar]
  • 18.Hiptmair R. Discrete Hodge-operators: an algebraic perspective. Progress In Electromagnetics Research. 2001;32:247–269. [Google Scholar]
  • 19.Hirani AN. PhD thesis. California Institute of Technology; 2003. Discrete Exterior Calculus. [Google Scholar]
  • 20.Hirani AN, Nakshatrala KB, Chaudhry JH. Numerical method for Darcy flow derived using Discrete Exterior Calculus. arXiv:0810.3434. 2008 [Google Scholar]
  • 21.Milbradt P, Pick T. Polytope finite elements. International Journal for Numerical Methods in Engineering. 2008;73(12):1811–1835. [Google Scholar]
  • 22.Sibson R. A vector identity for the Dirichlet tessellation. Math Proc Cambridge Philos Soc. 1980;87(1):151–155. [Google Scholar]
  • 23.Sukumar N, Malsch EA. Recent advances in the construction of polygonal finite element interpolants. Archives of Computational Methods in Engineering. 2006;13(1):129–163. [Google Scholar]
  • 24.Wachspress EL. A Rational Finite Element Basis, volume 114 of Mathematics in Science and Engineering. Academic Press; 1975. [Google Scholar]
  • 25.Wardetzky M. PhD thesis. Freie Universitt; Berlin: 2006. Discrete Differential Operators on Polyhedral Surfaces - Convergence and Approximation. [Google Scholar]
  • 26.Warren J, Schaefer S, Hirani AN, Desbrun M. Barycentric coordinates for convex sets. Advances in Computational Mathematics. 2007;27(3):319–338. [Google Scholar]
  • 27.Whitney H. Geometric Integration Theory. Princeton University Press; 1957. [Google Scholar]
  • 28.Wilson SO. Cochain algebra on manifolds and convergence under refinement. Topology Appl. 2007;154(9):1898–1920. [Google Scholar]
  • 29.Yavari A. On geometric discretization of elasticity. Journal of Mathematical Physics. 2008;49(2):022901–1–36. [Google Scholar]

RESOURCES