Opm::SimpleH2O< Scalar > Class Template Reference A simple version of pure water. More...
Inheritance diagram for Opm::SimpleH2O< Scalar >:
Detailed Descriptiontemplate<class Scalar> class Opm::SimpleH2O< Scalar > A simple version of pure water. Compared to the water formulation of IAPWS'97, this class provides a much simpler component that represents the thermodynamic properties of of pure water. This implies that the likelyhood for bugs in this class is reduced and the numerical performance is increased. (At the cost of accuracy for the representation of the physical quantities, of course.)
Member Typedef Documentation◆ Scalar
Member Function Documentation◆ acentricFactor()
Returns the acentric factor of the component. ◆ criticalPressure()
template<class Scalar >
Returns the critical pressure of water. Referenced by Opm::SimpleH2O< Scalar >::vaporPressure(). ◆ criticalTemperature()
template<class Scalar >
Returns the critical temperature of water. Referenced by Opm::SimpleH2O< Scalar >::vaporPressure(). ◆ criticalVolume()
Returns the critical volume in of the component. ◆ gasDensity()
template<class Scalar >
template<class Evaluation >
The density of steam at a given pressure and temperature.
References Opm::IdealGas< Scalar >::molarDensity(), and Opm::SimpleH2O< Scalar >::molarMass(). ◆ gasEnthalpy()
template<class Scalar >
template<class Evaluation >
Specific enthalpy of water steam .
References Opm::SimpleH2O< Scalar >::molarMass(). Referenced by Opm::SimpleH2O< Scalar >::gasInternalEnergy(). ◆ gasHeatCapacity()
template<class Scalar >
template<class Evaluation >
Specific isobaric heat capacity of the component [J/kg] as a gas. ◆ gasInternalEnergy()
template<class Scalar >
template<class Evaluation >
Specific internal energy of steam . Definition of enthalpy: \f$h= u + pv = u + p / \rho\f$. Rearranging for internal energy yields: \f$u = h - pv\f$. Exploiting the Ideal Gas assumption (\f$pv = R_{\textnormal{specific}} T\f$)gives: \f$u = h - R / M T \f$. The universal gas constant can only be used in the case of molar formulations.
References Opm::SimpleH2O< Scalar >::gasEnthalpy(), Opm::SimpleH2O< Scalar >::molarMass(), and Opm::IdealGas< Scalar >::R. ◆ gasIsCompressible()
template<class Scalar >
Returns true iff the gas phase is assumed to be compressible. ◆ gasIsIdeal()
template<class Scalar >
Returns true iff the gas phase is assumed to be ideal. ◆ gasPressure()
template<class Scalar >
template<class Evaluation >
The pressure of steam in at a given density and temperature.
References Opm::SimpleH2O< Scalar >::molarMass(), and Opm::IdealGas< Scalar >::pressure(). ◆ gasThermalConductivity()
template<class Scalar >
template<class Evaluation >
Specific heat conductivity of steam .
◆ gasViscosity()
template<class Scalar >
template<class Evaluation >
The dynamic viscosity of steam.
◆ init()
A default routine for initialization, not needed for components and must not be called.
This function throws a warning when called: "No init routine defined - make sure that this is not necessary!" ◆ liquidDensity()
template<class Scalar >
template<class Evaluation >
The density of pure water at a given pressure and temperature .
Referenced by Opm::SimpleH2O< Scalar >::liquidInternalEnergy(). ◆ liquidEnthalpy()
template<class Scalar >
template<class Evaluation >
Specific enthalpy of liquid water .
Referenced by Opm::SimpleH2O< Scalar >::liquidInternalEnergy(). ◆ liquidHeatCapacity()
template<class Scalar >
template<class Evaluation >
Specific isobaric heat capacity of the component [J/kg] as a liquid. ◆ liquidInternalEnergy()
template<class Scalar >
template<class Evaluation >
Specific internal energy of liquid water .
References Opm::SimpleH2O< Scalar >::liquidDensity(), and Opm::SimpleH2O< Scalar >::liquidEnthalpy(). ◆ liquidIsCompressible()
template<class Scalar >
Returns true iff the liquid phase is assumed to be compressible. ◆ liquidPressure()
template<class Scalar >
template<class Evaluation >
The pressure of water in at a given density and temperature.
◆ liquidThermalConductivity()
template<class Scalar >
template<class Evaluation >
Specific heat conductivity of liquid water .
◆ liquidViscosity()
template<class Scalar >
template<class Evaluation >
The dynamic viscosity of pure water.
◆ molarMass()
template<class Scalar >
The molar mass in of water. Referenced by Opm::SimpleH2O< Scalar >::gasDensity(), Opm::SimpleH2O< Scalar >::gasEnthalpy(), Opm::SimpleH2O< Scalar >::gasInternalEnergy(), and Opm::SimpleH2O< Scalar >::gasPressure(). ◆ name()
template<class Scalar >
A human readable name for the water. ◆ triplePressure()
template<class Scalar >
Returns the pressure at water's triple point. ◆ tripleTemperature()
template<class Scalar >
Returns the temperature at water's triple point. Referenced by Opm::SimpleH2O< Scalar >::vaporPressure(). ◆ vaporPressure()
template<class Scalar >
template<class Evaluation >
The vapor pressure in of pure water at a given temperature.
See: IAPWS: "Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam", http://www.iapws.org/relguide/IF97-Rev.pdf References Opm::SimpleH2O< Scalar >::criticalPressure(), Opm::SimpleH2O< Scalar >::criticalTemperature(), Opm::sqrt(), and Opm::SimpleH2O< Scalar >::tripleTemperature(). Member Data Documentation◆ isTabulated
The documentation for this class was generated from the following file: |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||