A discontinuous Galerkin discretization of elliptic problems with improved convergence properties using summation by parts operators
Hendrik Ranocha

TL;DR
This paper introduces an efficient discontinuous Galerkin discretization for elliptic problems that leverages summation by parts operators to achieve improved convergence properties, especially for gradients, blending hyperbolic and elliptic perspectives.
Contribution
It demonstrates how to implement a DG method with SBP operators for elliptic problems, enhancing convergence and computational efficiency.
Findings
High order convergence of gradients achieved
Efficient implementation using SBP operators
Improved error estimates for elliptic solutions
Abstract
Nishikawa (2007) proposed to reformulate the classical Poisson equation as a steady state problem for a linear hyperbolic system. This results in optimal error estimates for both the solution of the elliptic equation and its gradient. However, it prevents the application of well-known solvers for elliptic problems. We show connections to a discontinuous Galerkin (DG) method analyzed by Cockburn, Guzm\'an, and Wang (2009) that is very difficult to implement in general. Next, we demonstrate how this method can be implemented efficiently using summation by parts (SBP) operators, in particular in the context of SBP DG methods such as the DG spectral element method (DGSEM). The resulting scheme combines nice properties of both the hyperbolic and the elliptic point of view, in particular a high order of convergence of the gradients, which is one order higher than what one would usually expect…
| Setup | Dim. | Domain | Solution | Boundary Condition |
|---|---|---|---|---|
| Setup 1 | 1D | Dirichlet | ||
| Setup 2 | 1D | periodic | ||
| Setup 3 | 2D | Dirichlet | ||
| Setup 4 | 2D | periodic |
| Error | EOC | Error | EOC | |
|---|---|---|---|---|
| 10 | 2.42e-02 | 6.88e-02 | ||
| 20 | 3.16e-03 | 2.94 | 8.64e-03 | 2.99 |
| 40 | 3.97e-04 | 2.99 | 1.08e-03 | 3.01 |
| 80 | 4.96e-05 | 3.00 | 1.34e-04 | 3.00 |
| 160 | 6.19e-06 | 3.00 | 1.67e-05 | 3.00 |
| Error | EOC | Error | EOC | Error | EOC | |
|---|---|---|---|---|---|---|
| 4 | 7.49e-02 | 3.34e-01 | 3.34e-01 | |||
| 8 | 2.51e-03 | 4.90 | 1.15e-02 | 4.86 | 1.15e-02 | 4.86 |
| 16 | 1.70e-04 | 3.88 | 8.48e-04 | 3.77 | 8.48e-04 | 3.77 |
| 32 | 1.46e-05 | 3.54 | 8.26e-05 | 3.36 | 8.26e-05 | 3.36 |
| 64 | 1.46e-06 | 3.33 | 9.23e-06 | 3.16 | 9.23e-06 | 3.16 |
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.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Numerical Methods in Computational Mathematics · Advanced Mathematical Modeling in Engineering · Model Reduction and Neural Networks
A discontinuous Galerkin discretization of elliptic problems with improved
convergence properties using summation by parts operators
Hendrik Ranocha ORCID: 0000-0002-3456-2277 Applied Mathematics, University of Hamburg, Germany
(February 24, 2023)
Abstract
Nishikawa (2007) proposed to reformulate the classical Poisson equation as a steady state problem for a linear hyperbolic system. This results in optimal error estimates for both the solution of the elliptic equation and its gradient. However, it prevents the application of well-known solvers for elliptic problems. We show connections to a discontinuous Galerkin (DG) method analyzed by Cockburn, Guzmán, and Wang (2009) that is very difficult to implement in general. Next, we demonstrate how this method can be implemented efficiently using summation by parts (SBP) operators, in particular in the context of SBP DG methods such as the DG spectral element method (DGSEM). The resulting scheme combines nice properties of both the hyperbolic and the elliptic point of view, in particular a high order of convergence of the gradients, which is one order higher than what one would usually expect from DG methods for elliptic problems.
keywords:
discontinuous Galerkin methods, summation by parts operators, superconvergence, elliptic problems, Poisson equation, hyperbolic diffusion
**AMS subject classification. 65N30, 65N35, 65N06, 65M60, 65M70, 65M06 **
1 Introduction
Solving a Poisson equation in a bounded domain with appropriate boundary conditions (BCs) is a key task in many scientific simulations. Nishikawa [17] proposed to compute numerical solutions as steady state limits of the hyperbolic system
[TABLE]
where is a relaxation time that can be chosen to accelerate the convergence to the steady state [19]. Some earlier works on this “hyperbolic heat equation” are [6, 16, 13]; some later articles based on the idea are [18, 2, 1, 8].
The “hyperbolic diffusion” approach enables optimal convergence not only of the potential but also of the gradient for discontinuous Galerkin (DG) methods. Moreover, it simplifies the coupling to hyperbolic equations in multi-physics problems such as astrophysical fluid flows with self-gravity [24]. However, it would be nice to keep the superconvergence properties of the gradients in a classical elliptic formulation to use state-of-the-art high-performance solvers [12, 9]. Focusing on DG methods, we will explain that the steady-state formulation of (1.1) is equivalent to a scheme analyzed by [7]. However, this method appears to be difficult to implement since a linear system needs to be solved to compute the gradient , i.e., to evaluate the residual of the elliptic discretization. We will explain how this difficulty can be solved for methods using summation by parts (SBP) operators, in particular for discontinuous Galerkin spectral element methods (DGSEM) using Gauss-Lobatto-Legendre nodes [11]. See [14] for more observations how the SBP structure of DGSEM can be used to analyze and improve DG methods for elliptic problems.
2 Main result
We focus on 1D for simplicity. All results extend to the multi-dimensional case using tensor product spaces, e.g., DGSEM. The weak formulation of the steady state of (1.1) with test functions on an interval is
[TABLE]
where are numerical fluxes. This steady state formulation is obtained by multiplying the second equation by . Thus, the system depends on the relaxation time only via the numerical fluxes associated to the time-dependent problem (1.1). The classical upwind numerical fluxes of the hyperbolic system (1.1) are [19]
[TABLE]
where denotes the arithmetic mean and the jump at an interface. In the context of the Poisson equation , these numerical fluxes fit into the classical framework of [3]; they are consistent and conservative (and hence result in adjoint consistency). [5] analyzed similar numerical fluxes of the form
[TABLE]
which match (2.2) for . Using polynomials of degree , they proved that converge with orders on general meshes if , , and are of order unity. [7] extended this analysis and proved that converge with optimal order if , , , and are bounded, which is exactly the situation for the numerical fluxes (2.2). However, [7] noted “Of course, the DG methods under consideration are difficult to implement” since the numerical flux used to compute the gradient depends on . Thus, a linear system needs to be solved to compute the residual of the elliptic discretization.
In each element , SBP operators [25, 10] are given by i) a discrete derivative operator approximating , ii) a diagonal mass/norm matrix approximating the inner product, and iii) interpolation operators evaluating a numerical solution at the left/right boundary of the element . Throughout, we use nodal approximations with grid nodes at the boundaries of each element as in DGSEM. In this case, and . Furthermore, we require the SBP condition mimicking integration by parts [11].
In this framework, the DG discretization (2.1) can be written in the equivalent strong form as
[TABLE]
Here, , , and are the vectors of coefficients representing the respective polynomials in element in the chosen nodal basis. Now, we are prepared to formulate the main result of this short note.
Theorem 2.1**.**
The discrete gradient of (2.1) with numerical fluxes (2.2) can be evaluated locally using only surface values of and from neighboring elements if diagonal-norm SBP operators including the boundaries are used. In particular, DGSEM is included in this class of SBP operators.
Proof.
It suffices to consider two elements indicated by subscripts . Abbreviating surface terms not belonging to their common interface as (left element, left surface) and (right element, right surface), the corresponding discretizations are
[TABLE]
Again, and are the vectors of coefficients representing the respective polynomials in the left/right element in the chosen nodal basis. Since boundary nodes are included and the mass matrix is diagonal, the surface terms vanish everywhere except at their corresponding interface nodes. In particular, the restriction of to the right surface of element is not influenced by the left surface term . Hence, the jump of boundary values of is
[TABLE]
This equation can be solved for the jump of interface values of ,
[TABLE]
where
[TABLE]
Note that vanishes for uniform grids with symmetric quadrature rules. In general, and depend on the grid spacing. Inserting this expression of the jump of at the interface into (2.5) yields
[TABLE]
To sum up, the gradient in an interior element can be computed explicitly as
[TABLE]
At a boundary point where a Dirichlet condition is imposed weakly for the potential , the numerical fluxes based on an energy analysis for the hyperbolic diffusion system are the ones used by [7], i.e.,
[TABLE]
Hence, the numerical flux does not depend on at a Dirichlet boundary and no special care is needed. Thus, the discretization in the element at the left boundary is
[TABLE]
Similarly, the gradient in the element at the right boundary is
[TABLE]
Thus, the gradient can be computed locally using surface values of and from neighboring elements. ∎
3 Numerical experiments
We demonstrate the convergence properties of the method for several Poisson problems summarized in Table 1. The right-hand side is chosen based on the solution . We use Dirichlet BCs for non-periodic setups and vanishing mean values of for periodic BCs. The non-periodic 2D setup is taken from [7]. We choose the relaxation time as recommended in [19], i.e., where the reference length scale is set to for a 1D interval and
[TABLE]
for a 2D rectangle .
All methods are implemented in Julia [4]. We use Trixi.jl [23, 24] to compute steady state solutions of the hyperbolic system (1.1) and SummationByPartsOperators.jl [22] to implement the corresponding elliptic approach. All source code required to reproduce the numerical experiments is available online [21].
We compute the errors of the numerical solutions on meshes with elements per coordinate direction using the Gauss-Lobatto-Legendre quadrature rule associated with the DGSEM operators. The 1D results including the experimental order of convergence (EOC) are shown in Table 2. These results are computed using direct sparse solvers distributed with Julia [4]. Clearly, both the potential and the gradient converge with optimal order for polynomials of degree . The results obtained by evolving the hyperbolic system (1.1) match the results obtained from the elliptic implementation and are thus not shown.
The 2D results are shown in Table 3. These results are computed using the conjugate gradients (CG) implementation of Krylov.jl [15] using matrix-free operators based on the interface of LinearOperators.jl [20]. Again, both the potential and the gradient converge with optimal order.
Acknowledgments
Special thanks to Jesse Chan for discussions related to this manuscript and comments on an early draft.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Rémi Abgrall and Dante De Santis “Linear and non-linear high order accurate residual distribution schemes for the discretization of the steady compressible Navier–Stokes equations” In Journal of computational physics 283 Elsevier, 2015, pp. 329–359 DOI: 10.1016/j.jcp.2014.11.031 · doi ↗
- 2[2] Remi Abgrall, D De Santis and Mario Ricchiuto “High-order preserving residual distribution schemes for advection-diffusion scalar problems on arbitrary grids” In SIAM Journal on Scientific Computing 36.3 SIAM, 2014, pp. A 955–A 983 DOI: 10.1137/12090143 X · doi ↗
- 3[3] Douglas N Arnold, Franco Brezzi, Bernardo Cockburn and L Donatella Marini “Unified analysis of discontinuous Galerkin methods for elliptic problems” In SIAM Journal on Numerical Analysis 39.5 SIAM, 2002, pp. 1749–1779 DOI: 10.1137/S 0036142901384162 · doi ↗
- 4[4] Jeff Bezanson, Alan Edelman, Stefan Karpinski and Viral B Shah “Julia: A Fresh Approach to Numerical Computing” In SIAM Rev. 59.1 SIAM, 2017, pp. 65–98 DOI: 10.1137/141000671 · doi ↗
- 5[5] Paul Castillo, Bernardo Cockburn, Ilaria Perugia and Dominik Schötzau “An a priori error analysis of the local discontinuous Galerkin method for elliptic problems” In SIAM Journal on Numerical Analysis 38.5 SIAM, 2000, pp. 1676–1706 DOI: 10.1137/S 0036142900371003 · doi ↗
- 6[6] Carlo Cattaneo “Sur une forme de l’equation de la chaleur eliminant la paradoxe d’une propagation instantantee” In Comptes Rendus Acad. Sci. Paris 247.3 , 1958, pp. 431–433
- 7[7] Bernardo Cockburn, Johnny Guzmán and Haiying Wang “Superconvergent discontinuous Galerkin methods for second-order elliptic problems” In Mathematics of Computation 78.265 , 2009, pp. 1–24 DOI: 10.1090/S 0025-5718-08-02146-7 · doi ↗
- 8[8] Dante De Santis “High-order linear and non-linear residual distribution schemes for turbulent compressible flows” In Computer Methods in Applied Mechanics and Engineering 285 Elsevier, 2015, pp. 1–31 DOI: 10.1016/j.cma.2014.10.045 · doi ↗
