3.3.0
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
Dumux::Components::Brine< Scalar, H2O_Tabulated > Class Template Reference

A class for the brine fluid properties. More...

#include <dumux/material/components/brine.hh>

Inheritance diagram for Dumux::Components::Brine< Scalar, H2O_Tabulated >:

Description

template<class Scalar, class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
class Dumux::Components::Brine< Scalar, H2O_Tabulated >

A class for the brine fluid properties.

Template Parameters
ScalarThe type used for scalar values
H2OStatic polymorphism: the Brine class can access all properties of the H2O class
Note
This is an implementation of brine as a pseudo-component with a constant salinity.
the salinity is read from the input file and is a mandatory parameter

Public Types

using H2O = Components::TabulatedComponent< Dumux::Components::H2O< Scalar > >
 

Static Public Member Functions

static std::string name ()
 A human readable name for the brine. More...
 
static Scalar salinity ()
 Return the constant salinity. More...
 
static Scalar molarMass ()
 The molar mass in \(\mathrm{[kg/mol]}\) of brine. This assumes that the salt is pure NaCl. More...
 
static Scalar criticalTemperature ()
 Returns the critical temperature \(\mathrm{[K]}\) of brine. Here, it is assumed to be equal to that of pure water. More...
 
static Scalar criticalPressure ()
 Returns the critical pressure \(\mathrm{[Pa]}\) of brine. Here, it is assumed to be equal to that of pure water. More...
 
static Scalar tripleTemperature ()
 Returns the temperature \(\mathrm{[K]}\) at brine's triple point. Here, it is assumed to be equal to that of pure water. More...
 
static Scalar triplePressure ()
 Returns the pressure \(\mathrm{[Pa]}\) at brine's triple point. Here, it is assumed to be equal to that of pure water. More...
 
static Scalar vaporPressure (Scalar temperature)
 The vapor pressure in \(\mathrm{[Pa]}\) of pure brine at a given temperature. Here, it is assumed to be equal to that of pure water. More...
 
static const Scalar gasEnthalpy (Scalar temperature, Scalar pressure)
 Specific enthalpy of gaseous brine \(\mathrm{[J/kg]}\). Only water volatile and salt is suppose to stay in the liquid phase. More...
 
static const Scalar liquidEnthalpy (Scalar T, Scalar p)
 Specific enthalpy of liquid brine \(\mathrm{[J/kg]}\). More...
 
static const Scalar liquidHeatCapacity (Scalar temperature, Scalar pressure)
 Specific isobaric heat capacity of brine \(\mathrm{[J/kg]}\). More...
 
static const Scalar gasHeatCapacity (Scalar temperature, Scalar pressure)
 Specific isobaric heat capacity of water steam \(\mathrm{[J/kg]}\). 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 brine \(\mathrm{[J/kg]}\). More...
 
static Scalar gasDensity (Scalar temperature, Scalar pressure)
 The density of steam at a given pressure and temperature \(\mathrm{[kg/m^3]}\). More...
 
static Scalar gasMolarDensity (Scalar temperature, Scalar pressure)
 The molar density of steam in \(\mathrm{[mol/m^3]}\) at a given pressure and temperature. We take the value of the H2O gas molar density here because salt is not in the gas phase. More...
 
static constexpr bool gasIsIdeal ()
 Returns true if the gas phase is assumed to be ideal. 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 liquidDensity (Scalar temperature, Scalar pressure)
 The density of pure brine at a given pressure and temperature \(\mathrm{[kg/m^3]}\). More...
 
static Scalar liquidMolarDensity (Scalar temperature, Scalar pressure)
 The molar density of brine in \(\mathrm{[mol/m^3]}\) at a given pressure and temperature. More...
 
static Scalar gasPressure (Scalar temperature, Scalar density)
 The pressure of steam in \(\mathrm{[Pa]}\) at a given density and temperature. More...
 
static Scalar liquidPressure (Scalar temperature, Scalar density)
 The pressure of brine 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 brine. More...
 
static Scalar liquidThermalConductivity (Scalar temperature, Scalar pressure)
 Thermal conductivity of a brine \(\mathrm{[W/(m K)]}\). More...
 

Static Public Attributes

static constexpr Scalar R = Constants<Scalar>::R
 The ideal gas constant \(\mathrm{[J/mol/K]}\). More...
 

Member Typedef Documentation

◆ H2O

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
using Dumux::Components::Brine< Scalar, H2O_Tabulated >::H2O = Components::TabulatedComponent<Dumux::Components::H2O<Scalar> >

