We’d like to understand how you use our websites in order to improve them. Register your interest.

# Galilean invariance and the conservative difference schemes for scalar laws

## Abstract

Galilean invariance for general conservative finite difference schemes is presented in this article. Two theorems have been obtained for first- and second-order conservative schemes, which demonstrate the necessity conditions for Galilean preservation in the general conservative schemes. Some concrete application has also been presented.

## 1. Introduction

For gas dynamics, the non-invariance relative to Galilean transformation of a difference scheme which approximates the equations results in non-physical fluctuations, that has been marked in the 1960s of the past century . In 1970, Yanenko and Shokin  developed a method of differential approximations for the study of the group properties of difference schemes for hyperbolic systems of equations. They used the first differential approximation to perform a group analysis. A more recent series of articles was devoted to the Lie point symmetries of differential difference equations on . In a series of more recent articles, the author of this article has used Lie symmetry analysis method to investigate some noteworthy properties of several difference schemes for nonlinear equations in shock capturing [4, 5].

It is well known that as for Navier-Stokes equations, the intrinsic symmetries, except for the scaling symmetries, are just macroscopic consequences of the basic symmetries of Newton's equations governing microscopic molecular motion (in classical approximation). Any physical difference scheme should inherit the elementary symmetries (at least for Galilean symmetry) from the Navier-Stokes equations. This means that Galilean invariance has been an important issue in computational fluid dynamics (CFD). Furthermore, we stress that Galilean invariance is a basic requirement that is demanded for any physical difference scheme. The main purpose of this article is to make differential equations discrete while preserving their Galilean symmetries.

Two important questions on numerical analysis, especially important for shock capturing methods, are discussed from the point view of group theory below.

1. (1)

Galilean preservation in first- second-order conservative schemes;

2. (2)

Galilean symmetry preservation and Harten's entropy enforcement condition .

The structure of this article is as follows. First, the general remarks on scalar conservation law and its numerical approximation are very briefly discussed in Section 2, while Section 3 is devoted to the theory of symmetries of differential equations. The following sections are devoted to a complete development of Lie symmetry analysis method proposed here and its application to some special cases of interest. The final section contains concluding remarks.

## 2. Scalar conservation laws and its numerical approximation

In this article, we consider numerical approximations to weak solutions of the initial value problem (IVP) for hyperbolic systems of conservation laws [6, 7]

$u t + f ( u ) x = 0 , u ( x , 0 ) = u 0 ( x ) , - ∞ < x < + ∞ .$
(2.1)

where u(x, t) is a column vector of m unknowns, and f(u), the flux, is a scalar valued function. Equation 2.1 can be written as

$u t + a ( u ) u x = 0 , a ( u ) = d f d u ,$
(2.2)

which asserts that u is constant along the characteristic curves x = x(t), where

$d x d t = a u .$
(2.3)

The constancy of u along the characteristic combined with (2.3) implies that the characteristics are straight lines. Their slope, however, depends upon the solution and therefore they may intersect, and where they do, no continuous solution can exist. To get existence in the large, i.e., for all time, we admit weak solutions which satisfy an integral version of (2.1)

$∫ 0 ∞ ∫ - ∞ ∞ w t u + w x f u d x d t + ∫ - ∞ ∞ w x , 0 u 0 x d x = 0 .$
(2.4)

for every smooth test function w(x, t) of compact support.

If u is piecewise continuous weak solution, then it follows from (2.4) that across the line of discontinuity the Rankine-Hugoniot relation

$f u R -f u L =s u R - u L .$
(2.5)

holds, where s is the speed of propagation of the discontinuity, and u L and u R are the states on the left and on the right of the discontinuity, respectively.

The class of all weak solutions is too wide in the sense that there is no uniqueness for the IVP, and an additional principle is needed for determining a physically relevant solution. Usually this principle identifies the physically relevant solution as a limit of solutions with some dissipation, namely

$u t + f u x = ε β u u x x .$
(2.6)

Oleinik  has shown that discontinuities of such admissible solutions can be characterized by the following condition:

$f u - f u L u - u L ≥ s ≥ f u - f u R u - u R .$
(2.7)

