A KISS pure Fortran Library providing a large set of Riemann Solvers:
use foreseer type(eos_compressible) :: eos ! Equation of state. type(conservative_compressible) :: state_left ! Left state. type(conservative_compressible) :: state_right ! Right state. type(conservative_compressible) :: fluxes ! Conservative fluxes. class(riemann_solver_compressible_llf) :: riemann_solver ! Riemman Problem solver. ! air eos = eos_compressible(cp=1040.004_R8P, cv=742.86_R8P) ! SOD's Riemann Problem state_left = conservative_compressible(density=1._R8P, & energy=1._R8P*eos%energy(density=1._R8P, & pressure=1._R8P)) state_right = conservative_compressible(density=0.125_R8P, & energy=0.125_R8P*eos%energy(density=0.125_R8P, & pressure=0.1_R8P)) ! solve Riemann Problem call riemann_solver%solve(eos_left=eos, state_left=state_left, & eos_right=eos, state_right=state_right, normal=ex, & fluxes=fluxes) ! print results print '(A)', 'Fluxes at interface:' print '(A)', fluxes%description(prefix=' ')
What is FORESEER? | Main features | Copyrights | Download | Compilation | Documentation | References
FORESEER is a modern Fortran library providing a large set of Riemann Solvers.
To be completed.
To be written.
Go to Top
To be written.
Any feature request is welcome.
Go to Top
FORESEER is a Free and Open Source Software (FOSS), it is distributed under a very permissive multi-licensing system: selectable licenses are GPLv3, BSD2-Clause, BSD3-Clause and MIT, feel free to select the license that best matches your workflow.
Anyone is interest to use, to develop or to contribute to FORESEER is welcome.
More details can be found on wiki.
Go to Top
To be written.
Go to Top
To be written.
Besides this README file the FORESEER documentation is contained into its own wiki. Detailed documentation of the API is contained into the GitHub Pages that can also be created locally by means of ford tool.