ryujin 2.5.0 revision 3a6c8d57210175dea14d8116e1fe878f349f8c1c
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
ryujin::EquationsOfState::Sesame Class Reference

#include <include/ryujin/euler_aeos/equation_of_state_sesame.h>

Inheritance diagram for ryujin::EquationsOfState::Sesame:
Inheritance graph
[legend]
Collaboration diagram for ryujin::EquationsOfState::Sesame:
Collaboration graph
[legend]

Public Member Functions

 Sesame (const std::string &subsection)
 
double pressure (double, double) const final
 
double specific_internal_energy (double, double) const final
 
double temperature (double, double) const final
 
double speed_of_sound (double, double) 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)
 
virtual double specific_entropy (double, double) const
 
virtual double cold_curve_bound (double) const
 

Static Public Attributes

static constexpr auto message
 

Additional Inherited Members

- Protected Attributes inherited from ryujin::EquationOfState
double covolume_constant_
 
double interpolation_pinfty_
 
double interpolation_q_
 

Detailed Description

A tabulated equation of state based on the EOSPAC6/Sesame database.

Units are: [rho] = kg / m^3 [p] = Pa = Kg / m / s^2 [e] = J / Kg = N m / Kg = m^2 / s^2

Definition at line 223 of file equation_of_state_sesame.h.

Constructor & Destructor Documentation

◆ Sesame()

ryujin::EquationsOfState::Sesame::Sesame ( const std::string &  subsection)
inline

Definition at line 479 of file equation_of_state_sesame.h.

Member Function Documentation

◆ pressure() [1/2]

double ryujin::EquationsOfState::Sesame::pressure ( double  rho,
double  e 
) const
inlinefinalvirtual

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

Note
This function is implemented for every equation of state.

Implements ryujin::EquationOfState.

Definition at line 488 of file equation_of_state_sesame.h.

References message.

◆ specific_internal_energy() [1/2]

double ryujin::EquationsOfState::Sesame::specific_internal_energy ( double  rho,
double  p 
) const
inlinefinalvirtual

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::EquationOfState.

Definition at line 494 of file equation_of_state_sesame.h.

References message.

◆ temperature() [1/2]

double ryujin::EquationsOfState::Sesame::temperature ( double  ,
double   
) const
inlinefinalvirtual

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::EquationOfState.

Definition at line 500 of file equation_of_state_sesame.h.

References message.

◆ speed_of_sound() [1/2]

double ryujin::EquationsOfState::Sesame::speed_of_sound ( double  ,
double   
) const
inlinefinalvirtual

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::EquationOfState.

Definition at line 506 of file equation_of_state_sesame.h.

References message.

◆ pressure() [2/2]

virtual double ryujin::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::EquationOfState.

◆ specific_internal_energy() [2/2]

virtual double ryujin::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::EquationOfState.

◆ speed_of_sound() [2/2]

virtual double ryujin::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::EquationOfState.

Definition at line 120 of file equation_of_state.h.

◆ temperature() [2/2]

virtual double ryujin::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::EquationOfState.

Definition at line 106 of file equation_of_state.h.

Member Data Documentation

◆ message

constexpr auto ryujin::EquationsOfState::Sesame::message
staticconstexpr
Initial value:
=
"ryujin has to be configured with eospac support in order to use "
"the Sesame EOS database"

Definition at line 484 of file equation_of_state_sesame.h.

Referenced by pressure(), specific_internal_energy(), speed_of_sound(), and temperature().


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