![]() |
ryujin 2.1.1 revision ee5cbcbf2346c1299c942d0e1f13b46449973c18
|
#include <source/euler_aeos/equation_of_state_hayes.h>


Public Member Functions | |
| Hayes (const std::string &subsection) | |
| double | pressure (double rho, double e) const final |
| double | specific_internal_energy (double rho, double p) const final |
| double | temperature (double rho, double e) const final |
| double | cold_curve_bound (double rho) const final |
| double | specific_entropy (double rho, double e) const final |
| double | speed_of_sound (double rho, double e) const final |
| virtual double | pressure (double rho, double e) const=0 |
| virtual double | specific_internal_energy (double rho, double p) const=0 |
| virtual double | speed_of_sound (double, double) const |
| virtual double | temperature (double, double) const |
Public Member Functions inherited from ryujin::EquationOfStateLibrary::EquationOfState | |
| EquationOfState (const std::string &name, const std::string &subsection) | |
Additional Inherited Members | |
Protected Attributes inherited from ryujin::EquationOfStateLibrary::EquationOfState | |
| double | covolume_constant_ |
| double | interpolation_pinfty_ |
| double | interpolation_q_ |
The Hayes equation of state
Definition at line 15 of file equation_of_state_hayes.h.
|
inline |
Definition at line 23 of file equation_of_state_hayes.h.
|
inlinefinalvirtual |
Let
\begin{align} f_c(v) = k0 * v0 / (N * (N - 1)) * ((v / v0)^{1 - N} - (N - 1)(1 - v / v0) - 1). \end{align}
and let
\begin{align} T - T0 = (e - e0 - p0 (v0 - v) - f_c(v)) / cv + gamma_0 * T0 (1 - v / v0). \end{align}
The pressure is given by
\begin{align} p = k0 / N * (v / v0)^{-N} + cv * gamma0 / v0 * (T - T0) - k0 / N + p0 \end{align}
Implements ryujin::EquationOfStateLibrary::EquationOfState.
Definition at line 82 of file equation_of_state_hayes.h.
|
inlinefinalvirtual |
Let
\begin{align} f_c(v) = k0 * v0 / (N * (N - 1)) * ((v / v0)^{1 - N} - (N - 1)(1 - v / v0) - 1). \end{align}
The specific internal energy is given by
\begin{align} e = v0 / gamma_0 * (p - p0 - k0 / N (v / v0)^{-N} + k0 / N) + (p0 v0 - gamma_0 T0 cv)(1 - v / v0) + f_c(v) + e_0 \end{align}
Implements ryujin::EquationOfStateLibrary::EquationOfState.
Definition at line 107 of file equation_of_state_hayes.h.
|
inlinefinalvirtual |
Let
\begin{align} f_c(v) = k0 * v0 / (N * (N - 1)) * ((v / v0)^{1 - N} - (N - 1)(1 - v / v0) - 1). \end{align}
The temperature is given by
\begin{align} T = (e - e0 - p0 (v0 - v) - f_c(v)) / cv + gamma_0 * T0 / v0 (v0 - v) + T0. \end{align}
Reimplemented from ryujin::EquationOfStateLibrary::EquationOfState.
Definition at line 132 of file equation_of_state_hayes.h.
|
inlinefinalvirtual |
Let
\begin{align} f_c(v) = k0 * v0 / (N * (N - 1)) * ((v / v0)^{1 - N} - (N - 1)(1 - v / v0) - 1). \end{align}
The cold curve is given by
\begin{align} e_cold = p0 (v0 - v) + f_c(v) + e0 \end{align}
Reimplemented from ryujin::EquationOfStateLibrary::EquationOfState.
Definition at line 152 of file equation_of_state_hayes.h.
|
inlinefinalvirtual |
Let
\begin{align} T = (e - e0 - p0 (v0 - v) - f_c(v)) / cv + gamma_0 * T0 / v0 (v0 - v) + T_0. \end{align}
The specific entropy is given by
\begin{align} s = cv * \ln(T / T0) + cv * gm0 / v0 * (v - v0) + s0 \end{align}
Reimplemented from ryujin::EquationOfStateLibrary::EquationOfState.
Definition at line 169 of file equation_of_state_hayes.h.
|
inlinefinalvirtual |
Let
\begin{align} f_c(v) = k0 * v0 / (N * (N - 1)) * ((v / v0)^{1 - N} - (N - 1)(1 - v / v0) - 1). \end{align}
and let
\begin{align} T = (e - e0 - p0 (v0 - v) - f_c(v)) / cv + gamma_0 * T0 / v0 (v0 - v) + T_0. \end{align}
The speed of sound is given by
\begin{align} c^2 = v0 k0 (v / v0)^{1 - N} + cv (gamma0 / v0)^2 v^2 T \end{align}
Reimplemented from ryujin::EquationOfStateLibrary::EquationOfState.
Definition at line 196 of file equation_of_state_hayes.h.
|
virtual |
Return the pressure given density rho and specific internal energy e.
Implements ryujin::EquationOfStateLibrary::EquationOfState.
|
virtual |
Return the specific internal energy e for a given density rho and pressure p.
Implements ryujin::EquationOfStateLibrary::EquationOfState.
|
inlinevirtual |
Return the sound speed c for a given density rho and specific internal energy e.
Reimplemented from ryujin::EquationOfStateLibrary::EquationOfState.
Definition at line 123 of file equation_of_state.h.
|
inlinevirtual |
Return the temperature T for a given density rho and specific internal energy e.
Reimplemented from ryujin::EquationOfStateLibrary::EquationOfState.
Definition at line 109 of file equation_of_state.h.