H2O.hpp
Go to the documentation of this file.
488 // the pressure is too low, in this case we use the heat cap at the vapor pressure to regularize
509 static Evaluation gasHeatCapacityConstVolume(const Evaluation& temperature, const Evaluation& pressure)
654 for (int i = 0; i < 5 && std::abs(Toolbox::value(pressure)*1e-9) < std::abs(Toolbox::value(deltaP)); ++i) {
759 for (int i = 0; i < 5 && std::abs(Toolbox::value(pressure)*1e-9) < std::abs(Toolbox::value(deltaP)); ++i) {
842 static Evaluation liquidThermalConductivity(const Evaluation& temperature, const Evaluation& pressure)
862 static Evaluation gasThermalConductivity(const Evaluation& temperature, const Evaluation& pressure)
895 double num = Region1::dgamma_dpi(temperature, pressure) - tau * Region1::ddgamma_dtaudpi(temperature, pressure);
906 static Evaluation internalEnergyRegion1_(const Evaluation& temperature, const Evaluation& pressure)
936 static Evaluation internalEnergyRegion2_(const Evaluation& temperature, const Evaluation& pressure)
962 const Evaluation& num = 1 + pi * Region2::dgamma_dpi(temperature, pressure) + tau * pi * Region2::ddgamma_dtaudpi(temperature, pressure);
963 const Evaluation& diff = num * num / (1 - pi * pi * Region2::ddgamma_ddpi(temperature, pressure));
static Evaluation ddgamma_ddtau(const Evaluation &temperature, const Evaluation &pressure) The second partial derivative of the Gibbs free energy to the normalized temperature for IAPWS region... Definition: Region1.hpp:293 static Evaluation ddgamma_dtaudpi(const Evaluation &temperature, const Evaluation &pressure) The partial derivative of the Gibbs free energy to the normalized pressure and to the normalized temp... Definition: Region1.hpp:228 static Evaluation gasHeatCapacityConstVolume(const Evaluation &temperature, const Evaluation &pressure) Specific isochoric heat capacity of steam and water vapor . Definition: H2O.hpp:509 static Evaluation liquidInternalEnergy(const Evaluation &temperature, const Evaluation &pressure) Specific internal energy of liquid water . Definition: H2O.hpp:342 bool CheckDefined(const T &value OPM_UNUSED) Make valgrind complain if any of the memory occupied by an object is undefined. Definition: Valgrind.hpp:74 static Evaluation ddgamma_dtaudpi(const Evaluation &temperature, const Evaluation &pressure) The partial derivative of the Gibbs free energy to the normalized pressure and to the normalized temp... Definition: Region2.hpp:247 Implements the equations for region 2 of the IAPWS '97 formulation. Definition: MathToolbox.hpp:39 static Evaluation vaporPressure(Evaluation temperature) The vapor pressure in of pure water at a given temperature. Definition: H2O.hpp:131 Definition: Air_Mesitylene.hpp:31 static bool gasIsCompressible() Returns true iff the gas phase is assumed to be compressible. Definition: H2O.hpp:534 static Evaluation ddgamma_ddpi(const Evaluation &temperature, const Evaluation &pressure) The second partial derivative of the Gibbs free energy to the normalized pressure for IAPWS region 2 ... Definition: Region2.hpp:283 static Evaluation dgamma_dpi(const Evaluation &temperature, const Evaluation &pressure) The partial derivative of the Gibbs free energy to the normalized pressure for IAPWS region 1 (i... Definition: Region1.hpp:196 static Evaluation thermalConductivityIAPWS(const Evaluation &T, const Evaluation &rho) Thermal conductivity water (IAPWS) . Definition: Common.hpp:161 Some templates to wrap the valgrind client request macros. static Evaluation tau(const Evaluation &temperature) Returns the reduced temperature (dimensionless) for IAPWS region 2. Definition: Region2.hpp:81 Implements the equations for region 4 of the IAPWS '97 formulation. Definition: Region4.hpp:51 Implements relations which are common for all regions of the IAPWS '97 formulation. Implements the equations for region 4 of the IAPWS '97 formulation. static Evaluation liquidViscosity(const Evaluation &temperature, const Evaluation &pressure) The dynamic viscosity of pure water. Definition: H2O.hpp:815 static const Scalar triplePressure() Returns the pressure at water's triple point. Definition: H2O.hpp:115 static Evaluation gasDensity(const Evaluation &temperature, const Evaluation &pressure) The density of steam in at a given pressure and temperature. Definition: H2O.hpp:556 Implements the equations for region 1 of the IAPWS '97 formulation. static const Scalar tripleTemperature() Returns the temperature at water's triple point. Definition: H2O.hpp:109 static Evaluation pressure(const Evaluation &temperature, const Evaluation &rhoMolar) The pressure of the gas in , depending on the molar density and temperature. Definition: IdealGas.hpp:56 static Evaluation gasThermalConductivity(const Evaluation &temperature, const Evaluation &pressure) Thermal conductivity of water (IAPWS) . Definition: H2O.hpp:862 Implements the equations for region 1 of the IAPWS '97 formulation. Definition: Region1.hpp:49 static Evaluation liquidHeatCapacityConstVolume(const Evaluation &temperature, const Evaluation &pressure) Specific isochoric heat capacity of liquid water . Definition: H2O.hpp:474 static Evaluation dgamma_dtau(const Evaluation &temperature, const Evaluation &pressure) The partial derivative of the Gibbs free energy to the normalized temperature for IAPWS region 1 (i... Definition: Region1.hpp:165 static Scalar dpi_dp(Scalar) Returns the derivative of the reduced pressure to the pressure for IAPWS region 1 in ... Definition: Region1.hpp:114 static Evaluation gasPressure(const Evaluation &temperature, Scalar density) The pressure of steam in at a given density and temperature. Definition: H2O.hpp:639 static Evaluation gasInternalEnergy(const Evaluation &temperature, const Evaluation &pressure) Specific internal energy of steam and water vapor . Definition: H2O.hpp:400 static Evaluation liquidDensity(const Evaluation &temperature, const Evaluation &pressure) The density of pure water in at a given pressure and temperature. Definition: H2O.hpp:685 static const Scalar criticalMolarVolume Critical molar volume of water . Definition: Common.hpp:73 static bool gasIsIdeal() Returns true iff the gas phase is assumed to be ideal. Definition: H2O.hpp:623 static bool liquidIsCompressible() Returns true iff the liquid phase is assumed to be compressible. Definition: H2O.hpp:540 static Evaluation liquidPressure(const Evaluation &temperature, Scalar density) The pressure of liquid water in at a given density and temperature. Definition: H2O.hpp:748 Evaluation< Scalar, VarSetTag, numVars > abs(const Evaluation< Scalar, VarSetTag, numVars > &) Definition: Math.hpp:41 static Scalar dpi_dp(const Evaluation &) Returns the derivative of the reduced pressure to the pressure for IAPWS region 2 in ... Definition: Region2.hpp:110 static Evaluation gasHeatCapacity(const Evaluation &temperature, const Evaluation &pressure) Specific isobaric heat capacity of water steam . Definition: H2O.hpp:273 static Evaluation vaporTemperature(const Evaluation &pressure) The vapor temperature in of pure water at a given pressure. Definition: H2O.hpp:153 static Evaluation tau(const Evaluation &temperature) Returns the reduced temperature for IAPWS region 1. Definition: Region1.hpp:86 static bool isValid(const Evaluation &temperature, const Evaluation &pressure) Returns true if IAPWS region 2 applies for a (temperature, pressure) pair. Definition: Region2.hpp:61 static const Scalar tripleTemperature Triple temperature of water . Definition: Common.hpp:79 static Evaluation liquidHeatCapacity(const Evaluation &temperature, const Evaluation &pressure) Specific isobaric heat capacity of liquid water . Definition: H2O.hpp:308 static Evaluation saturationPressure(const Evaluation &temperature) Returns the saturation pressure in of pure water at a given temperature. Definition: Region4.hpp:63 static const Scalar acentricFactor() The acentric factor of water. Definition: H2O.hpp:85 Relations valid for an ideal gas. static Evaluation liquidEnthalpy(const Evaluation &temperature, const Evaluation &pressure) Specific enthalpy of liquid water . Definition: H2O.hpp:229 static Evaluation vaporTemperature(const Evaluation &pressure) Returns the saturation temperature in of pure water at a given pressure. Definition: Region4.hpp:96 static Evaluation pi(const Evaluation &pressure) Returns the reduced pressure for IAPWS region 1. Definition: Region1.hpp:105 static Evaluation dgamma_dpi(const Evaluation &temperature, const Evaluation &pressure) The partial derivative of the Gibbs free energy to the normalized pressure for IAPWS region 2 (i... Definition: Region2.hpp:212 static const Scalar criticalPressure() Returns the critical pressure of water. Definition: H2O.hpp:97 static Evaluation ddgamma_ddpi(const Evaluation &temperature, const Evaluation &pressure) The second partial derivative of the Gibbs free energy to the normalized pressure for IAPWS region 1 ... Definition: Region1.hpp:261 static const Scalar criticalTemperature() Returns the critical temperature of water. Definition: H2O.hpp:91 static Evaluation gasViscosity(const Evaluation &temperature, const Evaluation &pressure) The dynamic viscosity of steam. Definition: H2O.hpp:790 Implements relations which are common for all regions of the IAPWS '97 formulation. Definition: Common.hpp:54 static Evaluation dgamma_dtau(const Evaluation &temperature, const Evaluation &pressure) The partial derivative of the Gibbs free energy to the normalized temperature for IAPWS region 2 (i... Definition: Region2.hpp:171 Abstract base class of a pure chemical species. Evaluation< Scalar, VarSetTag, numVars > pow(const Evaluation< Scalar, VarSetTag, numVars > &base, Scalar exp) Definition: Math.hpp:312 static bool isValid(const Evaluation &temperature, const Evaluation &pressure) Returns true if IAPWS region 1 applies for a (temperature in , pressure in ) pair. Definition: Region1.hpp:60 static const Scalar molarMass The molar mass of water . Definition: Common.hpp:58 static Evaluation pi(const Evaluation &pressure) Returns the reduced pressure (dimensionless) for IAPWS region 2. Definition: Region2.hpp:100 static const Scalar criticalPressure Critical pressure of water . Definition: Common.hpp:67 static Evaluation gasEnthalpy(const Evaluation &temperature, const Evaluation &pressure) Specific enthalpy of water steam . Definition: H2O.hpp:176 static Evaluation density(const Evaluation &avgMolarMass, const Evaluation &temperature, const Evaluation &pressure) The density of the gas in , depending on pressure, temperature and average molar mass of the gas... Definition: IdealGas.hpp:46 static const Scalar criticalTemperature Critical temperature of water . Definition: Common.hpp:64 static Evaluation liquidThermalConductivity(const Evaluation &temperature, const Evaluation &pressure) Thermal conductivity of water (IAPWS) . Definition: H2O.hpp:842 static const Scalar triplePressure Triple pressure of water . Definition: Common.hpp:82 Implements the equations for region 2 of the IAPWS '97 formulation. Definition: Region2.hpp:50 static Evaluation viscosity(const Evaluation &temperature, const Evaluation &rho) The dynamic viscosity of pure water. Definition: Common.hpp:99 static const Scalar criticalMolarVolume() Returns the molar volume of water at the critical point. Definition: H2O.hpp:103 static const Scalar acentricFactor The acentric factor of water . Definition: Common.hpp:76 static Evaluation ddgamma_ddtau(const Evaluation &temperature, const Evaluation &pressure) The second partial derivative of the Gibbs free energy to the normalized temperature for IAPWS region... Definition: Region2.hpp:319 static const Scalar molarMass() The molar mass in of water. Definition: H2O.hpp:79 |