ryujin 2.1.1 revision d1a5601757449924e68a428cfd892dfe8915810d
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 speed_of_sound (double rho, double e) const final
 
- Public Member Functions inherited from ryujin::EquationOfStateLibrary::EquationOfState
 EquationOfState (const std::string &name, const std::string &subsection)
 
virtual double pressure (double rho, double e) const =0
 
virtual void pressure (const dealii::ArrayView< double > &p, const dealii::ArrayView< double > &rho, const dealii::ArrayView< double > &e) const
 
virtual double specific_internal_energy (double rho, double p) const =0
 
virtual void specific_internal_energy (const dealii::ArrayView< double > &e, const dealii::ArrayView< double > &rho, const dealii::ArrayView< double > &p) const
 
virtual double temperature (double rho, double e) const =0
 
virtual void temperature (const dealii::ArrayView< double > &T, const dealii::ArrayView< double > &rho, const dealii::ArrayView< double > &e) const
 
virtual double speed_of_sound (double rho, double e) const =0
 
virtual void speed_of_sound (const dealii::ArrayView< double > &c, const dealii::ArrayView< double > &rho, const dealii::ArrayView< double > &e) const
 

Additional Inherited Members

- Protected Attributes inherited from ryujin::EquationOfStateLibrary::EquationOfState
double interpolation_b_
 
bool prefer_vector_interface_
 

Detailed Description

The Noble-Abel-Stiffened gas equation of state

Definition at line 19 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()

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 64 of file equation_of_state_noble_abel_stiffened_gas.h.

◆ specific_internal_energy()

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 77 of file equation_of_state_noble_abel_stiffened_gas.h.

◆ temperature()

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}

Implements ryujin::EquationOfStateLibrary::EquationOfState.

Definition at line 90 of file equation_of_state_noble_abel_stiffened_gas.h.

◆ speed_of_sound()

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}

Implements ryujin::EquationOfStateLibrary::EquationOfState.

Definition at line 102 of file equation_of_state_noble_abel_stiffened_gas.h.


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