Comparison of Approximate Riemann Solvers

Similar documents
Riemann Solvers and Numerical Methods for Fluid Dynamics

The RAMSES code and related techniques I. Hydro solvers

International Engineering Research Journal

A Finite Volume Code for 1D Gas Dynamics

CapSel Roe Roe solver.

Numerical Solutions for Hyperbolic Systems of Conservation Laws: from Godunov Method to Adaptive Mesh Refinement

Math 660-Lecture 23: Gudonov s method and some theories for FVM schemes

The one-dimensional equations for the fluid dynamics of a gas can be written in conservation form as follows:

Finite Volume Schemes: an introduction

CapSel Euler The Euler equations. conservation laws for 1D dynamics of compressible gas. = 0 m t + (m v + p) x

Chapter 1. Introduction

Art Checklist. Journal Code: Article No: 6959

Notes: Outline. Shock formation. Notes: Notes: Shocks in traffic flow

Research Article A New Flux Splitting Scheme Based on Toro-Vazquez and HLL Schemes for the Euler Equations

Projection Dynamics in Godunov-Type Schemes

RESEARCH HIGHLIGHTS. WAF: Weighted Average Flux Method

Non-linear Scalar Equations

A Very Brief Introduction to Conservation Laws

Advection / Hyperbolic PDEs. PHY 604: Computational Methods in Physics and Astrophysics II

Numerical and mathematical analysis of a five-equation model for two-phase flow

Waves in a Shock Tube

AA214B: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS

The RAMSES code and related techniques 2- MHD solvers

Introduction to Riemann Solvers

A New Fourth-Order Non-Oscillatory Central Scheme For Hyperbolic Conservation Laws

THE numerical simulation of the creation and evolution

Cranfield ^91. College of Aeronautics Report No.9007 March The Dry-Bed Problem in Shallow-Water Flows. E F Toro

Chp 4: Non-linear Conservation Laws; the Scalar Case. By Prof. Dinshaw S. Balsara

VISCOUS FLUX LIMITERS

The Center for Astrophysical Thermonuclear Flashes. FLASH Hydrodynamics

NUMERICAL SOLUTION OF HYPERBOLIC PARTIAL DIFFERENTIAL EQUATIONS

A Central Rankine Hugoniot Solver for Hyperbolic Conservation Laws

Basics on Numerical Methods for Hyperbolic Equations

Weighted Essentially Non-Oscillatory limiters for Runge-Kutta Discontinuous Galerkin Methods

Numerical Methods for Conservation Laws WPI, January 2006 C. Ringhofer C2 b 2

Approximate Harten-Lax-Van Leer (HLL) Riemann Solvers for Relativistic hydrodynamics and MHD

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

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

Large Time Step Scheme Behaviour with Different Entropy Fix

Godunov methods in GANDALF

Info. No lecture on Thursday in a week (March 17) PSet back tonight

Positivity-preserving high order schemes for convection dominated equations

Linear Hyperbolic Systems

Numerical Methods for Modern Traffic Flow Models. Alexander Kurganov

Various lecture notes for

Commissariat à l Energie Atomique - Saclay Department of Nuclear Energy Fluid Modeling and Simulation. MIT, November 3rd, 2008

Self-similar solutions for the diffraction of weak shocks

Physical Diffusion Cures the Carbuncle Phenomenon

A method for avoiding the acoustic time step restriction in compressible flow

K. Ambika and R. Radha

Heuristical and numerical considerations for the carbuncle phenomenon

Sung-Ik Sohn and Jun Yong Shin

A wave propagation method for compressible multicomponent problems on quadrilateral grids

ICES REPORT A Multilevel-WENO Technique for Solving Nonlinear Conservation Laws

Relevant self-assessment exercises: [LIST SELF-ASSESSMENT EXERCISES HERE]

The multi-stage centred-scheme approach applied to a drift-flux two-phase flow model

A Central Compact-Reconstruction WENO Method for Hyperbolic Conservation Laws

Bound-preserving high order schemes in computational fluid dynamics Chi-Wang Shu

Solving the Euler Equations!

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

Answers to Problem Set Number 04 for MIT (Spring 2008)

Inverse Lax-Wendroff Procedure for Numerical Boundary Conditions of. Conservation Laws 1. Abstract

A WIMF Scheme for the Drift-Flux Two-Phase Flow Model

0.3.4 Burgers Equation and Nonlinear Wave

Finite volume approximation of the relativistic Burgers equation on a Schwarzschild (anti-)de Sitter spacetime

Hydraulic Modelling for Drilling Automation

ALGEBRAIC FLUX CORRECTION FOR FINITE ELEMENT DISCRETIZATIONS OF COUPLED SYSTEMS

Lecture 5.7 Compressible Euler Equations

A high-order discontinuous Galerkin solver for 3D aerodynamic turbulent flows

Adaptive scheme based on entropy production: robustness through severe test cases for hyperbolic conservation laws

The Penultimate Scheme for Systems of Conservation Laws: Finite Difference ENO with Marquina s Flux Splitting 1

E = where γ > 1 is a constant spesific to the gas. For air, γ 1.4. Solving for p, we get. 2 ρv2 + (γ 1)E t

FDM for wave equations

Non-linear Methods for Scalar Equations

Numerical Methods for Hyperbolic Conservation Laws Lecture 4

HFVS: An Arbitrary High Order Flux Vector Splitting Method

Computational Fluid Dynamics. PHY 688: Numerical Methods for (Astro)Physics

Improvement of convergence to steady state solutions of Euler equations with. the WENO schemes. Abstract

Simple waves and a characteristic decomposition of the two dimensional compressible Euler equations

An Accurate Deterministic Projection Method for Hyperbolic Systems with Stiff Source Term

Un schéma volumes finis well-balanced pour un modèle hyperbolique de chimiotactisme

COMPUTATIONAL METHODS AND ALGORITHMS Vol II - Computational Methods for Compressible Flow Problems - Remi Abgrall

PDE Solvers for Fluid Flow

Two-Dimensional Riemann Solver for Euler Equations of Gas Dynamics

CHAPTER 7 SEVERAL FORMS OF THE EQUATIONS OF MOTION

A General Technique for Eliminating Spurious Oscillations in Conservative Schemes for Multiphase and Multispecies Euler Equations

Solving the Payne-Whitham traffic flow model as a hyperbolic system of conservation laws with relaxation

Affordable, entropy-consistent, Euler flux functions

AMath 574 February 11, 2011

Dedicated to the 70th birthday of Professor Lin Qun

ARTICLE IN PRESS Mathematical and Computer Modelling ( )

Journal of Computational Physics

POSITIVITY PROPERTY OF SECOND-ORDER FLUX-SPLITTING SCHEMES FOR THE COMPRESSIBLE EULER EQUATIONS. Cheng Wang. Jian-Guo Liu

Applying Asymptotic Approximations to the Full Two-Fluid Plasma System to Study Reduced Fluid Models