for all u between u L and u R; this is called the entropy condition, or Condition E. Oleinik has shown that weak solutions satisfying Condition E are uniquely determined by their initial data. We shall discuss numerical approximations to weak solutions of (2.1) which are obtained by (2K+1) -point explicit schemes in conservation form

$u j n + 1 = u j n - λ f ̄ j + 1 2 n - f ̄ j - 1 2 n ,$
(2.8)

where

$f ̄ j + 1 2 n = f ̄ u j - K + 1 n , . . . , u j + K n .$
(2.9)

where $u j n =u j Δ x , n Δ t$, and $f ̄$ is a numerical flux function. We require the numerical flux function to be consistent with the flux f(u) in the following sense:

$f ̄ u , . . . , u = f u .$
(2.10)

We note that $f ̄$ is a continuous function of each of its arguments. Let

$f r ¯ = ∂ f ¯ ∂ u r , r = - K + 1 , . . . , K$
(2.11)
$f ̄ - K = 0 ,$
(2.12)
$f ̄ k + 1 = 0 .$
(2.13)

Equation 2.8 can be written as follows:

$u j n + 1 = u j n - λ f ̄ j + 1 2 n - f ̄ j - 1 2 n ≡ G u j - K n , . . . , u j + K n .$
(2.14)

It follows from (2.14) that

$G u j n , . . . , u j n = u j n - λ f u j n - f u j n = u j n .$
(2.15)

Suppose that G is a smooth function of its all arguments, then

$G r = ∂ G ∂ u r ,$
(2.16)
$G r s = ∂ 2 G ∂ u r ∂ u s .$
(2.17)

At last, one can derive the conservation form scheme approximation solutions of the viscous modified equation [9, 10]

$u t + f u x = 1 2 Δ t ∂ ∂ x β u , λ u x .$
(2.18)

where

$β u , λ = 1 λ 2 ∑ r = - K K r 2 G r - ∂ f ∂ u 2 .$
(2.19)

We claim that, except in a trivial case, β(u, λ) ≥ 0 and β(u, λ) ≠ 0; this shows that the scheme in conservative form is of first-order accuracy .

## 3. Mathematical preliminaries on Lie group analysis

All the problems to be addressed here can be described by a general system of nonlinear differential equations of the n th order

$Δ ν x , u n = 0 ,$
(3.1)

where v = 1,...,l and x = (x 1,...,x p ) X are independent variables, u = (u 1,...,u q ) U are dependent variables, and Δ v (x, u (n)) = (Δ1(x, u (n)),..., Δ l (x, u (n))) is a smoothing function that depends on x, u and derivatives of u up to order n with respect to x 1,...,x p . If we define a jet space X × U (n)as a space whose coordinates are independent variables, dependent variables and derivatives of dependent variables up to order n then Δ is a smoothing mapping

$Δ : X × U n → R l .$
(3.2)

Before studying the symmetries of difference schemes, let us briefly review the theory of symmetries for differential equations. For all details, proofs, and further information, we refer to the many excellent books on the subject, e.g., . Here, we follow the style of , but the Lie symmetry description is made concise by emphasizing the significant points and results. In order to provide the reader with a relatively quick and painless introduction to Lie symmetry theory, some important concepts must be introduced.

The main tool used in Lie group theory and working with transformation groups is "infinitesimal transformation". In order to present this, we need first to develop the concept of a vector field on a manifold. We begin with a discussion of tangent vectors. Suppose C is a smooth curve on a manifold M, parameterized by

$ϕ:I→M,$
(3.3)

where I is a subinterval of R. In local co-ordinates x = x 1,...,x p , C is given by p smoothing functions

$ϕ ε = ϕ 1 ε , . . . , ϕ p ε ,$
(3.4)

of the real variable ε. At each point x = ϕ(ε) of C the curve has a tangent vector, namely the derivative

$ϕ . = d ϕ d ε = d ϕ 1 d ε , . . . , d ϕ p d ε .$
(3.5)

In order to distinguish between tangent vectors and local coordinate expressions for a point on the manifold, we adopt the notation

$V = d φ d ε = d φ 1 d ε ⋅ ∂ ∂ x 1 + . . . + d φ p d ε ⋅ ∂ ∂ x p$
(3.6)

