Go to the documentation of this file.
11 #ifndef CT_PDSS_WATER_H
12 #define CT_PDSS_WATER_H
64 virtual doublereal
cp_mole()
const;
65 virtual doublereal
cv_mole()
const;
67 virtual doublereal
density()
const;
81 doublereal
pref_safe(doublereal temp)
const;
96 virtual void setState_TP(doublereal temp, doublereal pres);
97 virtual void setState_TR(doublereal temp, doublereal rho);
virtual doublereal thermalExpansionCoeff() const
Return the volumetric thermal expansion coefficient. Units: 1/K.
virtual void setState_TP(doublereal temp, doublereal pres)
Set the internal temperature and pressure.
WaterPropsIAPWS * getWater()
Get a pointer to a changeable WaterPropsIAPWS object.
virtual doublereal cp_mole() const
Return the molar const pressure heat capacity in units of J kmol-1 K-1.
virtual doublereal molarVolume() const
Return the molar volume at standard state.
int m_iState
state of the fluid
virtual doublereal entropy_R_ref() const
Return the molar entropy divided by R at reference pressure.
virtual doublereal entropy_mole() const
Return the molar entropy in units of J kmol-1 K-1.
doublereal pref_safe(doublereal temp) const
Returns a reference pressure value that can be safely calculated by the underlying real equation of s...
virtual doublereal dthermalExpansionCoeffdT() const
Return the derivative of the volumetric thermal expansion coefficient.
virtual doublereal intEnergy_mole() const
Return the molar internal Energy in units of J kmol-1.
virtual void setState_TR(doublereal temp, doublereal rho)
Set the internal temperature and density.
virtual void setTemperature(doublereal temp)
Set the internal temperature.
virtual doublereal enthalpy_RT_ref() const
Return the molar enthalpy divided by RT at reference pressure.
virtual doublereal molarVolume_ref() const
Return the molar volume at reference pressure.
virtual doublereal gibbs_mole() const
Return the molar Gibbs free energy in units of J kmol-1.
doublereal SW_Offset
Offset constant used to obtain consistency with NIST convention.
virtual doublereal critTemperature() const
critical temperature
virtual void setPressure(doublereal pres)
Sets the pressure in the object.
bool m_allowGasPhase
Since this phase represents a liquid phase, it's an error to return a gas-phase answer.
virtual doublereal gibbs_RT_ref() const
Return the molar Gibbs free energy divided by RT at reference pressure.
virtual doublereal density() const
Return the standard state density at standard state.
doublereal EW_Offset
Offset constants used to obtain consistency with the NIST database.
PDSS_Water()
Default constructor.
doublereal m_dens
State of the system - density.
virtual doublereal enthalpy_mole() const
Return the molar enthalpy in units of J kmol-1.
virtual doublereal critPressure() const
critical pressure
The WaterProps class is used to house several approximation routines for properties of water.
void setDensity(doublereal dens)
Set the density of the water phase.
virtual doublereal critDensity() const
critical density
virtual doublereal cv_mole() const
Return the molar const volume heat capacity in units of J kmol-1 K-1.
virtual doublereal pressure() const
Returns the pressure (Pa)
virtual doublereal cp_R_ref() const
Return the molar heat capacity divided by R at reference pressure.
WaterPropsIAPWS m_sub
Pointer to the WaterPropsIAPWS object, which does the actual calculations for the real equation of st...
virtual doublereal isothermalCompressibility() const
Returns the isothermal compressibility. Units: 1/Pa.
Class for calculating the equation of state of water.
WaterProps m_waterProps
Pointer to the WaterProps object.
Base class for PDSS classes which compute molar properties directly.
Namespace for the Cantera kernel.
virtual doublereal satPressure(doublereal t)
saturation pressure
Class for the liquid water pressure dependent standard state.
WaterProps * getWaterProps()
Get a pointer to a changeable WaterPropsIAPWS object.