![]() |
ryujin 2.1.1 revision b04fb4aba7bd97ddfa5994a6b4b6e8586eb15db2
|
#include <source/euler/initial_state_exact_riemann_solution.h>


Typedefs and constexpr constants | |
| using | HyperbolicSystem = typename Description::HyperbolicSystem |
| using | View = typename HyperbolicSystem::template View< dim, Number > |
| using | state_type = typename View::state_type |
| using | ScalarNumber = typename View::ScalarNumber |
| using | RiemannSolver = EulerAEOS::NASGRiemannSolver< ScalarNumber, riemann_solver_options > |
| using | RiemannSolverView = EulerAEOS::NASGRiemannSolverView< Number, riemann_solver_options > |
| using | primitive_type = typename RiemannSolverView::primitive_type |
| static constexpr EulerAEOS::NASGRiemannSolverOptions | riemann_solver_options |
| ExactRiemannSolution (const HyperbolicSystem &hyperbolic_system, const std::string subsection) | |
| state_type | compute (const dealii::Point< dim > &point, Number t) final |
Additional Inherited Members | |
Public Types inherited from ryujin::InitialState< Description, dim, Number > | |
| using | HyperbolicSystem = typename HyperbolicDescription::HyperbolicSystem |
| using | View = typename HyperbolicSystem::template View< dim, Number > |
| using | state_type = typename View::state_type |
| using | initial_precomputed_type = typename View::initial_precomputed_type |
Public Member Functions inherited from ryujin::InitialState< Description, dim, Number > | |
| InitialState (const std::string &name, const std::string &subsection) | |
| virtual initial_precomputed_type | initial_precomputations (const dealii::Point< dim > &) |
| const auto & | name () const |
The exact Riemann solution.
This initial state class computes the analytic (self-similar) solution of the 1D Riemann problem for the compressible Euler equations with a Noble-Abel-Stiffened Gas equation of state with the help of EulerAEOS::NASGRiemannSolver, see [2] and [16]. The covolume b and reference pressure pinf are taken from the equation of state of the hyperbolic system (if available), otherwise a polytropic gas equation of state is assumed.
t and position x.Definition at line 47 of file initial_state_exact_riemann_solution.h.
| using ryujin::EulerInitialStates::ExactRiemannSolution< Description, dim, Number >::HyperbolicSystem = typename Description::HyperbolicSystem |
Definition at line 55 of file initial_state_exact_riemann_solution.h.
| using ryujin::EulerInitialStates::ExactRiemannSolution< Description, dim, Number >::View = typename HyperbolicSystem::template View<dim, Number> |
Definition at line 56 of file initial_state_exact_riemann_solution.h.
| using ryujin::EulerInitialStates::ExactRiemannSolution< Description, dim, Number >::state_type = typename View::state_type |
Definition at line 57 of file initial_state_exact_riemann_solution.h.
| using ryujin::EulerInitialStates::ExactRiemannSolution< Description, dim, Number >::ScalarNumber = typename View::ScalarNumber |
Definition at line 59 of file initial_state_exact_riemann_solution.h.
| using ryujin::EulerInitialStates::ExactRiemannSolution< Description, dim, Number >::RiemannSolver = EulerAEOS::NASGRiemannSolver<ScalarNumber, riemann_solver_options> |
Definition at line 73 of file initial_state_exact_riemann_solution.h.
| using ryujin::EulerInitialStates::ExactRiemannSolution< Description, dim, Number >::RiemannSolverView = EulerAEOS::NASGRiemannSolverView<Number, riemann_solver_options> |
Definition at line 75 of file initial_state_exact_riemann_solution.h.
| using ryujin::EulerInitialStates::ExactRiemannSolution< Description, dim, Number >::primitive_type = typename RiemannSolverView::primitive_type |
Definition at line 77 of file initial_state_exact_riemann_solution.h.
|
inline |
|
inlinefinalvirtual |
Given a position point returns the corresponding (conserved) initial state. The function is used to interpolate initial values and enforce Dirichlet boundary conditions. For the latter, the function signature has an additional parameter t denoting the current time to allow for time-dependent (in-flow) Dirichlet data.
Implements ryujin::InitialState< Description, dim, Number >.
Definition at line 140 of file initial_state_exact_riemann_solution.h.
|
staticconstexpr |
Compile time options of the Riemann solver: a single, constant gamma, and covolume and reference pressure only if provided by the hyperbolic system. safe_division is enabled so that the solution remains well defined if a vacuum is formed.
Definition at line 68 of file initial_state_exact_riemann_solution.h.