27 #ifndef OPM_ECL_SPECROCK_LAW_HPP
28 #define OPM_ECL_SPECROCK_LAW_HPP
43 template <
class ScalarT,
44 class ParamsT = EclSpecrockLawParams<ScalarT> >
48 typedef ParamsT Params;
49 typedef typename Params::Scalar Scalar;
54 template <
class Flu
idState,
class Evaluation =
typename Flu
idState::Scalar>
57 const auto& T = fluidState.temperature(0);
58 return params.internalEnergyFunction().eval(T,
true);
The default implementation of a parameter object for the ECL thermal law based on SPECROCK.
A number of commonly used algebraic functions for the localized OPM automatic differentiation (AD) fr...
Implements the volumetric interior energy relations of rock used by ECL.
Definition: EclSpecrockLaw.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: EclSpecrockLaw.hpp:55