Abstract

This paper deals with a novel numerical scheme for hyperbolic equations with rapidly changing terms. We are especially interested in the quasilinear equation and the wave equation that have a highly oscillating term like . It also applies to the equations involving rapidly changing or even discontinuous coefficients. The method is based on the solution interpolation and the underlying idea is to establish a numerical scheme by interpolating numerical data with a parameterized solution of the equation. While the constructed numerical schemes retain the same stability condition, they carry both quantitatively and qualitatively better performances than the standard method.

1. Introduction

In the modern theory of partial differential equations (PDEs), the role of exact solutions is becoming more crucial, especially for a number of nonlinear equations or systems of PDEs. Since those problems do not allow many of the classical techniques in principle, exact solutions serve as windows revealing correct classes of existence, regularity, uniqueness, and specific asymptotics [14]. From the view point of numerical analysis, exact solutions are a basis for developing and testing numerical schemes and computer algebra software [510].

The research on solution interpolation started with the motivation to construct finite difference schemes, using a set of exact solutions to given differential equations [11]. The idea of solution interpolation is that once we find an exact solution that coincides with the given initial or boundary conditions on a grid, it can be used to make the numerical approximation which locally inherits all geometric properties of the original system, including oscillation embedded in the equation. This is not feasible over the whole domain in practical situations, but in the case that there exists a family of known solutions to the differential equation, we can still construct a finite difference scheme by interpolating them locally on a grid. That is, a numerical value at a specific point can be derived by interpolating the numerical data at around its neighborhood at the previous time step with some special solutions. Refer to Figure 1 for illustration of the idea.

In this paper, we first focus on the applications of the solution interpolation method to the quasilinear equation, The emphasis is placed on the cases where the equation involves highly oscillating or fast varying terms like , . The conventional numerical schemes have difficulty in dealing with such terms accurately.

We also develop a numerical scheme for the wave equation: which describes wave propagation and reflection in inhomogeneous medium. If the local speed of propagation slowly varies, asymptotic solutions can be found using the WKB method [1214]. In the case of strongly inhomogeneous medium, rapidly changes making both exact solution and numerical approximation hard to obtain.

In what follows, we will have a brief overview on the solution interpolation method. Sections 3 and 4 deal with applications of the method to various cases of (1), (2), and their numerical results. We will discuss error analysis of those schemes in the last section.

2. Solution Interpolation Method

For a given differential equation, suppose there is a family of exact solutions depending on parameters. If interpolation on points of a given stencil determines a unique function in this family, this naturally defines an -point numerical scheme. The scheme by solution interpolation shares geometrical properties with exact solutions such as Lie symmetry.

From here on we adopt common notations for numerical schemes; is an approximation of at a point on a rectangular grid with the spacial and temporal grid size, , and , respectively. A central difference operator is defined as We also use left and right difference operators,

To illustrate how the idea of solution interpolation is implemented, let us take an example of a linear heat equation: To construct an efficient four-point scheme by solution interpolation, it is natural to choose a set of solutions as simple as possible. In fact, the heat equation possesses a series of polynomial solutions, out of which we can construct a solution with three parameters as

Interpolation of solution (7) by , , and at , , and , respectively, gives Consequently, the numerical approximation for is determined as After simplification, the resulted scheme becomes which is nothing but the traditional forward central scheme.

Now let us construct a six-point implicit scheme by the solution interpolation method. We need to interpolate five values of a function on a usual six-point stencil, using the first five polynomial solutions . After similar computation, the corresponding scheme turns out to be where is . This scheme is known as the Crandall method, which is unconditionally stable and has error [15].

We call a numerical scheme created from the above interpolation method a solution interpolation scheme (SI). For constant-coefficient differential equations like (5), this approach is no more than traditional discretization based the Taylor expansion. However, it is no more true if we deal with even little more complicated equations. One can refer to [11] to see many cases where simple solutions lead to interesting nonconventional numerical schemes.

3. Solution Interpolation for Quasilinear Equations

Equation (1) is known to have a general solution in the form of where is an arbitrary differentiable function and . Note that we can easily derive a family of special solutions of (1) by setting as a certain parameterized function.

