A simple implementation of pure water. More...
#include <dumux/material/components/simpleh2o.hh>
A simple implementation of pure water.
Scalar | The type used for scalar values |
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 Scalar | criticalTemperature () |
Returns the critical temperature \(\mathrm{[K]}\) of water. More... | |
static Scalar | criticalPressure () |
Returns the critical pressure \(\mathrm{[Pa]}\) of water. More... | |
static Scalar | tripleTemperature () |
Returns the temperature \(\mathrm{[K]}\) at water's triple point. More... | |
static 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 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 Scalar | vaporizationEnthalpy () |
The vaporization enthalpy in \(\mathrm{[J/kg]}\) needed to vaporize one kilogram of the liquid water to the gaseous state depending on temperature as found in: C. O. Popiel & J. Wojtkowiak (1998) Simple Formulas for Thermophysical Properties of Liquid Water for Heat Transfer Calculations (from 0°C to 150°C), DOI:10.1080/01457639808939929. More... | |
static const Scalar | gasInternalEnergy (Scalar temperature, Scalar pressure) |
Specific internal energy of steam \(\mathrm{[J/kg]}\). More... | |
static const Scalar | liquidInternalEnergy (Scalar temperature, Scalar pressure) |
Specific internal energy of liquid water \(\mathrm{[J/kg]}\). 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 constexpr bool | gasViscosityIsConstant () |
Returns true if the gas phase viscosity is constant. More... | |
static constexpr bool | liquidViscosityIsConstant () |
Returns true if the liquid phase viscosity is constant. More... | |
static Scalar | gasDensity (Scalar temperature, Scalar pressure) |
The density \(\mathrm{[kg/m^3]}\) of steam 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 at a given pressure and temperature \(\mathrm{[kg/m^3]}\). More... | |
static Scalar | liquidMolarDensity (Scalar temperature, Scalar pressure) |
The molar density of pure water in \(\mathrm{[mol/m^3]}\) at a given pressure and temperature. More... | |
static Scalar | liquidPressure (Scalar temperature, Scalar density) |
The pressure of 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 | liquidHeatCapacity (Scalar temperature, Scalar pressure) |
Specific isobaric heat capacity of the component \(\mathrm{[J/(kg*K)]}\) as a liquid. source: http://webbook.nist.gov/cgi/fluid.cgi?ID=C7732185&Action=Page @ T= 281.15K (8°C) , p=0.1MPa) More... | |
static Scalar | liquidThermalConductivity (Scalar temperature, Scalar pressure) |
Thermal conductivity \(\mathrm{[W/(m*K)]}\) of water. source: http://webbook.nist.gov/cgi/fluid.cgi?ID=C7732185&Action=Page @ T= 372.76K (99.6°C) , p=0.1MPa) More... | |
static Scalar | gasThermalConductivity (Scalar temperature, Scalar pressure) |
Thermal conductivity \(\mathrm{[W/(m*K)]}\) of steam. source: http://webbook.nist.gov/cgi/fluid.cgi?ID=C7732185&Action=Page @ T= 372.76K (99.6°C) , p=0.1MPa) More... | |
static Scalar | gasHeatCapacity (Scalar temperature, Scalar pressure) |
Specific isobaric heat capacity of water steam \(\mathrm{[J/(kg*K)]}\). source: http://webbook.nist.gov/cgi/fluid.cgi?ID=C7732185&Action=Page @ T= 372.76K (99.6°C) , p=0.1MPa) 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 Public Attributes | |
static constexpr bool | isTabulated |
if the component relies on tabulated values More... | |
|
inherited |
export the scalar type used by the component
|
inlinestatic |
Returns the critical pressure \(\mathrm{[Pa]}\) of water.
|
inlinestatic |
Returns the critical temperature \(\mathrm{[K]}\) of water.
|
inlinestatic |
The density \(\mathrm{[kg/m^3]}\) of steam at a given pressure and temperature.
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
|
inlinestatic |
Specific enthalpy of water steam \(\mathrm{[J/kg]}\).
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
|
inlinestatic |
Specific isobaric heat capacity of water steam \(\mathrm{[J/(kg*K)]}\). source: http://webbook.nist.gov/cgi/fluid.cgi?ID=C7732185&Action=Page @ T= 372.76K (99.6°C) , p=0.1MPa)
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
|
inlinestatic |
Specific internal energy of steam \(\mathrm{[J/kg]}\).
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.
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
|
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 | density of component in \(\mathrm{[kg/m^3]}\) |
|
inlinestatic |
Thermal conductivity \(\mathrm{[W/(m*K)]}\) of steam. source: http://webbook.nist.gov/cgi/fluid.cgi?ID=C7732185&Action=Page @ T= 372.76K (99.6°C) , p=0.1MPa)
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]}\) |
|
inlinestaticconstexpr |
Returns true if the gas phase viscosity 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 at a given pressure and temperature \(\mathrm{[kg/m^3]}\).
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
|
inlinestatic |
Specific enthalpy of liquid water \(\mathrm{[J/kg]}\).
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
|
inlinestatic |
Specific isobaric heat capacity of the component \(\mathrm{[J/(kg*K)]}\) as a liquid. source: http://webbook.nist.gov/cgi/fluid.cgi?ID=C7732185&Action=Page @ T= 281.15K (8°C) , p=0.1MPa)
temperature | absolute temperature in \(\mathrm{[K]}\) |
pressure | of the phase in \(\mathrm{[Pa]}\) |
|
inlinestatic |
Specific internal energy of liquid water \(\mathrm{[J/kg]}\).
temperature | temperature of component in \(\mathrm{[K]}\) |
pressure | pressure of component in \(\mathrm{[Pa]}\) |
|
inlinestaticconstexpr |
Returns true if the liquid phase is assumed to be compressible.
|
inlinestatic |
The molar density of pure 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 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]}\) |
|
inlinestatic |
Thermal conductivity \(\mathrm{[W/(m*K)]}\) of water. source: http://webbook.nist.gov/cgi/fluid.cgi?ID=C7732185&Action=Page @ T= 372.76K (99.6°C) , p=0.1MPa)
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]}\) |
|
inlinestaticconstexpr |
Returns true if the liquid phase viscosity is constant.
|
inlinestaticconstexpr |
The molar mass in \(\mathrm{[kg/mol]}\) of water.
|
inlinestatic |
A human readable name for the water.
|
inlinestatic |
Returns the pressure \(\mathrm{[Pa]}\) at water's triple point.
|
inlinestatic |
Returns the temperature \(\mathrm{[K]}\) at water's triple point.
|
inlinestatic |
The vaporization enthalpy in \(\mathrm{[J/kg]}\) needed to vaporize one kilogram of the liquid water to the gaseous state depending on temperature as found in: C. O. Popiel & J. Wojtkowiak (1998) Simple Formulas for Thermophysical Properties of Liquid Water for Heat Transfer Calculations (from 0°C to 150°C), DOI:10.1080/01457639808939929.
|
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 [25]
|
staticconstexprinherited |
if the component relies on tabulated values