12 #ifndef CT_PDSS_IDEALGAS_H
13 #define CT_PDSS_IDEALGAS_H
63 const std::string& inputFile,
const std::string&
id =
"");
78 const XML_Node& phaseRef,
bool spInstalled);
92 virtual doublereal
cp_R()
const;
93 virtual doublereal
cv_mole()
const;
95 virtual doublereal
density()
const;
104 virtual doublereal
cp_R_ref()
const;
111 virtual doublereal
pressure()
const;
115 virtual void setState_TP(doublereal temp, doublereal pres);
116 virtual void setState_TR(doublereal temp, doublereal rho);
139 const std::string& inputFile,
const std::string&
id);
163 const XML_Node& phaseNode,
const std::string&
id);
virtual void initThermo()
Initialization routine for all of the shallow pointers.
virtual doublereal enthalpy_RT_ref() const
Return the molar enthalpy divided by RT at reference pressure.
virtual doublereal cp_R() const
Return the molar const pressure heat capacity divided by RT.
virtual doublereal entropy_R_ref() const
Return the molar entropy divided by R at reference pressure.
virtual void setTemperature(doublereal temp)
Set the internal temperature.
PDSS_IdealGas & operator=(const PDSS_IdealGas &b)
Assignment operator.
virtual void setState_TP(doublereal temp, doublereal pres)
Set the internal temperature and pressure.
Class XML_Node is a tree-based representation of the contents of an XML file.
PDSS_IdealGas(VPStandardStateTP *tp, int spindex)
Constructor.
virtual doublereal gibbs_RT_ref() const
Return the molar Gibbs free energy divided by RT at reference pressure.
virtual doublereal cp_R_ref() const
Return the molar heat capacity divided by R at reference pressure.
virtual PDSS * duplMyselfAsPDSS() const
Duplication routine for objects which inherit from PDSS.
virtual void setPressure(doublereal pres)
Sets the pressure in the object.
virtual doublereal temperature() const
Return the current stored temperature.
Declarations for the virtual base class PDSS (pressure dependent standard state) which handles calcul...
Base class for PDSS classes which compute nondimensional properties directly.
virtual doublereal enthalpy_RT() const
Return the standard state molar enthalpy divided by RT.
virtual doublereal density() const
Return the standard state density at standard state.
virtual doublereal molarVolume() const
Return the molar volume at standard state.
virtual void setState_TR(doublereal temp, doublereal rho)
Set the internal temperature and density.
void constructPDSSXML(VPStandardStateTP *vptp_ptr, size_t spindex, const XML_Node &phaseNode, const std::string &id)
Initialization of a PDSS object using an XML tree.
This is a filter class for ThermoPhase that implements some prepatory steps for efficiently handling ...
void constructPDSSFile(VPStandardStateTP *vptp_ptr, size_t spindex, const std::string &inputFile, const std::string &id)
Initialization of a PDSS object using an input XML file.
Virtual base class for a species with a pressure dependent standard state.
virtual doublereal cv_mole() const
Return the molar const volume heat capacity in units of J kmol-1 K-1.
virtual doublereal entropy_R() const
Return the standard state entropy divided by RT.
virtual doublereal gibbs_RT() const
Return the molar Gibbs free energy divided by RT.
Derived class for pressure dependent standard states of an ideal gas species.
virtual doublereal molarVolume_ref() const
Return the molar volume at reference pressure.
virtual doublereal pressure() const
Returns the pressure (Pa)
virtual doublereal intEnergy_mole() const
Return the molar internal Energy in units of J kmol-1.