for the vector tangential to C at x = ϕ(ε) The collection of all tangent vectors to all possible curves passing through a given point x in M is called the tangent space to M at x, and is denoted by TM. A vector field V on M assigns a tangent vector V TM to each point x M, with V varying smoothly from point to point. In local coordinates, a vector field has the form

$V = ξ 1 x ⋅ ∂ ∂ x 1 + . . . + ξ p x ⋅ ∂ ∂ x p .$
(3.7)

where each ζ i (x) is a smoothing function of x.

If V is a vector field, we denote the parameterized maximal integral curve passing through x in M by Ψ(ε, x) and call Ψ the flow generated by V. Thus for each x in M, and ε in some interval I x containing 0, Ψ(ε, x) is a point on the integral curve passing through x in M. The flow of a vector field has the basic properties:

$Ψ δ , Ψ ε , x = Ψ δ + ε , x ,$
(3.8)

for all δ, ε R such that both sides of equation are defined,

$Ψ 0 , x = x ,$
(3.9)

and

$d d ε Ψ ε , x = V$
(3.10)

for all ε where defined. We see that the flow generated by a vector field is the same as a local group action of the Lie group on the manifold M, often called a 'one parameter group of transformations'. The vector field V is called the infinitesimal generator of the action since by Taylor's theorem, in local coordinates

$Ψ ε , x = x + ε ξ x + O ε 2 ,$
(3.11)

where ζ = (ζ 1,..., ζ p ) are the coefficients of V. The orbits of the one-parameter group action are the maximal integral curves of the vector field V.

Definition 1: A symmetry group of Equation 3.1 is a one-parameter group of transformations G, acting on X × U, such that if u = f(x) is an arbitrary solution of (3.1) and g ε G then g ε ·f(x) is also a solution of (3.1).

The infinitesimal generator of a symmetry group is called an infinitesimal symmetry. Infinitesimal generators are used to formulate the conditions for a group G to make it a symmetry group. Working with infinitesimal generators is simple. First, we define a prolongation of a vector field. The symmetry group of a system of differential equations is the largest local group of transformations acting on the independent and dependent variables of the system such that it can transform one system solution to another. The main goal of Lie symmetry theory is to determine a useful, systematic, computational method that explicitly determines the symmetry group of any given system of differential equations. The search for the symmetry algebra L of a system of differential equations is best formulated in terms of vector fields acting on the space X × U of independent and dependent variables. The vector field tells us how the variables x, u transform. We also need to know how the derivatives, that is u x , u xx ,..., transform. This is given by the prolongation of the vector field V. Combining these, we have [, p. 110, Theorem 2.36].

### Theorem 1

Let

$V = ∑ i = 1 p ξ i x , u ∂ x i + ∑ a = 1 q η a x , u ∂ u a$

be a vector defined on an open subset M X × U. The n th prolongation of the original vector filed is the vector field:

$p r n V = V + ∑ a = 1 q ∑ J η a J x , u n ∂ ∂ u J a$

defined on the corresponding jet space M (n) X × U (n). The second summation here is over all (unordered) multi-indices J = (j 1, j 2,...,j k ), with 1 ≤ j k p, 1 ≤ kn,. The coefficient functions $ϕ a J$ of pr (n) V are given by the following formula:

$η a J x , u n = D J η a - ∑ i = 1 p ξ i u i a + ∑ i = 1 p ξ i u J , i a$

where $u i a = ∂ u a ∂ x i$, and $u J , i a = ∂ u J a ∂ x i$, and D J are the total derivative of η with respect to x j .

In the following analysis, we only deal with one-dimensional scalar differential equations that are assumed to be differentiable up to the necessary order.

Consider the special case, where p = 2, q = 1 in the prolongation formula, so that we are looking at a partial differential equation involving the function u = f(x, t). A general vector field on X × U R 2 × R then takes the form [, p. 114]

$V = ξ x , t , u ∂ ∂ x + τ x , t , u ∂ ∂ t + η x , t , u ∂ ∂ u$
(3.12)

The first prolongation of V is the vector field:

$p r 1 V = V + η x ∂ ∂ u x + η t ∂ ∂ u t$
(3.13)

where

$η x = η x + ( η u - ξ x ) u x - τ x u t - ξ u u x 2 - τ u u x u t$