In this section, we apply the solution interpolation method to several cases of convection equation (1) as to construct the corresponding SIs. The numerical performances of the schemes will be compared to those of conventional schemes, the upwind scheme, and the Lax-Wendroff scheme.

The solution interpolation scheme often seemingly involves a function , an antiderivative of that is in a coefficient or a nonhomogeneous term of the original differential equation. But it is important to note that the schemes do not necessarily require in an explicit form. Since only appears with the difference operator in the schemes, one can manage with numerical integration of instead. For example, and can be approximated as if Simpson’s rule is adopted. We call the scheme using substitution (14) an approximate solution interpolation scheme (ASI), to tell from SI using explicitly.

Throughout the examples, we assume that the coefficient is fixed at and the function is given as with varying between and . We want to see how oscillation in the equations affects the performance of the scheme. In all examples, the spacial and temporal step sizes are fixed at and , respectively.

Example 1. Nonhomogeneous linear convection equation: This equation has a general solution, where is an arbitrary differentiable function. Choosing , we solve the interpolation equations, Considering that (16) does not involve , we can set in (18) without losing generality. Then the solution is Plugging this result into gives the solution interpolation scheme, The scheme might be similar in appearance to the Lax-Wendroff scheme, However, there is significant difference between two schemes in numerical performance, which is illustrated in Figure 2. One can easily confirm that SI and ASI excel the upwind and the Lax-Wendroff schemes. More interestingly in Figure 2(b), SI and ASI maintain almost the same accuracy even with sever oscillation (), while two others fail.

Example 2. Linear convection equation with a varying coefficient: A general solution for (23) is The choice of the same function as in the previous example eventually leads to the scheme where the coefficients , , and are determined as Here denotes a Courant number . The performance of the scheme is shown in Figure 3. One can see that SI and ASI are just as good as the Lax-Wendroff scheme when . But in contrast to the Lax-Wendroff that suffers from oscillation term in (b), two schemes keep their accuracy level regardless of oscillation intensity.

Example 3. Quasilinear convection equation with a varying coefficient: The equation has a general solution, We take the same parameterized function as in two previous examples and apply the solution interpolation. After some algebraic work, the scheme is derived as Here, we use an additional difference operator as for a simplified expression. Once again, it is shown in Figure 4 that SI and ASI overwhelm two others, especially when there is severe spatial oscillation generated by the coefficient , .

4. Solution Interpolation for Wave Equations

In this section, we apply the solution interpolation method to the wave equation (2) with variable coefficient . It is known that (2) has two families of particular solutions as follows [16]. Solutions with even powers of are where the function is defined by the recurrence relations Here , , and are arbitrary constants. Similarly, there is another family of particular solutions with odd powers of as where the function is defined by the recurrence relations: Again, , , and are arbitrary constants.

Among the above solutions, let us choose a four-parameter solution, out of which we construct a five-point scheme for the equation. Since (2) does not explicitly depend on time , we can assume without loss of generality. Interpolating the numerical data , , , and on the grid with solution (35) determines the parameters as where . We plug this result to in (35) and then eventually obtain the scheme: after simplification. Note that we do not have to integrate and find explicitly. Instead, by using numerical integration method, we can replace the factor involving with values of on some points. For example, adopting Simpson’s rule gives

One can easily see from (37) similarity and difference between the approximate solution interpolation scheme and the standard central forward scheme (CF). Both schemes share the same form: where

Now let us show the performances of ASI in comparison to CF, focusing especially on the cases where the propagation speed changes rapidly or discontinuously.

Example 4. Wave equation with exponentially decreasing speed: We apply two schemes ASI and CF to this equation with two different values of . Figure 5(a) shows that there are no qualitative differences between two schemes for . However, when is and the local propagation speed rapidly diminishes along the -axis, one can see that ASI yields much better result while CF loses its accuracy quickly as time goes.

Example 5. Wave equation with oscillating speed: This equation involves oscillation in the wave speed because of the sine function in the denominator. Once again, if and therefore the speed changes slowly, two schemes show little qualitative differences. The outstanding difference occurs when drops to and the propagation speed undergoes severe oscillation. It is obvious from Figure 6(b) that CF suffers from rapid change, but ASI successfully captures the solution in numerical simulation. Even more interestingly, the error of ASI with oscillation in (b) slightly decreases, compared to that in (a).

