Abstract
We use high order finite difference methods to solve the wave equation in the second order form. The spatial discretization is performed by finite difference operators satisfying a summation-by-parts property. The focus of this work is on numerical treatments of non-conforming grid interfaces and non-conforming mesh blocks. Interface conditions are imposed weakly by the simultaneous approximation term technique in combination with interface operators, which move discrete solutions between grids at an interface. In particular, we consider an interpolation approach and a projection approach with corresponding operators. A norm-compatible condition of the interface operators leads to energy stability for first order hyperbolic systems. By imposing an additional constraint on the interface operators, we derive an energy estimate of the numerical scheme for the second order wave equation. We carry out eigenvalue analyses to investigate the additional constraint and its relation to stability. In addition, a truncation error analysis is performed, and discussed in relation to convergence properties of the numerical schemes. In the numerical experiments, stability and accuracy properties of the numerical scheme are further explored, and the practical usefulness of non-conforming grid interfaces and mesh blocks is discussed in two practical examples.
Similar content being viewed by others
References
Appelö, D., Kreiss, G.: Application of a perfectly matched layer to the nonlinear wave equation. Wave Motion 44, 531–548 (2007)
Balanis, C.A.: Advanced Engineering Electromagnetics. Wiley, New York (1989)
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, 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, 341–365 (1999)
Del Rey Fernández, D.C., Hicken, J.E., Zingg, D.W.: Review of summation-by-parts operators with simultaneous approximation terms for the numerical solution of partial differential equations. Comput. Fluids 95, 171–196 (2014)
Duru, K., Kreiss, G., Mattsson, K.: Stable and high-order accurate boundary treatments for the elastic wave equation on second-order form. SIAM J. Sci. Comput. 36, A2787–A2818 (2014)
Gassner, G.J.: A skew-symmetric discontinuous Galerkin spectral element discretization and its relation to SBP-SAT finite difference methods. SIAM J. Sci. Comput. 35, A1233–A1253 (2013)
Graff, K.F.: Wave Motion in Elastic Solids. Dover Publications, New York (1991)
Gustafsson, B.: High Order Difference Methods for Time Dependent PDE. Springer, Berlin (2008)
Gustafsson, B., Kreiss, H.O., Oliger, J.: Time-Dependent Problems and Difference Methods. Wiley, New Jersey (2013)
Hagstrom, T., Hagstrom, G.: Grid stabilization of high-order one-sided differencing II: second-order wave equations. J. Comput. Phys. 231, 7907–7931 (2012)
Knupp, P., Steinberg, S.: Fundamentals of Grid Generation. CRC Press, Boca Raton (1993)
Komatitsch, D., Tromp, J.: Spectral-element simulations of global seismic wave propagation—I. Validation. Geophys. J. Int. 149, 390–412 (2002)
Kozdon, J.E., Wilcox, L.C.: Stable coupling of nonconforming, high-order finite difference methods. arXiv:1410.5746v3 [math.NA], accepted in SIAM Journal on Scientific Computing
Kreiss, H.O., Oliger, J.: Comparison of accurate methods for the integration of hyperbolic equations. Tellus XXIV 24, 199–215 (1972)
Kreiss, H.O., Petersson, N.A., Yström, J.: Difference approximations for the second order wave equation. SIAM J. Numer. Anal. 40, 1940–1967 (2002)
Kreiss, H.O., Scherer, G.: Finite element and finite difference methods for hyperbolic partial differential equations. Mathematical aspects of finite elements in partial differential equations, Symposium proceedings, pp. 195–212 (1974)
Mattsson, K.: Summation by parts operators for finite difference approximations of second-derivatives with variable coefficients. J. Sci. Comput. 51, 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., Carpenter, M.H.: Stable and accurate interpolation operators for high-order multiblock finite difference methods. SIAM J. Sci. Comput. 32, 2298–2320 (2010)
Mattsson, K., Ham, F., Iaccarino, G.: Stable and accurate wave-propagation in discontinuous media. J. Comput. Phys. 227, 8753–8767 (2008)
Mattsson, K., Ham, F., Iaccarino, G.: Stable boundary treatment for the wave equation on second-order form. J. Sci. Comput. 41, 366–383 (2009)
Mattsson, K., Nordström, J.: Summation by parts operators for finite difference approximations of second derivatives. J. Comput. Phys. 199, 503–540 (2004)
Mattsson, K., Svärd, M., Shoeybi, M.: Stable and accurate schemes for the compressible Navier–Stokes equations. J. Comput. Phys. 227, 2293–2316 (2008)
Nissen, A., Kormann, K., Grandin, M., Virta, K.: Stable difference methods for block-oriented adaptive grids. J. Sci. Comput 65, 486–511 (2015)
Nissen, A., Kreiss, G., Gerritsen, M.: Stability at non-conforming grid interfaces for a high order discretization of the Schrödinger equation. J. Sci. Comput. 53, 528–551 (2012)
Petersson, N.A., Sjögreen, B.: Stable grid refinement and singular source discretization for seismic wave simulations. Commun. Comput. Phys. 8, 1074–1110 (2010)
Strand, B.: Summation by parts for finite difference approximations for d/dx. J. Comput. Phys. 110, 47–67 (1994)
Svärd, M.: On coordinate transformations for summation-by-parts operators. J. Sci. Comput. 20, 29–42 (2004)
Svärd, M., Nordström, J.: Review of summation-by-parts schemes for initial-boundary-value problems. J. Comput. Phys. 268, 17–38 (2014)
Virta, K., Mattsson, K.: Acoustic wave propagation in complicated geometries and heterogeneous media. J. Sci. Comput. 61, 90–118 (2014)
Wang, S., Kreiss, G.: Convergence of summation-by-parts finite difference methods for the wave equation. arXiv:1503.08926v2 [math.NA]
Author information
Authors and Affiliations
Corresponding author
Appendices
Appendix 1
We use L, \(R^1\) and \(R^2\) as subscripts or superscripts to distinguish variables in the left, bottom-right and top-right blocks in the mesh shown in Fig. 2a. The grid functions u, \(v_1\) and \(v_2\) are the numerical solution vectors in \(\varOmega _L\), \(\varOmega _{R^1}\) and \(\varOmega _{R^2}\), respectively. The mesh blocks are non-conforming, and the grid interfaces can be non-conforming as well. Furthermore, there is no strict restriction on the mesh refinement ratio.
1.1 Semi-discretization
In the following, we construct the penalty terms for the numerical treatment of the T-junction interface conditions. The penalty terms for the outer boundaries are omitted. The semi-discretized equation reads
where
and
The elements in the matrices \(\varvec{I_{v_1v_2}^u}\) and \(\varvec{I_u^{v_1v_2}}\) are either zero or one. These two matrices are used to pick up the solution along the interface and put it in the right place for coupling.
1.2 Energy Analysis
We note that there is a similarity between the semi-discretization (20) and (3). Comparing the penalty terms in (21) with the penalty terms in (4), the difference is that \(E_{LR}\otimes I_{F2C}\) in (4) is replaced by \(\varvec{I_{R2L}}\) in (21). Similarly, \(E_{RL}\otimes I_{C2F}\) in (5) is replaced by \(\varvec{I_{L2R}}\) in (22). As a consequence, the energy analysis for (20) follows in the same way as in Theorem 1, if the corresponding norm-compatible condition (Definition 2) and the norm-contracting condition (Definition 3) are satisfied.
For the T-junction interface in consideration, the norm-compatible condition is
and the norm-contracting condition is that the matrices
are symmetric positive semi-definite. It is straightforward to prove (23) by using (15) in Definition 4, so (23) is satisfied for all the projection operators in [14]. However, the validation of the norm-contracting property relies on eigenvalue analyse. We have performed an eigenvalue analysis for the particular mesh setting used in Sect. 5.2.2, and found that the norm-contracting condition is satisfied for the second and fourth order accurate cases. The validation remains with a refined mesh.
Appendix 2
We give a detailed description for the construction of the two grids used in the efficiency studies in Sect. 5.3. A general block \(\mathcal {B}_i\) of a decomposition has four boundaries defined by the parametrized curves
where \(0\le \xi \le 1, 0\le \eta \le 1\). \(\mathcal {C}_{iS}\) and \(\mathcal {C}_{iN}\) describe one pair of opposing sides and \(\mathcal {C}_{iW}\) and \(\mathcal {C}_{iE}\) the other pair. Let \(\mathcal {P}_{iSW}\) denote the point of intersection between the curves \(\mathcal {C}_{iS}\) and \(\mathcal {C}_{iW}\) e.t.c. A bijection \((x,y) = \mathcal {T}_i(\xi ,\eta )\) from the unit square \(\mathcal {S} = [0,1]^2\) to the block \(\mathcal {B}_i\) of the decomposition is given by the transfinite interpolation [12] as
The unit square \(\mathcal {S}\) is discretized by the points
where \(N_{i\xi }\) and \(N_{i\eta }\) are integers determining the number of grid points in the spatial directions of the discretization of the block \(\mathcal {B}_i\). The corresponding grid points are computed as
We now give details on how the grids in \(\mathcal {D}_1 - \mathcal {D}_2\) are constructed. \(\mathcal {D}_1\) represents a circular cavity in an infinite surrounding medium. We construct the computational grid such that the cavity of radius a is centered inside a square of side 2D. This is done by introducing four blocks \(\mathcal {B}^{(1)}_1\)–\(\mathcal {B}^{(1)}_4\). The bounding curves of block \(\mathcal {B}^{(1)}_1\) are given by
The bounding curves of the remaining blocks \(\mathcal {B}^{(1)}_2\)–\(\mathcal {B}^{(1)}_4\) that constitute the square with the cavity at the center are obtained via rotation by a factor \(\pi /2\),
The domain \(\mathcal {D}_1\) can now be represented by attaching the grid representing the cavity to one or more Cartesian blocks.
The circular inclusion of \(\mathcal {D}_2\) is decomposed into five blocks \(\mathcal {B}^{(2)}_1\)–\(\mathcal {B}^{(2)}_5\). The block \(\mathcal {B}^{(2)}_1\) is a square at the center of the circular inclusion with corners at the points \((\pm ad,\pm ad), 0 < d < \sqrt{2}/2\) defined by the bounding curves,
Here a is the radius of the circular inclusion. The block \(\mathcal {B}^{(2)}_2\) is defined by its bounding curves,
The bounding curves of the remaining blocks \(\mathcal {B}^{(2)}_3\)–\(\mathcal {B}^{(2)}_5\) that constitute the circular inclusion of \(\mathcal {D}_2\) are obtained via rotations by a factor \(\pi /2\) as in (6). The inclusion is then centered inside a square of side 2D by attaching it to the blocks \(\mathcal {B}^{(1)}_1\)–\(\mathcal {B}^{(1)}_4\) above. The circular inclusion is now the union of the nine blocks \(\mathcal {B}^{(1)}_1\)–\(\mathcal {B}^{(1)}_4\) and \(\mathcal {B}^{(2)}_1\)–\(\mathcal {B}^{(2)}_5\). The domain \(\mathcal {D}_2\) can now be represented by attaching the grid representing the inclusion to one or more Cartesian blocks.
Rights and permissions
About this article
Cite this article
Wang, S., Virta, K. & Kreiss, G. High Order Finite Difference Methods for the Wave Equation with Non-conforming Grid Interfaces. J Sci Comput 68, 1002–1028 (2016). https://doi.org/10.1007/s10915-016-0165-1
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10915-016-0165-1
Keywords
- Second order wave equation
- Finite difference method
- SBP-SAT
- Non-conforming grid interface
- Interpolation
- Coupling