Member Function Documentation

◆ criticalPressure()

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
static Scalar Dumux::Components::Brine< Scalar, H2O_Tabulated >::criticalPressure ( )
inlinestatic

Returns the critical pressure \(\mathrm{[Pa]}\) of brine. Here, it is assumed to be equal to that of pure water.

◆ criticalTemperature()

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
static Scalar Dumux::Components::Brine< Scalar, H2O_Tabulated >::criticalTemperature ( )
inlinestatic

Returns the critical temperature \(\mathrm{[K]}\) of brine. Here, it is assumed to be equal to that of pure water.

◆ gasDensity()

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
static Scalar Dumux::Components::Brine< Scalar, H2O_Tabulated >::gasDensity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

The density of steam at a given pressure and temperature \(\mathrm{[kg/m^3]}\).

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
pressurepressure of component in \(\mathrm{[Pa]}\)

◆ gasEnthalpy()

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
static const Scalar Dumux::Components::Brine< Scalar, H2O_Tabulated >::gasEnthalpy ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

Specific enthalpy of gaseous brine \(\mathrm{[J/kg]}\). Only water volatile and salt is suppose to stay in the liquid phase.

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
pressurepressure of component in \(\mathrm{[Pa]}\)

◆ gasHeatCapacity()

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
static const Scalar Dumux::Components::Brine< Scalar, H2O_Tabulated >::gasHeatCapacity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

Specific isobaric heat capacity of water steam \(\mathrm{[J/kg]}\).

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
pressurepressure 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]

◆ gasInternalEnergy()

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
static const Scalar Dumux::Components::Brine< Scalar, H2O_Tabulated >::gasInternalEnergy ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

Specific internal energy of steam \(\mathrm{[J/kg]}\).

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
pressurepressure of component in \(\mathrm{[Pa]}\)

◆ gasIsCompressible()

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
static constexpr bool Dumux::Components::Brine< Scalar, H2O_Tabulated >::gasIsCompressible ( )
inlinestaticconstexpr

Returns true if the gas phase is assumed to be compressible.

◆ gasIsIdeal()

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
static constexpr bool Dumux::Components::Brine< Scalar, H2O_Tabulated >::gasIsIdeal ( )
inlinestaticconstexpr

Returns true if the gas phase is assumed to be ideal.

◆ gasMolarDensity()

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
static Scalar Dumux::Components::Brine< Scalar, H2O_Tabulated >::gasMolarDensity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

The molar density of steam in \(\mathrm{[mol/m^3]}\) at a given pressure and temperature. We take the value of the H2O gas molar density here because salt is not in the gas phase.

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
pressurepressure of component in \(\mathrm{[Pa]}\)

◆ gasPressure()

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
static Scalar Dumux::Components::Brine< Scalar, H2O_Tabulated >::gasPressure ( Scalar  temperature,
Scalar  density 
)
inlinestatic

The pressure of steam in \(\mathrm{[Pa]}\) at a given density and temperature.

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
densitydenstiy of component in \(\mathrm{[kg/m^3]}\)

◆ gasViscosity()

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
static Scalar Dumux::Components::Brine< Scalar, H2O_Tabulated >::gasViscosity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

The dynamic viscosity \(\mathrm{[Pa*s]}\) of steam.

Parameters
temperaturetemperature of component
pressurepressure of component

◆ liquidDensity()

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
static Scalar Dumux::Components::Brine< Scalar, H2O_Tabulated >::liquidDensity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

The density of pure brine at a given pressure and temperature \(\mathrm{[kg/m^3]}\).

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
pressurepressure of component in \(\mathrm{[Pa]}\)

Equations given in:

  • Batzle & Wang (1992) [8]
  • cited by: Adams & Bachu in Geofluids (2002) 2, 257-271 [3]

◆ liquidEnthalpy()

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
static const Scalar Dumux::Components::Brine< Scalar, H2O_Tabulated >::liquidEnthalpy ( Scalar  T,
Scalar  p 
)
inlinestatic

Specific enthalpy of liquid brine \(\mathrm{[J/kg]}\).

Parameters
Ttemperature of component in \(\mathrm{[K]}\)
ppressure of component in \(\mathrm{[Pa]}\)

Equations given in:

  • Palliser & McKibbin (1998) [50]
  • Michaelides (1981) [41]
  • Daubert & Danner (1989) [17]

◆ liquidHeatCapacity()

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
static const Scalar Dumux::Components::Brine< Scalar, H2O_Tabulated >::liquidHeatCapacity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

Specific isobaric heat capacity of brine \(\mathrm{[J/kg]}\).

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
pressurepressure 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]

◆ liquidInternalEnergy()

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
static const Scalar Dumux::Components::Brine< Scalar, H2O_Tabulated >::liquidInternalEnergy ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

Specific internal energy of liquid brine \(\mathrm{[J/kg]}\).

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
pressurepressure of component in \(\mathrm{[Pa]}\)

◆ liquidIsCompressible()

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
static constexpr bool Dumux::Components::Brine< Scalar, H2O_Tabulated >::liquidIsCompressible ( )
inlinestaticconstexpr

Returns true if the liquid phase is assumed to be compressible.

◆ liquidMolarDensity()

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
static Scalar Dumux::Components::Brine< Scalar, H2O_Tabulated >::liquidMolarDensity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

The molar density of brine in \(\mathrm{[mol/m^3]}\) at a given pressure and temperature.

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
pressurepressure of component in \(\mathrm{[Pa]}\)

◆ liquidPressure()

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
static Scalar Dumux::Components::Brine< Scalar, H2O_Tabulated >::liquidPressure ( Scalar  temperature,
Scalar  density 
)
inlinestatic

The pressure of brine in \(\mathrm{[Pa]}\) at a given density and temperature.

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
densitydensity of component in \(\mathrm{[kg/m^3]}\)

◆ liquidThermalConductivity()

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
static Scalar Dumux::Components::Brine< Scalar, H2O_Tabulated >::liquidThermalConductivity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

Thermal conductivity of a brine \(\mathrm{[W/(m K)]}\).

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
pressurepressure of component in \(\mathrm{[Pa]}\)
Todo:
TODO: For the thermal conductivity the salinity contribution is neglected. This contribution is probably not big, but somebody would have to find out its influence.

◆ liquidViscosity()

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
static Scalar Dumux::Components::Brine< Scalar, H2O_Tabulated >::liquidViscosity ( Scalar  temperature,
Scalar  pressure 
)
inlinestatic

The dynamic viscosity \(\mathrm{[Pa*s]}\) of pure brine.

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)
pressurepressure of component in \(\mathrm{[Pa]}\)

Equation given in:

  • Batzle & Wang (1992) [8]
  • cited by: Bachu & Adams (2002) "Equations of State for basin geofluids" [3]

◆ molarMass()

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
static Scalar Dumux::Components::Brine< Scalar, H2O_Tabulated >::molarMass ( )
inlinestatic

The molar mass in \(\mathrm{[kg/mol]}\) of brine. This assumes that the salt is pure NaCl.

◆ name()

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
static std::string Dumux::Components::Brine< Scalar, H2O_Tabulated >::name ( )
inlinestatic

A human readable name for the brine.

◆ salinity()

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
static Scalar Dumux::Components::Brine< Scalar, H2O_Tabulated >::salinity ( )
inlinestatic

Return the constant salinity.

◆ triplePressure()

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
static Scalar Dumux::Components::Brine< Scalar, H2O_Tabulated >::triplePressure ( )
inlinestatic

Returns the pressure \(\mathrm{[Pa]}\) at brine's triple point. Here, it is assumed to be equal to that of pure water.

◆ tripleTemperature()

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
static Scalar Dumux::Components::Brine< Scalar, H2O_Tabulated >::tripleTemperature ( )
inlinestatic

Returns the temperature \(\mathrm{[K]}\) at brine's triple point. Here, it is assumed to be equal to that of pure water.

◆ vaporPressure()

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
static Scalar Dumux::Components::Brine< Scalar, H2O_Tabulated >::vaporPressure ( Scalar  temperature)
inlinestatic

The vapor pressure in \(\mathrm{[Pa]}\) of pure brine at a given temperature. Here, it is assumed to be equal to that of pure water.

Parameters
temperaturetemperature of component in \(\mathrm{[K]}\)

Member Data Documentation

◆ R

template<class Scalar , class H2O_Tabulated = Components::TabulatedComponent<Components::H2O<Scalar>>>
constexpr Scalar Dumux::Components::Brine< Scalar, H2O_Tabulated >::R = Constants<Scalar>::R
staticconstexpr

The ideal gas constant \(\mathrm{[J/mol/K]}\).


The documentation for this class was generated from the following file: