My Project
Loading...
Searching...
No Matches
Opm::PiecewiseLinearTwoPhaseMaterialParams< TraitsT > Class Template Reference

Specification of the material parameters for a two-phase material law which uses a table and piecewise constant interpolation. More...

#include <PiecewiseLinearTwoPhaseMaterialParams.hpp>

Inheritance diagram for Opm::PiecewiseLinearTwoPhaseMaterialParams< TraitsT >:
Opm::EnsureFinalized

Public Types

using ValueVector = std::vector< Scalar >
 
using Traits = TraitsT
 

Public Member Functions

void finalize ()
 Calculate all dependent quantities once the independent quantities of the parameter object have been set.
 
const ValueVector & SwKrwSamples () const
 Return the wetting-phase saturation values of all sampling points.
 
const ValueVector & SwKrnSamples () const
 Return the wetting-phase saturation values of all sampling points.
 
const ValueVector & SwPcwnSamples () const
 Return the wetting-phase saturation values of all sampling points.
 
const ValueVector & pcnwSamples () const
 Return the sampling points for the capillary pressure curve.
 
template<class Container >
void setPcnwSamples (const Container &SwValues, const Container &values)
 Set the sampling points for the capillary pressure curve.
 
const ValueVector & krwSamples () const
 Return the sampling points for the relative permeability curve of the wetting phase.
 
template<class Container >
void setKrwSamples (const Container &SwValues, const Container &values)
 Set the sampling points for the relative permeability curve of the wetting phase.
 
const ValueVector & krnSamples () const
 Return the sampling points for the relative permeability curve of the non-wetting phase.
 
template<class Container >
void setKrnSamples (const Container &SwValues, const Container &values)
 Set the sampling points for the relative permeability curve of the non-wetting phase.
 
- Public Member Functions inherited from Opm::EnsureFinalized
void finalize ()
 Mark the object as finalized.
 

Additional Inherited Members

- Protected Member Functions inherited from Opm::EnsureFinalized
 EnsureFinalized ()
 The default constructor.
 
void check () const
 

Detailed Description

template<class TraitsT>
class Opm::PiecewiseLinearTwoPhaseMaterialParams< TraitsT >

Specification of the material parameters for a two-phase material law which uses a table and piecewise constant interpolation.

Member Function Documentation

◆ krnSamples()

template<class TraitsT >
const ValueVector & Opm::PiecewiseLinearTwoPhaseMaterialParams< TraitsT >::krnSamples ( ) const
inline

Return the sampling points for the relative permeability curve of the non-wetting phase.

This curve is assumed to depend on the wetting phase saturation

◆ krwSamples()

template<class TraitsT >
const ValueVector & Opm::PiecewiseLinearTwoPhaseMaterialParams< TraitsT >::krwSamples ( ) const
inline

Return the sampling points for the relative permeability curve of the wetting phase.

This curve is assumed to depend on the wetting phase saturation

◆ pcnwSamples()

template<class TraitsT >
const ValueVector & Opm::PiecewiseLinearTwoPhaseMaterialParams< TraitsT >::pcnwSamples ( ) const
inline

Return the sampling points for the capillary pressure curve.

This curve is assumed to depend on the wetting phase saturation

◆ setKrnSamples()

template<class TraitsT >
template<class Container >
void Opm::PiecewiseLinearTwoPhaseMaterialParams< TraitsT >::setKrnSamples ( const Container &  SwValues,
const Container &  values 
)
inline

Set the sampling points for the relative permeability curve of the non-wetting phase.

This curve is assumed to depend on the wetting phase saturation

◆ setKrwSamples()

template<class TraitsT >
template<class Container >
void Opm::PiecewiseLinearTwoPhaseMaterialParams< TraitsT >::setKrwSamples ( const Container &  SwValues,
const Container &  values 
)
inline

Set the sampling points for the relative permeability curve of the wetting phase.

This curve is assumed to depend on the wetting phase saturation

◆ setPcnwSamples()

template<class TraitsT >
template<class Container >
void Opm::PiecewiseLinearTwoPhaseMaterialParams< TraitsT >::setPcnwSamples ( const Container &  SwValues,
const Container &  values 
)
inline

Set the sampling points for the capillary pressure curve.

This curve is assumed to depend on the wetting phase saturation


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