riemann1d.f90 File Reference

Go to the source code of this file.

Functions/Subroutines

program riemann1d
 1D Riemann problems More...
 
subroutine makeconfig (Sim, config, ic, dir)
 
subroutine run (this, pvar, ic, dir)
 

Function/Subroutine Documentation

◆ makeconfig()

subroutine riemann1d::makeconfig ( class(fosite), intent(inout)  Sim,
type(dict_typ), pointer  config,
integer, intent(in)  ic,
integer, intent(in)  dir 
)

Definition at line 172 of file riemann1d.f90.

◆ riemann1d()

program riemann1d ( )

1D Riemann problems

Author
Tobias Illenseer

References:

  • [toro1999] Toro, E. F.: Riemann Solvers and Numerical Methods for Fluid Dynamics, A Practical Introduction, Springer-Verlag 1999, 2nd ed., Chapter 4.3.3
  • [sod1978] Sod, G. A.: A survey of several finite difference methods for systems of nonlinear hyperbolic conservation laws, J. Comput. Phys. 27 (1978), 1-31 DOI: 10.1016/0021-9991(78)90023-2
  • [noh1987] noh Noh, W. F.: Errors for calculations of strong shocks using an artificial viscosity and an artificial heat-flux, J. Comput. Phys. 72 (1987), 78-120 DOI: 10.1016/0021-9991(87)90074-X
Test:
Eight different tests, which show the numerical solution for 1D isothermal and non-isothermal Euler equations with piecewise constant initial conditions.

initial conditions, one of

  1. Sod problem, see ref. [toro1999], [sod1978]
  2. Toro test no. 2, see ref. [toro1999]
  3. Toro test no. 3, see ref. [toro1999]
  4. Toro test no. 4, see ref. [toro1999]
  5. Toro test no. 5, see ref. [toro1999]
  6. Noh problem, see ref. [noh1987]
  7. Isothermal shock tube
  8. simple isothermal Riemann problem

Definition at line 54 of file riemann1d.f90.

◆ run()

subroutine riemann1d::run ( class(fosite), intent(inout)  this,
class(marray_compound), pointer  pvar,
integer, intent(in)  ic,
integer, intent(in)  dir 
)

Definition at line 319 of file riemann1d.f90.