Notes: Outline. Diffusive flux. Notes: Notes: Advection-diffusion

DEVELOPMENT AND APPLICATION OF GENERALIZED MUSTA SCHEMES

Non-linear Wave Propagation and Non-Equilibrium Thermodynamics - Part 3

A minimum entropy principle of high order schemes for gas dynamics. equations 1. Abstract

x a(x) H(U), , H(U) =

A Fourth-Order Central Runge-Kutta Scheme for Hyperbolic Conservation Laws

Transcription:

Comparison of Approximate Riemann Solvers Charlotte Kong May 0 Department of Mathematics University of Reading Supervisor: Dr P Sweby A dissertation submitted in partial fulfilment of the requirement for the degree of Master of Science in Mathematical and Numerical Modelling of the Atmosphere and Oceans.

Declaration I confirm that this is my own work, and the use of all material from other sources has been properly and fully acknowledged. Charlotte Kong Acknowledgements I d like to thank the Mathematics Department of the University of Reading for all their support. I d like to thank my husband for patience and tea. The NERC for financial support. Author s Toro and LeVeque for making a complicated subject more accessible. Above all I d like to thank Dr P Sweby for his patience and support.

Abstract This paper presents a review on the numerical solution of the Euler equations. Four different high resolution schemes are considered: Roe s Riemann solver, the HLL and HLLC schemes and the Osher-Solomon solver. We present a comprehensive variety of one-dimensional test cases designed to test the accuracy and robustness of each scheme to first-order. Roe s scheme is also taken to second-order to demonstrate the desirability of high-order schemes. The results of all schemes are compared to discuss which scheme is most desirable. Overall no one scheme was determined to be the best, and further study was recommended.

Contents Introduction 0 Fluid Dynamics and the Riemann Problem. Euler Equations....................................... The Riemann Problem................................... Specific Riemann Problems................................. Sod s Shock Tube.................................. Blast Wave.................................... 4.. The Problem................................. 4..4 Other Problems.................................. 4 Godunov s Method 6 4 Approximate Riemann Solvers 7 4. Courant Coefficient.................................... 7 4. Time Step Size...................................... 7 4. Boundary Conditions................................... 8 4.. Reflective boundaries............................... 8 4.. Transparent boundaries............................. 9

5 Approximate Riemann Solvers 0 5. Roe (98)........................................ 0 5.. The Original Roe Method............................ 0 5. Harten, Lax and van Leer (98)............................ 5.. The HLLC approximate Riemann solver.................... 5 5.. Wave-speed estimates.............................. 8 5. Osher-Solomon (98).................................. 0 5.. Osher-Solomon for the Euler equations..................... 0 6 The nd Order Approach 6 6. The FORCE Flux.................................... 6 6. Flux Limiter Centered Scheme............................. 7 7 Comparison of Schemes 9 7. Roe............................................ 9 7. HLL and HLLC...................................... 4 7.. Wave speed estimates.............................. 4 7.. Test problems................................... 46 7. Osher........................................... 5 7.4 The tests......................................... 54 4

7.4. Test....................................... 55 7.4. Test....................................... 56 7.4. Test....................................... 57 7.4.4 Test 5....................................... 59 7.5 Second Order Results.................................. 6 8 Discussion 6 9 Conclusion 66 0 Bibliography 67 5

List of Figures 5. Approximate HLL Riemann solver. Solution in the Star Region consists of a single state U hll separated from data states by two waves of speeds S L and S R................. 4 5. Approximate HLLC Riemann solver. Solution in the Star Region consists of two constant states separated by a middle wave speed of S............................ 6 5. Possible configuration of integration paths I k (U), intersection points U, U and sonic points U S0, U S in physical space x t for a by system..................... 7. Roe Riemann solver applied to Test of Table 7.. Numerical (dash) and exact (line) solutions compared at time 0..................................... 40 7. Roe Riemann solver applied to test of Table 7.. Numerical (dash) and exact (line) solutions compared at time 0.5.................................... 40 7. Roe Riemann solver applied to test of Table 7.. Numerical (dash) and exact (line) solutions compared at time 0.0................................... 4 7.4 Roe Riemann solver applied to test 4 of Table 7.. Numerical (dash) and exact (line) solutions compared at time 0.0................................... 4 7.5 Roe Riemann solver applied to test 5 of Table 7.. Numerical (dash) and exact (line) solutions compared at time 0.0................................... 4 7.6 HLL Riemann solver applied to Sod s shock tube, using wave speed estimate (5.48). Numerical (dash) and exact (line) solutions compared at time 0.0.................... 4 7.7 HLL Riemann solver applied to Sod s shock tube, using wave speed estimate (5.49). Numerical (dash) and exact (line) solutions compared at time 0.0.................... 44 7.8 HLL Riemann solver applied to Sod s shock tube, using wave speed estimate (5.5). Numerical (dash) and exact (line) solutions compared at time 0.0.................... 44 6

7.9 HLL Riemann solver applied to Sod s shock tube, using wave speed estimate (5.54). Numerical (dash) and exact (line) solutions compared at time 0.0.................... 45 7.0 HLL Riemann solver applied to Sod s shock tube, using wave speed estimate (5.55). Numerical (dash) and exact (line) solutions compared at time 0.0.................... 45 7. HLL Riemann solver applied to Sod s shock tube, using wave speed estimate (5.58). Numerical (dash) and exact (line) solutions compared at time 0.0.................... 46 7. HLL Riemann solver applied to Test of Table 7.. Numerical (dash) and exact (line) solutions compared at time 0. and x 0 = 0.5.............................. 47 7. HLLC Riemann solver applied to Test of Table 7.. Numerical (dash) and exact (line) solutions compared at time 0. and x 0 = 0.5.............................. 47 7.4 HLLC Riemann solver applied to Test of Table 7.. Numerical (dash) and exact (line) solutions compared at time 0.5 and x 0 = 0.5............................. 48 7.5 HLL Riemann solver applied to the left-hand side of the Blast Wave problem, Test of 7.. Numerical (dash) and exact (line) solutions compared at time 0.0 and x 0 = 0.5........ 48 7.6 HLLC Riemann solver applied to Test of Table 7.. Numerical (dash) and exact (line) solutions compared at time 0.0 and x 0 = 0.5............................. 49 7.7 HLL Riemann solver applied to Test 4 of Table 7.. Numerical (dash) and exact (line) solutions compared at time 0.0 and x 0 = 0.4............................. 49 7.8 HLLC Riemann solver applied to Test 4 of Table 7.. Numerical (dash) and exact (line) solutions compared at time 0.0 and x 0 = 0.4............................. 50 7.9 HLL Riemann solver applied to Test 5 of 7.. Numerical (dash) and exact (line) solutions compared at time 0.0 and x 0 = 0.8.................................. 50 7.0 Density profiles for the HLL and HLLC Riemann solvers applied to tests 6 and 7, with wave speed estimate Einfeldt (5.55). Numerical (dash) and exact (line) solutions compared at time 0.0... 5 7

