Opm::EclHeatcrLawParams< ScalarT > Class Template Reference

The default implementation of a parameter object for the ECL thermal law. More...

#include <EclHeatcrLawParams.hpp>

Inheritance diagram for Opm::EclHeatcrLawParams< ScalarT >:
Inheritance graph

Public Types

using Scalar = ScalarT
 

Public Member Functions

 EclHeatcrLawParams (const EclHeatcrLawParams &)=default
 
 EclHeatcrLawParams ()
 
void setReferenceRockHeatCapacity (Scalar value)
 Set the specific heat capacity of rock. More...
 
Scalar referenceRockHeatCapacity () const
 The specific heat capacity of rock. More...
 
void setDRockHeatCapacity_dT (Scalar value)
 Set the derivative of the specific heat capacity of rock w.r.t. temperature. More...
 
Scalar dRockHeatCapacity_dT () const
 The derivative of the specific heat capacity of rock w.r.t. temperature. More...
 
void finalize ()
 Mark the object as finalized. More...
 

Static Public Member Functions

static void setReferenceTemperature (Scalar value)
 Set the reference temperature for the thermal law. More...
 
static Scalar referenceTemperature ()
 Return the reference temperature for the thermal law. More...
 

Protected Member Functions

void check () const
 

Detailed Description

template<class ScalarT>
class Opm::EclHeatcrLawParams< ScalarT >

The default implementation of a parameter object for the ECL thermal law.

Member Typedef Documentation

◆ Scalar

template<class ScalarT >
using Opm::EclHeatcrLawParams< ScalarT >::Scalar = ScalarT

Constructor & Destructor Documentation

◆ EclHeatcrLawParams() [1/2]

template<class ScalarT >
Opm::EclHeatcrLawParams< ScalarT >::EclHeatcrLawParams ( const EclHeatcrLawParams< ScalarT > &  )
default

◆ EclHeatcrLawParams() [2/2]

template<class ScalarT >
Opm::EclHeatcrLawParams< ScalarT >::EclHeatcrLawParams ( )
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().

◆ dRockHeatCapacity_dT()

template<class ScalarT >
Scalar Opm::EclHeatcrLawParams< ScalarT >::dRockHeatCapacity_dT ( ) const
inline

The derivative of the specific heat capacity of rock w.r.t. temperature.

References Opm::EnsureFinalized::check().

◆ finalize()

◆ referenceRockHeatCapacity()

template<class ScalarT >
Scalar Opm::EclHeatcrLawParams< ScalarT >::referenceRockHeatCapacity ( ) const
inline

The specific heat capacity of rock.

References Opm::EnsureFinalized::check().

◆ referenceTemperature()

template<class ScalarT >
static Scalar Opm::EclHeatcrLawParams< ScalarT >::referenceTemperature ( )
inlinestatic

Return the reference temperature for the thermal law.

◆ setDRockHeatCapacity_dT()

template<class ScalarT >
void Opm::EclHeatcrLawParams< ScalarT >::setDRockHeatCapacity_dT ( Scalar  value)
inline

Set the derivative of the specific heat capacity of rock w.r.t. temperature.

◆ setReferenceRockHeatCapacity()

template<class ScalarT >
void Opm::EclHeatcrLawParams< ScalarT >::setReferenceRockHeatCapacity ( Scalar  value)
inline

Set the specific heat capacity of rock.

◆ setReferenceTemperature()

template<class ScalarT >
static void Opm::EclHeatcrLawParams< ScalarT >::setReferenceTemperature ( Scalar  value)
inlinestatic

Set the reference temperature for the thermal law.

This is a bit hacky because only one temperature is possible, but some memory is saved this way. TODO: Solve this in a better way.


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