Nektar++
|
Ideal gas equation of state: p = rho * R * T. More...
#include <IdealGasEoS.h>
Static Public Member Functions | |
static EquationOfStateSharedPtr | create (const LibUtilities::SessionReaderSharedPtr &pSession) |
Creates an instance of this class. More... | |
Static Public Attributes | |
static std::string | className |
Name of the class. More... | |
Protected Member Functions | |
virtual NekDouble | v_GetTemperature (const NekDouble &rho, const NekDouble &e) |
virtual NekDouble | v_GetPressure (const NekDouble &rho, const NekDouble &e) |
virtual NekDouble | v_GetSoundSpeed (const NekDouble &rho, const NekDouble &e) |
virtual NekDouble | v_GetEntropy (const NekDouble &rho, const NekDouble &e) |
virtual NekDouble | v_GetDPDrho_e (const NekDouble &rho, const NekDouble &e) |
virtual NekDouble | v_GetDPDe_rho (const NekDouble &rho, const NekDouble &e) |
virtual NekDouble | v_GetEFromRhoP (const NekDouble &rho, const NekDouble &p) |
virtual NekDouble | v_GetRhoFromPT (const NekDouble &rho, const NekDouble &p) |
![]() | |
EquationOfState (const LibUtilities::SessionReaderSharedPtr &pSession) | |
Constructor. More... | |
Private Member Functions | |
IdealGasEoS (const LibUtilities::SessionReaderSharedPtr &pSession) | |
virtual | ~IdealGasEoS (void) |
Friends | |
class | MemoryManager< IdealGasEoS > |
Additional Inherited Members | |
![]() | |
virtual | ~EquationOfState () |
NekDouble | GetTemperature (const NekDouble &rho, const NekDouble &e) |
Calculate the temperature. More... | |
NekDouble | GetPressure (const NekDouble &rho, const NekDouble &e) |
Calculate the pressure. More... | |
NekDouble | GetSoundSpeed (const NekDouble &rho, const NekDouble &e) |
Calculate the sound speed. More... | |
NekDouble | GetEntropy (const NekDouble &rho, const NekDouble &e) |
Calculate the entropy. More... | |
NekDouble | GetDPDrho_e (const NekDouble &rho, const NekDouble &e) |
Calculate the partial derivative of P(rho,e) with respect to rho. More... | |
NekDouble | GetDPDe_rho (const NekDouble &rho, const NekDouble &e) |
Calculate the partial derivative of P(rho,e) with respect to e. More... | |
NekDouble | GetEFromRhoP (const NekDouble &rho, const NekDouble &p) |
Obtain the internal energy from rho and P. More... | |
NekDouble | GetRhoFromPT (const NekDouble &p, const NekDouble &T) |
Obtain the density from P and T. More... | |
![]() | |
NekDouble | m_gamma |
NekDouble | m_gasConstant |
Ideal gas equation of state: p = rho * R * T.
Definition at line 48 of file IdealGasEoS.h.
|
private |
Definition at line 49 of file IdealGasEoS.cpp.
|
inlineprivatevirtual |
Definition at line 95 of file IdealGasEoS.h.
|
inlinestatic |
Creates an instance of this class.
Definition at line 55 of file IdealGasEoS.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), and CellMLToNektar.cellml_metadata::p.
|
protectedvirtual |
Implements Nektar::EquationOfState.
Definition at line 89 of file IdealGasEoS.cpp.
References Nektar::EquationOfState::m_gamma.
|
protectedvirtual |
Implements Nektar::EquationOfState.
Definition at line 82 of file IdealGasEoS.cpp.
References Nektar::EquationOfState::m_gamma.
|
protectedvirtual |
Implements Nektar::EquationOfState.
Definition at line 96 of file IdealGasEoS.cpp.
References Nektar::EquationOfState::m_gamma.
|
protectedvirtual |
Implements Nektar::EquationOfState.
Definition at line 75 of file IdealGasEoS.cpp.
References Nektar::EquationOfState::GetTemperature(), Nektar::EquationOfState::m_gamma, and Nektar::EquationOfState::m_gasConstant.
|
protectedvirtual |
Implements Nektar::EquationOfState.
Definition at line 62 of file IdealGasEoS.cpp.
References Nektar::EquationOfState::m_gamma.
|
protectedvirtual |
Implements Nektar::EquationOfState.
Definition at line 102 of file IdealGasEoS.cpp.
References Nektar::EquationOfState::m_gasConstant.
|
protectedvirtual |
Reimplemented from Nektar::EquationOfState.
Definition at line 68 of file IdealGasEoS.cpp.
References Nektar::EquationOfState::GetTemperature(), Nektar::EquationOfState::m_gamma, and Nektar::EquationOfState::m_gasConstant.
|
protectedvirtual |
Implements Nektar::EquationOfState.
Definition at line 55 of file IdealGasEoS.cpp.
References Nektar::EquationOfState::m_gamma, and Nektar::EquationOfState::m_gasConstant.
|
friend |
Definition at line 52 of file IdealGasEoS.h.
|
static |
Name of the class.
Definition at line 64 of file IdealGasEoS.h.