17 class WaterPropsIAPWS;
159 class VPStandardStateTP;
253 void err(
const std::string& msg)
const;
307 virtual doublereal
gibbs_RT()
const;
314 virtual doublereal
cp_mole()
const;
321 virtual doublereal
cp_R()
const;
328 virtual doublereal
cv_mole()
const;
342 virtual doublereal
density()
const;
405 virtual doublereal
cp_R_ref()
const;
418 virtual doublereal
pressure()
const;
457 virtual void setState_TP(doublereal temp, doublereal pres);
464 virtual void setState_TR(doublereal temp, doublereal rho);
537 virtual void reportParams(
size_t& kindex,
int& type, doublereal*
const c,
virtual doublereal cpDelp_mole() const
Get the difference in standard state heat capacity between the current pressure and the reference pre...
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.
void initPtrs()
Initialize all of the internal shallow pointers that can be initialized.
virtual doublereal critPressure() const
critical pressure
SpeciesThermo * m_spthermo
Pointer to the species thermodynamic property manager.
virtual doublereal cp_R_ref() const
Return the molar heat capacity divided by R at reference pressure.
doublereal maxTemp() const
return the minimum temperature
doublereal * m_cpss_R_ptr
Standard state heat capacity divided by R.
Virtual base class for the classes that manage the calculation of standard state properties for all t...
virtual doublereal intEnergy_mole() const
Return the molar internal Energy in units of J kmol-1.
virtual void initThermoXML(const XML_Node &phaseNode, const std::string &id)
Initialization routine for the PDSS object based on the phaseNode.
virtual void setPressure(doublereal pres)
Sets the pressure in the object.
doublereal * m_h0_RT_ptr
Reference state enthalpy divided by RT.
void err(const std::string &msg) const
Set an error within this object for an unhandled capability.
virtual doublereal satPressure(doublereal T)
saturation pressure
virtual doublereal enthalpy_RT() const
Return the standard state molar enthalpy divided by RT.
doublereal m_pres
State of the system - pressure.
Class XML_Node is a tree-based representation of the contents of an XML file.
This file contains definitions of terms that are used in internal routines and are unlikely to need m...
virtual doublereal thermalExpansionCoeff() const
Return the volumetric thermal expansion coefficient. Units: 1/K.
VPSSMgr * m_vpssmgr_ptr
Pointer to the VPSS manager for this object.
virtual void initAllPtrs(VPStandardStateTP *vptp_ptr, VPSSMgr *vpssmgr_ptr, SpeciesThermo *spthermo_ptr)
Initialize or Reinitialize all shallow pointers in the object.
virtual doublereal gibbs_RT_ref() const
Return the molar gibbs free energy divided by RT at reference pressure.
size_t m_spindex
Species index in the ThermoPhase corresponding to this species.
doublereal refPressure() const
Return the reference pressure for this phase.
doublereal temperature() const
Return the current stored temperature.
doublereal minTemp() const
return the minimum temperature
void setMolecularWeight(doublereal mw)
Set the molecular weight of the species.
doublereal * m_gss_RT_ptr
Standard state Gibbs free energy divided by RT.
PDSS_enumType m_pdssType
Enumerated type describing the type of the PDSS object.
virtual doublereal enthalpyDelp_mole() const
Get the difference in the standard state enthalpy between the current pressure and the reference pres...
Pure Virtual base class for the species thermo manager classes.
doublereal * m_sss_R_ptr
Standard state entropy divided by R.
virtual doublereal gibbs_mole() const
Return the molar Gibbs free energy in units of J kmol-1.
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 void initThermo()
Initialization routine for all of the shallow pointers.
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 setTemperature(doublereal temp)
Set the internal temperature.
PDSS_enumType
Types of PDSS's.
virtual doublereal pressure() const
Returns the pressure (Pa)
virtual doublereal enthalpy_mole() const
Return the molar enthalpy in units of J kmol-1.
doublereal * m_s0_R_ptr
Reference state entropy divided by R.
virtual doublereal entropyDelp_mole() const
Get the difference in the standard state entropy between the current pressure and the reference press...
This is a filter class for ThermoPhase that implements some prepatory steps for efficiently handling ...
virtual doublereal density() const
Return the standard state density at standard state.
doublereal m_maxTemp
Maximum temperature.
doublereal m_minTemp
Minimum temperature.
doublereal * m_hss_RT_ptr
Standard state enthalpy divided by RT.
virtual void setState_TR(doublereal temp, doublereal rho)
Set the internal temperature and density.
virtual doublereal critDensity() const
critical density
virtual doublereal cp_mole() const
Return the molar const pressure heat capacity in units of J kmol-1 K-1.
virtual void reportParams(size_t &kindex, int &type, doublereal *const c, doublereal &minTemp, doublereal &maxTemp, doublereal &refPressure) const
This utility function reports back the type of parameterization and all of the parameters for the spe...
virtual doublereal cp_R() const
Return the molar const pressure heat capacity divided by RT.
virtual doublereal molarVolume() const
Return the molar volume at standard state.
Virtual base class for a species with a pressure dependent standard state.
virtual ~PDSS()
Destructor for the phase.
doublereal molecularWeight() const
Return the molecular weight of the species in units of kg kmol-1.
VPStandardStateTP * m_tp
ThermoPhase which this species belongs to.
doublereal m_temp
Current temperature used by the PDSS object.
virtual doublereal entropy_R_ref() const
Return the molar entropy divided by R at reference pressure.
PDSS & operator=(const PDSS &b)
Assignment operator.
doublereal * m_g0_RT_ptr
Reference state Gibbs free energy divided by RT.
doublereal * m_cp0_R_ptr
Reference state heat capacity divided by R.
virtual doublereal gibbsDelp_mole() const
Get the difference in the standard state gibbs free energy between the current pressure and the refer...
doublereal * m_Vss_ptr
Standard State molar volume (m3 kg-1)
doublereal * m_V0_ptr
Reference state molar volume (m3 kg-1)
virtual void setState_TP(doublereal temp, doublereal pres)
Set the internal temperature and pressure.
PDSS_enumType reportPDSSType() const
Returns the type of the standard state parameterization.
doublereal m_p0
Reference state pressure of the species.
virtual doublereal molarVolume_ref() const
Return the molar volume at reference pressure.
doublereal m_mw
Molecular Weight of the species.
virtual doublereal enthalpy_RT_ref() const
Return the molar enthalpy divided by RT at reference pressure.