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