WaterSSTP.h Source File#
WaterSSTP.h
Go to the documentation of this file.
Header for the SingleSpeciesTP class, which is a filter class for ThermoPhase, that eases the constru...
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.
The SingleSpeciesTP class is a filter class for ThermoPhase.
Definition SingleSpeciesTP.h:57
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
void setDensity(const double dens) override
Set the density of the phase.
Definition WaterSSTP.cpp:320
double thermalExpansionCoeff() const override
Return the volumetric thermal expansion coefficient. Units: 1/K.
Definition WaterSSTP.cpp:272
WaterPropsIAPWS m_sub
WaterPropsIAPWS that calculates the real properties of water.
Definition WaterSSTP.h:192
bool m_ready
Boolean is true if object has been properly initialized for calculation.
Definition WaterSSTP.h:220
double SW_Offset
Offset constant used to obtain consistency with NIST convention.
Definition WaterSSTP.h:217
void getEntropy_R(double *sr) const override
Get the array of nondimensional Entropy functions for the standard state species at the current T and...
Definition WaterSSTP.cpp:98
WaterPropsIAPWS * getWater()
Get a pointer to a changeable WaterPropsIAPWS object.
Definition WaterSSTP.h:168
void getGibbs_ref(double *g) const override
Returns the vector of the Gibbs function of the reference state at the current temperature of the sol...
Definition WaterSSTP.cpp:170
void getCp_R(double *cpr) const override
Get the nondimensional Heat Capacities at constant pressure for the species standard states at the cu...
Definition WaterSSTP.cpp:121
string type() const override
String indicating the thermodynamic model implemented.
Definition WaterSSTP.h:78
void initThermo() override
Initialize the ThermoPhase object after all species have been set up.
Definition WaterSSTP.cpp:28
void setPressure(double p) override
Set the internally stored pressure (Pa) at constant temperature and composition.
Definition WaterSSTP.cpp:243
void getStandardVolumes_ref(double *vol) const override
Get the molar volumes of the species reference states at the current T and P_ref of the solution.
Definition WaterSSTP.cpp:220
double vaporFraction() const override
Return the fraction of vapor at the current conditions.
Definition WaterSSTP.cpp:334
double dthermalExpansionCoeffdT() const
Return the derivative of the volumetric thermal expansion coefficient.
Definition WaterSSTP.cpp:277
double cv_mole() const override
Molar heat capacity at constant volume. Units: J/kmol/K.
Definition WaterSSTP.cpp:126
double EW_Offset
Offset constants used to obtain consistency with the NIST database.
Definition WaterSSTP.h:210
void getEnthalpy_RT(double *hrt) const override
Get the nondimensional Enthalpy functions for the species at their standard states at the current T a...
Definition WaterSSTP.cpp:88
void getEntropy_R_ref(double *er) const override
Returns the vector of nondimensional entropies of the reference state at the current temperature of t...
Definition WaterSSTP.cpp:178
void setTemperature(const double temp) override
Set the temperature of the phase.
Definition WaterSSTP.cpp:309
double isothermalCompressibility() const override
Returns the isothermal compressibility. Units: 1/Pa.
Definition WaterSSTP.cpp:267
void getGibbs_RT(double *grt) const override
Get the nondimensional Gibbs functions for the species in their standard states at the current T and ...
Definition WaterSSTP.cpp:103
void getStandardChemPotentials(double *gss) const override
Get the array of chemical potentials at unit activity for the species at their standard states at the...
Definition WaterSSTP.cpp:112
void getCp_R_ref(double *cprt) const override
Returns the vector of nondimensional constant pressure heat capacities of the reference state at the ...
Definition WaterSSTP.cpp:200
void getIntEnergy_RT(double *urt) const override
Returns the vector of nondimensional Internal Energies of the standard state species at the current T...
Definition WaterSSTP.cpp:93
WaterProps * getWaterProps()
Get a pointer to a changeable WaterPropsIAPWS object.
Definition WaterSSTP.h:173
void _allowGasPhase(bool flag)
Switch that enables calculations in the gas phase.
Definition WaterSSTP.h:184
bool compatibleWithMultiPhase() const override
Indicates whether this phase type can be used with class MultiPhase for equilibrium calculations.
Definition WaterSSTP.h:135
bool m_allowGasPhase
Since this phase represents a liquid (or supercritical) phase, it is an error to return a gas-phase a...
Definition WaterSSTP.h:228
void _updateThermo() const
This routine must be overridden because it is not applicable.
void getGibbs_RT_ref(double *grt) const override
Returns the vector of nondimensional Gibbs Free Energies of the reference state at the current temper...
Definition WaterSSTP.cpp:150
string phaseOfMatter() const override
String indicating the mechanical phase of the matter in this Phase.
Definition WaterSSTP.cpp:21
void getEnthalpy_RT_ref(double *hrt) const override
Returns the vector of nondimensional enthalpies of the reference state at the current temperature of ...
Definition WaterSSTP.cpp:131
double satPressure(double t) override
Return the saturation pressure given the temperature.
Definition WaterSSTP.cpp:326
Generated by 1.9.7