A Stable and Accurate Davies-like Relaxation Procedure using Multiple Penalty Terms for Lateral Boundary Conditions

Size: px
Start display at page:

Download "A Stable and Accurate Davies-like Relaxation Procedure using Multiple Penalty Terms for Lateral Boundary Conditions"

Transcription

1 A Stable and Accurate Davies-like Relaxation Procedure using Multiple Penalty Terms for Lateral Boundary Conditions Hannes Frenander Division of Computational Mathematics, Department of Mathematics, Linköping University, SE-5883 Linköping, Sweden. Jan Nordström Division of Computational Mathematics, Department of Mathematics, Linköping University, SE-5883 Linköping, Sweden. Abstract A lateral boundary treatment using summation-by-parts operators and simultaneous approximation terms is introduced. The method is similar to Davies relaxation technique used in the weather prediction community and have similar areas of application, but is also provably stable. In this paper, it is shown how this technique can be applied to the shallow water equations, and that it reduces the errors in the computational domain. Keywords: Boundary conditions, Boundary layers, Summation-by-parts, Energy method, Convergence, Shallow water equations 2 3. Introduction Accurate numerical calculations on large domains are often unfeasible. To reduce the computational effort, a coarse global mesh is often used with Abbreviations: Summation-by-parts (SBP) Simultaneous approximations terms (SAT) Multiple penalty technique (MPT) Preprint submitted to Dynamics of Atmospheres and Oceans October 9, 25

2 inter-spaced local domains. The local domains are typically employed where fine meshes are needed to capture phenomena with higher accuracy than in the global domain. In the weather prediction community, local domains are often used to model local weather phenomena. The local domains need to be matched correctly to the global one. Davies (976) introduced a lateral boundary procedure for weather prediction models where the numerical results on the coarse grid are interpolated into the local, fine grid domain. The method was later referred to as Davies relaxation. Other types of interpolation methods are also used within the weather prediction community, see Williamson and Browning (974), Birchfield (96) and Hill (968). In most applications, one aims for accurate results in the local domains, while the accuracy in the global domain is considered given. Therefore, the coupling between the domains is in most cases neglected. There are methods, see Harrison and Elsberry (972), where the coupling between the meshes is considered, such that the results from the local domain influence the global one. However, this coupling often introduces stability issues unless optimally done, see for example Nordström et al. (29b), Nordström et al. (29a). In this work, we will only consider the case where the domains are uncoupled, which is known as one-way nesting. Many existing lateral boundary schemes produce reflections at the lateral boundaries and experience issues due to over-specification of boundary data (Davies (983)). These issues are commonly dealt with by choosing the relaxation coefficients properly (Lehmann (993)) and adding dissipation to the numerical scheme (Davies (983)). However, altering the scheme in these manners may result in an inaccurate and even unstable scheme. The method introduced in this work can effectively reduce reflections at the lateral boundaries (Nordström et al. (24)), without ruining stability and accuracy. We demonstrate our technique on the shallow water equations, discretized using operators with the summation-by-parts (SBP) property (Carpenter et al. (999), Strand (994), Mattsson and Nordström (24)), augmented with simultaneous approximation terms (SAT) (Carpenter et al. (994)). This is often referred to as the SBP-SAT technique, and a comprehensive review is given by Svärd and Nordström (24). If well-posed boundary conditions are available, this technique yields stable numerical schemes (Carpenter et al. (999)). Nordström et al. (24) showed that if data is available inside the computational domain, additional penalty terms can be applied without ruining 2

3 stability. This method, which we call the multiple penalty technique (MPT), can be used to assimilate global data into local area models, construct nonreflecting boundaries, improve accuracy of the scheme and increase the rate of convergence to steady state, see also Erickson and Nordström (24). The MPT is similar to the Davies relaxation technique mentioned above, but can also be proven to be stable. The rest of the paper will proceed as follows. In the following section, we define well-posedness of a problem and stability of a numerical scheme. Section 3 describes the SBP-SAT technique and MPT on a simple model problem in one space dimension. In section 4, we derive well-posed boundary conditions for the shallow water equations and discretize them by using the SBP-SAT technique. Stability conditions are derived and the MPT is applied such that stability is preserved. In section 5, numerical experiments are performed to illustrate the increased rate of convergence when using the MPT. The assessments of this paper are concluded in section Preliminaries Before moving on to the problem under consideration, we will define well-posedness of an initial-boundary value problem (IBVP) and stability of a numerical approximation. Consider the problem u = Hu + F, r Ω, t t u( r, ) = f( r) () Lu( r, t) = g(t), r δω where H is a differential operator, Ω the spatial domain, δω the boundary to Ω, r the position vector and F, f, g are known functions. In (), L is a boundary operator. The problem () is well-posed if it has a unique solution that, for g = F =, satisfies u( r, t) 2 K c f 2, (2) where Kc is bounded for finite time and independent of f. Moreover, () is strongly well-posed if u( r, t) 2 Kc 2 [ f t ( F 2 + g 2 )dτ] (3)

4 for non-zero g and F. In (2) and (3), f, g and F can be expressed in arbitrary norms. The function Kc 2 is bounded for finite time and does not depend on f, g and F. Let a global semi-discrete approximation of () be v = Hv + F, t t v() = f Lv(t) = g (4) where v is the numerical approximation of u and H is a discrete operator that approximates H. The functions F, f, g are grid functions of F, f and g, i.e. the values are injected at the grid points. Analogously to (2), (4) is stable if v(t) 2 Kd f 2 (5) for F = g =. In (5), Kd 76 is bounded for finite time and independent of f 77 and the mesh size. For non-zero g and F, we say that (4) is strongly stable 78 if v(t) 2 K 2 d[ f 2 + t ( F 2 + g 2 )dτ] (6) where Kd 2 is bounded for finite time and independent of f, g, F and the mesh- 8 size. As in the continuous estimate, f, g and F may be given in 8 arbitrary norms. For a detailed discussion of well-posedness and stability, 82 the reader is referred to Svärd and Nordström (24) The SBP-SAT-MPT technique on a model problem We start by illustrating the SBP-SAT-MPT technique on the advection equation, u t + au x =. (7) In (7), a > is a constant and the domain under consideration is x [, ], t. Unless stated otherwise, we use subscripts to denote partial derivatives, i.e. u x = u/ x and u t = u/ t in (7). For determining well-posed boundary conditions to (7), we multiply with u and integrate over the spatial domain, uu t dx + a uu x dx = 2 4 (u 2 ) t dx + a 2 (u 2 ) x dx =. (8)

5 By defining the standard L 2 -norm u = u2 dx and imposing the boundary condition u(, t) = g(t), where g(t) is known boundary data, (8) becomes After integrating (9) in time, we obtain u 2 + a ( u 2 ) t = ag 2 (t) au 2 (, t). (9) t u 2 (, τ)dτ = f 2 + a t g 2 (τ)dτ. Hence, one can conclude that u satisfy an estimate of the form (3), and (7) with the boundary condition u(, t) = g(t) is therefore strongly well-posed. 3.. The semi-discrete problem Equation (7) is discretized in space using the SBP finite difference operator D = P Q: v t + ap Qv = α P (v g(t))ẽ, () where ẽ = (,,..., ), α is a penalty coefficient to be determined and v is the numerical approximation of u. The matrix P is symmetric and positive definite, and the matrix Q satisfies the SBP property: Q + Q T = diag(,,...,, ). The SAT-term on the right-hand side of () enforces the boundary condition u(, t) = g(t) weakly; see Carpenter et al. (994) for more details of this technique. By multiplying () with v T P from the left, one obtains v T Pv t + av T Qv = α v (v g(t)). () The multiplication with v T P from the left is analogous to multiplication of u and integration over the domain in the continuous setting. Adding the transpose of () to itself and using the SBP property of Q results in ( v P 2 ) t = ag 2 (t) av 2 N a(v g(t)) 2, (2) where we have chosen α = a and defined v 2 P = v T Pv. After integrating (2) in time, one can clearly see that v satisfies an estimate of the form (6), and () is therefore strongly stable. Note also that (2) mimics (9) if v = g(t). As the boundary condition is imposed weakly with the SAT, i.e. v is allowed to slightly deviate from g(t), additional damping is introduced that stabilizes the numerical scheme. For more details of the SBP finite difference operators, the reader is referred to Strand (994) and Svärd and Nordström (24). 5

