Material properties of pure water \(H_2O\). More...
#include <dumux/material/components/h2o.hh>
Material properties of pure water \(H_2O\).
Scalar | The type used for scalar values |
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 [24]
Public Types | |
using | Scalar = Scalar |
export the scalar type used by the component More... | |
Static Public Member Functions | |
static std::string | name () |
A human readable name for the water. More... | |
static constexpr Scalar | molarMass () |
The molar mass in \(\mathrm{[kg/mol]}\) of water. More... | |
static constexpr Scalar | acentricFactor () |
The acentric factor \(\mathrm{[-]}\) of water. More... | |
static constexpr Scalar | criticalTemperature () |
Returns the critical temperature \(\mathrm{[K]}\) of water. More... | |
static constexpr Scalar | criticalPressure () |
Returns the critical pressure \(\mathrm{[Pa]}\) of water. More... | |
static constexpr Scalar | criticalMolarVolume () |
Returns the molar volume \(\mathrm{[m^3/mol]}\) of water at the critical point. More... | |
static constexpr Scalar | tripleTemperature () |
Returns the temperature \(\mathrm{[K]}\) at water's triple point. More... | |
static constexpr Scalar | triplePressure () |
Returns the pressure \(\mathrm{[Pa]}\) at water's triple point. More... | |
static Scalar | vaporPressure (Scalar T) |
The vapor pressure in \(\mathrm{[Pa]}\) of pure water at a given temperature. More... | |
static Scalar | vaporTemperature (Scalar pressure) |
The vapor temperature in \(\mathrm{[K]}\) of pure water at a given pressure. More... | |
static const Scalar | gasEnthalpy (Scalar temperature, Scalar pressure) |
Specific enthalpy of water steam \(\mathrm{[J/kg]}\). More... | |
static const Scalar | liquidEnthalpy (Scalar temperature, Scalar pressure) |
Specific enthalpy of liquid water \(\mathrm{[J/kg]}\). More... | |
static const Scalar | gasHeatCapacity (Scalar temperature, Scalar pressure) |
Specific isobaric heat capacity of water steam \(\mathrm{[J/(kg*K)}\). More... | |
static const Scalar | liquidHeatCapacity (Scalar temperature, Scalar pressure) |
Specific isobaric heat capacity of liquid water \(\mathrm{[J/(kg*K)]}\). More... | |
static const Scalar | liquidInternalEnergy (Scalar temperature, Scalar pressure) |
Specific internal energy of liquid water \(\mathrm{[J/kg]}\). More... | |
static Scalar | gasInternalEnergy (Scalar temperature, Scalar pressure) |
Specific internal energy of steam and water vapor \(\mathrm{[J/kg]}\). More... | |
static const Scalar | liquidHeatCapacityConstVolume (Scalar temperature, Scalar pressure) |
Specific isochoric heat capacity of liquid water \(\mathrm{[J/(m^3*K)]}\). More... | |
static Scalar | gasHeatCapacityConstVolume (Scalar temperature, Scalar pressure) |
Specific isochoric heat capacity of steam and water vapor \(\mathrm{[J/(kg*K)}\). More... | |
static constexpr bool | gasIsCompressible () |
Returns true if the gas phase is assumed to be compressible. More... | |
static constexpr bool | liquidIsCompressible () |
Returns true if the liquid phase is assumed to be compressible. More... | |
static Scalar | gasDensity (Scalar temperature, Scalar pressure) |
The density of steam in \(\mathrm{[kg/m^3]}\) at a given pressure and temperature. More... | |
static Scalar | gasMolarDensity (Scalar temperature, Scalar pressure) |
The molar density of steam in \(\mathrm{[mol/m^3]}\) at a given pressure and temperature. More... | |
static constexpr bool | gasIsIdeal () |
Returns true if the gas phase is assumed to be ideal. More... | |
static Scalar | gasPressure (Scalar temperature, Scalar density) |
The pressure of steam in \(\mathrm{[Pa]}\) at a given density and temperature. More... | |
static Scalar | liquidDensity (Scalar temperature, Scalar pressure) |
The density of pure water in \(\mathrm{[kg/m^3]}\) at a given pressure and temperature. More... | |
static Scalar | liquidMolarDensity (Scalar temperature, Scalar pressure) |
The molar density of water in \(\mathrm{[mol/m^3]}\) at a given pressure and temperature. More... | |
static Scalar | liquidPressure (Scalar temperature, Scalar density) |
The pressure of liquid water in \(\mathrm{[Pa]}\) at a given density and temperature. More... | |
static Scalar | gasViscosity (Scalar temperature, Scalar pressure) |
The dynamic viscosity \(\mathrm{[Pa*s]}\) of steam. More... | |
static Scalar | liquidViscosity (Scalar temperature, Scalar pressure) |
The dynamic viscosity \(\mathrm{[Pa*s]}\) of pure water. More... | |
static Scalar | liquidThermalConductivity (Scalar temperature, Scalar pressure) |
Thermal conductivity \(\mathrm{[[W/(m*K)]}\) of water (IAPWS) . More... | |
static Scalar | gasThermalConductivity (const Scalar temperature, const Scalar pressure) |
Thermal conductivity \(\mathrm{[[W/(m*K)]}\) of steam (IAPWS) . More... | |
static void | init (Scalar tempMin, Scalar tempMax, unsigned nTemp, Scalar pressMin, Scalar pressMax, unsigned nPress) |
A default routine for initialization, not needed for components and must not be called. More... | |
static constexpr bool | liquidViscosityIsConstant () |
Returns true if the liquid phase viscostiy is constant. More... | |
static constexpr bool | gasViscosityIsConstant () |
Returns true if the gas phase viscostiy is constant. More... | |
Static Public Attributes | |
static constexpr bool | isTabulated |
if the component relies on tabulated values More... | |
|
inherited |
export the scalar type used by the component
|
inlinestaticconstexpr |
The acentric factor \(\mathrm{[-]}\) of water.
|
inlinestaticconstexpr |
Returns the molar volume \(\mathrm{[m^3/mol]}\) of water at the critical point.
|
inlinestaticconstexpr |
Returns the critical pressure \(\mathrm{[Pa]}\) of water.
|
inlinestaticconstexpr |
Returns the critical temperature \(\mathrm{[K]}\) of water.
|
inlinestatic |
The density of steam in \(\mathrm{[kg/m^3]}\) at a given pressure and temperature.
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
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 [24]
|
inlinestatic |
Specific enthalpy of water steam \(\mathrm{[J/kg]}\).
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
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 [24]
|
inlinestatic |
Specific isobaric heat capacity of water steam \(\mathrm{[J/(kg*K)}\).
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
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 [24]
|
inlinestatic |
Specific isochoric heat capacity of steam and water vapor \(\mathrm{[J/(kg*K)}\).
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
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 [24]
|
inlinestatic |
Specific internal energy of steam and water vapor \(\mathrm{[J/kg]}\).
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
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 [24]
|
inlinestaticconstexpr |
Returns true if the gas phase is assumed to be compressible.
|
inlinestaticconstexpr |
Returns true if the gas phase is assumed to be ideal.
|
inlinestatic |
The molar density of steam in \(\mathrm{[mol/m^3]}\) at a given pressure and temperature.
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
|
inlinestatic |
The pressure of steam in \(\mathrm{[Pa]}\) at a given density and temperature.
temperature | temperature of component in \(\mathrm{[K]}\) |
density | of component in \(\mathrm{[kg/m^3]}\) |
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 [24]
|
inlinestatic |
Thermal conductivity \(\mathrm{[[W/(m*K)]}\) of steam (IAPWS) .
Implementation taken from: freesteam - IAPWS-IF97 steam tables library copyright (C) 2004-2009 John Pye
See: IAPWS: "Release on the IAPWS Formulation 2011 for the Thermal Conductivity of Ordinary Water Substance", http://www.iapws.org/relguide/ThCond.pdf [31]
temperature | absolute temperature in \(\mathrm{[K]}\) |
pressure | of the phase in \(\mathrm{[Pa]}\) |
|
inlinestatic |
The dynamic viscosity \(\mathrm{[Pa*s]}\) of steam.
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
We assume pure water vapor here. For water in a mixture of other gaseous components, consider the free function h2oGasViscosityInMixture.
We use the IAPWS Formulation, see: IAPWS: "Release on the IAPWS Formulation 2008 for the Viscosity of Ordinary Water Substance", http://www.iapws.org/relguide/visc.pdf [16] This method is only valid if pressure is below or at the vapor pressure of water.
|
inlinestaticconstexprinherited |
Returns true if the gas phase viscostiy is constant.
|
inlinestaticinherited |
A default routine for initialization, not needed for components and must not be called.
tempMin | The minimum of the temperature range in \(\mathrm{[K]}\) |
tempMax | The maximum of the temperature range in \(\mathrm{[K]}\) |
nTemp | The number of entries/steps within the temperature range |
pressMin | The minimum of the pressure range in \(\mathrm{[Pa]}\) |
pressMax | The maximum of the pressure range in \(\mathrm{[Pa]}\) |
nPress | The number of entries/steps within the pressure range |
This function throws a warning when called: "No init routine defined - make sure that this is not necessary!"
|
inlinestatic |
The density of pure water in \(\mathrm{[kg/m^3]}\) at a given pressure and temperature.
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
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 [24]
|
inlinestatic |
Specific enthalpy of liquid water \(\mathrm{[J/kg]}\).
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
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 [24]
|
inlinestatic |
Specific isobaric heat capacity of liquid water \(\mathrm{[J/(kg*K)]}\).
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
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 [24]
|
inlinestatic |
Specific isochoric heat capacity of liquid water \(\mathrm{[J/(m^3*K)]}\).
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
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 [24]
|
inlinestatic |
Specific internal energy of liquid water \(\mathrm{[J/kg]}\).
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
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 [24]
|
inlinestaticconstexpr |
Returns true if the liquid phase is assumed to be compressible.
|
inlinestatic |
The molar density of water in \(\mathrm{[mol/m^3]}\) at a given pressure and temperature.
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
|
inlinestatic |
The pressure of liquid water in \(\mathrm{[Pa]}\) at a given density and temperature.
temperature | temperature of component in \(\mathrm{[K]}\) |
density | density of component in \(\mathrm{[kg/m^3]}\) |
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 [24]
|
inlinestatic |
Thermal conductivity \(\mathrm{[[W/(m*K)]}\) of water (IAPWS) .
Implementation taken from: freesteam - IAPWS-IF97 steam tables library copyright (C) 2004-2009 John Pye
See: IAPWS: "Release on the IAPWS Formulation 2011 for the Thermal Conductivity of Ordinary Water Substance", http://www.iapws.org/relguide/ThCond.pdf [31]
temperature | absolute temperature in \(\mathrm{[K]}\) |
pressure | of the phase in \(\mathrm{[Pa]}\) |
|
inlinestatic |
The dynamic viscosity \(\mathrm{[Pa*s]}\) of pure water.
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
See: IAPWS: "Release on the IAPWS Formulation 2008 for the Viscosity of Ordinary Water Substance", http://www.iapws.org/relguide/visc.pdf [16]
|
inlinestaticconstexprinherited |
Returns true if the liquid phase viscostiy is constant.
|
inlinestaticconstexpr |
The molar mass in \(\mathrm{[kg/mol]}\) of water.
|
inlinestatic |
A human readable name for the water.
|
inlinestaticconstexpr |
Returns the pressure \(\mathrm{[Pa]}\) at water's triple point.
|
inlinestaticconstexpr |
Returns the temperature \(\mathrm{[K]}\) at water's triple point.
|
inlinestatic |
The vapor pressure in \(\mathrm{[Pa]}\) of pure water at a given temperature.
T | temperature of component in \(\mathrm{[K]}\) |
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 [24]
|
inlinestatic |
The vapor temperature in \(\mathrm{[K]}\) of pure water at a given pressure.
pressure | pressure in \(\mathrm{[Pa]}\) |
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 [24]
|
staticconstexprinherited |
if the component relies on tabulated values