OGS
|
A class for thermal conductivity model that is defined by The International Association for the Properties of Water and Steam IAPWS (File accessed at 13.01.2023) - (Daucik and Dooley, 2011)
With the definition, the thermal conductivity is a function of temperature and water density
Definition at line 34 of file WaterThermalConductivityIAPWS.h.
#include <WaterThermalConductivityIAPWS.h>
Public Member Functions | |
WaterThermalConductivityIAPWS (std::string name) | |
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 |
Static Private Attributes | |
static constexpr double | ref_T_ = 647.096 |
reference temperature in K | |
static constexpr double | ref_rho_ |
reference density in kg/m^3 | |
static constexpr double | ref_lambda_ |
reference thermal conductivity in W.K^-1.m^-1 | |
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_ |
|
inlineexplicit |
Definition at line 37 of file WaterThermalConductivityIAPWS.h.
References MaterialPropertyLib::name, and MaterialPropertyLib::Property::name_.
|
inlineoverridevirtual |
Reimplemented from MaterialPropertyLib::Property.
Definition at line 41 of file WaterThermalConductivityIAPWS.h.
References OGS_FATAL, and MaterialPropertyLib::Property::scale_.
|
overridevirtual |
Reimplemented from MaterialPropertyLib::Property.
Definition at line 64 of file WaterThermalConductivityIAPWS.cpp.
References MaterialPropertyLib::computedBarLambda_dbarRho(), MaterialPropertyLib::computedBarLambda_dbarT(), MaterialPropertyLib::density, MaterialPropertyLib::VariableArray::density, OGS_FATAL, ref_lambda_, ref_rho_, ref_T_, MaterialPropertyLib::temperature, and MaterialPropertyLib::VariableArray::temperature.
|
overridevirtual |
Reimplemented from MaterialPropertyLib::Property.
Definition at line 46 of file WaterThermalConductivityIAPWS.cpp.
References MaterialPropertyLib::computeBarLambda0Factor(), MaterialPropertyLib::computeBarLambda1Factor(), MaterialPropertyLib::computeSeriesFactorRhoForLambda1(), MaterialPropertyLib::computeSeriesFactorTForLambda1(), MaterialPropertyLib::VariableArray::density, ref_lambda_, ref_rho_, ref_T_, and MaterialPropertyLib::VariableArray::temperature.
|
staticconstexprprivate |
reference thermal conductivity in W.K^-1.m^-1
Definition at line 66 of file WaterThermalConductivityIAPWS.h.
|
staticconstexprprivate |
reference density in kg/m^3
Definition at line 64 of file WaterThermalConductivityIAPWS.h.
|
staticconstexprprivate |
reference temperature in K
Definition at line 63 of file WaterThermalConductivityIAPWS.h.