6 Figure : Illustration of the mesh in one space dimension. The circles denotes the grid points and filled circles denotes grid points where SAT s are applied The multiple penalty technique Consider the problem (7) and assume that data can be obtained at several grid points anywhere in the domain, see Figure for an illustration. We denote the set of grid points where additional data is known as Ω M. By applying penalty terms (SAT s) wherever data is available, () can be extended to v t + ap Qv = α P (v g(t))ẽ + i Ω M α i P (v i g i (t))ẽ i. (3) In (3), α i are additional penalty coefficients to be determined, g i (t) are known data, and ẽ i are projection vectors at grid point i. That is, all elements of ẽ i are zero, except the element i, which is one. As an example, consider ẽ 3 = [,,,,..., ] T. The additional SAT s in (3) are referred to as multiple penalty terms. Stability is obtained in the same way as in section 3., i.e. (3) is multiplied with v T P from the left, and the transpose of the outcome is added to the expression, ( v P 2 ) t = ag 2 (t) a(v g(t)) 2 av 2 N + 2 i Ω M α i v i (v i g i (t)) (4) 34 where we have used α = a. Equation (4) can be rearranged into ( v P 2 ) t = ag 2 (t) a(v g(t)) 2 av 2 N + i Ω M α i (v i g i ) 2 + α i (v 2 i g 2 i ). (5) After integrating (5) in time, one can observe that v satisfies an estimate of the form (6) if α i, and the scheme is therefore strongly stable for these values of α i. Note also that if g i = v i, (5) will mimic the continuous 6

7 estimate (9). The parameters α i can be used to alter the scheme in different ways (while maintaining stability). For example, one can use the MPT to construct buffer zones to reduce reflections, increase the order of accuracy or, as illustrated also in this paper, increase the rate of convergence, see Nordström et al. (24) A numerical example Consider a slightly altered version of (7), u t + au x = F (x, t) u(, t) = g(t) u(x, ) = (6) where F (x, t) is a known forcing function and a =. By choosing F (x, t) = 2πsin(2πx) and g(t) =, the exact steady-state solution to (6) becomes u SS (x) = cos(2πx). This technique is known as the method of manufactured solutions (Lindström and Nordström (2)). In this test case, we assume that we know the solution in the domains x [,.2] and x [.8, ]. We can then apply the MPT by setting the data g i = u SS (x i ) at the corresponding grid points. The aim is to get a better approximation in the region x [.2,.8], where the solution is unknown. We now employ the SBP-SAT technique described above to (6) and measure the deviation from the steady-state solution, u SS. Additional penalty terms are applied in the domains x [,.2] and x [.8, ] and the number of grid points is N = 4. For simplicity, we choose α i =. A fourth order explicit Runge Kutta is used to integrate in time and the error at the final time T = 5 is calculated as e 2 P = (v u SS ) T P(v u SS ). However, the following results would be similar in any L 2 -equivalent norm. As illustrated in Figure 2, the error decrease as the MPT is applied, also at grid points in the domain x [.2,.8], where no data is available. 4. The shallow water equations Consider the inviscid shallow water equations, V t + V V + fe 3 V + g h = h t + V h + h V = (7) 7

8 .25.2 Standard SAT SAT-MPT.5. Error x Figure 2: The error at T = 5 when using standard and multiple penalties. N = where V is the velocity vector, f the Coriolis parameter, h the height and g the gravitational constant. The vector e 3 = [,, ] T is the unit vector in the z-direction. In this work, we consider (7) linearized around a reference state u = [ū, v, H] T, in which H is the reference height and ū, v reference state velocities. More details about linearizing and symmetrizing the shallow water equations is provided by Ghader and Nordström (24). Consider the linearized and symmetrized problem u t + Au x + Bu y + Cu = F(x, y, t) L w u(, y, t) = g w (y, t) L e u(, y, t) = g e (y, t) L s u(x,, t) = g s (x, t) L n u(x,, t) = g n (x, t) u(x, y, ) = f(x, y), (8) where the domain under consideration is x, y [, ], t. This domain constitutes a local domain inserted in a global one, and the boundary data has been obtained from calculations using the global mesh, see Figure 3 for 8

9 n w e y x s Figure 3: An illustration of the problem set-up. The calculations are performed in the central domain where boundary data has been interpolated from the coarse, global domain. The notations w, e, n, s refers to the west, east, north and south boundary, respectively. The central domain has its corners at (, ), (, ), (, ) and (, ) an illustration. The solution to (8) is u = [u, v, gh c ]T where g is the gravitational constant and u, v are the deviation from ū, v, respectively. The variable h denotes the deviation from H, and g w,e,s,n, f are given boundary and initial data. For completeness, a forcing function F(x, y, t) is added to the right-hand side. In (8), ū c v f A = ū, B = v c, C = f c ū c v where c = gh is the gravity wave speed and the matrix C describes the Coriolis force acting on the system. In this work, we focus on sub-critical flows, ū 2 + v 2 < c 2. 9

10 Well-posedness The boundary operators L w,e,s,n must be determined such that (8) is well-posed. For clarity, the forcing function F(x, y, t) is neglected in the following analysis. The technique in section 3. is applied to problem (8); that is, (8) is multiplied with u T from the left and integrated over the spatial domain. One obtains, ( u 2 ) t = u T (αa + βb)uds, (9) Ω where we have employed Greens theorem and defined u 2 = Ω ut udω. In (9), ˆn = [dy, dx] T / dx 2 + dy 2 = [α, β] is the outward pointing normal to the domain. The term ds = dx 2 + dy 2 is the differential along the boundary Ω to the domain Ω. Since C is skew-symmetric, the Coriolis force does not affect the estimate (9). By considering the domain shown in Figure 3, (9) can be written out explicitly for each separate part of the boundary, u 2 t = Ω x= y= [u T Au, u T Bu] ˆnds = u(x,, t) T Bu(x,, t)dx + u(, y, t) T Au(, y, t)dy. x= y= u(x,, t) T Bu(x,, t)dx u(, y, t) T Au(, y, t)dy (2) All boundary operators that bound the right-hand side of (2) result in an energy estimate, and well-posedness follows if the correct number of boundary conditions is used (Svärd and Nordström (24)). The boundary operators used in this work are L w = S A Λ + A S A T = A + L s = S B Λ + B S B T = B + L e = S A Λ A S A T = A L n = S B Λ B S B T = B, (2) 2 and Λ ± A,B are the positive and negative part of the eigenvalue matrices, re-

11 spectively. The matrices S A = 2 2, S B = 2 2 are the similarity transformations that diagonalizes A, B. We can of course handle any type of flow field, but to exemplify we consider the case ū >, v > and ū 2 + v 2 < c 2. Under these circumstances, the operators in (2) are L w = A + = ū + c ū + c 2ū L s = B + = 2 v v + c v + c 2 2 ū + c ū + c v + c v + c, L e = A = ū c c ū L n = B = v c c v. 2 2 c ū ū c c v v c By using the operators (2), the boundary conditions of (8) becomes A + u(, y, t) = g w (y, t) A u(, y, t) = g e (y, t) B + u(x,, t) = g s (x, t) B u(x,, t) = g n (x, t). (22) 26 The boundary conditions (22) inserted into (2), leads to u 2 t = + x= x= y= y= g T s ([B ] + )g s dx + g n T ([B ] )g n dx g w T ([A ] + )g w dy + g e T ([A ] )g e dy x= x= y= y= u(x,, t) T B u(x,, t)dx u(x,, t) T B + u(x,, t)dx u(, y, t) T A u(, y, t)dx u(, y, t) T A + u(, y, t)dx (23) where [A ] ± and [B ] ± denotes the positive and negative part of the inverse of A and B, respectively. Since A +, B + and A, B, (23) states that u t is bounded by data. After integrating (23) in time, u will

12 Table : The number of boundary conditions at each side of the unit square for the shallow water equations when considering the case ū >, v > and ū 2 + v 2 < c. Boundary South East North West Boundary conditions satisfy an estimate of the form (3). Since we have used the correct number of boundary conditions, we can summarize the results of this section in the following proposition. Proposition. The problem (8) with ū >, v > and ū 2 + v 2 < c is strongly well-posed if L w,e = A ±, L s,n = B ± Remark. The number of boundary conditions at each boundary is equal to the rank of the corresponding boundary operator. For example, at the northern boundary, we have B u(x,, t) = g n ( v c)v + ( c v) gh c = g n(x, t) (24) where g n (x, t) is the boundary data. According to (24), one boundary condition is applied at y =. The number of boundary conditions at each boundary is summarized in Table. Remark 2. With different signs of ū, v, the boundary operators will change. For example, if ū <, we need L w = A, L e = A The semi-discrete formulation The semi-discrete approximation of (8) with the boundary operators (2) using the SBP-SAT technique is v t + (P x Q x I y A)v + (I x P y Q y B)v + (I x I y C)v = (P x E P y I 3 )Σ w (Ā + v g w ) + (P x E N P y I 3 )Σ e (Ā v g e ) + (P x P y E I 3 )Σ s ( B + v g s ) + (P x P y E N I 3 )Σ n ( B v g n ) (25) 2

13 where P x,y are symmetric and positive definite, and Q x,y satisfies the SBPproperty, Q x,y + Q T x,y = B x,y = E + E N = diag(,,...,, ) The subscripts on Q and P in (25) indicate what derivative that is approximated. In (25), I x,y are identity matrices with the same size as P x,y, respectively, I 3 is a 3 3 identity matrix and g e,w,s,n are the boundary data. The symbol in (25) denotes the Kronecker product, which for two arbitrary matrices C and D is defined as c D a 2 D... c m D c C D = 2 D c 22 D c n D c nm D where c ij are the elements of C. In (25), Ā ± = I x I y A ± and B ± = I x I y B ± and the matrices E,N are projection matrices, such that (E ) = (E N ) NN = and zero otherwise. The penalty matrices Σ w,s,e,n will be determined such that stability is obtained and g w,e,s,n are the boundary data. By multiplying (25) with v T P x P y I 3 from the left and choosing Σ w,e = α,2 I x P y I 3, Σ s,n = α 3,4 P x I y I 3 with α,3 =, α 2,4 =, one obtains ( v 2 Px Py I 3 ) t = v T (E P y I 3 )Ā + v + 2v T (E P y I 3 )g w + v T (E P y A )v + v T (E N P y I 3 )Ā v 2v T (E N P y I 3 )g e v T (E N P y A + )v v T (P x E I 3 ) B + v + 2v T (P x E I 3 )g s + v T (P x E B )v + v T (P x E N I 3 ) B v 2v T (P x E I 4 )g n v T (P x E N B + )v. (26) 24 Note that the Coriolis term vanish since C is skew-symmetric, as in the 3

14 242 continuous case. By completing the squares, (26) finally becomes ( v 2 Px Py I 3 ) t = + g T w (E P y [A ] + )g w + v T (E P y A )v g T e (E N P y [A ] )g e v T (E N P y A + )v + g T s (P x E [B ] + )g s + v T (P x E B )v g T n (P x E N [B ] )g n v T (P x E N B + )v (Ā + v g w ) T (E P y [A ] + )(Ā + v g w ) + (Ā v g e ) T (E N P y [A ] )(Ā v g e ) ( B + v g s ) T (P x E [B ] + )( B + v g s ) + ( B v g n ) T (P x E N [B ] )( B v g n ). (27) In (27), [A ] ± and [B ] ± refers to the negative and positive parts of the inverses of A and B, respectively. The matrices [A ] +, [B ] +, A + and B + are all positive semi definite, while the matrices [A ], [B ], A and B are all negative semi definite. This implies that the only terms that are non-negative are the ones containing data. Hence, the growth of v is bounded by applied data. After timeintegration, (27) will satisfy an estimate of the form (6), and (25) is therefore strongly stable. Note that the terms (g w,e ) T (E,N P y [A ] ± )g w,e and the terms (g s,n ) T (P x E,N [A ] ± )g s,n in (27) mimics the integrals in (23) containing the boundary data, and v T (E,N P y A ± )v and v T (P x E,N B ± )v mimics the remaining integrals. Hence, (27) mimics the continuous energy estimate, given by (23), if the small damping terms are neglected. We summarize the results of this section in the following proposition. Proposition 2. The semi-discrete approximation (25) with Σ w,e = α,2 I x P y I 3 Σ s,n = α 3,4 P x I y I is strongly stable if α,3 = and α 2,4 = The multiple penalty technique Next, we move on to the MPT where additional SAT s are applied at several grid points in the domain. We denote the set of these grid points 4

15 Ω M. To ease the derivations, we consider the error equation corresponding to (25) with additional penalty terms. By inserting the analytic solution, u, into (25) and subtracting the result from (25) with the numerical solution v, one obtains the error equation e t + (P x Q x I y A)e + (I x P y Q y B)e = (P x E I y I 3 )Ā + e + (P x E N I y I 3 )Ā e (I x P y E I 3 ) B + e + (I x P y E N I 3 ) B e+ + (P x E i I y Σ i )L MP i e + Te, i Ω M (28) where e = v u is the error and Te is the truncation error. The terms (P x E i I y Σ i )L MP i e are the MPT s in Ω M. The elements of E i are (E i ) ii = and zero otherwise. In (28), we have used the penalty matrices in Proposition 2 at the physical boundaries. The operators L MP i are arbitrary boundary operators in Ω M, and Σ i are penalty matrices to be determined such that the scheme is stable. To ease the derivations, we neglect the truncation error Te. It can be shown that neglecting the truncation error will not affect the following results. By multiplying (28) with e T (P x P y I 3 ) from the left and adding the transpose of the outcome to itself, one arrives at e 2 t e T E i P y [Σ i L MP i + (Σ i L MP i ) T ]e, (29) i Ω M since the remaining terms only contribute with a decay of energy, as concluded in section 4.2. Every choice of Σ i that makes the right-hand side of (29) non-positive results in a decay of the error, and a stable scheme. Since P y is positive definite and E i is positive semi-definite, the right-hand side of (29) is non-positive if we choose Σ i such that Σ i L MP i + (Σ i L MP i ) T. We summarize the results in the following proposition. Proposition 3. The MPT applied in (28) preserves stability if 282 where L MP i Σ i L MP i are arbitrarily chosen boundary operators. + (Σ i L MP i ) T (3) 5

16 In this work, we apply the MPT close to the boundaries and use the operators L MP w,e = Ā ± and L MP s,n = B ±, where w, e, s, n denotes the boundary where the MPT is applied. The penalty matrices are Σ i e,w = ±I 3 and Σ i n,s = ±I 3. One can easily confirm that these choices satisfy (3). In (28), we have assumed that data is available in the domain Ω M. When considering local area models, as illustrated in Figure 3, the data in Ω M is obtained by interpolating the results from a global calculation on a coarse mesh. In the general case, however, the required data can be obtained in several ways, for example by measurements. Remark 3. It is easy to show that (3) is satisfied if Σ i = γ(l MP i ) T for any constant γ. Hence, one can always find penalty matrices that fulfills Proposition 3. Remark 4. As illustrated in section 3 and (29), the MPT contributes with additional damping terms. This accelerates the rate of convergence, even at grid points where no data is available. 5. Numerical results In our first steady-state test case, we consider (8) with the reference state ū = v = ms, c = 2 ms and g = 9.82 ms 2. The following results are obtained for sub-critical flows. Similar results are obtained for super-critical flows, as illustrated in Appendix A. The local area calculation is modeled by considering a standing wave of the form u(x, y) = sin(2πx)[,, ] T that we consider coming from a global calculation. This solution is obtained by choosing F(x, y, t) and g w,e,s,n accordingly in (8) and adding random errors to it. At t =, we consider the wave to be poorly resolved, as shown to the right in Figure 4, and we wish to get a better resolution by applying the MPT close to the boundaries. Figures 5-7 show the deviation from the steady-state solution using N MP = rn (r is a number between zero and one) additional penalty terms in the vicinity of each boundary with N = 2, 4, 8 grid points in each space direction. At grid point i, j in the penalty domains, we use data from the steadystate solution, i.e. g(x i, y j ) = sin(2πx i )[,, ] T, when applying the MPT. For the spatial discretization, we use a third order accurate SBP scheme. The lateral boundary operators used are L MP w,e = Ā ± and L MP s,n = B ± where w, e, s, n denotes the boundary where the MPT is applied. We use the penalty 6

17 Figure 4: Right: the unresolved solution at t = modeled by adding random errors at each grid point. Left: the solution at steady-state matrices Σ i e,w = ±I 3 and Σ i n,s = ±I 3 to preserve stability. As one can see, the error levels are greatly reduced when the MPT is applied. 5.. Time-dependent solutions For the second time-dependent test case, we let the disturbance in height, h, vary as an oscillating pulse of the form h = exp( r 2 )sin[2π(r 2 t)] where r 2 = (x.5) 2 + (y.5) 2. The oscillating pulse is manufactured by choosing the boundary data and F(x, y, t) in (8) accordingly. We apply the MPT at r = N MP /N additional grid points in the vicinity of each boundary. The applied data in the penalty regions is g(x i, y j ) = h (x i, y j ) = exp( ri,j)sin[2π(r 2 i,j 2 t)], where ri,j 2 = (x i.5) 2 + (y j.5) 2. The simulation starts from the initial condition u =, and is then integrated in time using a fourth order explicit Runge-Kutta method. The solution at different time levels is displayed in Figure 8, and the deviation (or error) from the exact solution as a function of time is shown in Figure 9-. As one can see, the MPT speeds up the rate of convergence also for time-dependent problems. 7

18 - r= r=.2 r=.4 Norm of error t Figure 5: The error as function of time for the shallow water equations. N = 2 and r = N MP /N. - r= r=.2 r=.4 Norm of error t Figure 6: The error as function of time for the shallow water equations. N = 4 and r = N MP /N. 8

