ryujin 2.1.1 revision ee5cbcbf2346c1299c942d0e1f13b46449973c18
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ryujin::EquationOfStateLibrary::NobleAbelStiffenedGas Class Reference

#include <source/euler_aeos/equation_of_state_noble_abel_stiffened_gas.h>

Inheritance diagram for ryujin::EquationOfStateLibrary::NobleAbelStiffenedGas:
Inheritance graph
[legend]
Collaboration diagram for ryujin::EquationOfStateLibrary::NobleAbelStiffenedGas:
Collaboration graph
[legend]

Public Member Functions

 NobleAbelStiffenedGas (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_
 

Detailed Description

The Noble-Abel-Stiffened gas equation of state

Definition at line 21 of file equation_of_state_noble_abel_stiffened_gas.h.

Constructor & Destructor Documentation

◆ NobleAbelStiffenedGas()

ryujin::EquationOfStateLibrary::NobleAbelStiffenedGas::NobleAbelStiffenedGas ( const std::string &  subsection)
inline

Member Function Documentation

◆ pressure() [1/2]

double ryujin::EquationOfStateLibrary::NobleAbelStiffenedGas::pressure ( double  rho,
double  e 
) const
inlinefinalvirtual

The pressure is given by

\begin{align} p = (\gamma - 1) \rho (e - q) / (1 - b \rho) - \gamma p_\infty \end{align}

Implements ryujin::EquationOfStateLibrary::EquationOfState.

Definition at line 81 of file equation_of_state_noble_abel_stiffened_gas.h.

◆ specific_internal_energy() [1/2]

double ryujin::EquationOfStateLibrary::NobleAbelStiffenedGas::specific_internal_energy ( double  rho,
double  p 
) const
inlinefinalvirtual

The specific internal energy is given by

\begin{align} e - q = (p + \gamma p_\infty) * (1 - b \rho) / (\rho (\gamma - 1)) \end{align}

Implements ryujin::EquationOfStateLibrary::EquationOfState.

Definition at line 94 of file equation_of_state_noble_abel_stiffened_gas.h.

◆ temperature() [1/2]

double ryujin::EquationOfStateLibrary::NobleAbelStiffenedGas::temperature ( double  rho,
double  e 
) const
inlinefinalvirtual

The temperature is given by

\begin{align} T = (e - q - p_\infty (1 / rho - b)) / c_v \end{align}

Reimplemented from ryujin::EquationOfStateLibrary::EquationOfState.

Definition at line 107 of file equation_of_state_noble_abel_stiffened_gas.h.

◆ cold_curve_bound()

double ryujin::EquationOfStateLibrary::NobleAbelStiffenedGas::cold_curve_bound ( double  rho) const
inlinefinalvirtual

The cold curve bound is given by

\begin{align} e_cold = q + p_\infty ( 1 / \rho - b) \end{align}

Reimplemented from ryujin::EquationOfStateLibrary::EquationOfState.

Definition at line 118 of file equation_of_state_noble_abel_stiffened_gas.h.

◆ specific_entropy()

double ryujin::EquationOfStateLibrary::NobleAbelStiffenedGas::specific_entropy ( double  rho,
double  e 
) const
inlinefinalvirtual

The specific entropy is given by

\begin{align} p + p_\infty = (gamma_ - 1)(((e - q) - p_infty (1 / rho - b)) / (1 / rho - b) \end{align}

\begin{align} s = cv \ln(p + p_\infty) - cv_ gamma_ \ln(\frac{(gamma - 1) cv}{1 / \rho - b}) + s0 \end{align}

Reimplemented from ryujin::EquationOfStateLibrary::EquationOfState.

Definition at line 134 of file equation_of_state_noble_abel_stiffened_gas.h.

◆ speed_of_sound() [1/2]

double ryujin::EquationOfStateLibrary::NobleAbelStiffenedGas::speed_of_sound ( double  rho,
double  e 
) const
inlinefinalvirtual

Let \(X = (1 - b \rho)\). The speed of sound is given by

\begin{align} c^2 = \frac{\gamma (p + p_\infty)}{\rho X} = \frac{\gamma (\gamma -1)[\rho (e - q) - p_\infty X]}{\rho X^2} \end{align}

Reimplemented from ryujin::EquationOfStateLibrary::EquationOfState.

Definition at line 152 of file equation_of_state_noble_abel_stiffened_gas.h.

◆ pressure() [2/2]

virtual double ryujin::EquationOfStateLibrary::EquationOfState::pressure ( double  rho,
double  e 
) const
virtual

Return the pressure given density rho and specific internal energy e.

Note
This function is implemented for every equation of state.

Implements ryujin::EquationOfStateLibrary::EquationOfState.

◆ specific_internal_energy() [2/2]

virtual double ryujin::EquationOfStateLibrary::EquationOfState::specific_internal_energy ( double  rho,
double  p 
) const
virtual

Return the specific internal energy e for a given density rho and pressure p.

Note
This function is implemented for every equation of state.

Implements ryujin::EquationOfStateLibrary::EquationOfState.

◆ speed_of_sound() [2/2]

virtual double ryujin::EquationOfStateLibrary::EquationOfState::speed_of_sound ( double  ,
double   
) const
inlinevirtual

Return the sound speed c for a given density rho and specific internal energy e.

Note
This function might not be implemented for a given equation of state.

Reimplemented from ryujin::EquationOfStateLibrary::EquationOfState.

Definition at line 123 of file equation_of_state.h.

◆ temperature() [2/2]

virtual double ryujin::EquationOfStateLibrary::EquationOfState::temperature ( double  ,
double   
) const
inlinevirtual

Return the temperature T for a given density rho and specific internal energy e.

Note
This function might not be implemented for a given equation of state.

Reimplemented from ryujin::EquationOfStateLibrary::EquationOfState.

Definition at line 109 of file equation_of_state.h.


The documentation for this class was generated from the following file: