• 沒有找到結果。

2 SBP Difference Operators

N/A
N/A
Protected

Academic year: 2022

Share "2 SBP Difference Operators"

Copied!
40
0
0

加載中.... (立即查看全文)

全文

(1)

Chia-Chi Chang Min-Hung Chen C. H. Teng

Department of Mathematics

National Cheng Kung University, Tainan 701, Taiwan November 7, 2007

Correspondence: Min-Hung Chen

Email: mhchen@math.ncku.edu.tw Mailing address: Department of Mathematics

National Cheng Kung University

No.1 University Road, Tainan City 701, Taiwan Phone: +886-6-2757575 Ext 65127

Fax number: +886-6-2743191

1This work is partially supported by National Science Council grant No. NSC 95-2120-M- 001-003 and grant No. NSC 95-2115-M-006-010.

(2)

tors for approximating first order differential operators. We present these difference operators are global fifth and seventh order accurate schemes composed of eighth and tenth order stencils accurate at the interior points and enclosed by fourth and sixth order accurate numerical boundary sten- cils. The difference operators are specifically constructed such that these operators satisfy summation-by-parts rules. Numerical schemes based on the new difference operators incorporate with simultaneous approxima- tion term boundary conditions for solving model scalar waves problems were constructed. For temporal discretization, to achieve full high-order convergence in time and space, we march numerical solutions in time by implementing the m-stage mth-order strong stability-preserving Runge Kutta algorithms. Several applications of the difference operators are illustrated and their expected convergent patterns observed.

Key Words: summation-by-parts, high-order finite difference, simul- taneous approximation term, strong stability-preserving Runge Kutta, wave equations

1

(3)

1 Introduction

In the pioneering work contributed by Kreiss and Oliger [9], it was shown that high-order schemes, due to small accumulations of numerical phase error, are fa- vorable for simulating wave problems requiring long-time integrations. Serving as an important piece of evidence, this conclusion indeed has inspired researchers in the scientific computing community to construct high-order accurate simu- lation algorithms for solving time dependent problems. However, designing a high-order scheme remains a challenging task. A theoretically important issue is the stability of a high-order scheme.

For linear periodic problems, constructing a high-order accurate spatial ap- proximation based on central difference methods is a straight forward task, and stability of schemes can be examined by the classical von-Nuemann analysis or by energy methods (see [21]). However, to devise a scheme for a non-periodic problem, one needs to construct one-sided boundary stencils to enclose the do- main of interest. Without exercising great care, such an approach may cause a scheme to become unstable, even though the corresponding periodic scheme is stable in the von-Nuemann or in the energy sense.

For non-periodic problems, based on the concept of generalized summation- by-parts (SBP) property for differential equations introduced by Kreiss and Scherer [23], Strand [17] constructed high-order accurate SBP difference opera- tors. Such a methodology elucidated a way of constructing a high-order finite difference scheme which is stable in a discrete energy sense. However, it was also observed that numerical solutions computed by energy-stable SBP algorithms may still grow exponentially in time. Thus, this unwanted exponential growth may restrict the practical usage of such SBP computational methods in solving wave problems requiring long-time integrations.

Funaro and Gottlieb [5, 6] imposed a stable numerical boundary penalty term for solving hyperbolic problems by pseudospectral methods. With a set of free parameters introduced in a scheme, such a penalty formulation was in fact very constructive in the sense that the scheme can be made stable by properly choos- ing the values of the penalty parameters via a discrete energy estimate. More- over, it was shown that numerical solutions computed by these model spectral penalty schemes were time-stable. In addition to these conceptual schemes for model problems, advanced multidimensional spectral/pseudospectral penalty methods have also been developed for solving complex physical systems. For further details in the spectral penalty methods, we refer readers to the work by Hesthaven [8] and the references within.

There is an important similarity between the spectral penalty computa- tional framework and the SBP finite difference method. Notice that conducting an energy-based stability analysis for a pseudospectral penalty scheme hinges upon an important tool: Gauss’ quadrature integration rules. These quadra- ture integration rules, in fact, play a similar role to the SBP rules in high-order finite difference methods. Because of this similarity, one can construct an accu- rate time-stable scheme by adopting the penalized boundary formulation into a high-order SBP finite difference computational framework. Indeed, based on the compact finite difference methods, Carpenter et. al. [3] introduced such a boundary penalty formulation, called the simultaneous approximation term (SAT) procedure, and constructed SBP schemes for solving model scalar wave equations and systems of wave equations. It was shown that with the use of

(4)

the SAT boundary procedure, numerical solutions were stable in both an energy sense and in time.

Based on the SAT procedure and the theory established by Olsson [15, 16], Strand [18] further constructed SBP-SAT finite difference schemes and demon- strated time-stable wave computations. As demonstrated by Abarbanel, Cher- tock and Yefet [1, 2, 20] time-stable high-order compact difference schemes were successfully constructed for solving multidimensional scalar wave equations and systems of wave equations. Hence, we observe that the general framework pre- sented by Carpenter, Gottlieb and Abarbanel [3] is a road map toward to suc- cessfully and systematically constructing a stable and accurate scheme for wave problems. In this paper we follow a similar approach and present two high-order SBP schemes for solving wave problems. The features of the proposed schemes are as follows.