7. Osher Riemann solver applied to Test of Table 7., with P-ordering. Numerical (dash) and exact (line) solutions compared at time 0.............................. 5 7. Osher-Solomon Riemann solver applied to test of Table 7., with P-ordering. Numerical (dash) and exact (line) solutions compared at time 0.5....................... 5 7. Osher-Solomon Riemann solver applied to test 4 of Table 7., with P-ordering. Numerical (dash) and exact (line) solutions compared at time 0.0....................... 54 7.4 HLL Riemann solver applied to test of Table 7.4, with Einfeldt wave speed. Numerical (dash) and exact (line) solutions compared at time 0.5....................... 55 7.5 HLLC Riemann solver applied to test of Table 7.4. Numerical (dash) and exact (line) solutions compared at time 0.5.................................... 55 7.6 Roe Riemann solver applied to test of Table 7.4. Numerical (dash) and exact (line) solutions compared at time 0.5.................................... 56 7.7 HLLC Riemann solver applied to test of Table 7.4. Numerical (dash) and exact (line) solutions compared at time 0.5.................................... 56 7.8 Roe Riemann solver applied to test of Table 7.4. Numerical (dash) and exact (line) solutions compared at time 0.5.................................... 57 7.9 HLL Riemann solver applied to test of Table 7.4. Numerical (dash) and exact (line) solutions compared at time 0.0................................... 57 7.0 HLLC Riemann solver applied to test of Table 7.4. Numerical (dash) and exact (line) solutions compared at time 0.0................................... 58 7. Roe Riemann solver applied to test of Table 7.4, with P-ordering. Numerical (dash) and exact (line) solutions compared at time 0.0............................ 58 7. HLL Riemann solver applied to test 5 of Table 7.4, with Einfeldt wave speed. Numerical (dash) and exact (line) solutions compared at time 0.0....................... 59 8

7. HLLC Riemann solver applied to test 5 of Table 7.4. Numerical (dash) and exact (line) solutions compared at time 0.0................................... 60 7.4 Roe Riemann solver applied to test 5 of Table 7.4. Numerical (dash) and exact (line) solutions compared at time 0.0................................... 60 7.5 Flux Limiter Scheme for second order with Roe Riemann solver and Superbee applied to Sod s shock tube problem (refeq:sod). Numerical (dash) and exact (line) solutions at time t= 0.5.. 6 7.6 Flux Limiter Scheme for second order with Roe Riemann solver and van Leer applied to Sod s shock tube problem (refeq:sod). Numerical (dash) and exact (line) solutions at time t= 0.5.. 6 7.7 Flux Limiter Scheme for second order with Roe Riemann solver and Minmod applied to Sod s shock tube problem (refeq:sod). Numerical (dash) and exact (line) solutions at time t= 0.5.. 6 9

Introduction When solving systems of conservation laws, either by finite difference or finite volume techniques, it is usual to employ an approximate Riemann solver which it is hoped captures the main features of the Riemann problem solution whilst avoiding the complexity of the exact solution, even if available. Approximate solvers have developed due to the costly nature of the iterative exact schemes and the need to approximate certain areas. There are several such solvers available for this purpose, for example Roe, Osher-Solomon, HHL, HHLC, and so on. The aim of this study is to review some of the most popular approximate schemes and highlight their stengths and weaknesses. The first part of this paper will look at the Euler equations and how they are formed and represented. We will then go on to discuss how the Euler equations become Riemann problems, and define exactly what a Riemann problem is. This will be followed by the introduction of some test problems which will be used to test numerous potential flaws in the schemes. The following section will look at the Godunov scheme. The Godunov scheme was founded in 959, and the principles of which are the basis for the approximate Riemann solvers that will be investigated. After this we will review some important points that need to be considered when using the schemes. These include the Courant coefficient, and then the time step size utilised when running the schemes and finally the boundary conditions used with the initial problems discussed in Section.. Next we will look at the schemes themselves. The schemes chosen to investigate in this paper were the Roe solver, the HLL and its extension HLLC solvers, and finally the Osher-Solomon solver. A second order procedure is then presented, which will be used on the Roe solver. The next section presents the results of various numerical tests on the schemes. Following this is a discussion of the results and a conclusion summarising the findings of this study. 0

Fluid Dynamics and the Riemann Problem The science of fluid dynamics concerns itself with the motion of fluids, that is liquids and gases, and has a wide range of applications including traffic flow and weather predictions. The foundations of fluid dynamics are the conservation laws, specifically those of conservation of mass, momentum and energy. For the purposes of testing approximate Riemann solvers, we concern ourselves with the Euler equations, those that govern inviscid flow. This section will introduce the Euler equations and their notation, before carrying on to introduce the Riemann problem itself. Following this specific test cases will be introduced that will be used to test solvers for potential weaknesses in the schemes. All equations will be presented in their one-dimensional form only, as further dimensions are beyond the scope of this investigation.. Euler Equations The Euler equations govern inviscid flow; a fluid that is assumed to have no viscosity. They are concerned primarily with the conservation of mass, momentum and energy and correspond to the Navier-Stokes equations with zero viscosity and heat conduction terms. The equations are written in two different forms: conservation form and non-conservation form. We need only concern ourselves with the conservation form for this project, which emphasise the physical interpretation of the equations as conservation laws through a control volume fixed in space. Computationally, there are advantages to expressing the governing equations in terms of conserved variables: mass density ρ, the x-velocity component u and the total energy per unit mass E. These lead to numerical methods described as conservative methods [0]. To begin, we state the equations in terms of the conserved variables with the assumption that quantities involved are sufficiently smooth to allow for differentiation. Later we will remove the constraint to consider solutions containing discontinuities, such as shock waves. ρ t + (ρu) x = 0, (.) Here E is the total energy per unit volume (ρu) t + (ρu + p) x = 0, (.) E t + [u(e + p)] x = 0. (.) E = ρ ( V + e ) (.4)

where V = V V = u is the specific kinetic energy and e is the specific internal energy. The conservation laws (.)-(.) can be expressed in compact notation by defining a column vector U of conserved variables and the flux vector F(U) in the x directions. So (.)-(.) now read U t + F(U) x = 0, (.5) with ρ ρu U = ρu, F = ρu + p E u(e + p) (.6) The flux vector F = F(U) equations are to be regarded as functions of the conserved variable vector U.. The Riemann Problem The Riemann problem consists of a conservation law together with piecewise constant data having a single discontinuity. Here we will discuss the problem for a linear system, and then discuss how the Riemann problem for the Euler equations, addressing specific problems that will be focused on during comparisons of schemes. The initial state of the system is defined as u L for x 0 u(x, t = 0) =. (.7) u R for x 0 To put (.7) in words: the initial state is constant for all negative x, and constant for all positive x, but differs between left and right. In the one-dimensional case we can consider this problem as a gas with one temperature and density located to the left of a removable wall and another gas with another temperature and density to the right of the wall. At time t = 0 the wall is instantly removed and the results are observed. In numerical analysis Riemann problems appear in a natural way in finite volume methods for the solution of conservation law equations due to the discreteness of the grid. For this we use approximate Riemann solvers, since iterative schemes are too costly some assumptions must be

