OGS
|
FEBEX type Vapour diffusion.
The model was presented in [33].
The vapour diffusion can be described by [28], [29], [9]
\[ D_v=D_0 \left(\frac{T}{273.15}\right)^{n} D_{vr}, \]
where \(D_{0}\) is the base diffusion coefficient with default value \(2.16\cdot 10^{-5}\) \({\text m}^2 \text{Pa}/(\text{s}\text{K}^{n})\), \(n\) is the exponent with default value 1.8, \(D_{vr}\) is the the relative diffusion coefficient, and \(T\) is the temperature.
In the FEBEX type, \(D_{vr}\) takes the form of [33]
\[ D_{vr}=\tau \phi (1-S_L), \]
with \(\phi\), the porosity, \(S_L\), the liquid saturation, and \(\tau\), the tortuosity.
Note: In order to maintain consistency with the implementation of the computations of other vapor-related parameters, \( \phi (1 - S_L )\) is removed from the implementation for this class and is multiplied back in the local assembler.
Definition at line 51 of file VapourDiffusionFEBEX.h.
#include <VapourDiffusionFEBEX.h>
Public Member Functions | |
VapourDiffusionFEBEX (std::string name, double const base_diffusion_coefficient, double const exponent) | |
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 | |
double const | base_diffusion_coefficient_ |
double const | exponent_ |
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_ |
|
inline |
Definition at line 54 of file VapourDiffusionFEBEX.h.
References MaterialPropertyLib::name, and MaterialPropertyLib::Property::name_.
|
inlineoverridevirtual |
Reimplemented from MaterialPropertyLib::Property.
Definition at line 63 of file VapourDiffusionFEBEX.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 35 of file VapourDiffusionFEBEX.cpp.
References base_diffusion_coefficient_, MaterialLib::PhysicalConstant::CelsiusZeroInKelvin, exponent_, MaterialPropertyLib::liquid_saturation, OGS_FATAL, 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 23 of file VapourDiffusionFEBEX.cpp.
References base_diffusion_coefficient_, MaterialLib::PhysicalConstant::CelsiusZeroInKelvin, exponent_, and MaterialPropertyLib::VariableArray::temperature.
|
private |
Definition at line 85 of file VapourDiffusionFEBEX.h.
|
private |
Definition at line 86 of file VapourDiffusionFEBEX.h.