Spatial approximations are achieved by constructing one dimensional im- plicit difference operators which are of global fifth and seventh order accuracy.

The fifth order one is composed of an eighth order stencil accurate at the interior points and enclosed by a fourth order stencil accurate near the domain bound- aries. The seventh order one consists of tenth order accurate approximations at the interior points and sixth order accurate boundary stencils near the domain boundaries. Basic one dimensional difference operators are further employed to construct multidimensional difference operators used to compute numerical derivatives. In addition, SBP rules for the proposed difference operators, in- cluding the multidimensional ones, are established. Numerical SAT schemes for solving model wave problems in space of one dimension and in space of mul- tiple dimensions are constructed. Stability analysis of the schemes are then performed at the semi-discrete level. It is shown that these algorithms can be made asymptotically stable under certain discrete weighted norms by provid- ing suitable values of the penalty parameters. For temporal discretization we adopt the m-stage m-order strong stability-preserving (SSP) Runge Kutta (RK) algorithms [7] to march numerical solutions in time. Numerical validations of the proposed methods are tested through various model problems and we ob- served expected accuracy. The computational results indicate that the schemes are long-time stable. Thus, the proposed methods are favorable for simulating wave problems requiring long-time integration.

We organize the rest of the paper as follows. In Section 2 we present gen- eral concepts related to SBP implicit difference operators for approximating derivatives of functions defined on one dimensional and multidimensional spaces.

Section 3 is devoted to constructing the SBP schemes for solving model wave problems. Numerical validations of the schemes are presented in Section 4.

Concluding remarks are given last.

2 SBP Difference Operators

2.1 Basic Concepts and Notations

Let I = [0, 1]. Consider two functions f (x) and g(x) defined on I. We define the continuous L2 inner product and norm for functions over I as

(f, g) = Z

I

f g dx, ||f ||2I = (f, f )

(5)

The above concept can be extended for functions defined on multidimen- sional space. Consider I2= [0, 1] × [0, 1]. Let f and g be functions defined on I2. The continuous L2 inner product and norm for functions over I2 are defined as

(f, g) = Z

I2

f g dx dy, ||f ||2I2= (f, f ).

Likewise, for functions defined on I3 = [0, 1] × [0, 1] × [0, 1] we denote the con- tinuous L2 inner product and norm for functions over I3as

(f, g) = Z

I3

f g dx dy dz, ||f ||2I3= (f, f ).

Let L be a positive integer. Denote VLand MLthe vector spaces for vectors of length L and square matrices of size L, respectively.

We introduce a set of uniformly spaced grid points:

xi= ih, i = 0, 1, 2, ..., L, h = 1/L,

where h is the grid distance. Consider two vectors, f , g ∈ VL+1, explicitly given by

f = [f0, f1, ..., fL]T, g= [g0, g1, ..., gL]T,

where the superscript T denotes the transpose. Let M ∈ ML+1be a symmetric positive definite matrix. We define a weighted discrete L2 inner product and norm, with respect to the step size h and the matrix M , for vectors as

(f , g)h,M = hfTM g, ||f ||2h,M = (f , f )h,M.

If M is an identity matrix then we recover the un-weighted discrete L2 inner product and norm with respect to the step size h for vectors as

(f , g)h= hfTg, ||f ||2h= (f , f )h.

To numerically approximate a function u and its derivative du/dx, we con- sider the difference approximation of the form

P vx= h−1Qv, or vx= Dv = h−1P−1Qv, (1) where

v= [v0, v1, ..., vL]T, vx= [vx0, vx1, ..., vxL]T,

denote the numerical approximations of u and u0 evaluated at the grid points, and D, P , Q ∈ ML+1.

Let u and ux denote vectors with components being, respectively, the col- located values of the functions u and du/dx at the grid points, i.e.,

u= [u(x0), u(x1), ..., u(xL)]T, ux= du(x0)

dx , du(x1)

dx , ..., du(xL) dx

T

.

The truncation error teof the scheme Eq.(1) is defined by P te= P ux− h−1Qu,

(6)

and |te| = O(hαx, hβx) where α and β are the convergence rates of the approxi- mation at interior and boundary grid points, respectively.

In this paper, we devise implicit difference methods for approximating the differential operator d/dx by constructing a special class of P and Q satisfying the following properties;

SBP1: The matrix P is symmetric positive definite.

SBP2: The matrix Q is nearly skew-symmetric and satisfies the constraint Q+ QT

2 = diag(q00, 0, ..., 0, qLL), q00< 0, qLL= −q00> 0.

where q00 and qLL are the upper most and lower most diagonal elements of Q.

For an operator D = h−1P−1Q with P and Q satisfying the constraints SBP1 and SBP2, we have a result that mimics the integration-by-parts rule.

Lemma 1 (Summation-by-Parts). Consider the difference operator D = h−1P−1Qwhere P and Q satisfy SBP1 and SBP2, respectively. We have

(v, Dv)h,P = (v, h−1P−1Qv)h,P = q00v20+ qLLvL2, for v ∈ VL+1.