Example 6. Wave equation with discontinuous speed: where is a step function as Equation (43) describes the propagation of waves across two different types of medium and its solution may be discontinuous. Applications of ASI and CF to the equation with two different initial/boundary conditions are illustrated in Figure 7. In both cases, CF fails to reproduce this discontinuity and loses sharp transition layer, even generating spurious oscillation. On the contrary, ASI well captures the qualitative aspect of the exact solutions, handling discontinuity successfully.

5. Analysis of Solution Interpolation Schemes

The examples from the last two sections confirm that the schemes based on the solution interpolation methods achieve generally better, or compatible performances at the least, in comparison to the conventional schemes. Consistency of those schemes is guaranteed by the fact that they are created from solutions. In fact, Taylor expansion of schemes (21), (25), and (29) shows that they are of the second order, just as the Lax-Wendroff scheme. Likewise, solution interpolation scheme (37) has the same order of error as the central forward method.

Now, let us investigate the stability conditions for the solution interpolation schemes. In order to handle a nonhomogeneous term, it is helpful to modify usual notations for the von Neumann stability analysis. We replace and in a scheme with and , respectively. The scheme is stable as long as the amplification factor satisfies In fact, this stability condition can be relaxed as We use the above substitution and rewrite scheme (21) as where . This can be simplified and reorganized as where If we assume , then and since , the scheme would be stable. By the way, Therefore we see , and this implies that the stability condition for scheme (21) is In the same way, we can confirm that the Lax-Wendroff scheme (22) shares the same condition for stability.

Scheme (29) also has the identical stability region because it can be viewed as a numerical scheme for the same equation after substitution . Similarly, scheme (25) can be converted to another solution interpolation scheme for the homogeneous advection equation: by substitution of . Note that this substitution does not affect the stability region. The solution interpolation scheme for (53) is which is nothing but the Lax-Wendroff scheme and is stable if . Therefore, scheme (25) has the same numerical stability too.

For the variable coefficient wave equation (2), the general procedure is to regard as a frozen coefficient for each , values in question. If the scheme is stable for each frozen coefficient, then the scheme is guaranteed to be stable. The corresponding CFL condition for the central forward scheme is In the case of the solution interpolation scheme (37), one can show that the condition becomes which is almost the same as the original stability condition. This is derived by expanding the coefficient functions in (40) in a Taylor series. The condition is based on assumption that is differentiable. However, the analysis is valid regardless of its differentiability since the scheme approximates with polynomials locally.

Since the schemes based on solution interpolation share the same consistency and stability with the conventional schemes, the reason why those are more robust against oscillation or rapid change embedded in the equation should be sought elsewhere. One of the possible explanations is that we utilize analytic information on the equations in the scheme construction. Solution interpolation makes numerical schemes reflect the additional structures of differential equations that are likely lost in usual discretization techniques.

Let us discuss characteristic lines of the equations, as an example of the structure which is successfully inherited to numerical schemes through the solution interpolation method. The following differential equations of increasing order can be derived one by one from (16) as Suppose is the exact value of a solution and is the value obtained from scheme (21). Application of the Taylor expansion to at gives Note that the first two terms on the right hand side are always zero. This indicates that the error of the scheme is . Now, also suppose and compare the differential equations in the list in (57) and the terms in the series (58). We can see that the third, fourth, and fifth terms become zero as well. In fact, a little bit of algebraic work shows that all terms in the series vanish simultaneously with , which implies that which we found is exact.

It is no wonder this happens since is on the same characteristic line with when . In this case, change of along this line can be traced by solving a simple ordinary differential equation and especially at , we obtain This is in fact exactly what we get from scheme (21) with , The similar situation occurs with schemes (25) and (29). Note that this observation holds as long as a characteristic line connects the nodes of the grid. However, for general , we can view the solution interpolation method as a natural way to extend characteristic lines and find an approximate value at the target point.

Acknowledgments

The corresponding author (P. Kim) acknowledges that this work was supported by Basic Science Research Program through the National Research Foundation of Korea (NRF) funded by the Ministry of Education, Science and Technology (2011-0023486). C.H. Lee's work was also supported by NRF funded by the Ministry of Education, Science and Technology (2010-0024849).