19 - r= r=.2 r=.4 Norm of error t Figure 7: The error as function of time for the shallow water equations. N = 8 and r = N MP /N Figure 8: The computed time-dependent solution of h at different time levels. Upper left: t =. Upper right: t =.5. Lower left: t =.75. Lower right: t =.5. 9

20 - r= r=.2 r=.4 Norm of error t Figure 9: The error of h as function of time for the shallow water equations using timedependent boundary data. N = 2 and r = N MP /N. - r= r=.2 r=.4 Norm of error t Figure : The error of h as function of time for the shallow water equations using time-dependent boundary data. N = 4 and r = N MP /N. 2

21 - r= r=.2 r=.4-2 Norm of error t Figure : The error of h as function of time for the shallow water equations using time-dependent boundary data. N = 8 and r = N MP /N Remark 5. All numerical experiments in this work are performed using a third order accurate SBP scheme. A higher order of accuracy has only a small effect on the rate of convergence. The increased rate of convergence is mainly due to the additional damping terms in (29). 6. Summary and conclusions A new lateral boundary procedure (MPT) similar to the one introduced by Davies (976) has been applied to the linearized shallow water equations. The technique builds on a generalization of the SBP-SAT technique. If well-posed boundary conditions are available, the shallow water equations can be discretized using the SBP-SAT technique, such that the resulting scheme is stable. It was shown how additional SAT s can be applied inside the domain, while maintaining stability. The form of the additional SAT s is completely general, and stability can always be obtained by appropriate choices of penalty matrices. All theoretical results of this paper are also general, and can easily be extended to other partial differential equations, such as the Euler and Navier-Stokes equations. The technique is straight-forward to implement, very general and stability 2

22 is easily shown by energy methods. Existing techniques building on Davies relaxation can easily be made stable using the MPT technique. The additional penalty terms increases the rate of convergence to the correct solution for both steady-state and time-dependent problems. In the cases considered in this work, the increase of the rate of convergence is significant. Acknowledgments This project was funded by the Swedish e-science Research Center (SeRC). The funding source had no involvement in the study design, the collection and analysis of data or in writing and submitting this article. Appendix A. Consider (8) with the reference state ū = v = 3/2 ms, c = 2 ms and g = 9.82 ms 2, such that ū 2 + v 2 > c 2. As in Section 5, we construct a steady-state solution u(x, y) = sin(2πx)[,, ] T by choosing the forcing function and boundary data accordingly. The MPT is applied at N MP = rn grid points in the vicinity of each boundary. A SBP scheme with third order overall accuracy is used for the space discretization and a fourth order implicit Runge-Kutta is used to integrate in time. The simulation starts from a poorly resolved wave, as illustrated in Figure 4, and the error as function of time is displayed in Figure A.2. As one can see, the results are similar to the ones obtained in Section 5, where sub-critical flows were considered. References Birchfield, G.E., 96. Numerical prediction of hurricane movement with the use of a fine grid. Journal of Meteorology 7, doi:.75/ (96)7<46:NPOHMW>2..CO;2. Carpenter, M., Gottlieb, D., Abarbanel, S., 994. Time-stable boundary conditions for finite-difference schemes solving hyperbolic systems: methodology and application to high-order compact schemes. Journal of Computational Physics, doi:.6/jcph Carpenter, M., Nordström, J., Gottlieb, D., 999. A stable and conservative interface treatment of arbitrary spatial accuracy. Journal of Computational Physics 48, doi:.6/jcph

23 - r= r=.2 r=.4 Norm of error t Figure A.2: The error as function of time for the shallow water equations with supercritical flows. N = 4 and r = N MP /N Davies, H., 983. Limitations of some common lateral boundary schemes used in regional NWP models. Monthly Weather review, 2 2. doi:.75/52-493(983)>2:losclb>2..co:2. Davies, H.C., 976. A lateral boundary formulation for multi-level prediction models. Quart. J. Roy. Meteor. Soc. 2, doi:.2/qj Erickson, B., Nordström, J., 24. Stable, high order accurate adaptive schemes for long time, highly intermittent geophysics problems. Journal of Computational and Applied Mathematics 27, doi:.6/ j.cam Ghader, S., Nordström, J., 24. Revisiting well-posed boundary conditions for the shallow water equations. Dynamics of Atmospheres and Oceans 66, 9. doi:.6/j.dynatmoce Harrison, E.J., Elsberry, R.L., 972. A method for incorporating nested finite grids in the solution of systems of geophysical equations. Journal of Atmospheric Sciences 29, doi:.75/52-469(972) 29<235:AMFINF>2..CO;2. 23

24 Hill, G.E., 968. Grid telescoping in numerical weather prediction. Journal of Applied Meteorology 7, doi:.75/52-45(968)7<29: GTINWP>2..CO;2. Lehmann, R., 993. On the choice of relaxation coefficients for Davies lateral boundary scheme for regional weather prediction. Meteorology and Atmospheric Physics 52, 4. doi:.7/bf Lindström, J., Nordström, J., 2. A stable and high-order accurate conjugate heat transfer problem. Journal of Computational Physics 229, doi:.6/j.jcp Mattsson, K., Nordström, J., 24. Summation by parts for finite difference approximations of second order derivatives. Journal of Computational Physics 99, doi:.6/j.jcp Nordström, J., Abbas, Q., Erickson, B., Frenander, H., 24. A flexible boundary procedure for hyperbolic problems: multiple penalty terms applied in a domain. Communications in Computational Physics 6, doi:.428/cicp a. Nordström, J., Gong, J., Weide, E., Svärd, M., 29a. A stable and conservative high order multiblock method for the compressible Navier- Stokes equations. Journal of Computational Physics 228, doi:.6/j.jcp Nordström, J., Ham, F., Shoeybi, M., Weide, E., Svärd, M., Mattsson, K., Iaccarino, G., Gong, J., 29b. A hybrid method for unsteady inviscid fluid flow. Computers and Fluids 38, doi:.6/j.compfluid Strand, B., 994. Summation by parts for finite difference approximations for d 422. Journal of Computational Physics, doi:.6/jcph dx Svärd, M., Nordström, J., 24. Review of summation-by-parts schemes for initial-boundary-value problems. Journal of Computational Physics 268, 7 3. doi:.6/j.jcp

25 Williamson, D.L., Browning, G.L., 974. Formulation of the lateral boundary conditions for the NCAR limited-area model. Journal of Applied Meteorology 3, 8 6. doi:.75/52-45(974)3<8:fotlbc>2.. CO;2. 25

A Provable Stable and Accurate Davies-like Relaxation Procedure Using Multiple Penalty Terms for Lateral Boundaries in Weather Prediction

A Provable Stable and Accurate Davies-like Relaxation Procedure Using Multiple Penalty Terms for Lateral Boundaries in Weather Prediction Department of Mathematics A Provable Stable and Accurate Davies-like Relaxation Procedure Using Multiple Penalty Terms for Lateral Boundaries in Weather Prediction Hannes Frenander and Jan Nordström LiTH-MAT-R--24/9--SE

More information

Well-posedness, stability and conservation for a discontinuous interface problem: an initial investigation.

Well-posedness, stability and conservation for a discontinuous interface problem: an initial investigation. Well-posedness, stability and conservation for a discontinuous interface problem: an initial investigation. Cristina La Cognata and Jan Nordström Abstract A robust interface treatment for the discontinuous

More information

Spectral analysis of the incompressible Navier-Stokes equations with different boundary conditions

Spectral analysis of the incompressible Navier-Stokes equations with different boundary conditions Spectral analysis of the incompressible Navier-Stokes equations with different boundary conditions Cristina La Cognata, Jan Nordström Department of Mathematics, Computational Mathematics, Linköping University,

More information

REVIEW OF SUMMATION-BY-PARTS SCHEMES FOR INITIAL-BOUNDARY-VALUE PROBLEMS

REVIEW OF SUMMATION-BY-PARTS SCHEMES FOR INITIAL-BOUNDARY-VALUE PROBLEMS REVIEW OF SUMMATION-BY-PARTS SCHEMES FOR INITIAL-BOUNDARY-VALUE PROBLEMS MAGNUS SVÄRD AND JAN NORDSTRÖM Abstract. High-order finite difference methods are efficient, easy to program, scale well in multiple

More information

Stable and high-order accurate finite difference schemes on singular grids

Stable and high-order accurate finite difference schemes on singular grids Center for Turbulence Research Annual Research Briefs 006 197 Stable and high-order accurate finite difference schemes on singular grids By M. Svärd AND E. van der Weide 1. Motivation and objectives The

More information

Efficient wave propagation on complex domains

