27#ifndef OPM_CONSTANT_SOLID_HEAT_CAP_LAW_HPP
28#define OPM_CONSTANT_SOLID_HEAT_CAP_LAW_HPP
41template <
class ScalarT,
42 class ParamsT = ConstantSolidHeatCapLawParams<ScalarT> >
46 typedef ParamsT Params;
47 typedef typename Params::Scalar Scalar;
52 template <
class Flu
idState,
class Evaluation =
typename Flu
idState::Scalar>
55 const Evaluation& T = fluidState.temperature(0);
57 Scalar cp = params.solidHeatCapacity();
The default implementation of a parameter object for the solid energy storage law which assumes const...
A number of commonly used algebraic functions for the localized OPM automatic differentiation (AD) fr...
Implements a solid energy storage law which assumes constant heat capacity.
Definition ConstantSolidHeatCapLaw.hpp:44
static Evaluation solidInternalEnergy(const Params ¶ms, const FluidState &fluidState)
Given a fluid state, compute the volumetric internal energy of the solid matrix [W/m^3].
Definition ConstantSolidHeatCapLaw.hpp:53
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30