19 PDSS_IdealGas::PDSS_IdealGas()
23 void PDSS_IdealGas::initThermo()
26 m_p0 = m_spthermo->refPressure();
27 m_minTemp = m_spthermo->minTemp();
28 m_maxTemp = m_spthermo->maxTemp();
31 doublereal PDSS_IdealGas::intEnergy_mole()
const
36 doublereal PDSS_IdealGas::cv_mole()
const
41 doublereal PDSS_IdealGas::pressure()
const
46 void PDSS_IdealGas::setPressure(doublereal p)
48 m_sss_R = m_s0_R - log(m_pres/m_p0);
49 m_gss_RT = m_hss_RT - m_sss_R;
53 void PDSS_IdealGas::setTemperature(doublereal temp)
56 m_spthermo->updatePropertiesTemp(temp, &m_cp0_R, &m_h0_RT, &m_s0_R);
57 m_g0_RT = m_h0_RT - m_s0_R;
61 m_sss_R = m_s0_R - log(m_pres/m_p0);
62 m_gss_RT = m_hss_RT - m_sss_R;
66 void PDSS_IdealGas::setState_TP(doublereal temp, doublereal pres)
72 void PDSS_IdealGas::setState_TR(doublereal temp, doublereal rho)
Declarations for the class PDSS_IdealGas (pressure dependent standard state) which handles calculatio...
Header file for a derived class of ThermoPhase that handles variable pressure standard state methods ...
An error indicating that an unimplemented function has been called.
CTML ("Cantera Markup Language") is the variant of XML that Cantera uses to store data.
const double GasConstant
Universal Gas Constant [J/kmol/K].
Namespace for the Cantera kernel.