Efficient wave propagation on complex domains Center for Turbulence Research Annual Research Briefs 2006 223 Efficient wave propagation on complex domains By K. Mattsson, F. Ham AND G. Iaccarino 1. Motivation and objectives In many applications, such

More information

New Diagonal-Norm Summation-by-Parts Operators for the First Derivative with Increased Order of Accuracy

New Diagonal-Norm Summation-by-Parts Operators for the First Derivative with Increased Order of Accuracy AIAA Aviation -6 June 5, Dallas, TX nd AIAA Computational Fluid Dynamics Conference AIAA 5-94 New Diagonal-Norm Summation-by-Parts Operators for the First Derivative with Increased Order of Accuracy David

More information

Edwin van der Weide and Magnus Svärd. I. Background information for the SBP-SAT scheme

Edwin van der Weide and Magnus Svärd. I. Background information for the SBP-SAT scheme Edwin van der Weide and Magnus Svärd I. Background information for the SBP-SAT scheme As is well-known, stability of a numerical scheme is a key property for a robust and accurate numerical solution. Proving

More information

NUMERICAL SOLUTION OF THE LINEARIZED EULER EQUATIONS USING HIGH ORDER FINITE DIFFERENCE OPERATORS WITH THE SUMMATION BY PARTS PROPERTY

NUMERICAL SOLUTION OF THE LINEARIZED EULER EQUATIONS USING HIGH ORDER FINITE DIFFERENCE OPERATORS WITH THE SUMMATION BY PARTS PROPERTY NUMERICAL SOLUTION OF THE LINEARIZED EULER EQUATIONS USING HIGH ORDER FINITE DIFFERENCE OPERATORS WITH THE SUMMATION BY PARTS PROPERTY Stefan Johansson Department of Information Technology Scientific Computing

More information

Fully Discrete Energy Stable High Order Finite Difference Methods for Hyperbolic Problems in Deforming Domains: An Initial Investigation

Fully Discrete Energy Stable High Order Finite Difference Methods for Hyperbolic Problems in Deforming Domains: An Initial Investigation Full Discrete Energ Stable High Order Finite Difference Methods for Hperbolic Problems in Deforming Domains: An Initial Investigation Samira Nikkar and Jan Nordström Abstract A time-dependent coordinate

More information

Well-posedness, Stability and Conservation for a Discontinuous Interface Problem

Well-posedness, Stability and Conservation for a Discontinuous Interface Problem Department of Mathematics Well-posedness, Stability and Conservation for a Discontinuous Interface Problem Cristina La Cognata and Jan Nordström LiTH-MAT-R--214/16--SE Department of Mathematics Linköping

More information

Singularity of the discrete Laplacian operator

Singularity of the discrete Laplacian operator Singularity of the discrete Laplacian operator Andrea Alessandro Ruggiu Jan Nordström Singularity of the Laplacian A.A.Ruggiu, J.Nordström August 24, 2015 1 Motivation In the SBP SAT framework, for unsteady

More information

SUMMATION-BY-PARTS IN TIME: THE SECOND DERIVATIVE

SUMMATION-BY-PARTS IN TIME: THE SECOND DERIVATIVE Department of Mathematics SUMMATION-BY-PARTS IN TIME: THE SECOND DERIVATIVE Jan Nordström and Tomas Lundquist LiTH-MAT-R--2014/11--SE Department of Mathematics Linköping University S-581 83 Linköping SUMMATION-BY-PARTS

More information

Diagonal-norm upwind SBP operators

Diagonal-norm upwind SBP operators Diagonal-norm upwind SBP operators Ken Mattsson June 8, 16 Abstract High-order accurate first derivative finite difference operators are derived that naturally introduce artificial dissipation. The boundary

More information

Conjugate Heat Transfer for the Unsteady Compressible Navier-Stokes Equations Using a Multi-block Coupling

Conjugate Heat Transfer for the Unsteady Compressible Navier-Stokes Equations Using a Multi-block Coupling Conjugate Heat Transfer for the Unsteady Compressible Navier-Stokes Equations Using a Multi-block Coupling Jan Nordström Department of Mathematics, Linköping University, SE-58 83 Linköping, Sweden Jens

More information

Abstract Simulations of sound pressure levels are often used as a decision basis when planning location for e.g wind turbines. In previous work, an e

Abstract Simulations of sound pressure levels are often used as a decision basis when planning location for e.g wind turbines. In previous work, an e Abstract Simulations of sound pressure levels are often used as a decision basis when planning location for e.g wind turbines. In previous work, an e cient model for computing sound propagation over irregular

More information

Characterizing the Accuracy of Summation-by-Parts Operators for Second-Derivatives with Variable-Coefficients

Characterizing the Accuracy of Summation-by-Parts Operators for Second-Derivatives with Variable-Coefficients 1 Characterizing the Accuracy of Summation-by-Parts Operators for Second-Derivatives with Variable-Coefficients by Guang Wei Yu Supervisor: D. W. Zingg April 13, 2013 Abstract This paper presents the

More information

Boundary Conditions for a Divergence Free Velocity-Pressure Formulation of the Incompressible Navier-Stokes Equations

Boundary Conditions for a Divergence Free Velocity-Pressure Formulation of the Incompressible Navier-Stokes Equations Boundary Conditions for a Divergence Free Velocity-Pressure Formulation of the Incompressible Navier-Stokes Equations Jan Nordström, Ken Mattsson and Charles Swanson May 5, 6 Abstract New sets of boundary

More information

New developments for increased performance of the SBP-SAT finite difference technique

New developments for increased performance of the SBP-SAT finite difference technique New developments for increased performance of the SBP-SAT finite difference technique Jan Nordström 1 and Peter Eliasson 2 1 Department of Mathematics, Computational Mathematics, University of Linköping,

More information

Generalised Summation-by-Parts Operators and Variable Coefficients

Generalised Summation-by-Parts Operators and Variable Coefficients Institute Computational Mathematics Generalised Summation-by-Parts Operators and Variable Coefficients arxiv:1705.10541v [math.na] 16 Feb 018 Hendrik Ranocha 14th November 017 High-order methods for conservation

More information

Math background. Physics. Simulation. Related phenomena. Frontiers in graphics. Rigid fluids

Math background. Physics. Simulation. Related phenomena. Frontiers in graphics. Rigid fluids Fluid dynamics Math background Physics Simulation Related phenomena Frontiers in graphics Rigid fluids Fields Domain Ω R2 Scalar field f :Ω R Vector field f : Ω R2 Types of derivatives Derivatives measure

More information

COUPLING REQUIREMENTS FOR WELL POSED AND STABLE MULTI-PHYSICS PROBLEMS

COUPLING REQUIREMENTS FOR WELL POSED AND STABLE MULTI-PHYSICS PROBLEMS VI International Conference on Computational Methos for Couple Problems in Science an Engineering COUPLED PROBLEMS 15 B. Schrefler, E. Oñate an M. Paparakakis(Es) COUPLING REQUIREMENTS FOR WELL POSED AND

More information

Accurate and stable finite volume operators for unstructured flow solvers

Accurate and stable finite volume operators for unstructured flow solvers Center for Turbulence Research Annual Research Briefs 2006 243 Accurate and stable finite volume operators for unstructured flow solvers By F. Ham, K. Mattsson AND G. Iaccarino 1. Motivation and objectives

More information

PDEs, part 1: Introduction and elliptic PDEs

PDEs, part 1: Introduction and elliptic PDEs PDEs, part 1: Introduction and elliptic PDEs Anna-Karin Tornberg Mathematical Models, Analysis and Simulation Fall semester, 2013 Partial di erential equations The solution depends on several variables,

More information

Numerical methods for the Navier- Stokes equations

Numerical methods for the Navier- Stokes equations Numerical methods for the Navier- Stokes equations Hans Petter Langtangen 1,2 1 Center for Biomedical Computing, Simula Research Laboratory 2 Department of Informatics, University of Oslo Dec 6, 2012 Note:

More information

Energy Stable Boundary Conditions for the Nonlinear Incompressible Navier-Stokes Equations

Energy Stable Boundary Conditions for the Nonlinear Incompressible Navier-Stokes Equations Energy Stable Boundary Conditions for the Nonlinear Incompressible Navier-Stokes Equations Jan Nordström, Cristina La Cognata Department of Mathematics, Computational Mathematics, Linköping University,

More information

Optimal diagonal-norm SBP operators

Optimal diagonal-norm SBP operators Optimal diagonal-norm SBP operators Ken Mattsson 1, Martin Almquist 1 and Mark H. Carpenter 2 1 Department of Information Technology, Uppsala University 2 Computational Aerosciences Branch, NASA Langley

More information

AIMS Exercise Set # 1

