A conservative hybrid method for Darcy flow
Varun Jain, Yi Zhang, Jo\"el Fisser, Artur Palha, Marc, Gerritsma

TL;DR
This paper introduces a hybrid mimetic spectral element method for Darcy flow that ensures mass conservation and inter-element continuity, resulting in sparse, mesh-invariant systems that are computationally efficient.
Contribution
It presents a novel hybrid spectral element formulation that maintains key physical and topological properties for Darcy flow, independent of mesh shape or size.
Findings
Produces extremely sparse algebraic systems
Efficiently assembled and solved per element
Invariant under mesh transformations
Abstract
We present a hybrid mimetic spectral element formulation for Darcy flow. The discrete representations for 1) conservation of mass, and 2) inter-element continuity, are topological relations that lead to sparse matrix systems. These constraints are independent of the element size and shape, and thus invariant under mesh transformations. The resultant algebraic system is extremely sparse even for high degree polynomial basis. Furthermore, the system can be efficiently assembled and solved for each element separately.
| Full system | only | / Full | |
|---|---|---|---|
| 0.07 | |||
| 0.04 | |||
| 0.03 | |||
| 0.02 | |||
| 0.02 |
| Full system | only | / Full | |
|---|---|---|---|
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
11institutetext: Varun Jain, Yi Zhang, Joël Fisser, Artur Palha and Marc Gerritsma, 22institutetext: Faculty of Aerospace Engineering, TU Delft, Kluyverweg 1, 2629 HS, Delft,
22email: V.Jain,Y.Zhang-14,J.M.Fisser,A.PalhaDaSilvaClerigo,M.I.Gerritsma@tudelft.nl.
A conservative hybrid method for Darcy flow
Varun Jain
Yi Zhang
Joël Fisser
Artur Palha and Marc Gerritsma
Abstract
We present a hybrid mimetic spectral element formulation for Darcy flow. The discrete representations for 1) conservation of mass, and 2) inter-element continuity, are topological relations \textcolorblackthat lead to sparse matrix systems. These constraints are independent of the element size and shape, and thus invariant under mesh transformations. The resultant algebraic system is extremely sparse even for high degree polynomial basis. Furthermore, the system can be efficiently assembled and solved for each element separately.
1 Introduction
Hybrid formulations 2010Boffi ; 2015Cockburn ; 2018Zhang are classical domain decomposition methods which reduce the problem of solving one global system to many small local systems. The local systems can then be efficiently solved independently of each other in parallel.
In this work we present a hybrid mimetic spectral element formulation to solve Darcy flow. We follow 2017Jain \textcolorblackwhich render the constraints on divergence of mass flux, the pressure gradient and the inter-element continuity metric free. The resulting system is extremely sparse and shows a \textcolorblackreduced growth in condition number as compared to non-hybrid system.
This document is structured as follows: In Section 2 we define the weak formulation for Darcy flow. The basis functions are introduced in Section 3. The evaluation of weighted inner product and duality pairings are discussed in Section 4. In Section 5 we discuss the formulation of discrete algebraic system. In Section 6 we present results for a test case taken from 2008Herbin .
2 Darcy flow formulation
For , where is the dimension of the domain, the governing equations for Darcy flow, are given by,
[TABLE]
where, is the velocity, is the pressure, the \textcolorblackprescribed source term, is a \textcolorblacksymmetric positive definite matrix, and are the \textcolorblackprescribed pressure and flux boundary conditions, respectively.
Notations
For , denotes the usual - inner product.
For vector-valued function\textcolorblacks in we define the weighted inner product by,
[TABLE]
\textcolor
blackwhere denotes the pointwise inner product.
Duality pairing, denoted by , is the outcome of a linear functional on acting on elements from .
Let be a \textcolorblackdisjoint partitioning of \textcolorblack with total number of elements , and is any element in , such that, . We define the following broken Sobolev spaces 2016Carsten , \textcolorblack, and .
Weak formulation
The Lagrange functional for Darcy flow is defined as,
[TABLE]
The variational problem is then given by: For given \textcolorblack, find , \textcolorblack, \textcolorblack, such that,
[TABLE]
3 Basis functions
Primal and dual nodal degrees of freedom
Let , , be the Gauss-Lobatto-Legendre (GLL) points in . The Lagrange polynomials through , of degree , given by,
[TABLE]
form the 1D primal nodal polynomials which satisfy, .
Let and be two polynomials expanded in terms of . The - inner product is then given by,
[TABLE]
and, and are the nodal degrees of freedom. We define the algebraic dual degrees of freedom, , such that the duality pairing is simply the vector dot product between primal and dual degrees of freedom,
[TABLE]
Thus, the dual degrees of freedom are linear functionals of primal degrees of freedom.
Primal and dual edge degrees of freedom
The edge polynomials, for the edges between GLL points, of polynomial degree , are defined as 2011Gerritsma ,
[TABLE]
Let and be two polynomials expanded in edge basis functions. The inner product in space is given by,
[TABLE]
and, and are the edge degrees of freedom. As before, we define the dual degrees of freedom such that,
[TABLE]
\textcolor
blackA similar construction can be used for dual degrees of freedom in higher dimension. For construction of the dual degrees of freedom in see 2017Jain and for see 2018Zhang2 .
Differentiation of nodal polynomial representation
Let be expanded in Lagrange polynomial, then
[TABLE]
Therefore, taking \textcolorblackthe derivative of \textcolorblacka polynomial involves two steps : First, \textcolorblacktake the difference of degrees of freedom; and second, change of basis from nodal to edge 2011Gerritsma .
4 Discrete inner product and duality pairing
For 2D domains, the higher dimensional primal basis are constructed \textcolorblackusing the tensor product of the 1D basis.
For the weak formulation in (2) we expand the velocity in primal edge basis as,
[TABLE]
Weighted inner product
Using (1) and the expansions in (4), the weighted inner product is evaluated as,
[TABLE]
where, are the degrees of freedom in element , and
[TABLE]
For mapping of elements please refer to 2017Gerritsma .
Divergence of velocity
Divergence of velocity, , is evaluated using (3), but now for 2D,
[TABLE]
The pressure is expanded in the dual basis . These basis are dual to the basis in which is expanded in (5). Therefore the \textcolorblackweak constraint on divergence of velocity is a duality pairing evaluated as,
[TABLE]
where represents the discrete divergence operator. It is an incidence matrix that is metric-free and topological, and remains the same for each element \textcolorblackin . For an extensive discussion on the incidence matrix, see 2017Gerritsma . For an element of degree ,
[TABLE]
Connectivity matrix
\textcolor
blackThe connectivty matrix ensures continuity of the velocity across the elements. is the interface variable between the elements that acts as Lagrange multiplier that imposes the constraint given by,
[TABLE]
\textcolor
blackwhere is the discrete trace operator. It is a sparse matrix that consists of , and [math] only. \textcolorblackFor construction of please refer to 2018Gerritsma . \textcolorblack is the assembled for all the elements. For discretization, , , is shown in (6). The matrix size of is , but it has only 16 non-zero entities. It is an extremely sparse matrix that is metric-free and the location of +/-1 valued entries depend only on the connection between different elements.
[TABLE]
5 Discrete formulation
Using the weighted inner product and duality pairings discussed in Section 4, we can write the discrete form of weak formulation in (2) as,
[TABLE]
where, is an invertible block diagonal matrix given by,
[TABLE]
is as given in (6), \vec{X}=\sum_{K}\left[\begin{array}[]{c}\vec{u}\\[4.73611pt] \vec{p}\end{array}\right]_{K_{i}}, and \vec{F}=\sum_{K}\left[\begin{array}[]{c}\vec{\hat{p}}\\[4.73611pt] \vec{f}\end{array}\right]_{K_{i}}, where are the expansion coefficients of \textcolorblack.
In (8), the mass matrix is the only dense matrix and also the only component that changes with each local element, . is a sparse incidence matrix for the global system and is a sparse incidence matrix for the local systems that remain the same for each element.
Using the Schur complement method, the global system (7) can be reduced to solve for , 2010Boffi ,
[TABLE]
\textcolor
blackTo evaluate in (9) we need that can be calculated efficiently by taking inverse of each block of separately. This part can be easily parallelized. Once the is determined the solution in each element, , can be evaluated by solving for,
[TABLE]
\textcolor
blackHere the inverse of the local block in the RHS is already evaluated during (9). As the local systems are independent of each other (10) can also be evaluated separately for each element \textcolorblackand easily parallelized.
\textcolor
blackThe system (9) solves for interface degrees of freedom between the elements and will always be smaller than the full global system. For a comparison of the size of system with full system see Table 1 for 2D systems, and Table 2 for 3D systems. In Table 1 & 2 (left) we see that, for constant , increasing the order of polynomial basis the growth in size of system is less than the growth in size of full system. Thus, hybrid formulations are beneficial for high order methods, in 2D and in 3D, where local degrees of freedom of an element are much higher than interface degrees of freedom.
In Table 1 & 2 (right) we see that, for constant , the system is certainly smaller than the full system, although the growth rate in size of and full systems does not change significantly.
6 Results
In this section we present the results for a test problem from 2008Herbin by solving system (7). The domain of test problem is, . The source term is defined as,
[TABLE]
[TABLE]
and Dirichlet boundary conditions are imposed along the entire boundary, and .
We solve this problem on an orthogonal and a highly curved mesh, see Fig. 1.
The same problem was earlier addressed by authors in 2017Gerritsma , but for a method with continuous elements and primal basis only. For the configuration , , we compare the sparsity structure of the two approaches in Fig 2. On left we see the hybrid formulation, and on the right we see the continuous elements formulation \textcolorblack2017Gerritsma . The number of non zero entities are almost half in the hybrid formulation, , as compared to the continuous element formulation, . Here, the sparsity is due to use of algebraic dual degrees of freedom and is not because of hybridization of the scheme.
In Fig. 3, on the left we compare the growth in condition number, for the only system with continuous element system, \textcolorblackfor on the curved mesh, with increasing number of elements, . We observe similar growth rates for hybrid and continuous formulation, however the condition number for continuous elements formulation is \textcolorblackalmost higher. On the right we see the growth in condition number with increasing polynomial degree \textcolorblackfor on the curved mesh. A suppressed growth rate in condition number for hybrid formulation is observed. Thus hybrid formulations are beneficial for high order methods.
In Fig. 4 we show the - error for . On the left side as a function of element size, , and on the right side as a function of polynomial degree of the basis functions. In both cases the maximum error observed is of .
In Fig. 5, on the top two figures we show the error in the norm for the velocity; and at the bottom two figures we show the error in norm for the pressure. On the left we have -convergence plots, and on the right we have -convergence plots. In all the figures, for the same number of elements, , and polynomial degree, , the error is higher for the curved mesh.
On the left we see that the error decreases with the element size. The slope of error rate of convergence is , which is optimal for both curved and orthogonal meshes. On the right we see exponential convergence of the error with increasing polynomial degree of basis for both orthogonal and curved meshes.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1(1) D. Boffi, F. Brezzi, and M. Fortin , Mixed finite elements methods and applications , Springer Series in Computational Mechanics, (2010).
- 2(2) C. Carstensen, L. Demkowicz, and J. Gopalakrishnan , Breaking spaces and forms for the DPG method and applications including Maxwell equations , CAMWA, 72 (2016), pp. 494–522.
- 3(3) B. Cockburn , Static condensation, hybridization, and the devising of the HDG methods , Lecture Notes in Computational Science and Engineering 114, Springer, (2015).
- 4(4) M. Gerritsma , Edge functions for spectral element methods , Spectral and high order methods for partial differential equations, Springer, (2011), pp. 199–208.
- 5(5) M. Gerritsma, V. Jain, Y. Zhang, and A. Palha , Algebraic dual polynomials for the equivalence of curl-curl problems , ar Xiv:1805.00114, (2018).
- 6(6) M. Gerritsma, A. Palha, V. Jain, and Y. Zhang , Mimetic spectral element method for anisotropic diffusion , Numerical Methods for PD Es, Springer, (2018), pp. 31–74.
- 7(7) R. Herbin and F. Hubert , Benchmark on discretization schemes for anisotropic diffusion problems on general grids , ISTE, Finite volumes for complex applications V, Wiley, (2008), pp. 659–692.
- 8(8) V. Jain, Y. Zhang, A. Palha, and M. Gerritsma , Construction and application of algebraic dual polynomial representations for finite element methods , ar Xiv:1712.09472, (2017).
