Opm::Somerton< FluidSystem, ScalarT, ParamsT > Class Template Reference

Implements the Somerton law of heat conductivity in a porous medium. More...

#include <Somerton.hpp>

Public Types

typedef ParamsT Params
 
typedef Params::Scalar Scalar
 

Static Public Member Functions

template<class FluidState , class Evaluation = Scalar>
static Evaluation heatConductivity (const Params &params, const FluidState &fluidState)
 Given a fluid state, return the effective heat conductivity [W/m^2 / (K/m)] of the porous medium. More...
 

Static Protected Member Functions

template<class Evaluation >
static Evaluation regularizedSqrt_ (const Evaluation &x)
 

Detailed Description

template<class FluidSystem, class ScalarT, class ParamsT = SomertonParams<FluidSystem::numPhases, ScalarT>>
class Opm::Somerton< FluidSystem, ScalarT, ParamsT >

Implements the Somerton law of heat conductivity in a porous medium.

See:

W.H. Somerton, A.H. El-Shaarani and S.M. Mobarak: High Temperature Behavior of Rocks Associated with Geothermal Type Reservoirs, paper SPE-4897 presentet at SPE California Regional Meeting 1974, 1974

or

H. Class: Theorie und numerische Modellierung nichtisothermer Mehrphasenprozesse in NAPL kontaminierten poroesen Medien, PhD thesis, Technical University of Braunschweig, 2000

Member Typedef Documentation

template<class FluidSystem , class ScalarT , class ParamsT = SomertonParams<FluidSystem::numPhases, ScalarT>>
typedef ParamsT Opm::Somerton< FluidSystem, ScalarT, ParamsT >::Params
template<class FluidSystem , class ScalarT , class ParamsT = SomertonParams<FluidSystem::numPhases, ScalarT>>
typedef Params::Scalar Opm::Somerton< FluidSystem, ScalarT, ParamsT >::Scalar

Member Function Documentation

template<class FluidSystem , class ScalarT , class ParamsT = SomertonParams<FluidSystem::numPhases, ScalarT>>
template<class FluidState , class Evaluation = Scalar>
static Evaluation Opm::Somerton< FluidSystem, ScalarT, ParamsT >::heatConductivity ( const Params params,
const FluidState &  fluidState 
)
inlinestatic

Given a fluid state, return the effective heat conductivity [W/m^2 / (K/m)] of the porous medium.

For two phases, the Somerton law is given by:

\[ \lambda_{pm} = \lambda_{ful,g} + \sqrt{S_w}(\lambda_{ful,w} - \lambda_{vac}) + \sqrt{S_n}(\lambda_{ful,n} - \lambda_{vac}) \]

where $\lambda_{vac}$ is the heat conductivity of the porous medium at vacuum, $\lambda_{ful,\alpha}$ is the heat conductivty of the porous medium if it is fully saturated by phase $\alpha$ and $S_\alpha$ is the saturation of phase $\alpha$.

References Valgrind::CheckDefined(), Opm::LocalAd::max(), Opm::LocalAd::min(), and Opm::Somerton< FluidSystem, ScalarT, ParamsT >::regularizedSqrt_().

template<class FluidSystem , class ScalarT , class ParamsT = SomertonParams<FluidSystem::numPhases, ScalarT>>
template<class Evaluation >
static Evaluation Opm::Somerton< FluidSystem, ScalarT, ParamsT >::regularizedSqrt_ ( const Evaluation &  x)
inlinestaticprotected

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