Version 4 (modified by 12 years ago) ( diff ) | ,
---|
Intro
The Riemann problem is an IVP for the Euler Equations, which consists of 2 constant initial data states separated by a discontinuity between them, say at x=0. For x<x=0, we say the data state is XL, for which there are initial variables WL=(rho_L, p_L, u_L). Similarly for the initial right data state, XR=x>x=0, the initial variables are WR=(rho_R, p_R, u_R). The solution of this IVP consists of 3 nonlinear waves, a left wave that is either a shock or a rarefaction, a center contact discontinuity, and a right wave that is either a shock or a rarefaction wave. Depending on which type of L- or R-wave is present, different expressions exist that describe the change in variables across them. The contact discontinuity is special in that the pressure (p) and velocity (u) are constant across it.
Program Outline for Exact Riemann Solver
Given the above properties of the Riemann problem, an algebraic expression can be derived which gives p in the central "star-region" (denoted by '*'). The overall structure of the Riemann problem then is to solve this algebraic equation for p*. Once p* is known, u* follows immediately. The remaining rho*_L and rho*_R follow from expressions valid for the specific L- or R- wave present.
The program thus will consist of 4 parts: 1. Identification of types of nonlinear waves present in the solution states, 2. Code to find p* using an iterative process, 3. U* given by Toro 4.9, 4. Use appropriate expressions to find rho*_L and rho*_R.
Attachments (5)
- LSRR.png (28.1 KB ) - added by 12 years ago.
- LBlastWave.png (28.5 KB ) - added by 12 years ago.
- 123Test.png (17.2 KB ) - added by 12 years ago.
- SodTest2ndAttempt.png (34.3 KB ) - added by 12 years ago.
- solver.f90 (11.8 KB ) - added by 12 years ago.
Download all attachments as: .zip