Abstract
We analyze the stability and functional superconvergence of discretizations of diffusion problems with the narrow-stencil second-derivative generalized summation-by-parts (SBP) operators coupled with simultaneous approximation terms (SATs). Provided that the primal and adjoint solutions are sufficiently smooth and the SBP-SAT discretization is primal and adjoint consistent, we show that linear functionals associated with the steady diffusion problem superconverge at a rate of 2p when a degree \( p+1 \) narrow-stencil or a degree p wide-stencil generalized SBP operator is used for the spatial discretization. Sufficient conditions for stability of adjoint consistent discretizations with the narrow-stencil generalized SBP operators are presented. The stability analysis assumes nullspace consistency of the second-derivative operator and the invertibility of the matrix approximating the first derivative at the element boundaries. The theoretical results are verified by numerical experiments with the one-dimensional Poisson problem.
Similar content being viewed by others
Notes
Second-derivative operators formed by applying first-derivative operators twice.
Also known as compact-stencil second-derivative operators.
Also referred to as full-norm matrix.
Although not presented here, we observe a solution convergence rate of \( p+2 \) with all the diagonal-norm narrow-stencil CSBP operators presented in [12].
References
Albert, A.: Conditions for positive and nonnegative definiteness in terms of pseudoinverses. SIAM J. Appl. Math. 17(2), 434–440 (1969)
Arnold, D.N., Brezzi, F., Cockburn, B., Marini, L.D.: Unified analysis of discontinuous Galerkin methods for elliptic problems. SIAM J. Numer. Anal. 39(5), 1749–1779 (2002)
Bassi, F., Rebay, S., Mariotti, G., Pedinotti, S., Savini, M.: A high-order accurate discontinuous finite element method for inviscid and viscous turbomachinery flows. In: R. Decuypere, G. Dibelius (eds.) Proceedings of the 2nd European Conference on Turbomachinery, Fluid Dynamics and Thermodynamics, pp. 99–109. Technologisch Instituut, Antwerpen, Belgium (1997)
Baumann, C.E., Oden, J.T.: A discontinuous HP finite element method for convection–diffusion problems. Comput. Methods Appl. Mech. Eng. 175(3–4), 311–341 (1999)
Berg, J., Nordström, J.: Superconvergent functional output for time-dependent problems using finite differences on Summation-By-Parts form. J. Comput. Phys. 231(20), 6846–6860 (2012)
Carpenter, M.H., Gottlieb, D., Abarbanel, S.: Time-stable boundary conditions for finite-difference schemes solving hyperbolic systems: methodology and application to high-order compact schemes. J. Comput. Phys. 111(2), 220–236 (1994)
Carpenter, M.H., Nordström, J., Gottlieb, D.: A stable and conservative interface treatment of arbitrary spatial accuracy. J. Comput. Phys. 148(2), 341–365 (1999)
Carpenter, M.H., Nordström, J., Gottlieb, D.: Revisiting and extending interface penalties for multi-domain summation-by-parts operators. J. Sci. Comput. 45(1–3), 118–150 (2010)
Craig Penner, D.A., Zingg, D.W.: Superconvergent functional estimates from tensor-product generalized summation-by-parts discretizations in curvilinear coordinates. J. Sci. Comput. 82(2), 41 (2020)
Del Rey Fernández, D.C., Boom, P.D., Zingg, D.W.: A generalized framework for nodal first derivative summation-by-parts operators. J. Comput. Phys. 266, 214–239 (2014)
Del Rey Fernández, D.C., Hicken, J.E., Zingg, D.W.: Simultaneous approximation terms for multi-dimensional summation-by-parts operators. J. Sci. Comput. 75(1), 83–110 (2018)
Del Rey Fernández, D.C., Zingg, D.W.: Generalized summation-by-parts operators for the second derivative. SIAM J. Sci. Comput. 37(6), A2840–A2864 (2015)
Eriksson, S.: A dual consistent finite difference method with narrow stencil second derivative operators. J. Sci. Comput. 75(2), 906–940 (2018)
Eriksson, S., Nordström, J.: Finite difference schemes with transferable interfaces for parabolic problems. J. Comput. Phys. 375, 935–949 (2018)
Gallier, J.H.: Notes on the Schur complement. Penn Engineering pp. 1–12 (2010)
Gong, J., Nordström, J.: Interface procedures for finite difference approximations of the advection–diffusion equation. J. Comput. Appl. Math. 236(5), 602–620 (2011)
Gustafsson, B.: The convergence rate for difference approximations to general mixed initial-boundary value problems. SIAM J. Numer Anal. 18(2), 179–190 (1981)
Hartmann, R.: Adjoint consistency analysis of discontinuous Galerkin discretizations. SIAM J. Numer. Anal. 45(6), 2671–2696 (2007)
Hartmann, R., Leicht, T.: Higher order and adaptive DG methods for compressible flows. In: Deconinck H, ed. VKI LS 2014-03: 37th Advanced VKI CFD Lecture Series: Recent Developments in Higher Order Methods and Industrial Application in Aeronautics, Dec. 9-12, 2013. Rhode-Saint-Genese, Belgium: Von Karman Institute for Fluid Dynamics (2014)
Hicken, J.E.: Output error estimation for summation-by-parts finite-difference schemes. J. Comput. Phys. 231(9), 3828–3848 (2012)
Hicken, J.E., Del Rey Fernández, D.C., Zingg, D.W.: Multidimensional summation-by-parts operators: general theory and application to simplex elements. SIAM J. Sci. Comput. 38(4), A1935–A1958 (2016)
Hicken, J.E., Zingg, D.W.: Superconvergent functional estimates from summation-by-parts finite-difference discretizations. SIAM J. Sci. Comput. 33(2), 893–922 (2011)
Hicken, J.E., Zingg, D.W.: Summation-by-parts operators and high-order quadrature. J. Comput. Appl. Math. 237(1), 111–125 (2013)
Hicken, J.E., Zingg, D.W.: Dual consistency and functional accuracy: a finite-difference perspective. J. Comput. Phys. 256, 161–182 (2014)
Hunter, J.D.: Matplotlib: A 2d graphics environment. IEEE Ann. History Comput. 9(03), 90–95 (2007)
Kirby, R.M., Karniadakis, G.E.: Selecting the numerical flux in discontinuous Galerkin methods for diffusion problems. J. Sci. Comput. 22(1–3), 385–411 (2005)
Mattsson, K.: Summation by parts operators for finite difference approximations of second-derivatives with variable coefficients. J. Sci. Comput. 51(3), 650–682 (2012)
Mattsson, K., Almquist, M.: A solution to the stability issues with block norm summation by parts operators. J. Comput. Phys. 253, 418–442 (2013)
Mattsson, K., Ham, F., Iaccarino, G.: Stable and accurate wave-propagation in discontinuous media. J. Comput. Phys. 227(19), 8753–8767 (2008)
Mattsson, K., Nordström, J.: Summation by parts operators for finite difference approximations of second derivatives. J. Comput. Phys. 199(2), 503–540 (2004)
Mattsson, K., Svärd, M., Shoeybi, M.: Stable and accurate schemes for the compressible Navier-Stokes equations. J. Comput. Phys. 227(4), 2293–2316 (2008)
Peraire, J., Persson, P.O.: The compact discontinuous Galerkin (CDG) method for elliptic problems. SIAM J. Sci. Comput. 30(4), 1806–1824 (2008)
Sherwin, S., Kirby, R., Peiró, J., Taylor, R., Zienkiewicz, O.: On 2D elliptic discontinuous Galerkin methods. Int. J. Numer. Methods Eng. 65(5), 752–784 (2006)
Shu, C.W.: Different formulations of the discontinuous Galerkin method for the viscous terms. Z.-C. Shu, M. Mu, W. Xue, J. Zou (Eds.), Advances in Scientific Computing pp. 144–155 (2001)
Svärd, M., Nordström, J.: On the order of accuracy for difference approximations of initial-boundary value problems. J. Comput. Phys. 218(1), 333–352 (2006)
Svärd, M., Nordström, J.: On the convergence rates of energy-stable finite-difference schemes. J. Comput. Phys. 397, 108819 (2019)
Worku, Z.A., Zingg, D.W.: Simultaneous approximation terms and functional accuracy for diffusion problems discretized with multidimensional summation-by-parts operators. J. Comput. Phys. 445, 110634 (2021)
Yan, J., Crean, J., Hicken, J.E.: Interior penalties for summation-by-parts discretizations of linear second-order differential equations. J. Sci. Comput. 75(3), 1385–1414 (2018)
Acknowledgements
We wish to thank David Craig Penner and Tristan Montoya for their helpful feedback on the functional superconvergence analysis. All figures are produced using Matplotlib [25].
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
The authors have no conflicts of interest to declare.
Data Availability
Not applicable.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendices
A Proof of Proposition 2.1
The form of the second derivative we wish to prove, (2.6), corresponds to application of integration by parts twice. Substituting (2.1) and (2.2) into (2.4), we have
Adding and subtracting \(\mathsf {H}_{k}^{-1}\left( \mathsf {D}_{k}^{(2)}(\varLambda )\right) ^{T}\mathsf {H}_{k}\), we get
which is the desired result.
B Proof of Theorem 4.1
It is sufficient to show that the result holds for a domain tessellated by two elements, \( \varOmega _L \) and \( \varOmega _R \), as the interface SATs considered couple immediate neighboring elements only. We let the Dirichlet and Neumann boundary conditions be implemented at the left and right boundaries of the domain. The boundary terms in both forms of the functional, (3.2) and (3.4), involve the products \( \psi \lambda {\partial }\mathcal {U}/{\partial }x \) and \( \mathcal {U} \lambda {\partial }\psi /{\partial }x\). Using the continuity of \(\psi \), \( \mathcal {U}\), and \(\lambda \), we can approximate \( (\psi \lambda {\partial }\mathcal {U}/{\partial }x) \in \mathcal {C}^{2p+1}(\varOmega )\) and (\(\mathcal {U} \lambda {\partial }\psi /{\partial }x) \in \mathcal {C}^{2p+1}(\varOmega )\) at the boundary nodes by degree \( \le 2p \) polynomials. The integrands in the volume integrals of (3.2) and (3.4) are 2p times differentiable, i.e., \( (\mathcal {G}\mathcal {U}), (\psi \mathcal {F}) \in \mathcal {C}^{2p}(\varOmega )\). Since integrals are approximated by quadratures of order \( h^{2p} \), replacing \( (\mathcal {G}\mathcal {U}), (\psi \mathcal {F}) \in \mathcal {C}^{2p}(\varOmega )\) by \( (\widetilde{\mathcal {G}\mathcal {U}}), (\widetilde{\psi \mathcal {F}})\in \mathbb {P}^{2p-1}({\varOmega }) \) in the functionals introduces an error of order \( h^{2p} \). Therefore, we consider \( \widetilde{\mathcal {U}}, (\widetilde{\lambda {\partial }\mathcal {U}/{\partial }x}) \in \mathbb {P}^{p}({\varOmega }) \) to be at least order \( h^{p+1} \) approximations of \( \mathcal {U} \) and \( ({\lambda {\partial }\mathcal {U}/{\partial }x}) \), respectively, and thus \( \widetilde{\mathcal {F}} \in \mathbb {P}^{p-1}({\varOmega }) \) due to the steady version of the primal PDE, (3.1). Similarly, considering \( \widetilde{\psi }, (\widetilde{\lambda {\partial }\psi /{\partial }x}) \in \mathbb {P}^{p}({\varOmega }) \) to be at least order \( h^{p+1} \) approximations of \( \psi \) and \( ({\lambda {\partial }\psi /{\partial }x}) \), respectively, gives \( \widetilde{\mathcal {G}} \in \mathbb {P}^{p-1}({\varOmega })\) due to the adjoint PDE, (3.5). For primal and adjoint consistent discretizations, the numerical primal and adjoint solutions are order \( h^{\ge p+1} \) accurate despite the polynomial approximations; hence, it is sufficient to show that either (4.21) or (4.22) hold for the polynomial integrands instead of the general continuous functions. Note that compatible functionals satisfy \( \mathcal {I}(\mathcal {U}) = \mathcal {I}(\psi ) \), and we enforced the condition \( I_h(\varvec{u}_h) = I_h(\varvec{\psi }_h) \) to find the discrete adjoint problem; hence, \( \mathcal {I}(\mathcal {U})-I_h(\varvec{u}_h) = \mathcal {I}(\psi ) - I_h(\varvec{\psi }_h)\). For the rest of the proof, we drop the tilde sign used to distinguish polynomials from the general continuous functions.
If \( {\mathcal {U}}\in \mathbb {P}^{p}({\varOmega }) \) and \(({\lambda {\partial }\mathcal {U}/{\partial }x}) \in \mathbb {P}^{p}({\varOmega })\), then we discretize (3.2) to find
where \( w_{\ell L} = [\lambda \frac{\partial {\mathcal{U}}}{\partial x}n_{\ell }]_{\varGamma ^{D}} \) and \( u_{r R} = {\mathcal {U}}|_{\varGamma ^N} \). Subtracting (4.3) from (B.1) and rearranging, we have
Since \( {\mathcal {U}}\in \mathbb {P}^{p}({\varOmega })\), the \( \mathsf {R}_{\gamma k}\) and \( \mathsf {D}_{\gamma k}\) matrices are exact when applied to the restriction of \( \mathcal {U} \) to the grid points, e.g., \( \mathsf {R}_{r R}{\varvec{u}}_R = u_{r R} \) and \( \mathsf {D}_{\ell L}{\varvec{u}}_L = w_{\ell L} \). Applying this property in (B.2) and simplifying we obtain
Adding \( \varvec{\psi }^{T}\mathbb {H}R_{h,u}\left( \varvec{u}_{h}\right) =0 \) to the RHS of (B.3) and rearranging terms, we have
Using the identity in (2.6) we can write
which, after substituting into (B.4) and simplifying, gives
Since \( {\mathcal {U}}\in \mathbb {P}^{p}({\varOmega })\), the second term on the RHS vanishes due to the primal PDE. The third term is \( \mathcal {O}(h^{\ge 2p+1}) \) due to the consistency of the adjoint discretization, the fact that \( \mathbb {H} \) is \( \mathcal {O}(h) \), and Assumption 1. Therefore, \( \mathcal {I}\left( \mathcal {U}\right) =I_{h}\left( \varvec{u}_{h}\right) +\mathcal{O}\left( h^{2p}\right) \).
Alternatively, if we consider \( {\psi }\in \mathbb {P}^{p}({\varOmega }) \) and \(({\lambda {\partial }\psi /{\partial }x}) \in \mathbb {P}^{p}({\varOmega })\), we start by discretizing the second form of the functional, (3.4),
where \( z_{\ell L} = \left[ \lambda \frac{\partial {\psi }}{\partial x}n_{\ell }\right] _{\varGamma ^{D}} \) and \(\psi _{r R} = {\psi }|_{\varGamma ^{N}} \). Subtracting (4.4) from (B.7) and rearranging, we obtain
Using the accuracies of \( \mathsf {R}_{\gamma k}\) and \( \mathsf {D}_{\gamma k}\) to approximate the boundary terms, adding \( \varvec{u}^{T}\mathbb {H}R_{h,\psi }\left( \varvec{\psi }_{h}\right) =0 \), and simplifying leads to
Using the identity (B.5) and simplifying, we find
Noting that \( \mathbb {M} + \mathbb {M}^T = \varvec{0} \), we have
The second and fourth terms on the RHS of (B.11) vanish due to the adjoint PDE and the adjoint consistency requirement that \( \mathbb {M}=\varvec{0} \), respectively. The third term is \( \mathcal {O}(h^{\ge 2p+1}) \) due to the consistency of the primal discretization, the scaling of the norm matrix, and Assumption 1. Therefore, the estimates in (4.21) and (4.22) hold.
C Proof of Lemma 4.1
The nullspace consistency of the \( \mathsf {D}_{k}^{(2)}(\varLambda ) \) in Assumption 3 implies the following:
The second term in the last equality in (C.1) is zero due to the structure of the \( \mathsf {E}_{k}\) matrix, i.e., \( \mathsf {E}_{k}\varLambda _{k}\mathsf {D}_{b,k}\varvec{v}_c = \varvec{0}\); thus, \( \mathsf {M}_k \varvec{v}_c = \varvec{0} \). Furthermore, \( \mathsf {M}_k\varvec{x}_k\ne \varvec{0} \) in (C.2) since otherwise we would obtain
which is not possible as \( \mathsf {R}_{r k} \) and \( \mathsf {R}_{\ell k} \) do not have nonzero values at the same entries, and \( \lambda > 0 \). We have used the accuracy of \( \mathsf {D}_{r k} \) and \( \mathsf {D}_{\ell k} \) in the penultimate equality in (C.3), i.e., \( \mathsf {D}_{r k}\varvec{x}_k = \lambda _{r} \) and \( \mathsf {D}_{\ell k}\varvec{x}_k = -\lambda _{\ell } \), where \( \lambda _{\ell } \) and \( \lambda _{r} \) are at least order \( h^{p+1} \) approximations of \( \lambda \) at the left and right boundaries of \( \varOmega _{k} \), respectively. Hence, there is no vector spanned by \( \{\varvec{1},\varvec{x}_k\} \) other than \( \varvec{v}_c \) that is in the nullspace of \( \mathsf {M}_k \). If there exists a nontrivial vector \( \varvec{v} \) such that \(\varvec{v} \notin \mathrm{span}\{\varvec{1}, \varvec{x}_k\} \) and \( \mathsf {M}_k \varvec{v} = \varvec{0} \), then
because \( \mathsf {D}_{k}^{(2)}(\varLambda ) \) is nullspace consistent and \( \mathsf {H}_k \) is SPD. The vector \(\mathsf {E}_{k}\varLambda _{k}\mathsf {D}_{b,k}\varvec{v} \) has zero entries at rows corresponding to the zero rows of the \( \mathsf {E}_{k}\) matrix. By construction, \( \mathsf {D}_{k}^{(2)}(\varLambda ) \) has larger dense blocks at the top left and bottom right corners (consisting of more rows and columns) than the \( \mathsf {E}_{k}\) matrix; therefore, it follows from the nullspace consistency of the \( \mathsf {D}_{k}^{(2)}(\varLambda ) \) matrix that \( [\mathsf {H}_k\mathsf {D}_{k}^{(2)}(\varLambda ) \varvec{v}]_i \ne 0\) and \( [\mathsf {E}_{k}\varLambda _{k}\mathsf {D}_{b,k}\varvec{v}]_i = 0 \), at least for one entry, the i-th entry, near the boundaries. This implies that the equality in (C.4) cannot hold for any vector \(\varvec{v}\notin \mathrm{span}\{\varvec{1},\varvec{x}_k\} \); hence, we have \( \mathcal {N}(\mathsf {M}_k)=\varvec{v}_c \). Since \( \mathsf {M}_{k}= \mathsf {M}_{k}^T \), it follows that \( \mathcal {N}(\mathsf {M}_{k}^{T})=\varvec{v}_c \). Using the result in (4.27) with the fact that \( \mathcal {N}(\mathsf {M}_k) = \mathcal {N}(\mathsf {M}_{k}^T)= \varvec{v}_c \), we obtain
Thus, \( \varvec{v}_0 \) is the only nontrivial vector in the nullspace of \( \mathsf {V}_{k} \). Analogous results hold for \( \mathsf {V}_{v} \).
D Proof of Theorem 4.3
We wish to show that the matrices in (4.30) are positive semidefinite. The matrix \( \mathsf {A}\), whose components are given in (4.31), is symmetric; thus, we can use Theorem 4.2 to determine the conditions required for it to be positive semidefinite. We have \( \mathsf {A}_{22} \succeq 0\) because \( \mathsf {V}_{k} \) and \( \mathsf {V}_{v} \) are positive semidefinite, \( \alpha _{\gamma k}>0\), and \(\alpha _{\gamma v} >0 \). Therefore, the first condition in Theorem 4.2 is satisfied. The second condition in Theorem 4.2 requires that
where \( \mathsf {I}_{2n_p} \) and \( \mathsf {I}_{n_p} \) are identity matrices of size \( 2n_p \times 2n_p \) and \( n_p\times n_p \), respectively. To show that (D.1) holds, we consider the singular value decomposition of \( \mathsf {V}_{k} \),
where the columns of \( \mathsf {X}\) and \( \mathsf {Y}\) contain orthonormal basis vectors of the column and row spaces, respectively, and \( \varSigma \) is a diagonal matrix containing the singular values of \( \mathsf {V}_{k} \) along its diagonal. Lemma 4.1 and Assumption 4 ensure that the matrix \( \mathsf {V}_{k} \in \mathbb {R}^{{n_p}\times {n_p}} \) has only one nontrivial vector in its nullspace; hence, the first \( n_p - 1 \) columns of \( \mathsf {X}\) contain orthonormal basis vectors that span the column space of \( \mathsf {V}_{k} \) and the last column contains the vector in the nullspace of \( \mathsf {V}_{k} \), which is \( \varvec{v}_0 \). We also note that
where we have used the orthonormality of \( \mathsf {Y}\) in the second equality, i.e., \( \mathsf {Y}^{T}\mathsf {Y}=\mathsf {I}_{n_p} \), and \( \mathsf {I}_m \) denotes an identity matrix of size \( n_p \times n_p \) with the last diagonal entry set to zero (since \( \varSigma _{ii} = 0\) for \( i>m \), where \( m = n_p -1 \) is the rank of \( \mathsf {V}_{k} \)). Therefore, for operators that include the boundary nodes, we have \( \mathsf {I}_{n_p}-\mathsf {V}_{k}\mathsf {V}_{k}^{+}=\mathsf {I}_{n_p}-\mathsf {X}\mathsf {I}_m\mathsf {X}^{T} \), which gives
where \( \times \) denotes an entry that we do not need to specify for this analysis. Similarly, for operators that do not include boundary nodes, we obtain
i.e., the first and last s rows are zero, where s is half of the number of zero entries in \( \varvec{v}_0 \). For operators that have nodes at the boundaries, the LHS of (D.1) can be evaluated using (D.4) as
Similarly, substituting (D.5) into (D.1), it is straightforward to show that the condition \( \left( \mathsf {I}_{2n_p}-\mathsf {A}_{22}\mathsf {A}_{22}^{+}\right) \mathsf {A}_{21} = 0\) also holds for operators that do not include boundary nodes. For \( \mathsf {A}\) to be positive semidefinite, it remains to find sufficient conditions to satisfy the last requirement in Theorem 4.3, i.e., \( \mathsf {A}_{11}-\mathsf {A}_{12}\mathsf {A}_{22}^{+}\mathsf {A}_{21} \succeq 0\), which, after some algebra, gives the condition
where \( \otimes \) denotes the Kronecker product. Since \( \big [\begin{matrix} 1 &{} -1 \\ -1 &{} 1 \end{matrix}\big ] \succeq 0 \), the inequality in (D.7) is satisfied if
which is the same as the condition given by (4.32). Note that \( \mathsf {C}_{\gamma k}\mathsf {V}_{k}^{+}\mathsf {C}_{\gamma k}^{T} = \mathsf {R}_{\gamma k}\varLambda _{k}\mathsf {V}_{k}^{+}\varLambda _{k}\mathsf {R}_{\gamma k}^{T} \) since \( n_{\gamma k}^2 = 1 \).
The second matrix in (4.30) can be written as
which is positive semidefinite provided \( \mathsf {T}_{\gamma k}^{(4)}=\mathsf {T}_{\gamma v}^{(4)} \ge 0\), since \( \big [\begin{matrix} 1 &{} 1 \\ 1 &{} 1 \end{matrix}\big ] \succeq 0\) . Finally, we note that the last matrix in (4.30) is symmetric, and \( \alpha _{\gamma k}\mathsf {V}_{k} \succeq 0 \). Furthermore, using the same approach used to obtain (D.6) it can be shown that
irrespective of whether or not the operator includes boundary nodes. The last condition required for positive semidefiniteness of the last matrix in (4.30) is
which is satisfied if (4.33) holds. Therefore, the conditions in Theorem 4.3 are indeed sufficient for energy stability.
Rights and permissions
About this article
Cite this article
Worku, Z.A., Zingg, D.W. Stability and Functional Superconvergence of Narrow-Stencil Second-Derivative Generalized Summation-By-Parts Discretizations. J Sci Comput 90, 42 (2022). https://doi.org/10.1007/s10915-021-01707-5
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s10915-021-01707-5
Keywords
- Summation-by-parts
- Adjoint consistency
- Simultaneous approximation term
- Narrow-stencil
- Functional superconvergence