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

#include <source/euler_barotropic/barotropic_equation_of_state_isentropic.h>

Inheritance diagram for ryujin::BarotropicEquationOfStateLibrary::Isentropic:
Inheritance graph
[legend]
Collaboration diagram for ryujin::BarotropicEquationOfStateLibrary::Isentropic:
Collaboration graph
[legend]

Public Member Functions

 Isentropic (const std::string &subsection)
 
double specific_internal_energy (double rho) const final
 
double pressure (double rho) const final
 
double speed_of_sound (double rho) const final
 
- Public Member Functions inherited from ryujin::BarotropicEquationOfStateLibrary::BarotropicEquationOfState
 BarotropicEquationOfState (const std::string &name, const std::string &subsection)
 

Detailed Description

Isentropic equation of state for the barotropic Euler equations. The specific internal energy, pressure, and speed of sound are given by:

\begin{align} e &= \frac{k}{\gamma-1}\,\rho^{\gamma - 1}, \qquad p &= k\,\rho^{\gamma}, \qquad a^2 &= \gamma\,k\,\rho^{\gamma - 1}. \end{align}

Definition at line 28 of file barotropic_equation_of_state_isentropic.h.

Constructor & Destructor Documentation

◆ Isentropic()

ryujin::BarotropicEquationOfStateLibrary::Isentropic::Isentropic ( const std::string &  subsection)
inline

Definition at line 31 of file barotropic_equation_of_state_isentropic.h.

Member Function Documentation

◆ specific_internal_energy()

double ryujin::BarotropicEquationOfStateLibrary::Isentropic::specific_internal_energy ( double  rho) const
inlinefinalvirtual

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

Implements ryujin::BarotropicEquationOfStateLibrary::BarotropicEquationOfState.

Definition at line 41 of file barotropic_equation_of_state_isentropic.h.

◆ pressure()

double ryujin::BarotropicEquationOfStateLibrary::Isentropic::pressure ( double  rho) const
inlinefinalvirtual

Return the pressure for a given density rho.

Implements ryujin::BarotropicEquationOfStateLibrary::BarotropicEquationOfState.

Definition at line 46 of file barotropic_equation_of_state_isentropic.h.

◆ speed_of_sound()

double ryujin::BarotropicEquationOfStateLibrary::Isentropic::speed_of_sound ( double  rho) const
inlinefinalvirtual

Return the sound speed c for a given density rho.

Implements ryujin::BarotropicEquationOfStateLibrary::BarotropicEquationOfState.

Definition at line 51 of file barotropic_equation_of_state_isentropic.h.


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