A class for the brine fluid properties. More...
#include <Brine.hpp>
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. |
A class for the brine fluid properties.
Scalar | The type used for scalar values | |
H2O | Static polymorphism: the Brine class can access all properties of the H2O class |
static Scalar Opm::Brine< Scalar, H2O >::criticalPressure | ( | ) | [inline, static] |
Returns the critical pressure of water.
Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.
static Scalar Opm::Brine< Scalar, H2O >::criticalTemperature | ( | ) | [inline, static] |
Returns the critical temperature of water.
Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.
static Evaluation Opm::Brine< Scalar, H2O >::gasDensity | ( | const Evaluation & | temperature, | |
const Evaluation & | pressure | |||
) | [inline, static] |
The density of steam in 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
temperature | Absolute temperature of the fluid in ![]() | |
pressure | Phase pressure in ![]() |
Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.
static Evaluation Opm::Brine< Scalar, H2O >::gasEnthalpy | ( | const Evaluation & | temperature, | |
const Evaluation & | pressure | |||
) | [inline, static] |
Specific enthalpy of the pure component in gas.
temperature | temperature of component in ![]() | |
pressure | pressure of component in ![]() |
Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.
static Evaluation Opm::Brine< Scalar, H2O >::gasHeatCapacity | ( | const Evaluation & | temperature, | |
const Evaluation & | pressure | |||
) | [inline, static] |
Specific isobaric heat capacity of water steam . 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
temperature | Absolute temperature of the fluid in ![]() | |
pressure | Phase pressure in ![]() |
Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.
static Evaluation Opm::Brine< Scalar, H2O >::gasInternalEnergy | ( | const Evaluation & | temperature, | |
const Evaluation & | pressure | |||
) | [inline, static] |
Specific internal energy of steam and water vapor . 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
temperature | Absolute temperature of the fluid in ![]() | |
pressure | Phase pressure in ![]() |
Reimplemented from Opm::Component< Scalar, Brine< Scalar, 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 > >.
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 > >.
static Evaluation Opm::Brine< Scalar, H2O >::gasPressure | ( | const Evaluation & | temperature, | |
const Evaluation & | density | |||
) | [inline, static] |
The pressure of steam in 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
temperature | Absolute temperature of the fluid in ![]() | |
density | Density in ![]() |
static Evaluation Opm::Brine< Scalar, H2O >::gasViscosity | ( | const Evaluation & | temperature, | |
const Evaluation & | pressure | |||
) | [inline, static] |
The dynamic viscosity 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
temperature | Absolute temperature of the fluid in ![]() | |
pressure | Phase pressure in ![]() |
Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.
static Evaluation Opm::Brine< Scalar, H2O >::liquidDensity | ( | const Evaluation & | temperature, | |
const Evaluation & | pressure | |||
) | [inline, static] |
The density of the liquid component at a given pressure in
and temperature in
.
temperature | temperature of component in ![]() | |
pressure | pressure of component in ![]() |
Equations given in:
Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.
static Evaluation Opm::Brine< Scalar, H2O >::liquidEnthalpy | ( | const Evaluation & | temperature, | |
const Evaluation & | pressure | |||
) | [inline, static] |
Specific enthalpy of the pure component in liquid.
temperature | temperature of component in ![]() | |
pressure | pressure of component in ![]() |
Equations given in:
Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.
static Evaluation Opm::Brine< Scalar, H2O >::liquidHeatCapacity | ( | const Evaluation & | temperature, | |
const Evaluation & | pressure | |||
) | [inline, static] |
Specific isobaric heat capacity of liquid water . 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
temperature | Absolute temperature of the fluid in ![]() | |
pressure | Phase pressure in ![]() |
Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.
static Evaluation Opm::Brine< Scalar, H2O >::liquidInternalEnergy | ( | const Evaluation & | temperature, | |
const Evaluation & | pressure | |||
) | [inline, static] |
Specific internal energy of liquid water . 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
temperature | Absolute temperature of the fluid in ![]() | |
pressure | Phase pressure in ![]() |
Reimplemented from Opm::Component< Scalar, Brine< Scalar, 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 > >.
static Evaluation Opm::Brine< Scalar, H2O >::liquidPressure | ( | const Evaluation & | temperature, | |
const Evaluation & | density | |||
) | [inline, static] |
The pressure of liquid water in 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
temperature | Absolute temperature of the fluid in ![]() | |
density | Density of the fluid in ![]() |
static Evaluation Opm::Brine< Scalar, H2O >::liquidViscosity | ( | const Evaluation & | temperature, | |
const Evaluation & | ||||
) | [inline, static] |
The dynamic viscosity 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
temperature | Absolute temperature of the fluid in ![]() | |
pressure | Phase pressure in ![]() |
Equation given in:
Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.
static Scalar Opm::Brine< Scalar, H2O >::molarMass | ( | ) | [inline, static] |
The molar mass in of the component.
This assumes that the salt is pure NaCl.
Reimplemented from Opm::Component< Scalar, Brine< Scalar, 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 > >.
static Scalar Opm::Brine< Scalar, H2O >::triplePressure | ( | ) | [inline, static] |
Returns the pressure at water's triple point.
Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.
static Scalar Opm::Brine< Scalar, H2O >::tripleTemperature | ( | ) | [inline, static] |
Returns the temperature at water's triple point.
Reimplemented from Opm::Component< Scalar, Brine< Scalar, H2O > >.
static Evaluation Opm::Brine< Scalar, H2O >::vaporPressure | ( | const Evaluation & | T | ) | [inline, static] |
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
T | Absolute temperature of the system in ![]() |
Reimplemented from Opm::Component< Scalar, Brine< Scalar, 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).