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 >:
Inheritance graph

Public Types

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

Public Member Functions

 PiecewiseLinearTwoPhaseMaterialParams ()
 
void finalize ()
 Calculate all dependent quantities once the independent quantities of the parameter object have been set. More...
 
const ValueVectorSwKrwSamples () const
 Return the wetting-phase saturation values of all sampling points. More...
 
const ValueVectorSwKrnSamples () const
 Return the wetting-phase saturation values of all sampling points. More...
 
const ValueVectorSwPcwnSamples () const
 Return the wetting-phase saturation values of all sampling points. More...
 
const ValueVectorpcnwSamples () const
 Return the sampling points for the capillary pressure curve. More...
 
template<class Container >
void setPcnwSamples (const Container &SwValues, const Container &values)
 Set the sampling points for the capillary pressure curve. More...
 
const ValueVectorkrwSamples () const
 Return the sampling points for the relative permeability curve of the wetting phase. More...
 
template<class Container >
void setKrwSamples (const Container &SwValues, const Container &values)
 Set the sampling points for the relative permeability curve of the wetting phase. More...
 
const ValueVectorkrnSamples () const
 Return the sampling points for the relative permeability curve of the non-wetting phase. More...
 
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. More...
 

Protected Member Functions

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 Typedef Documentation

◆ Traits

template<class TraitsT >
using Opm::PiecewiseLinearTwoPhaseMaterialParams< TraitsT >::Traits = TraitsT

◆ ValueVector

template<class TraitsT >
using Opm::PiecewiseLinearTwoPhaseMaterialParams< TraitsT >::ValueVector = std::vector<Scalar>

Constructor & Destructor Documentation

◆ PiecewiseLinearTwoPhaseMaterialParams()

template<class TraitsT >
Opm::PiecewiseLinearTwoPhaseMaterialParams< TraitsT >::PiecewiseLinearTwoPhaseMaterialParams ( )
inline

Member Function Documentation

◆ check()

void Opm::EnsureFinalized::check ( ) const
inlineprotectedinherited

