My Project
PiecewiseLinearTwoPhaseMaterial.hpp File Reference

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

#include "PiecewiseLinearTwoPhaseMaterialParams.hpp"
#include <opm/material/common/MathToolbox.hpp>
#include <stdexcept>
#include <type_traits>

Go to the source code of this file.

Classes

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

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.