27#ifndef OPM_ECL_HEATCR_LAW_HPP
28#define OPM_ECL_HEATCR_LAW_HPP
42template <
class ScalarT,
44 class ParamsT = EclHeatcrLawParams<ScalarT> >
48 using Params = ParamsT;
49 using Scalar =
typename Params::Scalar;
54 template <
class Flu
idState,
class Evaluation =
typename Flu
idState::Scalar>
57 const Evaluation& T = fluidState.temperature(0);
58 const Evaluation& deltaT = T - params.referenceTemperature();
60 Scalar C0 = params.referenceRockHeatCapacity();
61 Scalar
C1 = params.dRockHeatCapacity_dT();
63 return deltaT*(C0 + deltaT*
C1 / 2.0);
The default implementation of a parameter object for the ECL thermal law.
Properties of pure molecular methane .
Definition C1.hpp:51
Implements the volumetric interior energy relations of rock used by ECL.
Definition EclHeatcrLaw.hpp:46
static Evaluation solidInternalEnergy(const Params ¶ms, const FluidState &fluidState)
Given a fluid state, compute the volumetric internal energy of the rock [W/m^3].
Definition EclHeatcrLaw.hpp:55
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30