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.
- Host: GitHub
- URL: https://github.com/ryarazi/exactriemannproblemsolver
- Owner: ryarazi
- License: mit
- Created: 2018-12-06T16:00:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-14T17:19:15.000Z (about 7 years ago)
- Last Synced: 2025-03-30T03:11:10.606Z (12 months ago)
- Topics: cfd, hydrodynamics, hydrodynamics-euler-equations, julia, numerical, riemann-solver, sod-shock-tube, toro-solver
- Language: Julia
- Homepage:
- Size: 175 KB
- Stars: 15
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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:

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:
