27#ifndef OPM_ECL_THC_LAW_HPP
28#define OPM_ECL_THC_LAW_HPP
43template <
class ScalarT,
44 class ParamsT = EclThcLawParams<ScalarT>>
49 using Scalar =
typename Params::Scalar;
55 template <
class Flu
idState,
class Evaluation =
typename Flu
idState::Scalar>
62 Scalar poro = params.porosity();
70 constexpr const Scalar numPhases = 3.0;
72 poro*(params.thcoil() + params.thcgas() + params.thcwater()) / numPhases
73 + (1.0 - poro)*params.thcrock();
Implements the total thermal conductivity and rock enthalpy relations used by ECL.
Definition: EclThcLaw.hpp:46
typename Params::Scalar Scalar
Definition: EclThcLaw.hpp:49
ParamsT Params
Definition: EclThcLaw.hpp:48
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
Definition: Air_Mesitylene.hpp:34