wiki:u/erica/GudonovMethodEuler

Version 17 (modified by Erica Kaminski, 12 years ago) ( diff )

The Godunov Method for Euler Equations, using EXACT Riemann Solver

Big Picture

  1. Define a piece-wise function of initial data
  1. Solve the IVP for the original conservation law, but with modified (discretized) initial data to get the solution for the next time level
  1. This produces local Riemann Problems (RPs), centered on intercell boundaries.
  1. Solve these local RP's, and use solution to compute fluxes

The method

In conservative form, the Godunov method is written:

where

is the numerical flux, which = the physical flux evaluated along the intercell boundary using the exact solution to the local Riemann Problem (LRP).

The time-step, is constrained by the CFL condition, which uses the max wave speed on the grid. The constraint used in the God. code here allows any given wave on the grid to travel a full delta_x in a time-step. In allowing this, we achieve a more efficient time-marching scheme, but with the assumption that wave interactions do not lead to wave accelerations.

The code

Here is an html version of the main program, with encompassing module, and problem.data file.

Debugging

Results

Attachments (14)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.