OGS
|
Saturation dependent thermal conductivity model for soil.
The arithmetic_squareroot model is proposed by Somerton, W.~H. et al. [36], which takes the form of
\[ \lambda = \lambda_{\text{dry}} + \sqrt{S}(\lambda_{\text{wet}}- \lambda_{\text{dry}}), \]
. The arithmetic_linear model is linear in the saturation and has the form
\[ \lambda = \lambda_{\text{dry}} + S(\lambda_{\text{wet}}-\lambda_{\text{dry}}), \]
The geometric model uses the weighted geometric mean
\[ \lambda = \lambda_{\text{dry}}^{1-S} * \lambda_{\text{wet}}^S, \]
where \(\lambda_{\text{dry}}\) is the thermal conductivity of soil at the dry state, \(\lambda_{\text{wet}}\) is the thermal conductivity of soil at the fully water saturated state, and \(S\) is the water saturation.
Definition at line 54 of file SaturationWeightedThermalConductivity.h.
#include <SaturationWeightedThermalConductivity.h>
Public Member Functions | |
SaturationWeightedThermalConductivity (std::string name, ParameterLib::Parameter< double > const &dry_thermal_conductivity, ParameterLib::Parameter< double > const &wet_thermal_conductivity) | |
void | checkScale () const override |
PropertyDataType | value (VariableArray const &variable_array, ParameterLib::SpatialPosition const &pos, double const t, double const dt) const override |
PropertyDataType | dValue (VariableArray const &variable_array, Variable const variable, ParameterLib::SpatialPosition const &pos, double const t, double const dt) const override |
Public Member Functions inherited from MaterialPropertyLib::Property | |
virtual | ~Property () |
virtual PropertyDataType | initialValue (ParameterLib::SpatialPosition const &pos, double const t) const |
virtual PropertyDataType | value () const |
virtual PropertyDataType | value (VariableArray const &variable_array, VariableArray const &variable_array_prev, ParameterLib::SpatialPosition const &pos, double const t, double const dt) const |
virtual PropertyDataType | dValue (VariableArray const &variable_array, VariableArray const &variable_array_prev, Variable const variable, ParameterLib::SpatialPosition const &pos, double const t, double const dt) const |
virtual PropertyDataType | d2Value (VariableArray const &variable_array, Variable const variable1, Variable const variable2, ParameterLib::SpatialPosition const &pos, double const t, double const dt) const |
Default implementation: 2nd derivative of any constant property is zero. | |
virtual void | setProperties (std::vector< std::unique_ptr< Phase > > const &phases) |
Default implementation: | |
void | setScale (std::variant< Medium *, Phase *, Component * > scale) |
template<typename T > | |
T | initialValue (ParameterLib::SpatialPosition const &pos, double const t) const |
template<typename T > | |
T | value () const |
template<typename T > | |
T | value (VariableArray const &variable_array, VariableArray const &variable_array_prev, ParameterLib::SpatialPosition const &pos, double const t, double const dt) const |
template<typename T > | |
T | value (VariableArray const &variable_array, ParameterLib::SpatialPosition const &pos, double const t, double const dt) const |
template<typename T > | |
T | dValue (VariableArray const &variable_array, VariableArray const &variable_array_prev, Variable const variable, ParameterLib::SpatialPosition const &pos, double const t, double const dt) const |
template<typename T > | |
T | dValue (VariableArray const &variable_array, Variable const variable, ParameterLib::SpatialPosition const &pos, double const t, double const dt) const |
template<typename T > | |
T | d2Value (VariableArray const &variable_array, Variable const &variable1, Variable const &variable2, ParameterLib::SpatialPosition const &pos, double const t, double const dt) const |
Private Attributes | |
ParameterLib::Parameter< double > const & | dry_thermal_conductivity_ |
Thermal conductivity of soil at the dry state. | |
ParameterLib::Parameter< double > const & | wet_thermal_conductivity_ |
Thermal conductivity of soil at the fully water saturated state. | |
Additional Inherited Members | |
Protected Attributes inherited from MaterialPropertyLib::Property | |
std::string | name_ |
PropertyDataType | value_ |
The single value of a property. | |
PropertyDataType | dvalue_ |
std::variant< Medium *, Phase *, Component * > | scale_ |
MaterialPropertyLib::SaturationWeightedThermalConductivity< MeanType, GlobalDimension >::SaturationWeightedThermalConductivity | ( | std::string | name, |
ParameterLib::Parameter< double > const & | dry_thermal_conductivity, | ||
ParameterLib::Parameter< double > const & | wet_thermal_conductivity ) |
Definition at line 84 of file SaturationWeightedThermalConductivity.cpp.
References MaterialPropertyLib::SaturationWeightedThermalConductivity< MeantType, GlobalDimension >::dry_thermal_conductivity_, MaterialPropertyLib::GEOMETRIC, MaterialPropertyLib::name, MaterialPropertyLib::Property::name_, OGS_FATAL, and MaterialPropertyLib::SaturationWeightedThermalConductivity< MeantType, GlobalDimension >::wet_thermal_conductivity_.
|
inlineoverridevirtual |
Reimplemented from MaterialPropertyLib::Property.
Definition at line 62 of file SaturationWeightedThermalConductivity.h.
References OGS_FATAL, and MaterialPropertyLib::Property::scale_.
|
overridevirtual |
This virtual method will compute the property derivative value based on the variables that are passed as arguments with the default implementation using empty variables array for the previous time step.
The default implementation of this method only returns the property value derivative without altering it.
Reimplemented from MaterialPropertyLib::Property.
Definition at line 164 of file SaturationWeightedThermalConductivity.cpp.
References MaterialPropertyLib::computeDAverage(), MaterialPropertyLib::fromVector(), MaterialPropertyLib::liquid_saturation, MaterialPropertyLib::VariableArray::liquid_saturation, and OGS_FATAL.
|
overridevirtual |
This virtual method will compute the property value based on the variables that are passed as arguments with the default implementation using empty variables array for the previous time step.
Reimplemented from MaterialPropertyLib::Property.
Definition at line 135 of file SaturationWeightedThermalConductivity.cpp.
References MaterialPropertyLib::computeAverage(), MaterialPropertyLib::fromVector(), and MaterialPropertyLib::VariableArray::liquid_saturation.
|
private |
Thermal conductivity of soil at the dry state.
Definition at line 85 of file SaturationWeightedThermalConductivity.h.
Referenced by MaterialPropertyLib::SaturationWeightedThermalConductivity< MeantType, GlobalDimension >::SaturationWeightedThermalConductivity().
|
private |
Thermal conductivity of soil at the fully water saturated state.
Definition at line 87 of file SaturationWeightedThermalConductivity.h.
Referenced by MaterialPropertyLib::SaturationWeightedThermalConductivity< MeantType, GlobalDimension >::SaturationWeightedThermalConductivity().