and

$η t = η t + ( η u - τ t ) u t - ξ t u x - τ u u t 2 - ξ u u x u t$

The subscripts on η, ζ, τ denote partial derivatives. Similarly,

$p r 2 V = p r 1 V + η x x ∂ ∂ u x x + η x t ∂ ∂ u x t + η t t ∂ ∂ u t t$
(3.14)

where

$η x x = η x x + ( 2 η x u - ξ x x ) u x - τ x x u t + ( η u u - 2 ξ x u ) u x 2 - 2 τ x u u x u t - ξ u u u x 3 - τ u u u x 2 u t + ( η u - 2 ξ x ) u x x - 2 τ x u x t - 3 ξ u u x x u x - τ u u x x u t - 2 τ u u x t u t$
$η x t = η x t + ( η x u - τ t x ) u t + ( η t u - ξ t x ) u x - τ x u u t 2 + ( η u u - ξ x u - τ u t ) u x u t - ξ t u u x 2 - τ u u u x u t 2 - ξ u u u t u x 2 - τ x u t t + ( η u - ξ x - τ t ) u x t - ξ t u x x - 2 τ u u t u x t - 2 ξ u u x u x t - τ u u x u t t - ξ u u t u x x$
$η t t = η t t + ( 2 η t u - τ t t ) u t - ξ t t u x + ( η u u - 2 τ t u ) u t 2 - 2 ξ t u u x u t - τ u u u x 3 - τ u u u t 2 u x + ( η u - 2 τ t ) u t t - 2 ξ t u x t - 3 τ u u t t u t - ξ u u t t u x - 2 ξ u u x t u t$

From here on analysis of difference equations only concerns modified equations, which have third prolongation of the vector field. From work in CFD, we know that the right-hand side of the modified equation is written entirely in terms of x derivatives. So, investigation can be limited to the terms of the spatial derivatives in the following analysis. The coefficients of the various monomials in the third-order partial derivatives of u are given in the following:

$p r 3 V = p r 2 V + η x x x ∂ ∂ u x x x + η x x t ∂ ∂ u x x t + η x t t ∂ ∂ u x t t + η t t t ∂ ∂ u t t t$
(3.15)

where,

$η x x x = η x x x + ( 3 η x x u - ξ x x x ) u x - τ x x x u t + 3 ( η x u u - ξ x x u ) u x 2 - 3 τ x x u u x u t + ( η u u u - 3 ξ x u u ) ( u x ) 3 + 3 ( η x u - ξ x x ) u x x - 3 τ x x u x t - 3 τ x u u ( u x ) 2 u t + 3 ( η u u - 3 ξ x u ) u x u x x - 3 τ x u u t u x x - 6 τ x u u x t u x - 3 τ x u x x t + ( η u - 3 ξ x ) u x x x - ξ x x x ( u x ) 4 - 6 ξ u u ( u x ) 2 u x x - 3 τ u u ( u x ) 2 u x t - τ u u u ( u x ) 3 u t - 3 ξ u ( u x x ) 2 - 3 τ u u x x t u x - 3 τ u u x t u x x - 3 τ u u u x x u x u t - 4 ξ u u x x x u x - τ u u x x x u t$

Suppose we are given an n th order system of differential equations, or, equivalently, a subvariety of the jet space M (n) X × U (n). A symmetry group of this system is a local transformation G acting on M X × U. which transforms solutions of the system to other solutions. We can reduce the important infinitesimals condition for a group G to be a symmetry group of a given system of differential equations. The following theorem [, p. 104, Theorem 2.31] provides the infinitesimal conditions for a group G to be a symmetry group.

### Theorem 2

Suppose

$Δ ν x , u n = 0 , ν = 1 , 2 , . . . , l$

is a system of differential equations of maximal rank defined over M X × U. If G is a local group of transformations acting on M, and

$p r n V ∘ Δ ν x , u n = 0 , ν = 1 , 2 , . . . , l$

whenever

$Δ ν x , u n = 0 ,$

for every infinitesimal generator V of G, then G is a symmetry group of the system.

In the following sections, this theorem is used to deduce explicitly different infinitesimal conditions for specific problems. It must be remembered, however, that, in all cases, though only the scalar differential problem is being discussed, Δ v is still used to denote different differential equations.

## 4. Galilean group and its prolongation

It is well known that as for Navier-Stokes equations, the intrinsic symmetries, except for the scaling symmetries, are just macroscopic consequences of the basic symmetries of Newton's equations governing microscopic molecular motion (in classical approximation). Any physical difference scheme should inherit the elementary symmetries (at least for Galilean symmetry) from the Navier-Stokes equations. This means that Galilean invariance has been an important issue in CFD. Furthermore, we stress that Galilean invariance is a basic requirement that is demanded for any physical difference scheme.

We have the Galilean transformation

$x ′ = x + t ε t ′ = t u ′ = u + ε$
(4.1)

Thus, the vector of the Galilean transformation is

$V = t ∂ x + ∂ u$
(4.2)

According to Theorem 1, we have

$p r ( 1 ) V = V - ρ x ∂ ∂ ρ t - u x ∂ ∂ u t - p x ∂ ∂ p t$
(4.3)
$p r ( 2 ) V = p r ( 1 ) V - ρ x x ∂ ∂ ρ x t - u x x ∂ ∂ u x t - p x x ∂ ∂ p x t$
(4.4)

## 5. Galilean invariance of first-order conservative form scheme

The main prototype equation here is the modified equation. Equation 2.18 can be recast into

$Δ 1 ≡ u t + u u x - 1 2 Δ t β u , λ u x x - 1 2 Δ t β u u x u x = 0 .$
(5.1)

Based on the prolongation formula presented in Section 4, the Galilean invariance condition reads

$Δ 1 = 0 .$
(5.2)
$p r 2 V ∘ Δ 1 = 0 .$
(5.3)

Before beginning the group analysis, some detailed but mechanical calculations must be performed:

$d 1 = ∂ u ∘ Δ 1 = u x - 1 2 Δ t β u u x x - 1 2 Δ t β u u u x u x .$
(5.4)
$d 2 = ∂ u t ∘ Δ 1 = 1 .$
(5.5)

With these formulas, it is clear from Equation 5.3 that the invariance condition reduces into

$β u u x x + β u u u x u x = 0 .$
(5.6)

Hence, we have

$u x u x = - β u β u u u x x .$
(5.7)

we can then write the model equation as

$u t + u u x - 1 2 Δ t β - β u β u β u u u x x = 0 .$
(5.8)

with

$1 2 Δ t β - β u β u β u u = ν 1 .$
(5.9)

This manipulation yields the Burgers equation as following

$u t + u u x = ν 1 u x x .$
(5.10)

where v 1 = constant.

Based on the analysis of Equation 5.9, one have

$β = β 0 exp α u + 2 ν 1 Δ t .$
(5.11)

where β 0, α are some parameters.

Here, it is useful to list some well-known first-order conservative schemes to show their unified character.

### 5.1. Lax-Friedrichs scheme

$f ̄ j + 1 2 n = 1 2 f u j + 1 n + f u j n - 1 λ u j + 1 n - u j n .$
(5.12)
$G 1 = 1 2 1 - λ ∂ f ∂ u ,$
(5.13)
$G - 1 = 1 2 1 + λ ∂ f ∂ u .$
(5.14)
$β u , λ = 1 λ 2 - ∂ f ∂ u 2 = 1 λ 2 - u 2 .$
(5.15)

### 5.2. 3-point monotonicity scheme (Godunov, 1959)

$u j n + 1 = ∑ r = - K K C l u j + r n ,$
(5.16)
$G r = C r$
(5.17)
$β u , λ = 1 λ 2 ∑ r = - K K r 2 G r - ∂ f ∂ u 2 = 1 λ 2 ∑ r = - K K r 2 C r - u 2 .$
(5.18)

### 5.3. General 3-point conservation scheme

$f ̄ u j , u j + 1 = 1 2 f u j + f u j + 1 - 1 λ Q λ ā j + 1 2 Δ j + 1 2 u ,$
(5.19)

where

$ā j + 1 2 = f u j + 1 - f u j Δ j + 1 2 u , when Δ j + 1 2 u ≠ 0 ,$
$ā j + 1 2 = a u j , when Δ j + 1 2 u = 0 ,$