made, which will be discussed further in the following section. First this subsection will consider various types of Riemann problems which will be used to test the approximate Riemann solvers.. Specific Riemann Problems To discuss specific Riemann problems we must first introduce some concepts: shocks, rarefactions and contacts. These are all types of discontinuities which we can describe using the example of traffic flow. A shock wave is where density increases and velocity decreases very suddenly, for example, drivers moving fast through light traffic applying their breaks suddenly. A rarefaction wave occurs where the fluid is becoming more rarefied as the density decreases, for example, as cars move out of a congested region, they accelerate smoothly and density in turn decreases smoothly. Contact discontinuities are surfaces that separate zones of different density and temperature, they are in pressure equilibrium and no gas flows across. We look for specific known problems containing the types of discontinuities mentioned in order to test the effectiveness of the approximate Riemann solver schemes considered... Sod s Shock Tube Sod s shock tube problem [5] is a common test for the accuracy of Riemann solvers and therefore invaluable to this study. The tests consists of a one-dimensional Riemann problem with the following parameters ρ L p L u L.0 =.0, 0.0 ρ R p R u R 0.5 = 0.. (.8) 0.0 This problem can be described using the Euler equations for its time evolution. This leads to three characteristics describing the propagation speed of the different regions of the system. These are the rarefaction wave, the contact discontinuity and the shock discontinuity. Solving this numerically it gives information on how well a scheme captures and resolves shocks and contact discontinuities and how well the correct density of the rarefaction wave is reproduced. This will be used as the main test for the schemes.

.. Blast Wave The Blast Wave Problem we use here was presented by Woodward Collela [] and represents the pressure and flow resulting from the deposition of a large amount of energy in a small very localised volume. For the purposes of this study we will split the blast tube problem into two: left hand and right hand sides, as it is easier to find the exact solution this way. The parameters for this equation are as follows 000 if 0 < x < 0., ρ(x, 0) =, p(x, 0) = 0. if 0. < x < 0.9, and u(x, 0) = 0. (.9) 00 if 0.9 < x <, This is a very severe test problem, the left half containing a left rarefaction, a contact and a right shock, and the right half containing a left shock, a contact discontinuity and a right rarefaction. Walls are present at either side of the domain for this test case, so we would want to use reflecting boundary conditions. The boundary conditions will be discussed in the next section... The Problem The next problem is known as the problem and was presented by Einfeld et al. [5], with the following parameters, if x < 0.5, ρ(x, 0) =, p(x, 0) = 0.4, and u(x, 0) = if x 0.5. (.0) The solution of this problem consists of two strong rarefactions and a trivial stationary contact discontinuity. The intermediate state pressure p is very small, close to vacuum, and this can lead to difficulties in the iteration scheme to find p numerically...4 Other Problems The last test is made up of right and left shocks emerging from the solution to the left and right sections of the blast wave problem. It has the following parameters 4

460.894 if x < 0.5 9.5975 if x < 0.5, ρ(x, 0) = 5.9994, p(x, 0) =, and u(x, 0) = 46.0950 if x 0.5-6.96 if x 0.5. (.) The solution of this represents the collision of these two strong shocks and consists of a left facing shock travelling slowly to the right, a right travelling contact discontinuity and a right travelling shock wave. 5

