OGS
|
A saturation dependent thermal conductivity model for soil.
This model is proposed by Somerton, W.~H. et al. [28], which takes the form of
\[ \lambda = \lambda_{\text{dry}} + \sqrt{S}(\lambda_{\text{wet}}-\lambda_{\text{dry}}), \]
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 41 of file SoilThermalConductivitySomerton.h.
#include <SoilThermalConductivitySomerton.h>
Public Member Functions | |
SoilThermalConductivitySomerton (std::string name, ParameterLib::Parameter< double > const &dry_thermal_conductivity, ParameterLib::Parameter< double > const &wet_thermal_conductivity, ParameterLib::CoordinateSystem const *const local_coordinate_system) | |
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 |
SoilThermalConductivitySomerton (std::string name, ParameterLib::Parameter< double > const &dry_thermal_conductivity, ParameterLib::Parameter< double > const &wet_thermal_conductivity, ParameterLib::CoordinateSystem const *const local_coordinate_system) | |
PropertyDataType | value (VariableArray const &variable_array, ParameterLib::SpatialPosition const &pos, double const t, double const) const |
PropertyDataType | dValue (VariableArray const &variable_array, Variable const variable, ParameterLib::SpatialPosition const &pos, double const t, double const) const |
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. More... | |
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. More... | |
ParameterLib::Parameter< double > const & | wet_thermal_conductivity_ |
Thermal conductivity of soil at the fully water saturated state. More... | |
ParameterLib::CoordinateSystem const *const | local_coordinate_system_ |
Additional Inherited Members | |
Protected Attributes inherited from MaterialPropertyLib::Property | |
std::string | name_ |
PropertyDataType | value_ |
The single value of a property. More... | |
PropertyDataType | dvalue_ |
std::variant< Medium *, Phase *, Component * > | scale_ |
MaterialPropertyLib::SoilThermalConductivitySomerton< GlobalDimension >::SoilThermalConductivitySomerton | ( | std::string | name, |
ParameterLib::Parameter< double > const & | dry_thermal_conductivity, | ||
ParameterLib::Parameter< double > const & | wet_thermal_conductivity, | ||
ParameterLib::CoordinateSystem const *const | local_coordinate_system | ||
) |
Definition at line 118 of file SoilThermalConductivitySomerton.cpp.
References MaterialPropertyLib::SoilThermalConductivitySomerton< GlobalDimension >::dry_thermal_conductivity_, MaterialPropertyLib::name, MaterialPropertyLib::Property::name_, OGS_FATAL, and MaterialPropertyLib::SoilThermalConductivitySomerton< GlobalDimension >::wet_thermal_conductivity_.
MaterialPropertyLib::SoilThermalConductivitySomerton< 1 >::SoilThermalConductivitySomerton | ( | std::string | name, |
ParameterLib::Parameter< double > const & | dry_thermal_conductivity, | ||
ParameterLib::Parameter< double > const & | wet_thermal_conductivity, | ||
ParameterLib::CoordinateSystem const *const | local_coordinate_system | ||
) |
Definition at line 36 of file SoilThermalConductivitySomerton.cpp.
References MaterialPropertyLib::SoilThermalConductivitySomerton< GlobalDimension >::dry_thermal_conductivity_, MaterialPropertyLib::name, MaterialPropertyLib::Property::name_, OGS_FATAL, and MaterialPropertyLib::SoilThermalConductivitySomerton< GlobalDimension >::wet_thermal_conductivity_.
|
inlineoverridevirtual |
Reimplemented from MaterialPropertyLib::Property.
Definition at line 50 of file SoilThermalConductivitySomerton.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 209 of file SoilThermalConductivitySomerton.cpp.
References MaterialPropertyLib::fromVector(), MaterialPropertyLib::liquid_saturation, and OGS_FATAL.
|
virtual |
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 88 of file SoilThermalConductivitySomerton.cpp.
References MaterialPropertyLib::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 159 of file SoilThermalConductivitySomerton.cpp.
References MaterialPropertyLib::fromVector(), and MaterialPropertyLib::liquid_saturation.
|
virtual |
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 63 of file SoilThermalConductivitySomerton.cpp.
References MaterialPropertyLib::liquid_saturation.
|
private |
Thermal conductivity of soil at the dry state.
Definition at line 73 of file SoilThermalConductivitySomerton.h.
Referenced by MaterialPropertyLib::SoilThermalConductivitySomerton< GlobalDimension >::SoilThermalConductivitySomerton().
|
private |
Definition at line 77 of file SoilThermalConductivitySomerton.h.
|
private |
Thermal conductivity of soil at the fully water saturated state.
Definition at line 75 of file SoilThermalConductivitySomerton.h.
Referenced by MaterialPropertyLib::SoilThermalConductivitySomerton< GlobalDimension >::SoilThermalConductivitySomerton().