27 #ifndef OPM_ECL_THERMAL_CONDUCTION_LAW_MULTIPLEXER_HPP
28 #define OPM_ECL_THERMAL_CONDUCTION_LAW_MULTIPLEXER_HPP
46 template <
class ScalarT,
48 class ParamsT = EclThermalConductionLawMultiplexerParams<ScalarT>>
51 enum { numPhases = FluidSystem::numPhases };
58 using Params = ParamsT;
59 using Scalar =
typename Params::Scalar;
64 template <
class Flu
idState,
class Evaluation =
typename Flu
idState::Scalar>
66 const FluidState& fluidState)
68 switch (params.thermalConductionApproach()) {
69 case Params::thconrApproach:
73 case Params::thcApproach:
77 case Params::nullApproach:
82 throw std::logic_error(
"Invalid thermal conductivity approach: "+std::to_string(
int(params.thermalConductionApproach())));
Implements the total thermal conductivity and rock enthalpy relations used by ECL.
Implements the total thermal conductivity relations specified by the ECL THCONR.
The default implementation of a parameter object for the ECL thermal law.
Implements a dummy law for thermal conduction to which isothermal models can fall back to.
Implements the total thermal conductivity and rock enthalpy relations used by ECL.
Definition: EclThcLaw.hpp:46
static Evaluation thermalConductivity(const Params ¶ms, const FluidState &)
Given a fluid state, return the total thermal conductivity [W/m^2 / (K/m)] of the porous medium.
Definition: EclThcLaw.hpp:56
Implements the total thermal conductivity relations specified by the ECL THCONR.
Definition: EclThconrLaw.hpp:45
static Evaluation thermalConductivity(const Params ¶ms, const FluidState &fluidState)
Given a fluid state, return the total thermal conductivity [W/m^2 / (K/m)] of the porous medium.
Definition: EclThconrLaw.hpp:55
Implements the total thermal conductivity and rock enthalpy relations used by ECL.
Definition: EclThermalConductionLawMultiplexer.hpp:50
static Evaluation thermalConductivity(const Params ¶ms, const FluidState &fluidState)
Given a fluid state, compute the volumetric internal energy of the rock [W/m^3].
Definition: EclThermalConductionLawMultiplexer.hpp:65
Implements a dummy law for thermal conduction to which isothermal models can fall back to.
Definition: NullThermalConductionLaw.hpp:42
static Evaluation thermalConductivity(const Params &, const FluidState &)
Given a fluid state, return the effective thermal conductivity [W/m^2 / (K/m)] of the porous medium.
Definition: NullThermalConductionLaw.hpp:54