27#ifndef OPM_ECL_HEATCR_LAW_HPP
28#define OPM_ECL_HEATCR_LAW_HPP
42template <
class ScalarT,
44 class ParamsT = EclHeatcrLawParams<ScalarT> >
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);
Properties of pure molecular methane .
Definition: C1.hpp:49
Implements the volumetric interior energy relations of rock used by ECL.
Definition: EclHeatcrLaw.hpp:46
typename Params::Scalar Scalar
Definition: EclHeatcrLaw.hpp:49
ParamsT Params
Definition: EclHeatcrLaw.hpp:48
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
Definition: Air_Mesitylene.hpp:34