WaterPropsIAPWS.h Source File#
WaterPropsIAPWS.h
Go to the documentation of this file.
Header for Lowest level of the classes which support a real water model (see class WaterPropsIAPWS an...
Class for calculating the equation of state of water.
Definition WaterPropsIAPWS.h:162
double coeffThermExp() const
Returns the coefficient of thermal expansion.
Definition WaterPropsIAPWS.cpp:234
double densSpinodalSteam() const
Return the value of the density at the water spinodal point (on the gas side) for the current tempera...
Definition WaterPropsIAPWS.cpp:461
void corr(double temperature, double pressure, double &densLiq, double &densGas, double &delGRT)
Utility routine in the calculation of the saturation pressure.
Definition WaterPropsIAPWS.cpp:242
double pressure() const
Calculates the pressure (Pascals), given the current value of the temperature and density.
Definition WaterPropsIAPWS.cpp:46
void corr1(double temperature, double pressure, double &densLiq, double &densGas, double &pcorr)
Utility routine in the calculation of the saturation pressure.
Definition WaterPropsIAPWS.cpp:266
double gibbs_mass() const
Get the Gibbs free energy (J/kg) at the current temperature and density.
Definition WaterPropsIAPWS.cpp:554
double isothermalCompressibility() const
Returns the coefficient of isothermal compressibility for the state of the object.
Definition WaterPropsIAPWS.cpp:215
double psat(double temperature, int waterState=WATER_LIQUID)
This function returns the saturation pressure given the temperature as an input parameter,...
Definition WaterPropsIAPWS.cpp:291
double Pcrit() const
Returns the critical pressure of water (22.064E6 Pa)
Definition WaterPropsIAPWS.h:378
double cv_mass() const
Get the constant volume heat capacity (J/kg/K) at the current temperature and density.
Definition WaterPropsIAPWS.cpp:574
double entropy_mass() const
Get the entropy (J/kg/K) at the current temperature and density.
Definition WaterPropsIAPWS.cpp:569
double densSpinodalWater() const
Return the value of the density at the water spinodal point (on the liquid side) for the current temp...
Definition WaterPropsIAPWS.cpp:373
double Tcrit() const
Returns the critical temperature of water (Kelvin)
Definition WaterPropsIAPWS.h:370
double cp_mass() const
Get the constant pressure heat capacity (J/kg/K) at the current temperature and density.
Definition WaterPropsIAPWS.cpp:579
double intEnergy_mass() const
Get the internal energy (J/kg) at the current temperature and density.
Definition WaterPropsIAPWS.cpp:564
double coeffPresExp() const
Returns the isochoric pressure derivative wrt temperature.
Definition WaterPropsIAPWS.cpp:229
void setState_TD(double temperature, double rho)
Set the internal state of the object wrt temperature and density.
Definition WaterPropsIAPWS.cpp:548
WaterPropsIAPWSphi m_phi
pointer to the underlying object that does the calculations.
Definition WaterPropsIAPWS.h:423
double density_const(double pressure, int phase=-1, double rhoguess=-1.0) const
Calculates the density given the temperature and the pressure, and a guess at the density,...
Definition WaterPropsIAPWS.cpp:114
void calcDim(double temperature, double rho)
Calculate the dimensionless temp and rho and store internally.
Definition WaterPropsIAPWS.cpp:29
int phaseState(bool checkState=false) const
Returns the Phase State flag for the current state of the object.
Definition WaterPropsIAPWS.cpp:333
double dpdrho() const
Returns the value of dp / drho at constant T for the state of the object.
Definition WaterPropsIAPWS.cpp:222
double psat_est(double temperature) const
This function returns an estimated value for the saturation pressure.
Definition WaterPropsIAPWS.cpp:177
double enthalpy_mass() const
Get the enthalpy (J/kg) at the current temperature and density.
Definition WaterPropsIAPWS.cpp:559
Low level class for the real description of water.
Definition WaterPropsIAPWSphi.h:33
Generated by