Here Q(x) is some function, which is often referred to as the coefficient of numerical viscosity.

Harten's lemma. Let Q(x) in (5.19) satisfy the inequalities

$∣ x ∣ ≤ Q x ≤ 1 for 0 ≤ ∣ x ∣ ≤ μ ≤ 1 ;$

then finite-difference scheme is TVNI under the CFL-like restriction $λ max j ∣ ā j + 1 2 ∣ ≤ μ .$

The coefficient of numerical viscosity could be expressed in terms of the β as follows

$β u , λ = 1 2 Q u - u 2 .$
(5.20)

Therefore, one can have

$Q u = u 2 + 2 β 0 exp α u + 4 ν 1 Δ t .$
(5.21)

If we choose

$β 0 < < 1$
(5.22)

Then Equation 5.21 is consistence with the results of Harten's. In summary, we obtain

### Theorem 3

If we let the coefficients in (2.18) satisfy the equality

$β = β 0 exp α u + 2 ν 1 Δ t .$

where β 0, α is a dimensionless constant, then the first-order conservative finite different scheme satisfies Galilean invariant condition.

## 6. Galilean invariance of second-order conservative scheme

The same manipulation could be conducted for the case of the second-order conservative scheme. The main prototype equation here is 

$Δ 1 ≡ u t + u u x = 1 6 Δ t 3 ∂ ∂ x γ u , λ u x x + δ u , λ u x u x .$
(6.1)

where

$γ u , λ = 1 λ 3 ∑ r = - K K r 3 G r + ∂ f ∂ u 3 ,$
(6.2)
$δ u , λ = 1 λ 3 ∑ r , s = - K K 1 4 r + s 2 r s - r - s 2 G r s + 3 ∂ f ∂ u 2 ∂ 2 f ∂ u 2 .$
(6.3)

According to Theorem 2, one have

$Δ 2 ≡ u t + u u x - 1 6 Δ t 3 γ u x x x + γ u + 2 δ u x u x x + δ u u x 3 .$
(6.4)

Before beginning the group analysis, some detailed but mechanical calculations must be performed:

$d 1 = ∂ u ∘ Δ 2 = u x - 1 6 Δ t 3 γ u u x x x + γ u u + 2 δ u u x u x x + δ u u u x 3 .$
(6.5)
$d 2 = ∂ u t ∘ Δ 2 = 1 .$
(6.6)
$p r 3 V = t ∂ x + ∂ u - u x ∂ u t .$
(6.7)

The corresponding Galilean invariant condition reads:

$Δ 2 = 0 .$
(6.8)
$p r 3 V ∘ Δ 2 = 0 .$
(6.9)

$u x - 1 6 Δ t 3 γ u u x x x + γ u u + 2 δ u u x u x x + δ u u u x 3 - u x = 0$
(6.10)

Hence, we have

$γ u u x x x + γ u u + 2 δ u u x u x x + δ u u u x 3 = 0 .$
(6.11)

It is clear that

$u x u x x = - δ u u γ u u + 2 δ u ⋅ u x 3 - γ u γ u u + 2 δ u ⋅ u x x x .$
(6.12)

After some manipulation, one could obtain the model equation as follows

$Δ 2 ≡ u t + u u x - 1 6 Δ x 3 γ - γ u + 2 δ γ u u + 2 δ u ⋅ γ u . u x x x - 1 6 Δ x 3 δ u - γ u + 2 δ γ u u + 2 δ u ⋅ δ u u u x 3 .$
(6.13)

In order to obtain the non-oscillation solution of shock, we could let the term of (u x )3 to be zero, then we have

$δ u - γ u + 2 δ γ u u + 2 δ u ⋅ δ u u = 0 .$
(6.14)

This equation can be rewritten as below

$δ u u δ u = γ u u + 2 δ u γ u + 2 δ$
(6.15)
$d d u ln δ u = d d u ln γ u + 2 δ .$
(6.16)
$δ u = γ u + 2 δ .$
(6.17)

or

$γ u = δ u + 2 δ .$
(6.18)

The coefficient of the term of u xxx could be rewritten as

$γ - γ u + 2 δ γ u u + 2 δ u ⋅ γ u = γ - δ u δ u u ⋅ γ u = γ - δ u δ u u ⋅ δ u - 2 δ .$
(6.19)

