![]() |
ryujin 2.5.0 revision 3a6c8d57210175dea14d8116e1fe878f349f8c1c
|
#include <include/ryujin/euler_aeos/equation_of_state_jones_wilkins_lee.h>


Public Member Functions | |
| JonesWilkinsLee (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::EquationOfState | |
| EquationOfState (const std::string &name, const std::string &subsection) | |
Additional Inherited Members | |
Protected Attributes inherited from ryujin::EquationOfState | |
| double | covolume_constant_ |
| double | interpolation_pinfty_ |
| double | interpolation_q_ |
The Jones-Wilkins-Lee equation of state. See (16a) in: "JWL Equation of State" by Ralph Menikoff (LA-UR-15-29536). We are assuming that the reference temperature T_r is chosen such that E_r = 0. Default parameters taken from Table 1 in reference.
Definition at line 23 of file equation_of_state_jones_wilkins_lee.h.
|
inline |
Definition at line 31 of file equation_of_state_jones_wilkins_lee.h.
|
inlinefinalvirtual |
The pressure is given by
\begin{align} p = A(1 - \omega / R_1 \rho / \rho_0) e^{(-R_1 \rho_0 / \rho)} + B(1 - \omega / R_2 \rho/ \rho_0) e^{(-R_2 \rho_0 / \rho)} + \omega \rho (e + q_0) \end{align}
Implements ryujin::EquationOfState.
Definition at line 74 of file equation_of_state_jones_wilkins_lee.h.
|
inlinefinalvirtual |
The specific internal energy is given by
\begin{align} \omega \rho (e + q0) = p - A(1 - \omega / R_1 \rho / \rho_0) e^{(-R_1 \rho_0 / \rho)} - B(1 - \omega / R_2 \rho/ \rho_0) e^{(-R_2 \rho_0 / \rho)} \end{align}
Implements ryujin::EquationOfState.
Definition at line 95 of file equation_of_state_jones_wilkins_lee.h.
|
inlinefinalvirtual |
The temperature is given by
\begin{align} c_v T = e + q_0 - 1 / \rho_0 * (A / R_1 * e^{(-R_1 \rho_0 / \rho)} + B / R_2 * e^{(-R_2 \rho_0 / \rho)}) \end{align}
Reimplemented from ryujin::EquationOfState.
Definition at line 114 of file equation_of_state_jones_wilkins_lee.h.
Referenced by specific_entropy().
|
inlinefinalvirtual |
The cold curve is given by
\begin{align} e_cold = v_0 * (A / R1 * exp(-R1 \rho_0 / \rho) + B / R2 * exp(-R2 \rho_0 / \rho) - q0 \end{align}
Reimplemented from ryujin::EquationOfState.
Definition at line 132 of file equation_of_state_jones_wilkins_lee.h.
|
inlinefinalvirtual |
The specific entropy is given by
\begin{align} s = cv * (\ln(T / T_0) + \omega \ln(rho_0 / \rho)) + s_0; \end{align}
Reimplemented from ryujin::EquationOfState.
Definition at line 150 of file equation_of_state_jones_wilkins_lee.h.
References temperature().
|
inlinefinalvirtual |
Let \(v_r = \rho_0 / \rho\). The speed of sound is given by
\begin{align} c^2 = (A / \rho_0) * (R1 v_r^2 - \omega(\omega + 1) / R1) exp(-R1 * v_r) + (B / \rho_0) * (R2 v_r^2 - \omega(\omega + 1) / R2) exp(-R2 * v_r) + \omega(\omega + 1)(e + q0) \end{align}
Reimplemented from ryujin::EquationOfState.
Definition at line 173 of file equation_of_state_jones_wilkins_lee.h.
|
virtual |
Return the pressure given density rho and specific internal energy e.
Implements ryujin::EquationOfState.
|
virtual |
Return the specific internal energy e for a given density rho and pressure p.
Implements ryujin::EquationOfState.
|
inlinevirtual |
Return the sound speed c for a given density rho and specific internal energy e.
Reimplemented from ryujin::EquationOfState.
Definition at line 120 of file equation_of_state.h.
|
inlinevirtual |
Return the temperature T for a given density rho and specific internal energy e.
Reimplemented from ryujin::EquationOfState.
Definition at line 106 of file equation_of_state.h.