Proof. First we rewrite the inner product as (v, Dv)h,P = v, h−1Qv

h= vTQSv+ vTQAv

where QS = (Q+QT)/2 and QA= (Q−QT)/2 are, respectively, the symmetric and anti-symmetric parts of the matrix Q. Notice that vTQAv = 0 since QA is antisymmetric. Thus, we have

(v, Dv)h,P = vTQSv = q00v20+ qLLv2L, where the last equality is due to SPB2. This completes the proof.

Lemma 1 is of importance. For a continuous function f , with f0 denoting its derivative, we have

(f, f0) = Z

I

f f0dx = 1

2(f2(1) − f2(0)), (2) followed by the integration-by-parts rule, an important tool for showing well- posedness of initial boundary value problems by energy methods (see [21]). In fact, the result presented in Lemma 1 is a discrete analogue of Eq.(2), which will be used to establish stability results for numerical partial differential equa- tions. Later in this context, we will establish extended versions of Lemma 1 for multidimensional grid functions.

In this paper we adopt the methods shown by Carpenter et. al. and Chertock [3, 20] and construct two new high order SBP implicit difference operators: one is composed of an eighth order stencil accurate at interior points and a fourth order accurate stencil near the domain boundaries which yield a global fifth order approximation scheme; the other one is consisting of a tenth order stencil accurate at interior points and a sixth order stencil accurate near the boundaries which yields a global seventh order approximation scheme. Elements of matrices P and Q for these two operators are given in Appendix A.

(7)

2.2 Difference Approximations beyond 1D

We now generalize the introduced concepts into a multidimensional framework.

To clearly illustrate multidimensional SBP concepts it is important to have a clear set of notations. For such a purpose, we first present a set of notations by adopting those used in the studies [10, 11, 12, 13, 14] with some modifications.

We proceed as follows.

Let us introduce the Kronecker Product.

Definition 1 (Kronecker Product). Let A be a p×q matrix with its elements denoted by aij, and let B be an m × n matrix, then

A⊗ B =

a11B . . . a1qB ... . .. ... ap1B . . . apqB

.

The p × q block matrix A ⊗ B is called Kronecker Product.

Properties of Kronecker Product used through out this paper are summarized as follows:

Lemma 2.

(A ⊗ B)(C ⊗ D) = (AC) ⊗ (BD), (A ⊗ B)T = AT ⊗ BT

assuming that both the ordinary matrix multiplications AC and BD are defined.

Lemma 3. The Associative Property:

(A ⊗ B) ⊗ C = A ⊗ (B ⊗ C) Lemma 4. The Bilinear Property:

(A + B) ⊗ C = A ⊗ C + B ⊗ C A⊗ (B + C) = A ⊗ B + A ⊗ C (kA) ⊗ B = A ⊗ (kB) = k(A ⊗ B) Lemma 5. There exists a permutation matrix R such that

A⊗ B = RT(B ⊗ A)R

Lemma 6. If {λi} and {µj} are eigenvalues of matrix A and B, then A ⊗ B has eigenvalue as the form λiµj for all i, j.

Lemma 7. Let A ∈ Mn and B ∈ Mm. If {λi} and {µj} are eigenvalues of matrix A and B, then I ⊗ A + B ⊗ I has eigenvalue as the form λi+ µj for all i, j.

Readers who are interested in the details of the Kronecker product are re- ferred to [22].

Let L, M and N denote positive integers. Through out the rest of this paper, we use i, j, k and i0, j0, k0 as dummy indices, and

0 ≤ i, i0≤ L, 0 ≤ j, j0≤ M, 0 ≤ k, k0≤ N

(8)

unless specified otherwise. Moreover, for simplicity we use the following short- handed notations:

L

X

i,i0=0

=

L

X

i=0 L

X

i0=0

,

M

X

j,j0=0

=

M

X

j=0 M

X

j0=0

,

N

X

k,k0=0

=

N

X

k=0 N

X

k0=0

.

Denote δµν the Kronecker delta function. Define exi= [δi0, δi1, ..., δiL]T, exi∈ VL+1, eyj = [δj0, δj1, ..., δjM]T, eyj ∈ VM +1, ezk = [δk0, δk1, ..., δkN]T, ezk∈ VN +1.

Note that the sets {exi}Li=0, {eyj}Mj=0 and {ezk}Nk=0consist bases of the vector spaces VL+1, VM +1 and VN +1, respectively. In addition, we define the sets:

{eij= eyj⊗ exi| 0 ≤ i ≤ L, 0 ≤ j ≤ M },

{eijk= ezk⊗ eyj⊗ exi| 0 ≤ j ≤ M, 0 ≤ k ≤ N },

which consist bases of the vector spaces V(M +1)×(L+1)and V(N +1)×(M +1)×(L+1), respectively.

For two dimensional space problems we consider a 2D grid mesh with grid points (xi, yj) ∈ I2 defined by

(xi, yj) = (ihx, jhy), hx= 1

L, hy= 1

M. (3)

We define

v= [v00v10. . . vL−1MvLM]T =

L

X

i=0 M

X

j=0

vijeij, (4) in which vij denote the grid-function values at the grid points.