If we set

$δ = a u n + b$
(6.20)

where a, b, m are some parameters. It is easy to show that

$γ = a n n - 1 u n - 2 a n - 1 u n + 1 - 2 b n - 1 u + γ 0 .$
(6.21)

where γ 0 = constant. In summary, we obtain

### Theorem 4

If we let the coefficients in (6.1) satisfy the equality

$δ u , λ = a u n + b ,$
$γ u , λ = a n n - 1 u n - 2 a n - 1 u n + 1 - 2 b n - 1 u + γ 0 .$

where a, b, n, γ 0 is a dimensionless constant, then the second-order conservative finite different scheme satisfies Galilean invariant condition.

Here, we could give the details of the corresponding analysis by using the Lax-Wendroff scheme. It is well known that the Lax-Wendroff difference approximation to (2.1) is defined by

$u j n + 1 - u j n Δ t + f ( u j + 1 n ) - f ( u j - 1 n ) 2 Δ x = 1 2 Δ t a j + 1 2 2 ( u j + 1 n - u j n ) - a j - 1 2 2 ( u j n - u j - 1 n ) Δ x 2$
(6.22)

where

$u j n = u n Δ t , j Δ x$
$a u = ∂ f u ∂ u$
$a j + 1 2 = a ( u j + 1 2 n ) u j + 1 2 n = 1 2 ( u j + 1 n + u j n )$

It is well known that the Lax-Wendroff scheme was designed to have the following desirable computational features : conservation of form; to have a three-point scheme; second-order accuracy on smooth solutions. Numerical spikes and downstream oscillations are generated in the vicinity of the shock.

The numerical flux for Lax-Wendroff scheme can be written as

$f ̄ j + 1 2 n = 1 2 f u j + 1 n + f u j n - Δ t Δ x a j + 1 2 2 u j + 1 n - u j n .$
(6.23)

Using the general method presented in Section 2, one can obtain

$G 1 = - 1 2 λ ∂ f ∂ u + 1 2 λ 2 ∂ f ∂ u 2$
(6.24)
$G - 1 = 1 2 λ ∂ f ∂ u + 1 2 λ 2 ∂ f ∂ u 2$
(6.25)
$G 1 1 = - λ 2 1 - 2 λ ∂ f ∂ u ∂ 2 f ∂ u 2 ,$
(6.26)
$G 0 0 = - 2 λ 2 ∂ f ∂ u ∂ 2 f ∂ u 2 ,$
(6.27)
$G - 1 , - 1 = λ 2 1 + 2 λ ∂ f ∂ u ∂ 2 f ∂ u 2 .$
(6.28)

and for the other case of the index r, s

$G r s = 0 .$
(6.29)
$γ L W u , λ = - 1 λ 2 1 - λ 2 ∂ f ∂ u 2 ∂ f ∂ u ,$
(6.30)
$δ L W u , λ = - 1 λ 2 1 - 3 λ 2 ∂ f ∂ u 2 ∂ 2 f ∂ u 2 ,$
(6.31)
$γ L W u , λ = - 1 λ 2 u + u 3 ,$
(6.32)
$δ L W u , λ = - 1 λ 2 + 3 u 2 .$
(6.33)

Using the results of Theorem 4, we have

$δ G u , λ = a u n + b = δ L W .$
(6.34)

This leads the following corresponding relation for Lax-Wendroff scheme

$n = 2 ,$
(6.35)
$a = 3 , b = - 1 λ 2 .$
(6.36)
$γ G u , λ = a n n - 1 u n - 2 a n - 1 u n + 1 - 2 b n - 1 u + γ 0 = 6 u 2 - 6 u 3 + 2 λ 2 u + γ 0 .$
(6.37)

The comparison of Equations 6.32 and 6.37 help us to draw some conclusion as follows: based on this analysis, we have known that the well-known Lax-Wendroff scheme can recover the Galilean symmetry approximately.

## 7. Conclusions