AIMS Exercise Set # 1 AIMS Exercise Set #. Determine the form of the single precision floating point arithmetic used in the computers at AIMS. What is the largest number that can be accurately represented? What is the smallest

More information

arxiv: v1 [math.na] 21 Nov 2017

arxiv: v1 [math.na] 21 Nov 2017 High Order Finite Difference Schemes for the Heat Equation Whose Convergence Rates are Higher Than Their Truncation Errors, A. Ditkowski arxiv:7.0796v [math.na] Nov 07 Abstract Typically when a semi-discrete

More information

Partitioned Methods for Multifield Problems

Partitioned Methods for Multifield Problems C Partitioned Methods for Multifield Problems Joachim Rang, 6.7.2016 6.7.2016 Joachim Rang Partitioned Methods for Multifield Problems Seite 1 C One-dimensional piston problem fixed wall Fluid flexible

More information

A new well-posed vorticity divergence formulation of the shallow water equations

A new well-posed vorticity divergence formulation of the shallow water equations See discussions, stats, and author profiles for this publication at: http://www.researchgate.net/publication/280312608 A new well-posed vorticity divergence formulation of the shallow water equations ARTICLE

More information

Well Posed, Stable and Weakly Coupled Fluid Structure Interaction Problems

Well Posed, Stable and Weakly Coupled Fluid Structure Interaction Problems Well Posed, Stable and Weakly Coupled Fluid Structure Interaction Problems Jan Nordström and Sofia Eriksson April 26, 29 Abstract We investigate problems of fluid structure interaction type and aim for

More information

Energy decay in vortices

Energy decay in vortices UPTEC F11 031 Examensarbete 30 hp 07 Juni 2011 Energy decay in vortices Björn Lönn Abstract Energy decay in vortices Björn Lönn Teknisk- naturvetenskaplig fakultet UTH-enheten Besöksadress: Ångströmlaboratoriet

More information

PDE Solvers for Fluid Flow

PDE Solvers for Fluid Flow PDE Solvers for Fluid Flow issues and algorithms for the Streaming Supercomputer Eran Guendelman February 5, 2002 Topics Equations for incompressible fluid flow 3 model PDEs: Hyperbolic, Elliptic, Parabolic

More information

Stable boundary treatment for the wave equation on second-order form

Stable boundary treatment for the wave equation on second-order form Stable boundary treatment for the wave equation on second-order form Ken Mattsson Frank Ham Gianluca Iaccarino June 24, 2008 Abstract A stable and accurate boundary treatment is derived for the secondorder

More information

Stable and compact finite difference schemes

Stable and compact finite difference schemes Center for Turbulence Research Annual Research Briefs 2006 2 Stable an compact finite ifference schemes By K. Mattsson, M. Svär AND M. Shoeybi. Motivation an objectives Compact secon erivatives have long

More information

Diagonalization by a unitary similarity transformation

Diagonalization by a unitary similarity transformation Physics 116A Winter 2011 Diagonalization by a unitary similarity transformation In these notes, we will always assume that the vector space V is a complex n-dimensional space 1 Introduction A semi-simple

More information

A general well-balanced finite volume scheme for Euler equations with gravity

A general well-balanced finite volume scheme for Euler equations with gravity A general well-balanced finite volume scheme for Euler equations with gravity Jonas P. Berberich, Praveen Chandrashekar, Christian Klingenberg Abstract We present a second order well-balanced Godunov-type

More information

EULERIAN DERIVATIONS OF NON-INERTIAL NAVIER-STOKES EQUATIONS

EULERIAN DERIVATIONS OF NON-INERTIAL NAVIER-STOKES EQUATIONS EULERIAN DERIVATIONS OF NON-INERTIAL NAVIER-STOKES EQUATIONS ML Combrinck, LN Dala Flamengro, a div of Armscor SOC Ltd & University of Pretoria, Council of Scientific and Industrial Research & University

More information

Coupled High-Order Finite Difference and Unstructured Finite Volume Methods for Earthquake Rupture Dynamics in Complex Geometries.

Coupled High-Order Finite Difference and Unstructured Finite Volume Methods for Earthquake Rupture Dynamics in Complex Geometries. UPTC F11040 xamensarbete 30 hp Juni 011 Coupled High-Order Finite Difference and Unstructured Finite Volume Methods for arthquake Rupture Dynamics in Complex Geometries Ossian OReilly Abstract Coupled

More information

Chapter 5. Formulation of FEM for Unsteady Problems

Chapter 5. Formulation of FEM for Unsteady Problems Chapter 5 Formulation of FEM for Unsteady Problems Two alternatives for formulating time dependent problems are called coupled space-time formulation and semi-discrete formulation. The first one treats

More information

Appendix C: Recapitulation of Numerical schemes

Appendix C: Recapitulation of Numerical schemes Appendix C: Recapitulation of Numerical schemes August 31, 2009) SUMMARY: Certain numerical schemes of general use are regrouped here in order to facilitate implementations of simple models C1 The tridiagonal

More information

arxiv: v1 [math.na] 20 Nov 2013

arxiv: v1 [math.na] 20 Nov 2013 REVIEW OF SUMMATION-BY-PARTS SCHEMES FOR INITIAL-BOUNDARY-VALUE PROBLEMS MAGNUS SVÄRD AND JAN NORDSTRÖM arxiv:1311.4984v1 [math.na] 2 Nov 213 Abstract. High-order finite difference methods are efficient,

More information

Pressure corrected SPH for fluid animation

Pressure corrected SPH for fluid animation Pressure corrected SPH for fluid animation Kai Bao, Hui Zhang, Lili Zheng and Enhua Wu Analyzed by Po-Ram Kim 2 March 2010 Abstract We present pressure scheme for the SPH for fluid animation In conventional

More information

ON THE BENEFIT OF THE SUMMATION-BY-PARTS PROPERTY ON INTERIOR NODAL SETS

