Opm::PiecewiseLinearTwoPhaseMaterial< TraitsT, ParamsT > Class Template Reference

Implementation of a tabulated, piecewise linear capillary pressure law. More...

#include <PiecewiseLinearTwoPhaseMaterial.hpp>

Inheritance diagram for Opm::PiecewiseLinearTwoPhaseMaterial< TraitsT, ParamsT >:
Inheritance graph

Public Types

typedef TraitsT Traits
 The traits class for this material law. More...
 
typedef ParamsT Params
 The type of the parameter objects for this law. More...
 
typedef Traits::Scalar Scalar
 The type of the scalar values for this law. More...
 

Static Public Attributes

static const int numPhases = Traits::numPhases
 The number of fluid phases. More...
 

Detailed Description

template<class TraitsT, class ParamsT = PiecewiseLinearTwoPhaseMaterialParams<TraitsT>>
class Opm::PiecewiseLinearTwoPhaseMaterial< TraitsT, ParamsT >

Implementation of a tabulated, piecewise linear capillary pressure law.

It would be equally possible to use cubic splines, but since the ECLIPSE reservoir simulator uses linear interpolation for capillary pressure and relperm curves, we do the same.

Member Typedef Documentation

template<class TraitsT , class ParamsT = PiecewiseLinearTwoPhaseMaterialParams<TraitsT>>
typedef ParamsT Opm::PiecewiseLinearTwoPhaseMaterial< TraitsT, ParamsT >::Params

The type of the parameter objects for this law.

template<class TraitsT , class ParamsT = PiecewiseLinearTwoPhaseMaterialParams<TraitsT>>
typedef Traits::Scalar Opm::PiecewiseLinearTwoPhaseMaterial< TraitsT, ParamsT >::Scalar

The type of the scalar values for this law.

template<class TraitsT , class ParamsT = PiecewiseLinearTwoPhaseMaterialParams<TraitsT>>
typedef TraitsT Opm::PiecewiseLinearTwoPhaseMaterial< TraitsT, ParamsT >::Traits

The traits class for this material law.

Member Data Documentation

template<class TraitsT , class ParamsT = PiecewiseLinearTwoPhaseMaterialParams<TraitsT>>
const int Opm::PiecewiseLinearTwoPhaseMaterial< TraitsT, ParamsT >::numPhases = Traits::numPhases
static

The number of fluid phases.


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