PDSS_Water.h Source File#
PDSS_Water.h
Go to the documentation of this file.
Declarations for the virtual base class PDSS (pressure dependent standard state) which handles calcul...
Headers for a class for calculating the equation of state of water from the IAPWS 1995 Formulation ba...
Header for a class used to house several approximation routines for properties of water.
A map of string keys to values whose type can vary at runtime.
Definition AnyMap.h:427
Base class for PDSS classes which compute molar properties directly.
Definition PDSS.h:426
Class for the liquid water pressure dependent standard state.
Definition PDSS_Water.h:50
double molarVolume() const override
Return the molar volume at standard state.
Definition PDSS_Water.cpp:82
double enthalpy_mole() const override
Return the molar enthalpy in units of J kmol-1.
Definition PDSS_Water.cpp:52
double thermalExpansionCoeff() const override
Return the volumetric thermal expansion coefficient. Units: 1/K.
Definition PDSS_Water.cpp:160
WaterPropsIAPWS m_sub
Pointer to the WaterPropsIAPWS object, which does the actual calculations for the real equation of st...
Definition PDSS_Water.h:160
double SW_Offset
Offset constant used to obtain consistency with NIST convention.
Definition PDSS_Water.h:203
WaterPropsIAPWS * getWater()
Get a pointer to a changeable WaterPropsIAPWS object.
Definition PDSS_Water.h:141
double gibbs_RT_ref() const override
Return the molar Gibbs free energy divided by RT at reference pressure.
Definition PDSS_Water.cpp:87
double isothermalCompressibility() const
Returns the isothermal compressibility. Units: 1/Pa.
Definition PDSS_Water.cpp:181
double entropy_R_ref() const override
Return the molar entropy divided by R at reference pressure.
Definition PDSS_Water.cpp:103
double dthermalExpansionCoeffdT() const
Return the derivative of the volumetric thermal expansion coefficient.
Definition PDSS_Water.cpp:165
double enthalpy_RT_ref() const override
Return the molar enthalpy divided by RT at reference pressure.
Definition PDSS_Water.cpp:95
double cv_mole() const override
Return the molar const volume heat capacity in units of J kmol-1 K-1.
Definition PDSS_Water.cpp:77
void getParameters(AnyMap &eosNode) const override
Store the parameters needed to reconstruct a copy of this PDSS object.
Definition PDSS_Water.cpp:245
double EW_Offset
Offset constants used to obtain consistency with the NIST database.
Definition PDSS_Water.h:196
double intEnergy_mole() const override
Return the molar internal Energy in units of J kmol-1.
Definition PDSS_Water.cpp:57
double entropy_mole() const override
Return the molar entropy in units of J kmol-1 K-1.
Definition PDSS_Water.cpp:62
void setState_TP(double temp, double pres) override
Set the internal temperature and pressure.
Definition PDSS_Water.cpp:218
double cp_mole() const override
Return the molar const pressure heat capacity in units of J kmol-1 K-1.
Definition PDSS_Water.cpp:72
double pref_safe(double temp) const
Returns a reference pressure value that can be safely calculated by the underlying real equation of s...
Definition PDSS_Water.cpp:224
WaterProps * getWaterProps()
Get a pointer to a changeable WaterPropsIAPWS object.
Definition PDSS_Water.h:146
double density() const override
Return the standard state density at standard state.
Definition PDSS_Water.cpp:207
double gibbs_mole() const override
Return the molar Gibbs free energy in units of J kmol-1.
Definition PDSS_Water.cpp:67
bool m_allowGasPhase
Since this phase represents a liquid phase, it's an error to return a gas-phase answer.
Definition PDSS_Water.h:212
double molarVolume_ref() const override
Return the molar volume at reference pressure.
Definition PDSS_Water.cpp:119
double cp_R_ref() const override
Return the molar heat capacity divided by R at reference pressure.
Definition PDSS_Water.cpp:111
Class for calculating the equation of state of water.
Definition WaterPropsIAPWS.h:162
The WaterProps class is used to house several approximation routines for properties of water.
Definition WaterProps.h:38
Generated by