ON THE BENEFIT OF THE SUMMATION-BY-PARTS PROPERTY ON INTERIOR NODAL SETS 6th European Conference on Computational Mechanics (ECCM 6 7th European Conference on Computational Fluid Dynamics (ECFD 7 11 15 June 018, Glasgow, UK ON THE BENEFIT OF THE SUMMATION-BY-PARTS PROPERTY

More information

arxiv: v1 [math.ap] 2 Feb 2011

arxiv: v1 [math.ap] 2 Feb 2011 HIGHER ORDER FINITE DIFFERENCE SCHEMES FOR THE MAGNETIC INDUCTION EQUATIONS WITH RESISTIVITY U KOLEY, S MISHRA, N H RISEBRO, AND M SVÄRD arxiv:48v [mathap] Feb Abstract In this paper, we design high order

More information

Numerical Solutions of the Burgers System in Two Dimensions under Varied Initial and Boundary Conditions

Numerical Solutions of the Burgers System in Two Dimensions under Varied Initial and Boundary Conditions Applied Mathematical Sciences, Vol. 6, 22, no. 3, 563-565 Numerical Solutions of the Burgers System in Two Dimensions under Varied Initial and Boundary Conditions M. C. Kweyu, W. A. Manyonge 2, A. Koross

More information

Strong Stability-Preserving (SSP) High-Order Time Discretization Methods

Strong Stability-Preserving (SSP) High-Order Time Discretization Methods Strong Stability-Preserving (SSP) High-Order Time Discretization Methods Xinghui Zhong 12/09/ 2009 Outline 1 Introduction Why SSP methods Idea History/main reference 2 Explicit SSP Runge-Kutta Methods

More information

Strict Stability of High-Order Compact Implicit Finite-Difference Schemes: The Role of Boundary Conditions for Hyperbolic PDEs, I

Strict Stability of High-Order Compact Implicit Finite-Difference Schemes: The Role of Boundary Conditions for Hyperbolic PDEs, I Journal of Computational Physics 160, 42 66 (2000) doi:10.1006/jcph.2000.6420, available online at http://www.idealibrary.com on Strict Stability of High-Order Compact Implicit Finite-Difference Schemes:

More information

INTRODUCTION TO PDEs

INTRODUCTION TO PDEs INTRODUCTION TO PDEs In this course we are interested in the numerical approximation of PDEs using finite difference methods (FDM). We will use some simple prototype boundary value problems (BVP) and initial

More information

7 Hyperbolic Differential Equations

7 Hyperbolic Differential Equations Numerical Analysis of Differential Equations 243 7 Hyperbolic Differential Equations While parabolic equations model diffusion processes, hyperbolic equations model wave propagation and transport phenomena.

More information

A Central Compact-Reconstruction WENO Method for Hyperbolic Conservation Laws

A Central Compact-Reconstruction WENO Method for Hyperbolic Conservation Laws A Central Compact-Reconstruction WENO Method for Hyperbolic Conservation Laws Kilian Cooley 1 Prof. James Baeder 2 1 Department of Mathematics, University of Maryland - College Park 2 Department of Aerospace

More information

On the Convergence Rates of Energy- Stable Finite-Difference Schemes

On the Convergence Rates of Energy- Stable Finite-Difference Schemes Department of Mathematics On the Convergence Rates of Energy- Stable Finite-Difference Schemes Magnus Svärd and Jan Nordström LiTH-MAT-R--217/14--SE Department of Mathematics Linköping University S-581

More information

Block-Structured Adaptive Mesh Refinement

Block-Structured Adaptive Mesh Refinement Block-Structured Adaptive Mesh Refinement Lecture 2 Incompressible Navier-Stokes Equations Fractional Step Scheme 1-D AMR for classical PDE s hyperbolic elliptic parabolic Accuracy considerations Bell

More information

A numerical study of SSP time integration methods for hyperbolic conservation laws

A numerical study of SSP time integration methods for hyperbolic conservation laws MATHEMATICAL COMMUNICATIONS 613 Math. Commun., Vol. 15, No., pp. 613-633 (010) A numerical study of SSP time integration methods for hyperbolic conservation laws Nelida Črnjarić Žic1,, Bojan Crnković 1

More information

Time-dependent variational forms

Time-dependent variational forms Time-dependent variational forms Hans Petter Langtangen 1,2 1 Center for Biomedical Computing, Simula Research Laboratory 2 Department of Informatics, University of Oslo Oct 30, 2015 PRELIMINARY VERSION

More information

Divergence Formulation of Source Term

Divergence Formulation of Source Term Preprint accepted for publication in Journal of Computational Physics, 2012 http://dx.doi.org/10.1016/j.jcp.2012.05.032 Divergence Formulation of Source Term Hiroaki Nishikawa National Institute of Aerospace,

More information

A positivity-preserving high order discontinuous Galerkin scheme for convection-diffusion equations

A positivity-preserving high order discontinuous Galerkin scheme for convection-diffusion equations A positivity-preserving high order discontinuous Galerkin scheme for convection-diffusion equations Sashank Srinivasan a, Jonathan Poggie a, Xiangxiong Zhang b, a School of Aeronautics and Astronautics,

More information

Scientific Computing: An Introductory Survey

Scientific Computing: An Introductory Survey Scientific Computing: An Introductory Survey Chapter 11 Partial Differential Equations Prof. Michael T. Heath Department of Computer Science University of Illinois at Urbana-Champaign Copyright c 2002.

More information

Multigrid Methods and their application in CFD

Multigrid Methods and their application in CFD Multigrid Methods and their application in CFD Michael Wurst TU München 16.06.2009 1 Multigrid Methods Definition Multigrid (MG) methods in numerical analysis are a group of algorithms for solving differential

More information

Waves in a Shock Tube

Waves in a Shock Tube Waves in a Shock Tube Ivan Christov c February 5, 005 Abstract. This paper discusses linear-wave solutions and simple-wave solutions to the Navier Stokes equations for an inviscid and compressible fluid

More information

Week 6 Notes, Math 865, Tanveer

Week 6 Notes, Math 865, Tanveer Week 6 Notes, Math 865, Tanveer. Energy Methods for Euler and Navier-Stokes Equation We will consider this week basic energy estimates. These are estimates on the L 2 spatial norms of the solution u(x,

More information

Kasetsart University Workshop. Multigrid methods: An introduction

Kasetsart University Workshop. Multigrid methods: An introduction Kasetsart University Workshop Multigrid methods: An introduction Dr. Anand Pardhanani Mathematics Department Earlham College Richmond, Indiana USA pardhan@earlham.edu A copy of these slides is available

More information

PDEs, part 3: Hyperbolic PDEs

PDEs, part 3: Hyperbolic PDEs PDEs, part 3: Hyperbolic PDEs Anna-Karin Tornberg Mathematical Models, Analysis and Simulation Fall semester, 2011 Hyperbolic equations (Sections 6.4 and 6.5 of Strang). Consider the model problem (the

More information

Finite Difference Methods for Boundary Value Problems

Finite Difference Methods for Boundary Value Problems Finite Difference Methods for Boundary Value Problems October 2, 2013 () Finite Differences October 2, 2013 1 / 52 Goals Learn steps to approximate BVPs using the Finite Difference Method Start with two-point

More information

The variational iteration method for solving linear and nonlinear ODEs and scientific models with variable coefficients

The variational iteration method for solving linear and nonlinear ODEs and scientific models with variable coefficients Cent. Eur. J. Eng. 4 24 64-7 DOI:.2478/s353-3-4-6 Central European Journal of Engineering The variational iteration method for solving linear and nonlinear ODEs and scientific models with variable coefficients

More information

Open boundary conditions in numerical simulations of unsteady incompressible flow

Open boundary conditions in numerical simulations of unsteady incompressible flow Open boundary conditions in numerical simulations of unsteady incompressible flow M. P. Kirkpatrick S. W. Armfield Abstract In numerical simulations of unsteady incompressible flow, mass conservation can

More information

Proper Orthogonal Decomposition (POD) for Nonlinear Dynamical Systems. Stefan Volkwein

Proper Orthogonal Decomposition (POD) for Nonlinear Dynamical Systems. Stefan Volkwein Proper Orthogonal Decomposition (POD) for Nonlinear Dynamical Systems Institute for Mathematics and Scientific Computing, Austria DISC Summerschool 5 Outline of the talk POD and singular value decomposition

More information

Opportunities for efficient high-order methods based on the summation-by-parts property

Opportunities for efficient high-order methods based on the summation-by-parts property AIAA Aviation -6 June 5, Dallas, TX nd AIAA Computational Fluid Dynamics Conference AIAA 5- Opportunities for efficient high-order methods based on the summation-by-parts property Jason E. Hicken, a David

More information

Finite difference method for elliptic problems: I

Finite difference method for elliptic problems: I Finite difference method for elliptic problems: I Praveen. C praveen@math.tifrbng.res.in Tata Institute of Fundamental Research Center for Applicable Mathematics Bangalore 560065 http://math.tifrbng.res.in/~praveen

More information

Chapter 2 Boundary and Initial Data

Chapter 2 Boundary and Initial Data Chapter 2 Boundary and Initial Data Abstract This chapter introduces the notions of boundary and initial value problems. Some operator notation is developed in order to represent boundary and initial value

More information

Basic Aspects of Discretization

Basic Aspects of Discretization Basic Aspects of Discretization Solution Methods Singularity Methods Panel method and VLM Simple, very powerful, can be used on PC Nonlinear flow effects were excluded Direct numerical Methods (Field Methods)

More information

Algebra II. Paulius Drungilas and Jonas Jankauskas

Algebra II. Paulius Drungilas and Jonas Jankauskas Algebra II Paulius Drungilas and Jonas Jankauskas Contents 1. Quadratic forms 3 What is quadratic form? 3 Change of variables. 3 Equivalence of quadratic forms. 4 Canonical form. 4 Normal form. 7 Positive

More information

NOTES ON LINEAR ODES

NOTES ON LINEAR ODES NOTES ON LINEAR ODES JONATHAN LUK We can now use all the discussions we had on linear algebra to study linear ODEs Most of this material appears in the textbook in 21, 22, 23, 26 As always, this is a preliminary

More information

Validation of an Entropy-Viscosity Model for Large Eddy Simulation

Validation of an Entropy-Viscosity Model for Large Eddy Simulation Validation of an Entropy-Viscosity Model for Large Eddy Simulation J.-L. Guermond, A. Larios and T. Thompson 1 Introduction A primary mainstay of difficulty when working with problems of very high Reynolds

More information

A high-resolution finite difference method for weather and climate models

A high-resolution finite difference method for weather and climate models IT 18 026 Examensarbete 30 hp Juni 2018 A high-resolution finite difference method for weather and climate models Magnus Ulimoen Institutionen för informationsteknologi Department of Information Technology

More information

10 Shallow Water Models

10 Shallow Water Models 10 Shallow Water Models So far, we have studied the effects due to rotation and stratification in isolation. We then looked at the effects of rotation in a barotropic model, but what about if we add stratification

More information

Design of optimal Runge-Kutta methods

Design of optimal Runge-Kutta methods Design of optimal Runge-Kutta methods David I. Ketcheson King Abdullah University of Science & Technology (KAUST) D. Ketcheson (KAUST) 1 / 36 Acknowledgments Some parts of this are joint work with: Aron

More information

A Bound-Preserving Fourth Order Compact Finite Difference Scheme for Scalar Convection Diffusion Equations

A Bound-Preserving Fourth Order Compact Finite Difference Scheme for Scalar Convection Diffusion Equations A Bound-Preserving Fourth Order Compact Finite Difference Scheme for Scalar Convection Diffusion Equations Hao Li Math Dept, Purdue Univeristy Ocean University of China, December, 2017 Joint work with

More information

Well-Balanced Schemes for the Euler Equations with Gravity

Well-Balanced Schemes for the Euler Equations with Gravity Well-Balanced Schemes for the Euler Equations with Gravity Alina Chertock North Carolina State University chertock@math.ncsu.edu joint work with S. Cui, A. Kurganov, S.N. Özcan and E. Tadmor supported

More information

Convergence of Summation-by-Parts Finite Difference Methods for the Wave Equation

Convergence of Summation-by-Parts Finite Difference Methods for the Wave Equation J Sci Comput (2) 71:219 245 DOI 1./s1915-16-297-3 Convergence of Summation-by-Parts Finite Difference Methods for the Wave Equation Siyang Wang 1 Gunilla Kreiss 1 Received: 15 January 216 / Revised: 16

More information

Tutorial 2. Introduction to numerical schemes

Tutorial 2. Introduction to numerical schemes 236861 Numerical Geometry of Images Tutorial 2 Introduction to numerical schemes c 2012 Classifying PDEs Looking at the PDE Au xx + 2Bu xy + Cu yy + Du x + Eu y + Fu +.. = 0, and its discriminant, B 2

More information

NATIONAL BOARD FOR HIGHER MATHEMATICS. Research Scholarships Screening Test. Saturday, January 20, Time Allowed: 150 Minutes Maximum Marks: 40

NATIONAL BOARD FOR HIGHER MATHEMATICS. Research Scholarships Screening Test. Saturday, January 20, Time Allowed: 150 Minutes Maximum Marks: 40 NATIONAL BOARD FOR HIGHER MATHEMATICS Research Scholarships Screening Test Saturday, January 2, 218 Time Allowed: 15 Minutes Maximum Marks: 4 Please read, carefully, the instructions that follow. INSTRUCTIONS

More information

Lattice Boltzmann Method

Lattice Boltzmann Method 3 Lattice Boltzmann Method 3.1 Introduction The lattice Boltzmann method is a discrete computational method based upon the lattice gas automata - a simplified, fictitious molecular model. It consists of

More information

Saul Abarbanel; Half a century of scientific work. Bertil Gustafsson, Uppsala University

Saul Abarbanel; Half a century of scientific work. Bertil Gustafsson, Uppsala University Saul Abarbanel; Half a century of scientific work Bertil Gustafsson, Uppsala University Grew up in Tel Aviv Served in Israeli Army during the War of Independence 1948 1950 MIT 1952 1959 Ph.D 1959, Theoretical

More information

Getting started: CFD notation

Getting started: CFD notation PDE of p-th order Getting started: CFD notation f ( u,x, t, u x 1,..., u x n, u, 2 u x 1 x 2,..., p u p ) = 0 scalar unknowns u = u(x, t), x R n, t R, n = 1,2,3 vector unknowns v = v(x, t), v R m, m =

More information

Exponential Energy Decay for the Kadomtsev-Petviashvili (KP-II) equation

Exponential Energy Decay for the Kadomtsev-Petviashvili (KP-II) equation São Paulo Journal of Mathematical Sciences 5, (11), 135 148 Exponential Energy Decay for the Kadomtsev-Petviashvili (KP-II) equation Diogo A. Gomes Department of Mathematics, CAMGSD, IST 149 1 Av. Rovisco

More information

Implicit Solution of Viscous Aerodynamic Flows using the Discontinuous Galerkin Method

Implicit Solution of Viscous Aerodynamic Flows using the Discontinuous Galerkin Method Implicit Solution of Viscous Aerodynamic Flows using the Discontinuous Galerkin Method Per-Olof Persson and Jaime Peraire Massachusetts Institute of Technology 7th World Congress on Computational Mechanics

More information

Time-Parallel Algorithms for Weather Prediction and Climate Simulation

Time-Parallel Algorithms for Weather Prediction and Climate Simulation Time-Parallel Algorithms for Weather Prediction and Climate Simulation Jean Côté Adjunct Prof. ESCER Centre (Étude et la Simulation du Climat à l Échelle Régionale) Sciences de la Terre & de l Atmosphère

More information

11.3 MATLAB for Partial Differential Equations

11.3 MATLAB for Partial Differential Equations 276 3. Generate the shape functions N (i) j = a (i) j where i =1, 2, 3,..., m and j =1, 2, 3,..., m. + b (i) j x + c(i) j y (11.2.17) 4. Compute the integrals for matrix elements α ij and vector elements

More information

2 A: The Shallow Water Equations

2 A: The Shallow Water Equations 2 A: The Shallow Water Equations 2.1 Surface motions on shallow water Consider two-dimensional (x-z) motions on a nonrotating, shallow body of water, of uniform density, as shown in Fig. 1 below. The ow

More information

FDM for parabolic equations

FDM for parabolic equations FDM for parabolic equations Consider the heat equation where Well-posed problem Existence & Uniqueness Mass & Energy decreasing FDM for parabolic equations CNFD Crank-Nicolson + 2 nd order finite difference

More information

NUMERICAL COMPUTATION OF A VISCOUS FLOW AROUND A CIRCULAR CYLINDER ON A CARTESIAN GRID

NUMERICAL COMPUTATION OF A VISCOUS FLOW AROUND A CIRCULAR CYLINDER ON A CARTESIAN GRID European Congress on Computational Methods in Applied Sciences and Engineering ECCOMAS 2000 Barcelona, 11-14 September 2000 c ECCOMAS NUMERICAL COMPUTATION OF A VISCOUS FLOW AROUND A CIRCULAR CYLINDER

More information

2.29 Numerical Fluid Mechanics Spring 2015 Lecture 9

2.29 Numerical Fluid Mechanics Spring 2015 Lecture 9 Spring 2015 Lecture 9 REVIEW Lecture 8: Direct Methods for solving (linear) algebraic equations Gauss Elimination LU decomposition/factorization Error Analysis for Linear Systems and Condition Numbers

More information

NumAn2014 Conference Proceedings

NumAn2014 Conference Proceedings OpenAccess Proceedings of the 6th International Conference on Numerical Analysis, pp 198-03 Contents lists available at AMCL s Digital Library. NumAn014 Conference Proceedings Digital Library Triton :

More information

Outline. 1 Partial Differential Equations. 2 Numerical Methods for PDEs. 3 Sparse Linear Systems

Outline. 1 Partial Differential Equations. 2 Numerical Methods for PDEs. 3 Sparse Linear Systems Outline Partial Differential Equations Numerical Methods for PDEs Sparse Linear Systems 1 Partial Differential Equations 2 Numerical Methods for PDEs 3 Sparse Linear Systems Michael T Heath Scientific

More information

Identification Methods for Structural Systems. Prof. Dr. Eleni Chatzi Lecture March, 2016

Identification Methods for Structural Systems. Prof. Dr. Eleni Chatzi Lecture March, 2016 Prof. Dr. Eleni Chatzi Lecture 4-09. March, 2016 Fundamentals Overview Multiple DOF Systems State-space Formulation Eigenvalue Analysis The Mode Superposition Method The effect of Damping on Structural

More information

Quadratic forms. Here. Thus symmetric matrices are diagonalizable, and the diagonalization can be performed by means of an orthogonal matrix.

Quadratic forms. Here. Thus symmetric matrices are diagonalizable, and the diagonalization can be performed by means of an orthogonal matrix. Quadratic forms 1. Symmetric matrices An n n matrix (a ij ) n ij=1 with entries on R is called symmetric if A T, that is, if a ij = a ji for all 1 i, j n. We denote by S n (R) the set of all n n symmetric

More information

Applied Math Qualifying Exam 11 October Instructions: Work 2 out of 3 problems in each of the 3 parts for a total of 6 problems.

Applied Math Qualifying Exam 11 October Instructions: Work 2 out of 3 problems in each of the 3 parts for a total of 6 problems. Printed Name: Signature: Applied Math Qualifying Exam 11 October 2014 Instructions: Work 2 out of 3 problems in each of the 3 parts for a total of 6 problems. 2 Part 1 (1) Let Ω be an open subset of R

More information

A SEMI-LAGRANGIAN RUNGE-KUTTA METHOD FOR TIME-DEPENDENT PARTIAL DIFFERENTIAL EQUATIONS

A SEMI-LAGRANGIAN RUNGE-KUTTA METHOD FOR TIME-DEPENDENT PARTIAL DIFFERENTIAL EQUATIONS Journal of pplied nalysis and Computation Website:http://jaac-online.com/ Volume 3, Number 3, ugust 23 pp. 25 263 SEMI-LGRNGIN RUNGE-KUTT METHOD FOR TIME-DEPENDENT PRTIL DIFFERENTIL EQUTIONS Daniel X.

More information