Godunov s Method The original concept of flux algorithms based on exact or approximate solutions of the Riemann problem was first developed by Godunov [6]. In this paper, Godunov introduced utilising the solution of the local Riemann problem at each cell face as the basis for determining the flux F i± in the integral form of the Euler equations U n+ i = U n i x t n+ t (F i+ F )dt. (.) i Firstly we can think of the solution U i for i =,..., M at time t n. In general there is a discontinuity in U i at every cell face. The flux F i+ Riemann problem at x. The left and right hand states U L i+ i+ as = U i is then determined from the solution of the local general U l i+ U l i+ = U i+, and U R i+ at x i+ can be taken which corresponds to a first-order accuracte reconstruction of U to the cell face. The solution to the general Riemann problem at x i+ only on (x x i+ thus (.) (.) for t > t n does not depend on x or t separately but rather /(t t n ). A consequence of this is the solution for U at x i+ t n+ t F i+ ( ) dt = F t = I U R i+ i+ t, is time-independent, where U R i+ is the solution of the general Riemann problem at x i+ for F. Therefore we have i+ U n+ i using (.). This also holds = U n i t x (I(UR i+ ) I(U R i ).) (.4) The Godunov method can also be written in the conservative form U n+ i = U n i + t [ ] F F, (.5) x i i+ where the intercell numerical flux is given by F i+ if the time step t satisfies the condition = F(U (0)), (.6) i+ t x S n max. (.7) where S n max is the maximum wave velocity present through the velocity at time t n [0]. More on the choice of time step size will be presented in the following sections. 6

4 Approximate Riemann Solvers This chapter will briefly introduce some concepts needed for approximate Riemann solvers. It will also provide useful information on the structure of approximate programs, how time step size is chosen and so on. 4. Courant Coefficient At this stage it is necessary to introduce the Courant or CFL coefficient, a ratio that will prove invaluable when seeking accuracy from the solvers. The CFL condition is a necessary condition that must be satisfied by any finite volume or finite difference method in order to provide stability and hence convergence to the solution of a differential equation as the grid is refined. Leveque summarised the condition as CFL Condition : A numerical method can be convergent only if its numerical domain of dependence contains the the true domain of dependence of the PDE, at least in the limit t and x go to zero [8]. While it is a necessary condition, it is not always sufficient alone to guarantee stability. 4. Time Step Size It is necessary to choose a time step t that ensures the rightmost wave emanating from the Riemann problem at the left face does not intersect with the right face, and vice versa. determine the size of the time step t, we must look at the CFL coefficient, so that the time step is given by where C cfl is the Courant or CFL coefficient which satisfies t = C cfl x Smax n, (4.) To 0 < C cfl. (4.) The time marching scheme is more efficient the close the coefficient C CF L is to. S n max is the largest wave speed present throughout the domain at time level n [0]. The consequence of this is 7

that no wave present in the solution of all Riemann problems travels more than a distance x in time t. For the time-dependent, one dimensional Euler equations, we can estimate Smax n as { } Smax n = max S L i i+, S R i+, (4.) for i = 0,..., M, where S L i+, S R i+ are the wave speeds of the left and right non-linear waves present in the solution of the Riemann problem R ( U n i, Un i+). The Riemann problem generates three waves; non-linear waves, which can be shocks or rarefactions and are the fastest waves. For rarefaction waves we select the speed of the head and for shock waves we select the shock speed. It is important to note that when sampling the wave speeds we must include the boundaries, as these may generate large wave speeds. By using (4.) to find Smax n and thus t of (4.) we have a simple and reliable procedure [0]. 4. Boundary Conditions Boundary conditions are needed at the boundaries x = 0 and x = L for a domain [0, L] discretised into M computing cells of length x. In addition, the boundary conditions provide the numerical fluxes F, and F. We require these in order to apply the conservative formula (.5) to update M+ the extreme cells I and I M to the next time level n +, and they may result directly in F and F. We can also force fictious data values in the fictious cells I 0 and I M+, adjacent to I M+ and I M. By doing this, boundary Riemann problems are solved and the corresponding Godunov fluxes are computed [0]. We consider two types of boundary conditions in this study, reflective and transparent conditions. 4.. Reflective boundaries Reflective boundaries refer physically to walls at either side of the domain. We can think of it as a boundary x = L then the physical situation is modelled creating a ficitious state W ( M + ) n to the right of the boundary and defining the boundary Riemann problem as R(W ( M n), W (M + ) n ). This fictitious state is defined from the state WM n inside the computational domain, in other words ρ n M+ = ρ n M, u n M+ = u n M, p n M+ = p n M. (4.4) The exact solution of this depends on the value of u n M, if it is greater than zero the solution consists of two shock waves. If it is less than or equal to zero there are two rarefaction waves. For both 8

scenarios u = 0 along the boundary which is the desired condition at the solid fixed impermeable boundary [0]. 4.. Transparent boundaries The need to define finite, or infinitesimally small, computational domains gives rise to the transparent boundaries. These boundary conditions are a numerical attempt to provide boundaries that allow waves to pass through without having any effect on them. For the one dimensional case this objective is reasonably satisfied [0]. For a transmissive right boundary the conditions are ρ n M+ = ρ n M, u n M+ = u n M, p n M+ = p n M. (4.5) This Riemann problem has the property that no wave of finite strength is produced at the boundary that may affect the flow inside the domain [0]. It is worth mentioning reminding ourselves at this point that we must remember to consider the wave speeds generated at the boundaries after the application of these boundary conditions when we select the time step size. 9

5 Approximate Riemann Solvers These approximate Riemann solvers are introduced in chronological order. 5. Roe (98) The Roe solver, devised by Roe [], is an approximate Riemann solver based around the Godunov scheme and works by looking for an estimate for the intercell numerical flux or Godunov flux F i+ at the interface between two computational cells U i and U i+ computational domain. on a discretised space-time 5.. The Original Roe Method To determine the Godunov method we need to find the average eigenvalues λ i, the corresponding averaged right eigenvectors K (i) and averaged wave strengths α i. In the 98 paper [] an averaged Jacobian matrix Ã, the Roe matrix, is found and from which λ i, K (i) and α i follow. In the matrix à the properties (A)-(C) are enforced. Property (A): Hyperbolicity of the system. à is required to have real eigenvalues λ i = λ i (U L, U R ), which we choose to order as λ λ... λ m (5.) and a complete set of linearly independent right eigenvectors K (), K (),..., K (m). (5.) Property (B): Consistency with the exact Jacobian Ã(U, U) = A(U). (5.) Property (C): Conservation across discontinuities F(U R ) F(U L ) = Ã(U R U L ) (5.4) Property (C) is the crucial property, as it narrows choices for Ã. Roe showed that the existence of a matrix à satisfying property (C) is assured by the mean value theorem []. To find the vector 0

Ã, Roe introduced the idea of a parameter vector Q, such that both the vector of conserved variables U and the flux vector F(U) could be expressed in terms of Q. That is U = U(Q), F = F(Q). (5.5) This is followed by two important steps. First the changes U = U R U L, F = F(U R ) F(U L ) (5.6) can be expressed in terms of the change Q = Q R Q L. And secondly, averages are obtained in terms of simple arithmetic means of Q. We now illustrate the technique as applied to the Euler equations in one dimension. The Euler equations Here we present the Roe Riemann solver as applied to the Riemann problem for the x-split one dimensional time dependent Euler equations for ideal gases. The exact x-direction Jacobian matrix A(U) is 0 0 A = γh u a ( γ)u γ u [ (γ ) H a ]. (5.7) H γu γu where γ = γ. The eigenvalues are λ = u a, λ = λ = λ 4 = u, λ 5 = u + a, (5.8) where a = γp/ρ is the speed of sound. The corresponding right eigenvectors are K () = u a ; K() = u ; K() = u + a. (5.9) H ua H + ua u Where H is the total enthalpy and E is the total energy per unit volume H = E + p ρ (5.0) E = ρu + ρe, (5.) with e representing the specific internal energy, which for ideal gases is e = p (γ ) ρ. (5.)

Roe then chooses the parameter vector Q q q q ρ u H, (5.) in which every component u i of U and every component f i of F(U) in (??)-(??) is a quadratic in the components q i of Q. In other words, u = q and f = q q, and so on. In fact, the property is valid for the components of the G and H fluxes for the full three-dimensional Euler equations. The jumps U and F can be expressed in terms of the jump Q via two matrices B and C. Roe [] gives the following expressions q 0 0 B = q q 0 and The Roe matrix is then given by The eigenvalues of à are C = q γ γ γ q q γ q q 0 γ γ q and the corresponding right eigenvectors are K () = ũ ã ; K () = H ũã γ γ q q γ 0 q q (5.4). (5.5) à = B C. (5.6) λ = ũ ã, λ = λ = λ 4 = ũ, λ = ũ + ã (5.7) ũ ũ ; K () = ũ + ã H ũã. (5.8) The symbol r in (5.7), (5.8)denotes a Roe average for a variable r. The relevant averages are given as follows ũ = ρl u L + ρ R u R ρl + ρ R, H = ρl H L + ρ R H R ρl + ρ R, (5.9) [ ã = (γ ) H ũ]. To determine the Roe numerical flux F it is neccessary to have the wave strengths α i. These i+ can be obtained by projecting the jump U onto the right, averaged eigenvectors (5.8), that is U = 5 α i K (i). (5.0) i=

The left hand side of this equation is known, they are the jumps in u i in the conserved quantity u i, that is u i = (u i ) R (u i ) L. Arranging the solution conveniently for computation, we arrive at α = γ [ ( ) ] ã u H ũ + ũ u u, α = ã [ u (ũ + ã) u ã α ], α = u ( α + α ), (5.) Toro summarises the above by putting it into an algorithm to compute the Roe numerical flux F i+ in one-dimension [0]:. Compute the Roe average values for ũ, H and ã according to (5.9).. Computer the averaged eigenvalues λ i according to (5.7). Compute the averaged right eigenvectors K (i) according to (5.8). 4. Compute the wave strengths α i according to (5.0). 5. Use the above quantities to compute F. i+ 5. Harten, Lax and van Leer (98) This section will present the Harten, Lax and van Leer (HLL) [7] Riemann solver and the extended HLLC (C stands for Contact) solver as it is applied to the three-dimensional time dependent Euler equations. To recall, we are concerned with solving the Initial Boundary Value Problem (IVBP) numerically PDEs : U t + F(U) x = 0, ICs : U(x, 0) = U (0) (x), (5.) BCs : U(0, t) = U t (t), U(L, t) = U t (t), in a domain x l x x r, making use of the explicit conservative formula U n+ i = U n i + t [ ] F F. (5.) x i i+

Figure 5.: Approximate HLL Riemann solver. Solution in the Star Region consists of a single state U hll separated from data states by two waves of speeds S L and S R For a review of the Godunov method, we can refer back to Section. We recall the Godunov intercell numerical flux F i+ = F(U (0)), (5.4) i+ where U (0) is the exact similarity solution U (x/t) of the Rieman problem i+ i+ U t + F(U) x = 0 U L if x < 0, U(x, 0) = U R if x > 0, (5.5) evaluated at x/t = 0. The solver devised by Harten, Lax and van Leer [7] sets out to find direct approximations to the flux function F. They put forward the following approximate Riemann i+ solver U L if x t S L, Ũ(x, t) = U hll if S L x t S R, (5.6) U R if x t S R, where U hll is the constant state vector given by U hll = S RU R S L U L + F L F R S R S L, (5.7) and the speeds S L and S R are known values. If we consider imaginary graph 5., which shows the structure of this approximate solution, we can see that it consists of three constant states separated by two waves. The Star Region consists of a single constant state; all intermediate states separated by intermediate waves are lumped into the single state U hll. It is important to make note that we do not take F hll = F(U hll ). The area of interest is the subsonic case S L 0 S R. Substituting U hll in (5.7) yields F hll = F L + S L (U hll U L ), (5.8) 4

or F hll = F R + S R (U hll U R ). (5.9) Use of (5.7) on (5.8) and (5.9) results in the HLL flux F hll = S RF L S L F R + S L S R (U R U L ) S R S L. (5.0) Which can be used to produce the corresponding intercell flux for the approximate Gudonov method F hll i+ = F L if 0 S L, S R F L S L F R +S L S R (U R U L ) S R S L, if S L 0 S R, F R if 0 S R. (5.) We will discuss the calculation of S L and S R after the discussion on the HLLC solver, in Section 5.., but given those speeds we can use (5.) in the conservative formula (5.) to get an approximate Godunov method. In their paper, Harten, Lax and van Leer [7] showed that this Godunov scheme converges to the weak solution of conservation laws and proved that the converged solution is also the physical, entropy satisfying, solution of the conservation laws [0]. The requirements for this include that an approximate solution Ū(x, t) is consistent with the integral form of the conservation laws if, when substituted for the exact solution U(x, t) in the Consistency Condition xr x L U(x, T )dx =x R U R x L U L + T (F L F R ), (5.) the right-hand side remains unaltered, that is, it has consistency with the integral form of the conservation laws. One major flaw of the HLL scheme is exposed by contact discontinuities, shear waves and material interfaces. These waves are associated with the multiple eigenvalue λ = λ = λ 4 = u. In the integral T SR U(x, T )dx = S RU R S L U L + F L F R, (5.) T (S R S L ) T S L S R S L the average across the wave structure is all that matters, without considering the spatial variations of the solution of the Riemann problem in the Star Region. In their paper, Harten, Law and van Leer [7] suggested this could be corrected by restoring the missing waves. Consequently, Toro, Spruce and Speares [9] proposed the HLLC scheme, where C stands for Contact. This scheme puts the middle waves back into the structure of the approximate Riemann solver. 5.. The HLLC approximate Riemann solver Considering 5., where the complete structure of the solution of the Riemann problem is contained in a sufficiently large control volume [x L, x R ] [0, T ]. We add now the middle speed S corre- 5

Figure 5.: Approximate HLLC Riemann solver. separated by a middle wave speed of S. Solution in the Star Region consists of two constant states sponding to the multiple eigenvalue λ = λ = λ 4 = u. The integral form of the conversation laws does not change from (5.) even with variations of the integrand across S. With this addition, the consistency condition 5. becomes effectively the condition (5.), and thus by splitting the left-hand side of (5.) into two terms we obtain T SR T S T (S R S L ) U(x, T )dx = T (S R S L ) T S L + T (S R S L ) T S L T SR And the integral averages are defined as TS U L = T (S R S L ) U(x, T )dx, T SL TSR U R = T (S R S L ) U(x, T )dx. T S T S U(x, T )dx U(x, T )dx (5.4) (5.5) Substituting (5.5) into (5.4) and using (5.), The Consistency Condition (5.) becomes ( ) ( ) S S L SR S U L + U R = U hll, (5.6) S R S L S R S L where U hll is given by (5.7). Thus the HLLC approximate Riemann solver is given as follows U L if x t S L, U L if S L x t Ũ(x, t) = S, U R if S x t S R, U R if x t S R. And by integrating over appropriate control volumes, we obtain (5.7) F L = F L + S L (U L U L ), (5.8) F R = F L + S (U R U L ), (5.9) F R = F R + S R (U R U R ). (5.40) 6

Equations (5.8) - (5.40) are for the four unknown vectors U L, F L, U R and F R. We can compare these to the HLL scheme equations (5.8) - (5.9), and substituting F L from 5.8 and F R from (5.40) into (5.9) gives the Consistency Condition (5.6) showing that these three equations are sufficient for ensuring consistency. In order to determine the fluxes F L and F R from 5.8 and 5.40 it is necessary to find the vectors U L and U R to make this possible. First we impose some conditions on the approximate Riemann solver u L = u R = u, p L = p R = p, (5.4) v L = v L, v R = v R, w L = W L, w R = w R, which are satisfied by the exact solution, and we can also set S = u (5.4) And we can then rearrange (5.8) and (5.40) as S L U L F L = Q L, (5.4) S R U R F R = Q R, (5.44) where Q L and Q R are known constant vectors. Using the conditions (5.4) - (5.4) in the above gives U K = ρ K ( SK u K S K S ) S v K w K E K ρk + (S u K ) [ S + p K ρ K (S K U K ), (5.45) ] for K = L and K = R. Thus the fluxes are completely determined. The HLLC flux for the approximate Godunov method can now be written as F L if 0 S L, F hllc i+ = where U L and U R are given by (5.45). F L = F L + S L (U L U L ) if S L 0 S, F R = F R + S R (U R U R ) if S 0 S R, F R if 0 S R. (5.46) 7

5.. Wave-speed estimates To allow for the calculation of the fluxes in both the HLL and HLLC schemes it is necessary to have algorithms for computing wave speeds. We just require speeds S L and S R for the HLL scheme, but require the additional middle wave speed S for the HLLC scheme. We will look at two ways of estimating S L, S R and S : direct estimates and pressure-velocity estimates. Direct wave speed estimates The direct wave speed estimates are the most simple methods providing minimum and maximum signal velocities. The most simple of these is provided by Davis [] S L = u L a L, S R = u R + a R (5.47) and S L = min {u L a L, u R a R }, S R = max {u R + a R, u R + a R }. (5.48) Because of the simplicity of these estimates, it is necessary to look at more complex estimates. We can also make use of the Roe [] average eigenvalues, that we use in the Roe Riemann scheme, for the left and right non-linear waves S L = ũ ã, S R = ũ + ã, (5.49) where ũ and ã are the Roe-average particle and sound speeds respectively, given as ũ = with the enthalpy H = (E + p)/ρ approximated as ρl u L + [ ( ρ R u R ρl +, ã = (γ ) H )] ũ, (5.50) ρ R H = ρl H L + ρ R H R ρl + ρ R. (5.5) More information about the Roe solver and scheme are given in the previous chapter. The Rusanov flux can be obtained by, is taking a positive speed S +, setting S L = S + and S R = S + in the HLL flux (refeq:0.), as observed by Davis [4] F i+/ = (F L + F R ) S+ (U R U L ). (5.5) Its necessary to choose a speed S +, Davis [] considered S + = max { u L a L, u R a R, u L + a L, u R + a R }, (5.5) 8

which is bounded by [0]. (5.54) S + = max { u L + a L, u R + a R }. Both are considered and investigated in Section 7. Finally we consider the Einfeldt eigenvalues [4], which are motivated by the Roe values S L = ũ d, S R = ũ + d, (5.55) where and d = ρl a L + ρ R a R ρl + ρ R + η (u R u L ) (5.56) η = ρl ρr ( ρl + ). (5.57) ρ R Comparisons of the results given by these various wave speeds can be seen in (the following section). Pressure-velocity based wave speed estimates Finding wave speed estimates by estimating the pressure p in the Star Region was first proposed by Toro et. al. [9]. Since for the HLLC scheme we also require S, the P-V estimate is the sensible choice, although in Section 7 we apply it to both HLL and HLLC schemes. Two possible ways of doing this include finding an estimate for the particle velocity u and the second derives S from the estimates S L and S R using conditions (5.4) in equations (5.4) - (5.44) (see []). Assuming we have estimates for p and u, then we choose the following wave speeds where S L = u L a L q L, S = u, S R = u R + a R q R, (5.58) if p p K q K = [ + γ+ γ (p /p K )] if p > p K. (5.59) This choice of wave speeds discriminates between shock and rarefaction waves. If the K wave (K = L or K = R) is a rarefaction then the speed S K corresponds to the characteristic speed of the head of the rarefaction, which carries the fastest signal. If the wave is a shock wave then the speed corresponds to an approximation of the true shock speed; the wave relations used are exact but the pressure ratio across the shock is approximated, because the solution for p is an approximation. The Primitive Variable Riemann Solvers approximate Riemann solver [7] gives where p pv = (p L + p R ) (u R u L ) ρā, u pv = (u L + u R ) (p R p L ), (5.60) ρā ρ = (ρ L + ρ R ), ā = (a L + a R ). (5.6) 9

The approximations given in 5.60 and 5.6 can be used in (5.58) - (5.59) to obtain wave speed estimates for the HLL and HLLC schemes. There are other ways to approximate p and u, such as the Two-Rarefaction Riemann solver, but due to time restraints these were not investigated (see Toro sect 9.4.). 5. Osher-Solomon (98) The final scheme being considered in this study is the Osher-Solomon scheme, devised as an upwind finite difference approximation to systems of nonlinear hyperbolic conservation laws [9]. It is an attractive scheme due to the smoothness of the numerical flux; proving to be entropy satisfying and in practical computations it is seen to handle the sonic flow well [0]. This chapter will look at how to apply the Osher-Solomon method to nonlinear hyperbolic conservation laws, looking specifically at the Euler equations, and will describe the two-different methods of ordering the flux for computation. 5.. Osher-Solomon for the Euler equations In this section we take the time-dependent Euler equations and develop the Osher-Solomon scheme for them, with both P and O orderings. We consider first the one-dimensional case U t + F(U) x = 0 (5.6) ρ ρu U = ρu, F(U) = ρu + p. (5.6) E u(e + p) Where we have considered the details of these equations in Chapter. The explicit conservative formula requires us to have an expression for the intercell flux F i+ U n+ i And we can recall that the Jacobian atrix A(U) has eigenvalues = U n i + t [ ] F F. (5.64) x i i+ λ = u, λ = u, λ = u + a (5.65) 0

and right eigenvectors K () = u a, K() = u H ua u, K() = u + a. (5.66) H + ua Figure 5.: Possible configuration of integration paths I k (U), intersection points U, U and sonic points U S0, U S in physical space x t for a by system 5. shows the structure of the solution of the Riemann problem with data U 0, U in the x t plane. We see also the partial integration paths I (U), I (U), I (U), the intersection points U, and the sonic points U S0, U S in phase space; which follow the P-ordering. To obtain the U Osher-Solomon flux formulae we can look at the problem in two steps. The first step finds the intersection points U and U, which are then identified with the states U L and U R in the solution of the Riemann problem. The second step involves evaluating the integrals around the integration paths to obtain the intercell flux. P-ordering The P in P-ordering stands for physical ordering of the integration paths for the Euler equations, as shown in 5.. We can see from the figure that the states U 0 and U are connected by the partial integration path I (U), which is taken as tangential to the right eigenvector K () (U) in (5.66). Likewise, I (U) connects U to U and I (U) connects U to U. In order to obtain the intersection and sonic points the physically correct Generalised Riemann Invariants are invoked (see Section.. of [0]). Intersection and Sonic Points. In order to find U Invariants I L u + I R u and U we use the Generalised Riemann a = constant (5.67) γ a = constant (5.68) γ to relate U 0 to U and U to U. If the left and right nonlinear waves are rarefaction waves then (5.67) - (5.68) are exact relations. These waves can either be shock or rarefactions and so

the intersection points U and U are approximations [0]. The underlying assumption here though is that both nonlinear waves are rarefaction which corresponds to the Two-Rarefaction approximation TRRS (see [0] section 9.4.). By using (5.67) across the left wave we get u + a γ = u 0 + a 0 γ (5.69) and similarly using (5.68) across the right wave u a γ = u a γ (5.70) where u is the common particle velocity for U also common u and U. We also know that the pressure p is = u = u = constant, p = p = p = constant. (5.7) Applying the isentropic law, that entropy is constant, to the left and right waves gives a = a 0 (p /p 0 ) z, a = a (p /p ) z, (5.7) with Using (5.69) and (5.7) we get And by using (5.70) and (5.7) u = u 0 a 0 γ u = u + a γ z = γ γ. (5.7) [( p p 0 [( p p ) z ]. (5.74) ) z ]. (5.75) Solving for p and u we obtain [ ] a0 + a (u u 0 )(γ )/ z p =, (5.76) a 0 /p z 0 + a /p z with u = Hu 0/a 0 + u /a + (H )(γ ) H/a 0 + /a, (5.77) H = (p 0 /p ) z. The values for the densities ρ and ρ equate to ρ ( ) ( ) p γ p γ = ρ 0, ρ = ρ. (5.78) p 0 p And thus the complete solution for U, U is given by (5.76) - (5.78). In order to compute the sonic points U S0 and U S we first enforce the sonic conditions λ = u a = 0 and λ = u + a = 0

and then by applying the Generalised Riemann Invariants [0]. The solution for the left sonic point becomes Similarly, for the right sonic point u S0 = γ γ+ u 0 + a0 γ+, a S0 = u S0, ( ) ( ) ρ S0 = ρ as0 γ 0 a 0, ps0 = p ρs0 γ. 0 ρ 0 u S = γ γ+ u a γ+, a S = u S, ( ) ( ) ρ S = ρ as γ a, ps = p ρs γ. ρ (5.79) (5.80) Integration along partial paths. For the Osher-Solomon intercell flux we use U F = F 0 + A (U)dU, i+ U 0 where the integral in phase space along the path I(U) = I (U) I (U) I (U) gives U U U F = F 0 + A (U)dU + A (U)dU + A (U)dU. (5.8) i+ U 0 U U For brevity the integration results are not given but the 6 realisable results given from integration have been tabulated in (5.), more information on the results given by (5.8) can be found in Section.. of [0]. u 0, u a u 0 a 0 0 u 0 a 0 0 u 0 a 0 0 u 0 a 0 0 u + a 0 u + a 0 u + a 0 u + a 0 0 F 0 F 0 + F + F S F S F S0 F S + F u 0, u a 0 F 0 F S0 + F F 0 F S0 + F F S + F F F + F F S u 0, u + a 0 F 0 F S0 + F F 0 F S0 + F F S + F F F + F S F u 0, u + a 0 F 0 F S0 + F S F 0 F S0 + F F S F Table 5.: Osher-Solomon flux formulae for the Euler equations using P-ordering of the integration paths, F k = F(U k ) [0]

O-ordering The O-ordering of integration paths is the exact opposite of the P-ordering method described in the previous section. We can first illustrate the O-ordering applied to a x system, see 5., like the Euler equations. The O-ordering method can be seen like assigning the eigenvalue λ (U) and eigenvector K () (U) to the wave family with eigenvalue λ (U) and eigenvector K () (U), and vice-versa. Intersection and sonic points. Similar to the P-ordering technique, we determine the intersection points U and U by using the Generalised Riemann Invariants. The main difference is that U 0 and U are connected using the right Riemann Invariant and U using the left. Therefore we have is connected to U I L u + a γ = u 0 a 0 γ (5.8) I R u a γ = u + a γ Similarly we take u and p to be common particle velocity and pressure at points U Using (5.7) in (5.8) we get and using (5.7) in (5.8) we get Solving for p we get u = u 0 + a 0 γ u = u a γ It is possible to rearrange (5.84) and (5.85) to get so the solution for u is given as [( p p 0 [( p p (5.8) and U. ) z ]. (5.84) ) z ]. (5.85) [ ] a0 + a (u u 0 )(γ )/ z p =. (5.86) a 0 /p z 0 + a /p z [ ] γ z p = p 0 (u u 0 ) +, (5.87) a 0 [ ] γ z p = p (u u ) +, (5.88) a u = Hu 0/a 0 + u /a + (H )(γ ) H/a 0 + /a, (5.89) with H and z as defined in P-ordering. Envoking the isentropic law again, we can find solutions for ρ and ρ ρ ( ) ( ) p γ p γ = ρ 0, ρ = ρ. (5.90) p 0 p 4

Next, we find the sonic points U S0 and U S by first connecting U 0 and U via the right Riemann Invariant Then we enforce the sonic condition to obtain u S0 = a S0 γ + u 0 a 0 γ. λ (U) = u S0 + a S0 = 0 along I (U) and applying the isentropic law we obtain the solution The solution for the right sonic point U S is u S0 = γ γ+ u 0 a0 γ+, a S0 = u S0, ( ) ( ) ρ S0 = ρ as0 γ 0 a 0, ps0 = p ρs0 γ. 0 ρ 0 u S = γ γ+ u + a γ+, a S = u S, ( ) ( ) ρ S = ρ as γ a, ps = p ρs γ. ρ (5.9) (5.9) Integration along partial paths. To compute the Osher-Solomon intercell flux U F = F 0 + A (U)dU, (5.9) i+ U 0 we need to obtain U) A (U)dU= U U 0 U 0 A (U)dU+ U U A (U)dU+ U U A (U)dU.(5.94) By using O-ordering we obtain U A (U)dU = A (U)dU, (5.95) U 0 I (U) U U U U A (U)dU = A (U)dU = I (U) I (U) A (U)dU, (5.96) A (U)dU. (5.97) Tables of evaluations of these are beyond the scope of this project, but for further details see section.. of [0]. A table of realisable combinations is given in (5.), which is what will be called on later in this work. 5

