H2O.hpp
Go to the documentation of this file.
503 // the pressure is too low, in this case we use the heat cap at the vapor pressure to regularize
524 static Evaluation gasHeatCapacityConstVolume(const Evaluation& temperature, const Evaluation& pressure)
667 for (int i = 0; i < 5 && std::abs(scalarValue(pressure)*1e-9) < std::abs(scalarValue(deltaP)); ++i) {
771 for (int i = 0; i < 5 && std::abs(scalarValue(pressure)*1e-9) < std::abs(scalarValue(deltaP)); ++i) {
858 static Evaluation liquidThermalConductivity(const Evaluation& temperature, const Evaluation& pressure)
878 static Evaluation gasThermalConductivity(const Evaluation& temperature, const Evaluation& pressure)
910 double num = Region1::dgamma_dpi(temperature, pressure) - tau * Region1::ddgamma_dtaudpi(temperature, pressure);
921 static Evaluation internalEnergyRegion1_(const Evaluation& temperature, const Evaluation& pressure)
951 static Evaluation internalEnergyRegion2_(const Evaluation& temperature, const Evaluation& pressure)
975 const Evaluation& num = 1 + pi * Region2::dgamma_dpi(temperature, pressure) + tau * pi * Region2::ddgamma_dtaudpi(temperature, pressure);
976 const Evaluation& diff = num * num / (1 - pi * pi * Region2::ddgamma_ddpi(temperature, pressure));
Provides the opm-material specific exception classes. Some templates to wrap the valgrind client request macros. static Evaluation liquidDensity(const Evaluation &temperature, const Evaluation &pressure, bool extrapolate=false) The density of pure water in at a given pressure and temperature. Definition: H2O.hpp:698 static const Scalar criticalTemperature() Returns the critical temperature of water. Definition: H2O.hpp:92 static Evaluation gasDensity(const Evaluation &temperature, const Evaluation &pressure) The density of steam in at a given pressure and temperature. Definition: H2O.hpp:572 static bool gasIsCompressible() Returns true iff the gas phase is assumed to be compressible. Definition: H2O.hpp:550 static Evaluation gasPressure(const Evaluation &temperature, Scalar density) The pressure of steam in at a given density and temperature. Definition: H2O.hpp:654 static Evaluation vaporPressure(Evaluation temperature) The vapor pressure in of pure water at a given temperature. Definition: H2O.hpp:138 static Evaluation gasViscosity(const Evaluation &temperature, const Evaluation &pressure) The dynamic viscosity of steam. Definition: H2O.hpp:802 static Evaluation gasHeatCapacityConstVolume(const Evaluation &temperature, const Evaluation &pressure) Specific isochoric heat capacity of steam and water vapor . Definition: H2O.hpp:524 static Evaluation gasHeatCapacity(const Evaluation &temperature, const Evaluation &pressure) Specific isobaric heat capacity of water steam . Definition: H2O.hpp:280 static const Scalar criticalMolarVolume() Returns the molar volume of water at the critical point. Definition: H2O.hpp:110 static Evaluation liquidEnthalpy(const Evaluation &temperature, const Evaluation &pressure) Specific enthalpy of liquid water . Definition: H2O.hpp:236 static Evaluation liquidThermalConductivity(const Evaluation &temperature, const Evaluation &pressure) Thermal conductivity of water (IAPWS) . Definition: H2O.hpp:858 static const Scalar acentricFactor() The acentric factor of water. Definition: H2O.hpp:86 static Evaluation liquidInternalEnergy(const Evaluation &temperature, const Evaluation &pressure) Specific internal energy of liquid water . Definition: H2O.hpp:352 static bool gasIsIdeal() Returns true iff the gas phase is assumed to be ideal. Definition: H2O.hpp:638 static const Scalar criticalPressure() Returns the critical pressure of water. Definition: H2O.hpp:98 static Evaluation vaporTemperature(const Evaluation &pressure) The vapor temperature in of pure water at a given pressure. Definition: H2O.hpp:160 static bool liquidIsCompressible() Returns true iff the liquid phase is assumed to be compressible. Definition: H2O.hpp:556 static Evaluation liquidViscosity(const Evaluation &temperature, const Evaluation &pressure, bool extrapolate=false) The dynamic viscosity of pure water. Definition: H2O.hpp:828 static Evaluation gasInternalEnergy(const Evaluation &temperature, const Evaluation &pressure) Specific internal energy of steam and water vapor . Definition: H2O.hpp:412 static Evaluation gasThermalConductivity(const Evaluation &temperature, const Evaluation &pressure) Thermal conductivity of water (IAPWS) . Definition: H2O.hpp:878 static Evaluation gasEnthalpy(const Evaluation &temperature, const Evaluation &pressure) Specific enthalpy of water steam . Definition: H2O.hpp:183 static Evaluation liquidHeatCapacityConstVolume(const Evaluation &temperature, const Evaluation &pressure) Specific isochoric heat capacity of liquid water . Definition: H2O.hpp:487 static Evaluation liquidPressure(const Evaluation &temperature, Scalar density) The pressure of liquid water in at a given density and temperature. Definition: H2O.hpp:762 static const Scalar tripleTemperature() Returns the temperature at water's triple point. Definition: H2O.hpp:116 static Evaluation liquidHeatCapacity(const Evaluation &temperature, const Evaluation &pressure) Specific isobaric heat capacity of liquid water . Definition: H2O.hpp:317 static const Scalar triplePressure() Returns the pressure at water's triple point. Definition: H2O.hpp:122 static const Scalar criticalVolume() Returns the critical volume of water. Definition: H2O.hpp:104 Implements relations which are common for all regions of the IAPWS '97 formulation. Definition: Common.hpp:55 static const Scalar criticalVolume Critical volume of water . Definition: Common.hpp:73 static const Scalar criticalPressure Critical pressure of water . Definition: Common.hpp:67 static Evaluation viscosity(const Evaluation &temperature, const Evaluation &rho) The dynamic viscosity of pure water. Definition: Common.hpp:102 static const Scalar criticalMolarVolume Critical molar volume of water . Definition: Common.hpp:76 static const Scalar criticalTemperature Critical temperature of water . Definition: Common.hpp:64 static Evaluation thermalConductivityIAPWS(const Evaluation &T, const Evaluation &rho) Thermal conductivity water (IAPWS) . Definition: Common.hpp:162 static const Scalar tripleTemperature Triple temperature of water . Definition: Common.hpp:82 static const Scalar triplePressure Triple pressure of water . Definition: Common.hpp:85 static const Scalar molarMass The molar mass of water . Definition: Common.hpp:58 static const Scalar acentricFactor The acentric factor of water . Definition: Common.hpp:79 Implements the equations for region 1 of the IAPWS '97 formulation. Definition: Region1.hpp:51 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:252 static Evaluation tau(const Evaluation &temperature) Returns the reduced temperature for IAPWS region 1. Definition: Region1.hpp:83 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:282 static Evaluation pi(const Evaluation &pressure) Returns the reduced pressure for IAPWS region 1. Definition: Region1.hpp:102 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:162 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:61 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:221 static Scalar dpi_dp(const Evaluation &) Returns the derivative of the reduced pressure to the pressure for IAPWS region 1 in . Definition: Region1.hpp:112 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:191 Implements the equations for region 2 of the IAPWS '97 formulation. Definition: Region2.hpp:52 static Scalar dpi_dp(const Evaluation &) Returns the derivative of the reduced pressure to the pressure for IAPWS region 2 in . Definition: Region2.hpp:111 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:310 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:276 static Evaluation pi(const Evaluation &pressure) Returns the reduced pressure (dimensionless) for IAPWS region 2. Definition: Region2.hpp:101 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:170 static Evaluation tau(const Evaluation &temperature) Returns the reduced temperature (dimensionless) for IAPWS region 2. Definition: Region2.hpp:82 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:242 static bool isValid(const Evaluation &temperature, const Evaluation &pressure) Returns true if IAPWS region 2 applies for a (temperature, pressure) pair. Definition: Region2.hpp:62 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:209 Implements the equations for region 4 of the IAPWS '97 formulation. Definition: Region4.hpp:52 static Evaluation vaporTemperature(const Evaluation &pressure) Returns the saturation temperature in of pure water at a given pressure. Definition: Region4.hpp:94 static Evaluation saturationPressure(const Evaluation &temperature) Returns the saturation pressure in of pure water at a given temperature. Definition: Region4.hpp:63 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:58 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:48 Definition: Exceptions.hpp:46 bool CheckDefined(const T &value) Make valgrind complain if any of the memory occupied by an object is undefined. Definition: Valgrind.hpp:74 Definition: Air_Mesitylene.hpp:34 auto scalarValue(const Evaluation &val) -> decltype(MathToolbox< Evaluation >::scalarValue(val)) Definition: MathToolbox.hpp:335 ReturnEval_< Evaluation1, Evaluation2 >::type pow(const Evaluation1 &base, const Evaluation2 &exp) Definition: MathToolbox.hpp:416 |