27 #ifndef OPM_SOMERTON_PARAMS_HPP
28 #define OPM_SOMERTON_PARAMS_HPP
38 template <
unsigned numPhases,
class ScalarT>
46 typedef ScalarT Scalar;
60 assert(0 <= phaseIdx && phaseIdx < numPhases);
62 return fullySaturatedLambda_[phaseIdx];
74 assert(0 <= phaseIdx && phaseIdx < numPhases);
77 fullySaturatedLambda_[phaseIdx] = value;
100 vacuumLambda_ = value;
104 Scalar fullySaturatedLambda_[numPhases];
105 Scalar vacuumLambda_;
void setFullySaturatedLambda(unsigned phaseIdx, Scalar value)
Set the "fully saturated" heat conductivity of the porous medium [W/m^2 / (K/m)]. ...
Definition: SomertonParams.hpp:72
Scalar fullySaturatedLambda(unsigned phaseIdx) const
Return the "fully saturated" heat conductivity of the porous medium [W/m^2 / (K/m)].
Definition: SomertonParams.hpp:58
The default implementation of a parameter object for the Somerton heatconduction law.
Definition: SomertonParams.hpp:39
Scalar vacuumLambda() const
Return the heat conductivity of the porous medium at vacuum [W/m^2 / (K/m)].
Definition: SomertonParams.hpp:84
void setVacuumLambda(Scalar value)
Set the "fully saturated" heat conductivity of the porous medium [W/m^2 / (K/m)]. ...
Definition: SomertonParams.hpp:96