Notice that Pxand Py are symmetric positive definite. Thus, by Lemma 2 and Lemma 6, the matrix Pxy = Py⊗ Px∈ M(M +1)×(L+1) is also symmetric positive definite. We define a weighted discrete inner product and norm for vectors f , g ∈ V(M +1)×(L+1)as

(f , g)hxy,Pxy = hxhyfT(Py⊗ Px)g, ||f ||2hxy,Pxy = (f , f )hxy,Pxy. Similarly, we define an un-weighted discrete inner product and norm for vectors f, g ∈ V(M +1)×(L+1) as

(f , g)hxy = hxhyfTg, ||f ||2hxy = (f , f )hxy.

For three dimensional space problems, we consider a set of three dimensional grid points, (xi, yj, zk), where

(xi, yj, zk) = (ihx, jhy, khz), hx= 1

L, hy= 1

M, hz= 1

N. (5)

We define the three dimensional grid-function v by

v= [v000v100 . . . vL−1M NvLM N]T =

L

X

i=0 M

X

j=0 N

X

k=0

vijkeijk, (6)

(9)

where vijk denote the grid-function values at the grid points (xi, yj, zk).

Notice that Px, Pyand Pz are symmetric positive definite matrices. Thus, by Lemma 2 and Lemma 6, the matrix Pxyz= Pz⊗ Py⊗ Pxis also symmetric positive definite. We define a weighted discrete inner product and norm for vectors f , g ∈ V(N +1)×(M +1)×(L+1) as

(f , g)hxyz,Pxyz= hxhyhzfT(Pz⊗ Py⊗ Px)g,

||f ||2hxyz,Pxyz = (f , f )hxyz,Pxyz.

Similarly, an un-weighted discrete inner product and norm for vectors f , g ∈ V(N +1)×(M +1)×(L+1) are defined as

(f , g)hxyz= hxhyhzfTg, ||f ||2hxyz = (f , f )hxyz. 2.2.1 Difference Operators in 2D

We now seek difference operators for calculating numerical derivatives of a vector v∈ V(M +1)×(L+1). Denote the one dimensional difference operators in x and y directions, respective, by

Dx= h−1x P−1x Qx, Dx, Px, Qx∈ ML+1

Dy = h−1y P−1y Qy, Dy, Py, Qy ∈ MM +1,

where Pxand Pysatisfy SBP1 and Qxand Qy satisfy SBP2. To numerically differentiate v, we define the two dimensional difference operators for approxi- mating ∂/∂x and ∂/∂y, respectively, as

Dx= IM +1⊗ Dx= IM +1⊗ h−1x P−1x Qx, (7a) Dy= Dy⊗ IL+1= h−1y P−1y Qy⊗ IL+1, (7b) where IL+1∈ ML+1 and IM +1∈ MM +1 are identity matrices.

Equations (7) lead to the following result.

Lemma 8 (Summation-by-Parts in 2D). Consider the 2D difference oper- ators, Eqs.(7). Let qiix0 and qyjj0 denote the elements of the matrices, Qx and Qy, respectively. For v ∈ V(L+1)×(M +1), we have

(v, Dxv)hxy,Pxy = q00x||v0j||2hy,Py+ qxLL||vLj||2hy,Py, (v, Dyv)h

xy,Pxy = q00y ||vi0||2hx,Px+ qyM M||viM||2hx,Px, where

v0j=

M

X

j=0

v0jeyj, vLj=

M

X

j=0

vLjeyj,

vi0=

L

X

i=0

vi0exi, viM =

L

X

i=0

vi0exi.

Proof. Denote QSx = (Qx+ QTx)/2 and QAx = (Qx− QTx)/2 the symmetric and anti-symmetric parts of Qx, respectively. We have

(v, Dxv)hxy,Pxy = hyvT(Py⊗ QSx)v + hyvT(Py⊗ QAx)v.

(10)

Since Py⊗ QAx is anti-symmetric, the second term vanishes. We now treat the first term

hyvT(Py⊗ QSx)v

=

L

X

i,i0=0 M

X

j,j0=0

hyvijvi0j0(eTyj0⊗ eTxi0)(Py⊗ QSx)(eyj⊗ exi)

in details. Applying Lemma 2 we have

(eTyj0⊗ eTxi0)(Py⊗ QSx)(eyj⊗ exi)

=eTyj0Pyeyj⊗ eTxi0QSxexi

ii0qiix0(eTyj0Pyeyj) where the last equality results from

QSx = diag(qx000, . . . , 0, qLLx ) due to SBP2. Therefore, we obtain

hyvT(Py⊗ QSx)v

=hyq00x

M

X

j0,j=0

v0j0eTyj0Pyeyjv0j+ hyqxLL

M

X

j0,j=0

vLj0eTyj0PyeyjvLj,

and prove the first statement.

The second part of the proof is similar and we omit the details. This com- pletes the proof.

2.2.2 Difference Operators in 3D

To conduct numerical differentiation of v defined by Eq.(6), we take a similar approach as shown in Sec.2.2.1. Define the one dimensional difference operators along x, y and z directions, respective, by