It is known that the numerical solutions calculated by finite difference schemes are always associated with numerical dissipation and dispersion. Such errors can lead to undesirable numerical effects, especially for shock capturing. A full understanding of the nature of this odd numerical phenomenon is still lacking. Regardless of definition, spurious oscillations and overshoots are the most common symptoms of numerical stability. In one natural interpretation, these numerical phenomena are due to nonlinear stability, which links some symmetry breaking. This article uses a Lie symmetry analysis method to investigate Galilean invariance properties of several difference schemes for nonlinear equations. Two theorems have been obtained, which have demonstrated that the properties of Galilean invariance from a modification equation, can serve as the positive constrain condition for general conservative finite difference schemes.

It should be pointed out that the conclusions presented in this article have preliminary character and demand further study.

## References

1. 1.

Harlow FH: The particle-in-cell computing method for fluid dynamics. Methods Comput Phys 1964, 3: 319.

2. 2.

Yanenko NN, Shokin YI: On the group classification of difference schemes for systems of equations in gas dynamics. Proceedings of the second International Conference on Numerical Methods in Fluid Dynamics 1970.

3. 3.

Winternitz P: Symmetries of discrete system. Lecture presented at the CIMPA Winter School on Discrete Integrable System 2003.

4. 4.

Ran Z: Lie symmetries preservation and shock capturing methods. SIAM J Numer Anal 2007,46(1):325-343.

5. 5.

Ran Z: Symmetry and non-physical oscillation in shock capturing. Chin Quart Mech 2005, 26: 4. (In Chinese)

6. 6.

Harten A: High resolution schemes for hyperbolic conservation laws. J Comput Phys 1983, 49: 357-393. 10.1016/0021-9991(83)90136-5

7. 7.

Harten A, Lax PD: A random choice finite difference scheme for hyperbolic conservation laws. SIAM J Numer Anal 1981, 18: 289-315. 10.1137/0718021

8. 8.

Oleinik OA: Discontinuous solutions of non-linear differential equations. Usp Mat Nauk 1957,12((3(75))):3-73. (in Russian)

9. 9.

Harten A, Lax PD, Leer BV: On upstream difference and Godunov-type schemes for hyperbolic conservation laws. SIAM Rev 1983,25(1):35-61. 10.1137/1025002

10. 10.

Harten A, Hyman JM, Lax PD: On finite difference approximations and entropy conditions for shocks. Commun. Pure Appl Math 1976, 29: 297-322. 10.1002/cpa.3160290305

11. 11.

Osher S, Chakravarthy S: High resolution schemes and the entropy condition. SIAM J Numer Anal 1984,21(5):955-984. 10.1137/0721060

12. 12.

Olver PJ: Applications of Lie Group to Differential Equations. GTM 107. Springer-Verlag, New York; 1986.

13. 13.

Bluman GW, Kumei S: Symmetries and Differential Equations. In Applied Mathematical Sciences. Volume 81. Springer-Verlag, World Publishing Corp; 1991:194-195.

14. 14.

Marsden JE, Ratiu TS: Introduction to Mechanics and Symmetry: A Basic Exposition of Classical Mechanical Systems. In Texts Appl Math. Volume 17. Springer Verlag, New York; 1994.

15. 15.

Shui HS: Finite Difference Methods for One Dimensional Fluid Dynamics. National Defence Industrial Press. Beijing; 1998.

16. 16.

Lax PD, Wendroff B: Systems of conservation laws. Commun Pure Appl Math 1960, 23: 217-237.

17. 17.

Majda A, Osher S: A systematic approach for scalar conservation laws. Numer Math 1978, 30: 429-452. 10.1007/BF01398510

18. 18.

Rubin EL, Burstein SZ: Difference methods for inviscid and viscous equations of compressible gas. J Comput Phys 1976, l2: 178-196.

## Acknowledgements

The author appreciates the numerous corrections and very useful comments from the referees on the manuscript. The study was supported by the National Natural Science Foundation of China (Grant Nos. 90816013, 10572083), and also supported by the State Key Laboratory for Turbulence and Complex System.

## Author information

Authors

### Corresponding author

Correspondence to Zheng Ran.

### Competing interests

The authors declare that they have no competing interests.

## Rights and permissions

Reprints and Permissions

Ran, Z. Galilean invariance and the conservative difference schemes for scalar laws. Adv Differ Equ 2011, 53 (2011). https://doi.org/10.1186/1687-1847-2011-53 