27 #ifndef OPM_ECL_THC_LAW_PARAMS_HPP 28 #define OPM_ECL_THC_LAW_PARAMS_HPP 38 template <
class ScalarT>
42 using Scalar = ScalarT;
53 { porosity_ =
value; }
59 { EnsureFinalized::check();
return porosity_; }
71 { EnsureFinalized::check();
return thcrock_; }
83 { EnsureFinalized::check();
return thcoil_; }
95 { EnsureFinalized::check();
return thcgas_; }
101 { thcwater_ =
value; }
107 { EnsureFinalized::check();
return thcwater_; }
void setThcrock(Scalar value)
Set thermal conductivity of pure rock [W/(m*K)].
Definition: EclThcLawParams.hpp:64
Scalar thcoil() const
Return thermal conductivity of pure oil [W/(m*K)].
Definition: EclThcLawParams.hpp:82
Scalar porosity() const
Return the effective porosity (here meaning porosity*ntg)
Definition: EclThcLawParams.hpp:58
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition: Exceptions.hpp:30
void setThcgas(Scalar value)
Set thermal conductivity of pure gas [W/(m*K)].
Definition: EclThcLawParams.hpp:88
Default implementation for asserting finalization of parameter objects.
Scalar thcwater() const
Return thermal conductivity of pure water [W/(m*K)].
Definition: EclThcLawParams.hpp:106
Scalar thcrock() const
Return thermal conductivity of pure rock [W/(m*K)].
Definition: EclThcLawParams.hpp:70
void setThcoil(Scalar value)
Set thermal conductivity of pure oil [W/(m*K)].
Definition: EclThcLawParams.hpp:76
void setPorosity(Scalar value)
Set the porosity.
Definition: EclThcLawParams.hpp:52
void setThcwater(Scalar value)
Set thermal conductivity of pure water [W/(m*K)].
Definition: EclThcLawParams.hpp:100
The default implementation of a parameter object for the thermal conduction law based on the THC* key...
Definition: EclThcLawParams.hpp:39
Default implementation for asserting finalization of parameter objects.
Definition: EnsureFinalized.hpp:48
Scalar thcgas() const
Return thermal conductivity of pure gas [W/(m*K)].
Definition: EclThcLawParams.hpp:94