Opm::Brine< Scalar, H2O > Class Template Reference

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

#include <Brine.hpp>

Inheritance diagram for Opm::Brine< Scalar, H2O >:
Opm::Component< Scalar, Brine< Scalar, H2O > >

List of all members.

Static Public Member Functions

static const char * name ()
static bool gasIsIdeal ()
static bool gasIsCompressible ()
static bool liquidIsCompressible ()
static Scalar molarMass ()
static Scalar criticalTemperature ()
static Scalar criticalPressure ()
static Scalar tripleTemperature ()
static Scalar triplePressure ()
template<class Evaluation >
static Evaluation vaporPressure (const Evaluation &T)
template<class Evaluation >
static Evaluation gasEnthalpy (const Evaluation &temperature, const Evaluation &pressure)
template<class Evaluation >
static Evaluation liquidEnthalpy (const Evaluation &temperature, const Evaluation &pressure)
template<class Evaluation >
static Evaluation liquidHeatCapacity (const Evaluation &temperature, const Evaluation &pressure)
template<class Evaluation >
static Evaluation gasHeatCapacity (const Evaluation &temperature, const Evaluation &pressure)
template<class Evaluation >
static Evaluation gasInternalEnergy (const Evaluation &temperature, const Evaluation &pressure)
template<class Evaluation >
static Evaluation liquidInternalEnergy (const Evaluation &temperature, const Evaluation &pressure)
template<class Evaluation >
static Evaluation gasDensity (const Evaluation &temperature, const Evaluation &pressure)
template<class Evaluation >
static Evaluation liquidDensity (const Evaluation &temperature, const Evaluation &pressure)
template<class Evaluation >
static Evaluation gasPressure (const Evaluation &temperature, const Evaluation &density)
template<class Evaluation >
static Evaluation liquidPressure (const Evaluation &temperature, const Evaluation &density)
template<class Evaluation >
static Evaluation gasViscosity (const Evaluation &temperature, const Evaluation &pressure)
template<class Evaluation >
static Evaluation liquidViscosity (const Evaluation &temperature, const Evaluation &)

Static Public Attributes

static Scalar salinity = 0.1
 The mass fraction of salt assumed to be in the brine.

Detailed Description

template<class Scalar, class H2O>
class Opm::Brine< Scalar, H2O >

A class for the brine fluid properties.

Template Parameters:
Scalar The type used for scalar values
H2O Static polymorphism: the Brine class can access all properties of the H2O class

Member Function Documentation

template<class Scalar , class H2O >
static Scalar Opm::Brine< Scalar, H2O >::criticalPressure (  )  [inline, static]

Returns the critical pressure $\mathrm{[Pa]}$ of water.

Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.

template<class Scalar , class H2O >
static Scalar Opm::Brine< Scalar, H2O >::criticalTemperature (  )  [inline, static]

Returns the critical temperature $\mathrm{[K]}$ of water.

Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.

template<class Scalar , class H2O >
template<class Evaluation >
static Evaluation Opm::Brine< Scalar, H2O >::gasDensity ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

The density of steam in $\mathrm{[kg/m^3]}$ at a given pressure and 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

Parameters:
temperature Absolute temperature of the fluid in $\mathrm{[K]}$
pressure Phase pressure in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.

template<class Scalar , class H2O >
template<class Evaluation >
static Evaluation Opm::Brine< Scalar, H2O >::gasEnthalpy ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

Specific enthalpy $\mathrm{[J/kg]}$ of the pure component in gas.

Parameters:
temperature temperature of component in $\mathrm{[K]}$
pressure pressure of component in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.

template<class Scalar , class H2O >
template<class Evaluation >
static Evaluation Opm::Brine< Scalar, H2O >::gasHeatCapacity ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

Specific isobaric heat capacity of water steam $\mathrm{[J/kg]}$. 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

Parameters:
temperature Absolute temperature of the fluid in $\mathrm{[K]}$
pressure Phase pressure in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.

template<class Scalar , class H2O >
template<class Evaluation >
static Evaluation Opm::Brine< Scalar, H2O >::gasInternalEnergy ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

Specific internal energy of steam and water vapor $\mathrm{[J/kg]}$. 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

Parameters:
temperature Absolute temperature of the fluid in $\mathrm{[K]}$
pressure Phase pressure in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.

template<class Scalar , class H2O >
static bool Opm::Brine< Scalar, H2O >::gasIsCompressible (  )  [inline, static]

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

Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.

template<class Scalar , class H2O >
static bool Opm::Brine< Scalar, H2O >::gasIsIdeal (  )  [inline, static]

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

Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.

template<class Scalar , class H2O >
template<class Evaluation >
static Evaluation Opm::Brine< Scalar, H2O >::gasPressure ( const Evaluation &  temperature,
const Evaluation &  density 
) [inline, static]

The pressure of steam in $\mathrm{[Pa]}$ at a given density and 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

Parameters:
temperature Absolute temperature of the fluid in $\mathrm{[K]}$
density Density in $\mathrm{[kg/m^3]}$

template<class Scalar , class H2O >
template<class Evaluation >
static Evaluation Opm::Brine< Scalar, H2O >::gasViscosity ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

The dynamic viscosity $\mathrm{[Pa*s]}$ of steam. This method is only valid if pressure is below or at the vapor pressure of water.See:IAPWS: "Release on the IAPWS Formulation 2008 for the Viscosity of Ordinary Water Substance", http://www.iapws.org/relguide/visc.pdf

Parameters:
temperature Absolute temperature of the fluid in $\mathrm{[K]}$
pressure Phase pressure in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.

template<class Scalar , class H2O >
template<class Evaluation >
static Evaluation Opm::Brine< Scalar, H2O >::liquidDensity ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

The density $\mathrm{[kg/m^3]}$ of the liquid component at a given pressure in $\mathrm{[Pa]}$ and temperature in $\mathrm{[K]}$.

Parameters:
temperature temperature of component in $\mathrm{[K]}$
pressure pressure of component in $\mathrm{[Pa]}$

Equations given in:

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

Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.

template<class Scalar , class H2O >
template<class Evaluation >
static Evaluation Opm::Brine< Scalar, H2O >::liquidEnthalpy ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

Specific enthalpy $\mathrm{[J/kg]}$ of the pure component in liquid.

Parameters:
temperature temperature of component in $\mathrm{[K]}$
pressure pressure of component in $\mathrm{[Pa]}$

Equations given in:

  • Palliser & McKibbin 1997
  • Michaelides 1981
  • Daubert & Danner 1989

Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.

template<class Scalar , class H2O >
template<class Evaluation >
static Evaluation Opm::Brine< Scalar, H2O >::liquidHeatCapacity ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

Specific isobaric heat capacity of liquid water $\mathrm{[J/kg]}$. 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

Parameters:
temperature Absolute temperature of the fluid in $\mathrm{[K]}$
pressure Phase pressure in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.

template<class Scalar , class H2O >
template<class Evaluation >
static Evaluation Opm::Brine< Scalar, H2O >::liquidInternalEnergy ( const Evaluation &  temperature,
const Evaluation &  pressure 
) [inline, static]

Specific internal energy of liquid water $\mathrm{[J/kg]}$. 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

Parameters:
temperature Absolute temperature of the fluid in $\mathrm{[K]}$
pressure Phase pressure in $\mathrm{[Pa]}$

Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.

template<class Scalar , class H2O >
static bool Opm::Brine< Scalar, H2O >::liquidIsCompressible (  )  [inline, static]

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

Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.

template<class Scalar , class H2O >
template<class Evaluation >
static Evaluation Opm::Brine< Scalar, H2O >::liquidPressure ( const Evaluation &  temperature,
const Evaluation &  density 
) [inline, static]

The pressure of liquid water in $\mathrm{[Pa]}$ at a given density and 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

Parameters:
temperature Absolute temperature of the fluid in $\mathrm{[K]}$
density Density of the fluid in $\mathrm{[kg/m^3]}$

template<class Scalar , class H2O >
template<class Evaluation >
static Evaluation Opm::Brine< Scalar, H2O >::liquidViscosity ( const Evaluation &  temperature,
const Evaluation &   
) [inline, static]

The dynamic viscosity $\mathrm{[Pa*s]}$ of pure water. See:IAPWS: "Release on the IAPWS Formulation 2008 for the Viscosity of Ordinary Water Substance", http://www.iapws.org/relguide/visc.pdf

Parameters:
temperature Absolute temperature of the fluid in $\mathrm{[K]}$
pressure Phase pressure in $\mathrm{[Pa]}$

Equation given in:

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

Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.

template<class Scalar , class H2O >
static Scalar Opm::Brine< Scalar, H2O >::molarMass (  )  [inline, static]

The molar mass in $\mathrm{[kg]}$ of the component.

This assumes that the salt is pure NaCl.

Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.

template<class Scalar , class H2O >
static const char* Opm::Brine< Scalar, H2O >::name (  )  [inline, static]

A human readable name for the component.

Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.

template<class Scalar , class H2O >
static Scalar Opm::Brine< Scalar, H2O >::triplePressure (  )  [inline, static]

Returns the pressure $\mathrm{[Pa]}$ at water's triple point.

Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.

template<class Scalar , class H2O >
static Scalar Opm::Brine< Scalar, H2O >::tripleTemperature (  )  [inline, static]

Returns the temperature $\mathrm{[K]}$ at water's triple point.

Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.

template<class Scalar , class H2O >
template<class Evaluation >
static Evaluation Opm::Brine< Scalar, H2O >::vaporPressure ( const Evaluation &  T  )  [inline, static]

The vapor pressure in $\mathrm{[Pa]}$ 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

Parameters:
T Absolute temperature of the system in $\mathrm{[K]}$

Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.


Member Data Documentation

template<class Scalar , class H2O >
Scalar Opm::Brine< Scalar, H2O >::salinity = 0.1 [inline, static]

The mass fraction of salt assumed to be in the brine.

Default value for the salinity of the brine (dimensionless).


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

Generated on 25 Mar 2018 by  doxygen 1.6.1