Dx= h−1x P−1x Qx, Dx, Px, Qx∈ ML+1, Dy = h−1y P−1y Qy, Dy, Py, Qy ∈ MM +1, Dz= h−1z P−1z Qz, Dz, Pz, Qz∈ MN +1,

where Px, Py and Pz satisfy SBP1 and Qx, Qy and Qz satisfy SBP2. The three dimensional difference operators for approximating ∂/∂x, ∂/∂y and ∂/∂z are defined as

Dx= IN +1⊗ IM +1⊗ Dx= IN +1⊗ IM +1⊗ h−1x P−1x Qx, (8a) Dy= IN +1⊗ Dy⊗ IL+1= IN +1⊗ h−1y P−1y Qy⊗ IL+1, (8b) Dz= Dz⊗ IM +1⊗ IL+1= h−1z P−1z Qz⊗ IM +1⊗ IL+1, (8c) where IL+1∈ ML+1, IM +1∈ MM +1 and IN +1∈ MN +1 are identity matrices.

Equations (8) lead to the following result.

(11)

Lemma 9 (Summation-by-Parts in 3D). Consider the 3D difference oper- ators, Eqs.(8). Let qijx, qijy and qzij denote the elements of the matrices Qx, Qy and Qz, respectively. We have

(v, Dxv)hxyz,Pxyz = q00x||v0jk||2hyz,Pyz+ qLLx ||vLjk||2hyz,Pyz (v, Dyv)hxyz,Pxyz = q00y ||vi0k||2hxz,Pxz+ qM My ||viM k||2hxz,Pxz (v, Dzv)hxyz,Pxyz = q00z ||vij0||2hxy,Pxy+ qzN N||vijN||2hxy,Pxy where

v0jk=

M

X

j=0 N

X

k=0

v0jkezk⊗ eyj, vLjk=

M

X

j=0 N

X

k=0

vLjkezk⊗ eyj

vi0k=

L

X

i=0 N

X

k=0

vi0kezk⊗ exi, viM k =

L

X

i=0 N

X

k=0

viM kezk⊗ exi,

vij0=

L

X

i=0 M

X

j=0

vij0eyj⊗ exi, vijN =

L

X

i=0 M

X

j=0

vijNeyj⊗ exi.

Proof. Denote QSx = (Qx+ QTx)/2 and QAx = (Qx− QTx)/2 the symmetric and anti-symmetric parts of Qx, respectively. We have

(v, Dxv)hxyz,Pxyz

=hyhzvT(Pz⊗ Py⊗ QSx)v + hyhzvT(Pz⊗ Py⊗ QAx)v.

Notice that the second term vanishes since the matrix Pz⊗ Py⊗ QAx is anti- symmetric. We now treat the first term

hyhzvT(Pz⊗ Py⊗ QSx)v

=hyhz L

X

i,i0=0 M

X

j,j0=0 N

X

k,k0=0

vijkvi0j0k0eTi0j0k0(Pz⊗ Py⊗ QSx)eTijk

in details. Notice that

eTi0j0k0(Pz⊗ Py⊗ QSx)eijk

=(eTzk0⊗ eTyj0⊗ eTxi0)(Pz⊗ Py⊗ QSx)(ezk⊗ eyj⊗ exi)

=(eTzk0⊗ eTyj0)(Pz⊗ Py)(ezk⊗ eyj) ⊗ eTxi0QSxexi

ii0qiix0(eTzk0⊗ eTyj0)(Pz⊗ Py)(ezk⊗ eyj).

So

(v, Dxv)hxyz,Pxyz

=q00x

M

X

j,j0=0 N

X

k,k0=0

v0jkv0j0k0hyhz(eTzk0⊗ eTyj0)(Pz⊗ Py)(ezk⊗ eyj)

+qLLx

M

X

j,j0=0 N

X

k,k0=0

vLjkvLj0k0hyhz(eTzk0⊗ eTyj0)(Pz⊗ Py)(ezk⊗ eyj)

=q00x||v0jk||2hyz,Pyz+ qLLx ||vLjk||2hyz,Pyz,

(12)

and we prove the first part of the lemma.

Since the proofs of the other two statements are similar, we omit the deriva- tion details. This completes the proof.

3 Schemes for Model Wave Equations

In this section, we construct schemes for model wave problems using the dif- ference methods introduced in the previous section. We start by devising a scheme for solving one dimensional scalar wave problems. Stability analysis will be discussed at the semi-discrete level. We then illustrate the multidimensional setting, followed by the one dimensional one.

3.1 One Dimensional Advection Equation

Consider the advection equation

∂u

∂t +∂u

∂x = 0, x ∈ I, t ≥ 0, (10)

with the initial condition

u(x, 0) = f (x), x ∈ I, (11)

and the boundary condition

u(0, t) = g(t), t ≥ 0. (12)

Equation (10) leads to an energy rate d

dt||u||2I = g2(t) − u2(1, t),

followed by multiplying u to Eq.(10), integrating the resultant equation over the domain I, conducting integration-by-parts and applying the boundary condition.

For well-posed analysis it is sufficient to consider g = 0, and we obtain an energy estimate

||u(x, t)||2I ≤ ||u(x, 0)||2I = ||f (x)||2I. (13) We now devise a scheme, which mimics Eq.(13), for numerically solving the one dimensional scalar wave problem.

Consider a equally spaced partition:

xi= ih, h = 1/L.

With videnoting the approximation of u(xi), we seek a numerical solution v of the form

v(t) = [v0(t), v1(t), ..., vL(t)]T, which satisfies the semidiscrete scheme

dv

dt + h−1P−1Qv= h−1τ q00(v0− g(t))P−1e0, (14a) v(0) = f = [f (x0), f (x1), ..., f (xL)]T, (14b)

(13)

where P and Q are defined by Eq.(1), and e0= [1, 0, ..., 0]T.

In Eq.(14a) it is shown that the boundary condition is incorporated into the scheme through the SAT method. The introduced variable τ is a free parameter, and it’s value is determined by conducting a discrete energy estimate for which Eq.(14a) is stable at the semi-discrete level. The stability analysis is summarized as a theorem.

Theorem 1. Assume that there exists a smooth solution to the one dimensional wave problem described by Eqs.(10-12). Then Eq.(14a) is stable at the semi- discrete level provided that

τ ≥ 1.

Moreover, v(t) satisfies the estimate

||v(t)||2h,P ≤ ||f ||2h,P.

Proof. Similar to the well-posed analysis yielding an energy estimate for the continuous problem, we now conduct a stability analysis for the scheme based on a discrete energy estimate in || · ||h,P norm.

Multiplying hvTP to the scheme and invoking Lemma 1 we obtain 1

2 d

dt||v||2h,P = −(q00v02+ qLLv2L) + τ v0q00(v0− g(t)).

For the stability analysis, it is sufficient enough to consider the scheme subject to g(t) = 0. Hence,

1 2

d

dt||v||2h,P = q00(τ − 1)v20− qLLvL2 ≤ q00(τ − 1)v02,

where the last inequality results from qLL> 0 demanded by SBP2. Recall that q00< 0. So, taking τ ≥ 1 immediately yields a non-increasing energy rate

1 2

d

dt||v||2h,P ≤ 0, which leads to the estimate

||v(t)||2h,P ≤ ||v(0)||2h,P = ||f ||2h,P. Thus, the scheme is stable. This completes the proof.

3.2 Multidimensional Wave Equations

3.2.1 Scheme for 2D Wave Problem Consider the 2D advection equation

∂u

∂t +∂u

∂x+∂u

∂y = 0, (x, y) ∈ I2, t ≥ 0, (15) with the initial condition at t = 0

u(x, y, 0) = f (x, y), (x, y) ∈ I2, (16)

(14)

and the boundary condition

u(0, y, t) = g1(y, t), 0 ≤ y ≤ 1, t ≥ 0, (17a) u(x, 0, t) = g2(x, t), 0 ≤ x ≤ 1, t ≥ 0. (17b)

We first give an energy estimate of the two dimensional problem. Multiplying u to Eq.(15), integrating the resultant equation over the domain I2, conducting integration-by-parts and invoking Eqs.(17) with g1 = g2 = 0, we obtain an energy rate

d

dt||u||2I2 ≤ 0, (18)

which implies

||u||2I2 ≤ ||f ||2I2, (19) followed by integrating Eq.(18) and further applying Eq.(16).

Similar to the 1D case, we now find an approximation that mimics Eq.(19).

Consider the 2D grid mesh with grid points (xi, yj) defined by Eq.(3). Let vij denote the grid-function values at the grid points (xi, yj). We define the numerical solution v ∈ V(L+1)×(M +1)of the form

v(t) =

L

X

i=0 M

X

j=0

vij(t)eij

satisfying the scheme dv

dt + Dxv+ Dyv= r, (20a)

v(t = 0) = f =

L

X

i=0 M

X

j=0

f (xi, yj)eij. (20b)

where

r= h−1x τ1 M

X

j=0

q00x(v0j− g1(yj, t))(eyj⊗ P−1x ex0)

+ h−1y τ2 L

X

i=0

qy00(vi0− g2(xi, t))(P−1y ey0⊗ exi).

As in the one dimensional case, the boundary condition is weakly imposed upon the scheme through the SAT methodology. The introduced variable τ1

and τ2 are free parameters, and their values are determined by conducting a discrete energy estimate for which Eq.(20) is stable at the semi-discrete level in

|| · ||Py⊗Px norm. The stability analysis is summarized as a theorem.

Theorem 2. Assume that there exists a smooth solution to the two dimensional wave problem described by Eqs.(15-17). Then Eq.(20a) is stable at the semi- discrete level provided that

τ1, τ2≥ 1.

Moreover, v(t) satisfies the estimate

||v(t)||2hxy,Pxy ≤ ||f ||2hxy,Pxy. (21)

(15)

Proof. For stability analysis, it is sufficient to consider the problem subject to homogeneous boundary conditions. We have

1 2

d

dt||v||2hxy,Pxy =

 v,dv

dt



hxy,Pxy

= − (v, Dxv)hxy,Pxy− (v, Dyv)hxy,Pxy+ (v, r)hxy,Pxy. (22) Notice that with ei0j0 = eyj0⊗ exi0

(v, r)hxy,Pxy = hyτ1q00x

L

X

i0=0 M

X

j0,j=0

vi0j0v0j(eTi0j0)(Py⊗ Px)(eyj⊗ P−1x ex0)

+ hxτ2q00y

L

X

i0,i=0 M

X

j0=0

vi0j0vi0(eTi0j0)(Py⊗ Px)(P−1y ey0⊗ exi)

Applying Lemma 2 one can easily show that

(eTi0j0)(Py⊗ Px)(eyj⊗ P−1x ex0) = δi00(eTyj0Pyeyj) (eTi0j0)(Py⊗ Px)(P−1y ey0⊗ exi) = δj00(eTxi0Pxexi) Therefore,

(v, r)hxy,Pxy = τ1qx00

M

X

j0,j=0

hyv0j0v0j(eTyj0Pyeyj)

+ τ2qy00

L

X

i0,i=0

hxvi00vi0(eTxi0Pxexi)

= τ1qx00||v0j||2hy,Py+ τ2q00y ||vi0||2hx,Px

Substituting the above expression into Eq.(22) and invoking Lemma 8, we have 1

2 d

dt||v||2hxy,Pxy = (τ1− 1)q00x||v0j||2Py− qxLL||vLj||2Py + (τ2− 1)qy00||vi0||2Px− qyM M||viM||2Px Taking τ1, τ2≥ 1 yields

1 2

d

dt||v||2hxy,Pxy ≤ 0,

which implies Eq.(21). Thus, the scheme is stable. This completes the proof.

3.2.2 Scheme for 3D Wave Problem Consider the advection equation

∂u

∂t +∂u

∂x+∂u

∂y +∂u

∂z = 0, (x, y, z) ∈ I3, t ≥ 0, (23) with the initial condition

u(x, y, z, 0) = f (x, y, z), (x, y, z) ∈ I3, (24)

(16)

and the boundary condition

u(0, y, z, t) = g1(y, z, t), 0 ≤ y, z ≤ 1, t ≥ 0, (25a) u(x, 0, z, t) = g2(x, z, t), 0 ≤ x, z ≤ 1, t ≥ 0, (25b) u(x, y, 0, t) = g3(x, y, t), 0 ≤ x, y ≤ 1, t ≥ 0. (25c)

We first give an energy estimate of the three dimensional problem. Integrat- ing the equation, resulting from multiplying u to Eq.(23), over the domain I3, performing integration-by-parts and applying Eqs.(25) with g1 = g2= g3 = 0, we yield an energy rate:

d

dt||u||2I3 ≤ 0, leading to

||u||2I3 ≤ ||f ||2I3. (26) Similar to 1D and 2D cases, we now seek an approximation possessing a discrete energy estimate mimicking Eq.(26).

Consider the 3D grid mesh defined by Eq.(5). Let vijk denote the grid- function values at the grid points (xi, yj, zk). We define the numerical solution of the form

v(t) =

L

X

i=0 M

X

j=0 N

X

k=0

vijk(t)eijk

satisfying the scheme dv

dt + Dxv+ Dyv+ Dzv = r, (27a) v(0) = f =

L

X

i=0 M

X

j=0 N

X

k=0

f (xi, yj, zk)eijk. (27b)

where

r= h−1x τ1 M

X

j=0 N

X

k=0

q00x(v0jk− g1(yj, zk, t))(ezk⊗ eyj⊗ P−1x ex0)

+ h−1y τ2 L

X

i=0 N

X

k=0

qy00(vi0k− g2(xi, zk, t))(ezk⊗ P−1y ey0⊗ exi)

+ h−1z τ3 L

X

i=0 M

X

j=0

qz00(vij0− g3(xi, yj, t))(P−1z ez0⊗ eyj⊗ exi)

As in the reduced dimensional cases, the boundary condition is weakly im- posed upon the scheme through the SAT methodology. The introduced variables τ1τ2and τ3are free parameters, and their values are determined by conducting a discrete energy estimate for which Eq.(27a) is stable at the semi-discrete level in || · ||Px⊗Py⊗Pz norm. The stability analysis is summarized as a theorem as follows.

We first prove the result.

(17)

Lemma 10. Let g1= g2= g3= 0. Then (v, r)hxyz,Pxyz

1q00x||v0jk||2hyz,Pyz+ τ2q00y ||vi0k||2hxz,Pxz+ τ3q00z ||vij0||2hxy,Pxy Proof. Notice that

(v, r)hxyz,Pxyz = τ1qx00r1+ τ2qy00r2+ τ3q00z r3, where with Pxyz= Pz⊗ Py⊗ Px

r1=

L

X

i0=0 M

X

j0,j=0 N

X

k0,k=0

hyhzvi0j0k0v0jk(eTi0j0k0)(Pxyz)(ezk⊗ eyj⊗ P−1x ex0)

r2=

M

X

j0=0 L

X

i0,i=0 N

X

k0,k=0

hxhzvi0j0k0vi0k(eTi0j0k0)(Pxyz)(ezk⊗ P−1y ey0⊗ exi)

r3=