u 0 + a 0 0 u 0 + a 0 0 u 0 + a 0 0 u 0 + a 0 0 u + a 0 u a 0 u a 0 u + a 0 u + a u + a 0 F 0 F S0 + F S F 0 F S0 + F F S F 0, u 0 F 0 F + F S F 0 F + F F S0 F + F S F S0 F F + u a 0 F 0 F 0 F S + F F S0 F S0 F S + u a 0, u 0 F 0 F + F S F 0 F + F F S0 F + F S F S0 F F F + Table 5.: Osher-Solomon flux formulae for the Euler equations using O-ordering of the integration paths, F k = F(U k ) [0] 6 The nd Order Approach To get more accurate, smooth results, for the Riemann problem, it is desirable to take the approximate solvers to higher order. In order to take the approximate Riemann solvers to higher order, we need to look at various schemes that enable us to do so. Some various examples are given by Toro [0], and for this study we will use the centred total variation diminishing (TVD) scheme. Godunov s theorem proves that only first order linear schemes preserve monotonicity and are therefore TVD. Although higher order linear schemes are more accurate for smooth solutions, they are not TVD and have a tendancy to introduce spurious oscillations, or wiggles, where discontinuities or shocks arise. In order to overcome this drawback, we use flux limiters. 6. The FORCE Flux Recapping the hyperbolic conservation laws U t = F(U) x = 0 (6.) such as the Euler equations (from previous chapter state which), which can be solved using a classical scheme of first order accuracy such as that of Lax-Friedrichs. In the Lax scheme, the 6