An open API service indexing awesome lists of open source software.

https://github.com/ryarazi/exactriemannproblemsolver

An exact riemann problem solver written in julia. This program which generates exact solutions for the hydrodynamics Euler equations using Toro solver.
https://github.com/ryarazi/exactriemannproblemsolver

cfd hydrodynamics hydrodynamics-euler-equations julia numerical riemann-solver sod-shock-tube toro-solver

Last synced: 11 months ago
JSON representation

An exact riemann problem solver written in julia. This program which generates exact solutions for the hydrodynamics Euler equations using Toro solver.

Awesome Lists containing this project

README

          

# ExactRiemannProblemSolver

A Julia program which generates exact solutions to Riemann problems for the hydrodynamics Euler equations based on the algorithm of Toro which is described in:
Toro, E.F., Riemann Solvers and Numerical Methods for Fluid Dynamics, A Practical Introduction, 3nd ed., Springer, Berlin, 2009.

This program also knows how to handle case of vaccum (both vaccum in the initial conditions and generation of vaccum through thr dynamics).
To see how to use the program you can read the documentation of the main function sample_riemann inside "RiemannSolver.jl".
In addition to the solver code, the file RiemannTests.jl have set of test problems from different sources to check the code.

## Examples

An example of the pressure, density, energy and velocity profiles printed by the "SodShockTube" test, which solves the famous Sod Shock Tube problem:

![Sod Shock Tube Graphs](sod_example.png?raw=true)

An example of the pressure, density, energy and velocity profiles printed by the some test (which is called "RCVCR" in the tests file) in which vaccum is generated:

![RCVCR](vaccum_example.png?raw=true)