N

X

k0=0 L

X

i0,i=0 M

X

j0,j=0

hxhyvi0j0k0vij0(eTi0j0k0)(Pxyz)(P−1z ez0⊗ eyj⊗ exi)

Observe that

(eTi0j0k0)(Pxyz)(ezk⊗ eyj⊗ P−1x ex0)

=(eTzk0 ⊗ eTyj0⊗ eTxi0)(Pz⊗ Py⊗ Px)(ezk⊗ eyj⊗ P−1x ex0)

= (eTzk0⊗ eTyj0)(Pz⊗ Py)(ezk⊗ eyj) ⊗ (eTxi0ex0)

i00(eTzk0⊗ eTyj0)(Pz⊗ Py)(ezk⊗ eyj) Hence

r1=

M

X

j0,j=0 N

X

k0,k=0

hyhzv0j0k0v0jk(eTzk0⊗ eTyj0)(Pz⊗ Py)(ezk⊗ eyj)

= ||v0jk||2hyz,Pyz

Following similar approaches we obtain

r2= ||vi0k||2hxz,Pxz, r3= ||vij0||2hxy,Pxy. This completes the proof.

Theorem 3. Assume that there exists a smooth solution to the three dimen- sional wave problem described by Eqs.(23-25). Then Eq.(27a) is stable at the semi-discrete level provided that

τ1, τ2, τ3≥ 1.

Moreover, v(t) satisfies the estimate

||v(t)||2hxyz,Pxyz ≤ ||f ||2hxyz,Pxyz.

(18)

Proof. For stability analysis, it is sufficient to consider the problem subject to homogeneous boundary conditions, i.e., g1= g2= g3= 0

We have

1 2

d

dt||v||2hxyz,Pxyz =

 v,dv

dt



hxyz,Pxyz

= − (v, Dxv)hxyz,Pxyz− (v, Dyv)hxyz,Pxyz

− (v, Dzv)hxyz,Pxyz+ (v, r)hxyz,Pxyz. Invoking Lemma 9 and Lemma 10, we have

1 2

d

dt||v||2hxyz,Pxyz = (τ1− 1)q00x||v0jk||2hyz,Pyz− qLLx ||vLjk||2hyz,Pyz + (τ2− 1)qy00||vi0k||2hxz,Pxz− qM My ||viM k||2hxz,Pxz + (τ3− 1)qz00||vij0||2hxy,Pxy− qzN N||vijN||2hxy,Pxy

Recall that qx00, qy00, qz00< 0, and qLLx , qyM M, qzN N > 0 due to SBP2. So, taking τ1, τ2, τ3≥ 1 yields

1 2

d

dt||v||2hxyz,Pxyz≤ 0, which implies

||v(t)||2hxyz,Pxyz ≤ ||f ||2hxyz,Pxyz. Therefore, the scheme is stable. This completes the proof.

3.3 Time Discretization

Let us write the semi-discrete schemes as d

dtC = LC + S(t) (28)

where C(t) = (cj(t))1≤j≤K, L consists the difference operator modified by the SAT term, and S(t) contains the time explicit boundary conditions. To approx- imate the solution to Eq (28), we implement a scheme which is an extension to the SSP-RK scheme introduced in Gottlieb et al. [7] for autonomous systems.

Denoting Cn≡ C(tn), we seek an m-th order, m-stage scheme in the form

C(0) = Cn,

C(i) = C(i−1)+ htLC(i−1)+ htS(i), i = 1, ..., m, Cn+1 =Pm

k=0αm,kC(k),

(29)

where the ht denotes the time step and the coefficients αm,k are those corre- sponding to the scheme in Ref.[7], namely

α1,0 = 1

αm,k =1kαm−1,k−1, k = 1, ..., m − 2, αm,m =m!1 , αm,m−1= 0, αm,0= 1 −Pm

k=1αm,k.

(30)

and the source terms S(i)are derived in Chen et. al. [4]

S(i)= (I + htt)i−1S(tn), (31) where I denotes the identity operator.

參考文獻

相關文件

Based on [BL], by checking the strong pseudoconvexity and the transmission conditions in a neighborhood of a fixed point at the interface, we can derive a Car- leman estimate for

In this paper we prove a Carleman estimate for second order elliptic equa- tions with a general anisotropic Lipschitz coefficients having a jump at an interface.. Our approach does

In this paper, we extended the entropy-like proximal algo- rithm proposed by Eggermont [12] for convex programming subject to nonnegative constraints and proposed a class of

From these characterizations, we particularly obtain that a continuously differentiable function defined in an open interval is SOC-monotone (SOC-convex) of order n ≥ 3 if and only

• Emergent Z_k 1-form &amp; 2-form symmetry. BF theory

Taking second-order cone optimization and complementarity problems for example, there have proposed many ef- fective solution methods, including the interior point methods [1, 2, 3,

Elsewhere the difference between and this plain wave is, in virtue of equation (A13), of order of .Generally the best choice for x 1 ,x 2 are the points where V(x) has

a) Describe the changing trend of daily patronage of different types of public transport modes in Hong Kong from 2000 to 2015.. b) Discuss the possible reasons leading to