OGS
|
A latent heat model of vaporisation of water considering the critical temperature.
The model uses an equation for a general expression of the latent heat of vaporisation of water in the vicinity of and far away from the critical temperature, which was presented by Torquato and Stell in [38].
Denoting the critical temperature as \(T_c\), and introducing a dimensionless variable \(\tau=(T_c-T)/T_c\) associated with temperature \(T\), the equation is given by
\[ L(\tau) = a_1 \tau^{\beta}+a_2 \tau^{\beta+\Delta} +a_4 \tau^{1-\alpha+\beta} +\sum_{n=1}^{M}(b_n \tau^n),\,\text{[kJ/kg]}, \]
where the parameters of \(b_n\) are obtained by the least square method by fitting the equation with the experiment data.
In this model, the parameter set of \(M=5\) is taken for a high accuracy. All parameters are given below:
The critical temperature is 373.92 \(^{\circ}\)C.
A comparison of this model with the model of MaterialPropertyLib::LinearWaterVapourLatentHeat is given in the following figure.
Definition at line 60 of file WaterVapourLatentHeatWithCriticalTemperature.h.
#include <WaterVapourLatentHeatWithCriticalTemperature.h>
Public Member Functions | |
WaterVapourLatentHeatWithCriticalTemperature (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 |
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 63 of file WaterVapourLatentHeatWithCriticalTemperature.h.
References MaterialPropertyLib::name, and MaterialPropertyLib::Property::name_.
|
inlineoverridevirtual |
Reimplemented from MaterialPropertyLib::Property.
Definition at line 68 of file WaterVapourLatentHeatWithCriticalTemperature.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 73 of file WaterVapourLatentHeatWithCriticalTemperature.cpp.
References MaterialPropertyLib::alpha, MaterialPropertyLib::beta, MaterialPropertyLib::c, MaterialPropertyLib::Delta, OGS_FATAL, MaterialPropertyLib::T_c, MaterialPropertyLib::temperature, and MaterialPropertyLib::VariableArray::temperature.
|
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 34 of file WaterVapourLatentHeatWithCriticalTemperature.cpp.
References MaterialPropertyLib::alpha, MaterialPropertyLib::beta, MaterialPropertyLib::c, MaterialPropertyLib::Delta, MaterialPropertyLib::T_c, and MaterialPropertyLib::VariableArray::temperature.