PiecewiseLinearTwoPhaseMaterial.hpp File Reference

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

#include "PiecewiseLinearTwoPhaseMaterialParams.hpp"
#include <opm/common/ErrorMacros.hpp>
#include <opm/common/Exceptions.hpp>
#include <opm/material/common/MathToolbox.hpp>
#include <algorithm>
#include <cmath>
#include <cassert>
Include dependency graph for PiecewiseLinearTwoPhaseMaterial.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Opm::PiecewiseLinearTwoPhaseMaterial< TraitsT, ParamsT >
 Implementation of a tabulated, piecewise linear capillary pressure law. More...
 

Namespaces

 Opm
 

Detailed Description

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.