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


Public Member Functions | |
| VanDerWaals (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 Van der Waals equation of state
Definition at line 21 of file equation_of_state_van_der_waals.h.
|
inline |
Definition at line 29 of file equation_of_state_van_der_waals.h.
References ryujin::EquationOfStateLibrary::EquationOfState::covolume_constant_.
|
inlinefinalvirtual |
The pressure is given by
\begin{align} p = (\gamma - 1) * (\rho * e + a \rho^2)/(1 - b \rho) - a \rho^2 \end{align}
Implements ryujin::EquationOfStateLibrary::EquationOfState.
Definition at line 73 of file equation_of_state_van_der_waals.h.
|
inlinefinalvirtual |
The specific internal energy is given by
\begin{align} e = (p + a \rho^2) * (1 - b \rho) / (\rho (\gamma -1)) - a \rho \end{align}
Implements ryujin::EquationOfStateLibrary::EquationOfState.
Definition at line 87 of file equation_of_state_van_der_waals.h.
|
inlinefinalvirtual |
The temperature is given by
\begin{align} T = (\gamma - 1) / R (e + a \rho) \end{align}
Reimplemented from ryujin::EquationOfStateLibrary::EquationOfState.
Definition at line 102 of file equation_of_state_van_der_waals.h.
|
inlinefinalvirtual |
The cold curve bound is given by
\begin{align} e_cold = - a \rho \end{align}
Reimplemented from ryujin::EquationOfStateLibrary::EquationOfState.
Definition at line 113 of file equation_of_state_van_der_waals.h.
|
inlinefinalvirtual |
The specific_entropy is given by
\begin{align} s = cv \ln( (e + a \rho) / cv) + R \ln( 1 / \rho - b) \end{align}
Reimplemented from ryujin::EquationOfStateLibrary::EquationOfState.
Definition at line 124 of file equation_of_state_van_der_waals.h.
|
inlinefinalvirtual |
The speed of sound is given by
\begin{align} c^2 = \frac{\gamma (\gamma -1) (e + a \rho)}{(1 - b\rho)^2} - 2a\rho. \end{align}
Reimplemented from ryujin::EquationOfStateLibrary::EquationOfState.
Definition at line 138 of file equation_of_state_van_der_waals.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.