35 #ifndef NEKTAR_SOLVERS_COMPRESSIBLEFLOWSOLVER_MISC_PENGROBINSONEOS 36 #define NEKTAR_SOLVERS_COMPRESSIBLEFLOWSOLVER_MISC_PENGROBINSONEOS
NekDouble LogTerm(const NekDouble &rho)
General purpose memory allocation routines with the ability to allocate from thread specific memory p...
Encapsulates equations of state allowing us to obtain thermodynamic properties: most relations are in...
virtual NekDouble v_GetEntropy(const NekDouble &rho, const NekDouble &e)
virtual NekDouble v_GetTemperature(const NekDouble &rho, const NekDouble &e)
static EquationOfStateSharedPtr create(const LibUtilities::SessionReaderSharedPtr &pSession)
Creates an instance of this class.
PengRobinsonEoS(const LibUtilities::SessionReaderSharedPtr &pSession)
NekDouble Alpha(const NekDouble &T)
static std::string className
Name of the class.
Peng-Robinson equation of state: p = RT/(1/rho - b) - a*Alpha(T/Tc) / (1/rho^2 + 2*b/rho - b^2) with ...
static std::shared_ptr< DataType > AllocateSharedPtr(const Args &...args)
Allocate a shared pointer from the memory pool.
virtual NekDouble v_GetEFromRhoP(const NekDouble &rho, const NekDouble &p)
std::shared_ptr< EquationOfState > EquationOfStateSharedPtr
A shared pointer to an equation of state object.
virtual NekDouble v_GetDPDrho_e(const NekDouble &rho, const NekDouble &e)
virtual NekDouble v_GetPressure(const NekDouble &rho, const NekDouble &e)
virtual NekDouble v_GetDPDe_rho(const NekDouble &rho, const NekDouble &e)
virtual ~PengRobinsonEoS(void)
std::shared_ptr< SessionReader > SessionReaderSharedPtr
virtual NekDouble v_GetRhoFromPT(const NekDouble &rho, const NekDouble &p)