Referenced by Opm::ThreePhaseParkerVanGenuchtenParams< TraitsT >::betaGN(), Opm::ThreePhaseParkerVanGenuchtenParams< TraitsT >::betaNW(), Opm::ParkerLenhardParams< TraitsT >::csc(), Opm::ParkerLenhardParams< TraitsT >::currentSnr(), Opm::EclHeatcrLawParams< ScalarT >::dRockHeatCapacity_dT(), Opm::TwoPhaseLETCurvesParams< TraitsT >::dS(), Opm::TwoPhaseLETCurvesParams< TraitsT >::dSpc(), Opm::EclThconrLawParams< ScalarT >::dTotalThermalConductivity_dSg(), Opm::TwoPhaseLETCurvesParams< TraitsT >::E(), Opm::BrooksCoreyParams< TraitsT >::entryPressure(), Opm::TwoPhaseLETCurvesParams< TraitsT >::Epc(), Opm::EclStone1MaterialParams< Traits, GasOilLawT, OilWaterLawT >::eta(), Opm::EclDefaultMaterialParams< Traits, GasOilParamsT, OilWaterParamsT >::gasOilParams(), Opm::EclStone1MaterialParams< Traits, GasOilLawT, OilWaterLawT >::gasOilParams(), Opm::EclStone2MaterialParams< Traits, GasOilParamsT, OilWaterParamsT >::gasOilParams(), Opm::EclTwoPhaseMaterialParams< Traits, GasOilParamsT, OilWaterParamsT, GasWaterParamsT >::gasOilParams(), Opm::EclTwoPhaseMaterialParams< Traits, GasOilParamsT, OilWaterParamsT, GasWaterParamsT >::gasWaterParams(), Opm::EclSpecrockLawParams< ScalarT >::internalEnergyFunction(), Opm::PiecewiseLinearTwoPhaseMaterialParams< TraitsT >::krnSamples(), Opm::SplineTwoPhaseMaterialParams< TraitsT >::krnSpline(), Opm::EclStone1MaterialParams< Traits, GasOilLawT, OilWaterLawT >::krocw(), Opm::ThreePhaseParkerVanGenuchtenParams< TraitsT >::krRegardsSnr(), Opm::TwoPhaseLETCurvesParams< TraitsT >::Krt(), Opm::PiecewiseLinearTwoPhaseMaterialParams< TraitsT >::krwSamples(), Opm::SplineTwoPhaseMaterialParams< TraitsT >::krwSpline(), Opm::TwoPhaseLETCurvesParams< TraitsT >::L(), Opm::BrooksCoreyParams< TraitsT >::lambda(), Opm::TwoPhaseLETCurvesParams< TraitsT >::Lpc(), Opm::ParkerLenhardParams< TraitsT >::mdc(), Opm::ParkerLenhardParams< TraitsT >::mdcParams(), Opm::ParkerLenhardParams< TraitsT >::micParams(), Opm::EclDefaultMaterialParams< Traits, GasOilParamsT, OilWaterParamsT >::oilWaterParams(), Opm::EclStone1MaterialParams< Traits, GasOilLawT, OilWaterLawT >::oilWaterParams(), Opm::EclStone2MaterialParams< Traits, GasOilParamsT, OilWaterParamsT >::oilWaterParams(), Opm::EclTwoPhaseMaterialParams< Traits, GasOilParamsT, OilWaterParamsT, GasWaterParamsT >::oilWaterParams(), Opm::TwoPhaseLETCurvesParams< TraitsT >::Pcir(), Opm::LinearMaterialParams< TraitsT >::pcMaxSat(), Opm::LinearMaterialParams< TraitsT >::pcMinSat(), Opm::RegularizedBrooksCoreyParams< TraitsT >::pcnwHigh(), Opm::RegularizedVanGenuchtenParams< TraitsT >::pcnwHigh(), Opm::RegularizedVanGenuchtenParams< TraitsT >::pcnwHighSpline(), Opm::RegularizedVanGenuchtenParams< TraitsT >::pcnwHighSw(), Opm::RegularizedBrooksCoreyParams< TraitsT >::pcnwLow(), Opm::RegularizedVanGenuchtenParams< TraitsT >::pcnwLow(), Opm::RegularizedBrooksCoreyParams< TraitsT >::pcnwLowSw(), Opm::RegularizedVanGenuchtenParams< TraitsT >::pcnwLowSw(), Opm::PiecewiseLinearTwoPhaseMaterialParams< TraitsT >::pcnwSamples(), Opm::RegularizedBrooksCoreyParams< TraitsT >::pcnwSlopeHigh(), Opm::RegularizedVanGenuchtenParams< TraitsT >::pcnwSlopeHigh(), Opm::RegularizedBrooksCoreyParams< TraitsT >::pcnwSlopeLow(), Opm::RegularizedVanGenuchtenParams< TraitsT >::pcnwSlopeLow(), Opm::SplineTwoPhaseMaterialParams< TraitsT >::pcnwSpline(), Opm::TwoPhaseLETCurvesParams< TraitsT >::Pct(), Opm::ParkerLenhardParams< TraitsT >::pisc(), Opm::EclThcLawParams< ScalarT >::porosity(), Opm::EclHeatcrLawParams< ScalarT >::referenceRockHeatCapacity(), Opm::EclThconrLawParams< ScalarT >::referenceTotalThermalConductivity(), Opm::EffToAbsLawParams< EffLawParamsT, numPhases >::residualSaturation(), Opm::ThreePhaseParkerVanGenuchtenParams< TraitsT >::Sgr(), Opm::TwoPhaseLETCurvesParams< TraitsT >::Smin(), Opm::TwoPhaseLETCurvesParams< TraitsT >::Sminpc(), Opm::ParkerLenhardParams< TraitsT >::Snr(), Opm::ThreePhaseParkerVanGenuchtenParams< TraitsT >::Snr(), Opm::ConstantSolidHeatCapLawParams< ScalarT >::solidHeatCapacity(), Opm::EffToAbsLawParams< EffLawParamsT, numPhases >::sumResidualSaturations(), Opm::PiecewiseLinearTwoPhaseMaterialParams< TraitsT >::SwKrnSamples(), Opm::PiecewiseLinearTwoPhaseMaterialParams< TraitsT >::SwKrwSamples(), Opm::EclDefaultMaterialParams< Traits, GasOilParamsT, OilWaterParamsT >::Swl(), Opm::EclStone1MaterialParams< Traits, GasOilLawT, OilWaterLawT >::Swl(), Opm::EclStone2MaterialParams< Traits, GasOilParamsT, OilWaterParamsT >::Swl(), Opm::PiecewiseLinearTwoPhaseMaterialParams< TraitsT >::SwPcwnSamples(), Opm::ThreePhaseParkerVanGenuchtenParams< TraitsT >::Swr(), Opm::ParkerLenhardParams< TraitsT >::SwrKr(), Opm::ParkerLenhardParams< TraitsT >::SwrPc(), Opm::ThreePhaseParkerVanGenuchtenParams< TraitsT >::Swrx(), Opm::TwoPhaseLETCurvesParams< TraitsT >::T(), Opm::EclThcLawParams< ScalarT >::thcgas(), Opm::EclThcLawParams< ScalarT >::thcoil(), Opm::EclThcLawParams< ScalarT >::thcrock(), Opm::EclThcLawParams< ScalarT >::thcwater(), Opm::TwoPhaseLETCurvesParams< TraitsT >::Tpc(), Opm::ThreePhaseParkerVanGenuchtenParams< TraitsT >::vgAlpha(), Opm::VanGenuchtenParams< TraitsT >::vgAlpha(), Opm::ThreePhaseParkerVanGenuchtenParams< TraitsT >::vgM(), Opm::VanGenuchtenParams< TraitsT >::vgM(), Opm::ThreePhaseParkerVanGenuchtenParams< TraitsT >::vgN(), and Opm::VanGenuchtenParams< TraitsT >::vgN().

◆ finalize()

template<class TraitsT >
void Opm::PiecewiseLinearTwoPhaseMaterialParams< TraitsT >::finalize ( )
inline

Calculate all dependent quantities once the independent quantities of the parameter object have been set.

References Opm::EnsureFinalized::finalize().

◆ 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

References Opm::EnsureFinalized::check().

◆ 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

References Opm::EnsureFinalized::check().

◆ 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

References Opm::EnsureFinalized::check().

◆ 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

◆ SwKrnSamples()

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

Return the wetting-phase saturation values of all sampling points.

References Opm::EnsureFinalized::check().

◆ SwKrwSamples()

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

Return the wetting-phase saturation values of all sampling points.

References Opm::EnsureFinalized::check().

◆ SwPcwnSamples()

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

Return the wetting-phase saturation values of all sampling points.

References Opm::EnsureFinalized::check().


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