27 #ifndef OPM_ECL_HEATCR_LAW_PARAMS_HPP 28 #define OPM_ECL_HEATCR_LAW_PARAMS_HPP 38 template <
class ScalarT>
42 using Scalar = ScalarT;
56 { referenceTemperature_ =
value; }
62 {
return referenceTemperature_; }
68 { referenceRockHeatCapacity_ =
value; }
74 { EnsureFinalized::check();
return referenceRockHeatCapacity_; }
80 { dRockHeatCapacity_dT_ =
value; }
86 { EnsureFinalized::check();
return dRockHeatCapacity_dT_; }
89 static Scalar referenceTemperature_;
91 Scalar referenceRockHeatCapacity_{};
92 Scalar dRockHeatCapacity_dT_{};
95 template <
class ScalarT>
96 ScalarT EclHeatcrLawParams<ScalarT>::referenceTemperature_ = 273.15 + 15.56;
Scalar referenceRockHeatCapacity() const
The specific heat capacity of rock.
Definition: EclHeatcrLawParams.hpp:73
The default implementation of a parameter object for the ECL thermal law.
Definition: EclHeatcrLawParams.hpp:39
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:30
static void setReferenceTemperature(Scalar value)
Set the reference temperature for the thermal law.
Definition: EclHeatcrLawParams.hpp:55
Default implementation for asserting finalization of parameter objects.
void setDRockHeatCapacity_dT(Scalar value)
Set the derivative of the specific heat capacity of rock w.r.t.
Definition: EclHeatcrLawParams.hpp:79
static Scalar referenceTemperature()
Return the reference temperature for the thermal law.
Definition: EclHeatcrLawParams.hpp:61
Default implementation for asserting finalization of parameter objects.
Definition: EnsureFinalized.hpp:48
void setReferenceRockHeatCapacity(Scalar value)
Set the specific heat capacity of rock.
Definition: EclHeatcrLawParams.hpp:67
Scalar dRockHeatCapacity_dT() const
The derivative of the specific heat capacity of rock w.r.t.
Definition: EclHeatcrLawParams.hpp:85