Skip to content

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

License

Notifications You must be signed in to change notification settings

ryarazi/ExactRiemannProblemSolver

Repository files navigation

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

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages