12 #ifndef CT_PDSS_CONSTVOL_H
13 #define CT_PDSS_CONSTVOL_H
20 class VPStandardStateTP;
52 const std::string& inputFile,
const std::string&
id =
"");
67 const XML_Node& phaseRef,
bool spInstalled);
95 virtual doublereal
cp_mole()
const;
96 virtual doublereal
cp_R()
const;
97 virtual doublereal
cv_mole()
const;
99 virtual doublereal
density()
const;
108 virtual doublereal
cp_R_ref()
const;
117 virtual void setState_TP(doublereal temp, doublereal pres);
118 virtual void setState_TR(doublereal temp, doublereal rho);
150 const std::string& inputFile,
const std::string&
id);
172 const XML_Node& phaseNode,
bool spInstalled);
virtual void setTemperature(doublereal temp)
Set the internal temperature.
virtual doublereal cp_R_ref() const
Return the molar heat capacity divided by R at reference pressure.
virtual doublereal gibbs_RT_ref() const
Return the molar gibbs free energy divided by RT at reference pressure.
doublereal m_constMolarVolume
Value of the constant molar volume for the species.
virtual void setPressure(doublereal pres)
Sets the pressure in the object.
virtual doublereal enthalpy_RT_ref() const
Return the molar enthalpy divided by RT at reference pressure.
Class XML_Node is a tree-based representation of the contents of an XML file.
virtual doublereal molarVolume() const
Return the molar volume at standard state.
virtual doublereal density() const
Return the standard state density at standard state.
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 void setState_TR(doublereal temp, doublereal rho)
Set the internal temperature and density.
virtual doublereal entropy_R_ref() const
Return the molar entropy divided by R at reference pressure.
virtual void setState_TP(doublereal temp, doublereal pres)
Set the internal temperature and pressure.
virtual doublereal satPressure(doublereal t)
saturation pressure
PDSS_ConstVol(VPStandardStateTP *tp, size_t spindex)
Constructor.
Declarations for the virtual base class PDSS (pressure dependent standard state) which handles calcul...
virtual doublereal cp_mole() const
Return the molar const pressure heat capacity in units of J kmol-1 K-1.
virtual doublereal gibbs_mole() const
Return the molar Gibbs free energy in units of J kmol-1.
Class for pressure dependent standard states that use a constant volume model.
virtual doublereal enthalpy_mole() const
Return the molar enthalpy in units of J kmol-1.
virtual doublereal molarVolume_ref() const
Return the molar volume at reference pressure.
PDSS_ConstVol & operator=(const PDSS_ConstVol &b)
Assignment operator.
virtual doublereal cp_R() const
Return the molar const pressure heat capacity divided by RT.
This is a filter class for ThermoPhase that implements some prepatory steps for efficiently handling ...
virtual doublereal critDensity() const
critical density
virtual PDSS * duplMyselfAsPDSS() const
Duplication routine for objects which inherit from PDSS.
virtual doublereal entropy_R() const
Return the standard state entropy divided by RT.
virtual doublereal critTemperature() const
critical temperature
virtual doublereal entropy_mole() const
Return the molar entropy in units of J kmol-1 K-1.
virtual void initThermoXML(const XML_Node &phaseNode, const std::string &id)
Initialization routine for the PDSS object based on the phaseNode.
Virtual base class for a species with a pressure dependent standard state.
virtual doublereal gibbs_RT() const
Return the molar Gibbs free energy divided by RT.
virtual doublereal cv_mole() const
Return the molar const volume heat capacity in units of J kmol-1 K-1.
virtual doublereal enthalpy_RT() const
Return the standard state molar enthalpy divided by RT.
void constructPDSSXML(VPStandardStateTP *vptp_ptr, size_t spindex, const XML_Node &speciesNode, const XML_Node &phaseNode, bool spInstalled)
Initialization of a PDSS object using an xml tree.
virtual void initThermo()
Initialization routine for all of the shallow pointers.
virtual doublereal critPressure() const
critical pressure
virtual doublereal intEnergy_mole() const
Return the molar internal Energy in units of J kmol-1.