# Galilean invariance and the conservative difference schemes for scalar laws

- Zheng Ran
^{1}Email author

**2011**:53

https://doi.org/10.1186/1687-1847-2011-53

© Ran; licensee Springer. 2011

**Received: **4 November 2010

**Accepted: **7 November 2011

**Published: **7 November 2011

## 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.

### Keywords

difference scheme symmetry shock capturing method## 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 [1]. In 1970, Yanenko and Shokin [2] 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 [3]. 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.

- (1)
Galilean preservation in first- second-order conservative schemes;

- (2)
Galilean symmetry preservation and Harten's entropy enforcement condition [6].

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

*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*is constant along the characteristic curves

*x*=

*x*(

*t*), where

*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)

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

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

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.

*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 (2

*K*+1) -point explicit schemes in conservation form

*f*(

*u*) in the following sense:

*G*is a smooth function of its all arguments, then

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 [9–11].

## 3. Mathematical preliminaries on Lie group analysis

*n*th order

*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

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., [12–14]. Here, we follow the style of [12], 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.

*C*is a smooth curve on a manifold

*M*, parameterized by

*I*is a subinterval of

*R*. In local co-ordinates

*x*=

*x*

^{1},...,

*x*

^{ p },

*C*is given by

*p*smoothing functions

*ε*. At each point

*x*=

*ϕ*(

*ε)*of

*C*the curve has a tangent vector, namely the derivative

*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

where each *ζ*
^{
i
} (*x*) is a smoothing function of *x*.

*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:

*δ*,

*ε*∈

*R*such that both sides of equation are defined,

*ε*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

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 [[12], p. 110, Theorem 2.36].

### Theorem 1

*M*⊂

*X*×

*U*. The

*n*th prolongation of the original vector filed is the vector field:

*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 ≤

*k*≤

*n*,. The coefficient functions ${\varphi}_{a}^{J}$ of

*pr*

^{(n)}

*V*are given by the following formula:

where ${u}_{i}^{a}=\frac{\partial {u}^{a}}{\partial {x}^{i}}$, and ${u}_{J,i}^{a}=\frac{\partial {u}_{J}^{a}}{\partial {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.

*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 [[12], p. 114]

*V*is the vector field:

*η*,

*ζ*,

*τ*denote partial derivatives. Similarly,

*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:

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 [[12], p. 104, Theorem 2.31] provides the infinitesimal conditions for a group *G* to be a symmetry group.

### Theorem 2

*M*⊂

*X*×

*U*. If

*G*is a local group of transformations acting on

*M*, and

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.

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

where *v*
_{1} = constant.

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

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

### 5.3. General 3-point conservation scheme

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

then finite-difference scheme is TVNI under the CFL-like restriction $\lambda \underset{j}{max}\mid {\mathit{\u0101}}_{j+\frac{1}{2}}\mid \le \mu .$

*β*as follows

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

### Theorem 3

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

*u*

_{ x })

^{3}to be zero, then we have

*u*

_{ xxx }could be rewritten as

*a*,

*b*,

*m*are some parameters. It is easy to show that

where *γ*
_{0} = constant. In summary, we obtain

### Theorem 4

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

It is well known that the Lax-Wendroff scheme was designed to have the following desirable computational features [16–18]: 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.

*r*,

*s*

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.

## Declarations

### 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.

## Authors’ Affiliations

## References

- Harlow FH:
**The particle-in-cell computing method for fluid dynamics.***Methods Comput Phys*1964,**3:**319.Google Scholar - 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.Google Scholar - Winternitz P:
**Symmetries of discrete system.***Lecture presented at the CIMPA Winter School on Discrete Integrable System*2003.Google Scholar - Ran Z:
**Lie symmetries preservation and shock capturing methods.***SIAM J Numer Anal*2007,**46**(1):325-343.MathSciNetView ArticleMATHGoogle Scholar - Ran Z:
**Symmetry and non-physical oscillation in shock capturing.***Chin Quart Mech*2005,**26:**4. (In Chinese)Google Scholar - Harten A:
**High resolution schemes for hyperbolic conservation laws.***J Comput Phys*1983,**49:**357-393. 10.1016/0021-9991(83)90136-5MathSciNetView ArticleMATHGoogle Scholar - Harten A, Lax PD:
**A random choice finite difference scheme for hyperbolic conservation laws.***SIAM J Numer Anal*1981,**18:**289-315. 10.1137/0718021MathSciNetView ArticleMATHGoogle Scholar - Oleinik OA:
**Discontinuous solutions of non-linear differential equations.***Usp Mat Nauk*1957,**12**((3(75))):3-73. (in Russian)MathSciNetGoogle Scholar - 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/1025002MathSciNetView ArticleMATHGoogle Scholar - 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.3160290305MathSciNetView ArticleMATHGoogle Scholar - Osher S, Chakravarthy S:
**High resolution schemes and the entropy condition.***SIAM J Numer Anal*1984,**21**(5):955-984. 10.1137/0721060MathSciNetView ArticleMATHGoogle Scholar - Olver PJ:
*Applications of Lie Group to Differential Equations.*GTM 107. Springer-Verlag, New York; 1986.View ArticleGoogle Scholar - Bluman GW, Kumei S:
**Symmetries and Differential Equations.**In*Applied Mathematical Sciences*.*Volume 81*. Springer-Verlag, World Publishing Corp; 1991:194-195.Google Scholar - 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.Google Scholar - Shui HS:
*Finite Difference Methods for One Dimensional Fluid Dynamics.*National Defence Industrial Press. Beijing; 1998.Google Scholar - Lax PD, Wendroff B:
**Systems of conservation laws.***Commun Pure Appl Math*1960,**23:**217-237.MathSciNetView ArticleMATHGoogle Scholar - Majda A, Osher S:
**A systematic approach for scalar conservation laws.***Numer Math*1978,**30:**429-452. 10.1007/BF01398510MathSciNetView ArticleMATHGoogle Scholar - Rubin EL, Burstein SZ:
**Difference methods for inviscid and viscous equations of compressible gas.***J Comput Phys*1976,**l2:**178-196.MATHGoogle Scholar

## Copyright

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.