27 #ifndef OPM_ECL_THERMAL_CONDUCTION_LAW_MULTIPLEXER_HPP
28 #define OPM_ECL_THERMAL_CONDUCTION_LAW_MULTIPLEXER_HPP
45 template <
class ScalarT,
47 class ParamsT = EclThermalConductionLawMultiplexerParams<ScalarT>>
50 enum { numPhases = FluidSystem::numPhases };
57 typedef ParamsT Params;
58 typedef typename Params::Scalar Scalar;
63 template <
class Flu
idState,
class Evaluation =
typename Flu
idState::Scalar>
65 const FluidState& fluidState)
67 switch (params.thermalConductionApproach()) {
68 case Params::thconrApproach:
72 case Params::thcApproach:
76 case Params::nullApproach:
81 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.
A number of commonly used algebraic functions for the localized OPM automatic differentiation (AD) fr...
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:47
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:57
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:49
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:64
Implements a dummy law for thermal conduction to which isothermal models can fall back to.
Definition: NullThermalConductionLaw.hpp:44
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:56