27 #ifndef OPM_ECL_SPECROCK_LAW_HPP
28 #define OPM_ECL_SPECROCK_LAW_HPP
42 template <
class ScalarT,
43 class ParamsT = EclSpecrockLawParams<ScalarT> >
47 using Params = ParamsT;
48 using Scalar =
typename Params::Scalar;
53 template <
class Flu
idState,
class Evaluation =
typename Flu
idState::Scalar>
56 const auto& T = fluidState.temperature(0);
57 return params.internalEnergyFunction().eval(T,
true);
The default implementation of a parameter object for the ECL thermal law based on SPECROCK.
Implements the volumetric interior energy relations of rock used by ECL.
Definition: EclSpecrockLaw.hpp:45
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: EclSpecrockLaw.hpp:54