OGS
|
A strain dependent bimodal water retention model.
It is based on the van Genuchten model.
The equation is as follows
\[S_{e} = \left((e_{m}+a \Delta e) \left[\frac{1}{((\frac{p_{c}}{p_{b}})^{n}+1)}\right]^{m} + (e_{M} - a \Delta e) \left[\frac{1}{((\frac{p_{c}}{p_{{b,M}}})^{n} +1)}\right]^{n} \right) \frac{1}{e}\]
with effective saturation defined as \(S_{e}=\frac{S-S_r}{S_{max}-S_r}\), where \(S_r\) and \(S_{max}\) are the residual saturation and the maximum saturation, respectively. The exponent \(m \in (0,1)\) is the same as in the van Genuchten equation ( see SaturationVanGenuchten). In the original work another exponent \(n\) is used, but usually set to \(n = 1 / (1 - m)\), and also in this implementation. The pressure scaling parameter \(p_{b}\) is added by the user and is the scaling parameter of the micropores. The scaling parameter of the macropores can be calculated as follows \(p_{b,M} = p_{b} d_{diff}\) The total void ratio and the void ratio of the micropores are \(e_0\) and \(e_m\). Another scaling factor \(a\) scales the effect of the strain
The changing void ratio is calculated as \(\Delta e = -\frac{(1-e)\epsilon_{vol}}{e}\), with \(\epsilon_{vol}\) as the volumetric strain. The result is then clamped between the residual and maximum liquid saturations.
Definition at line 48 of file SaturationVanGenuchtenWithVolumetricStrain.h.
#include <SaturationVanGenuchtenWithVolumetricStrain.h>
Public Member Functions | |
SaturationVanGenuchtenWithVolumetricStrain (std::string name, double const residual_liquid_saturation, double const residual_gas_saturation, double const exponent, double const p_b, double const e_0, double const e_m, double const a, double const d_diff) | |
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 | S_L_res_ |
double const | S_L_max_ |
double const | m_ |
double const | p_b_ |
double const | e_0_ |
double const | e_m_ |
double const | a_ |
double const | d_diff_ |
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::SaturationVanGenuchtenWithVolumetricStrain::SaturationVanGenuchtenWithVolumetricStrain | ( | std::string | name, |
double const | residual_liquid_saturation, | ||
double const | residual_gas_saturation, | ||
double const | exponent, | ||
double const | p_b, | ||
double const | e_0, | ||
double const | e_m, | ||
double const | a, | ||
double const | d_diff ) |
Definition at line 22 of file SaturationVanGenuchtenWithVolumetricStrain.cpp.
References m_, MaterialPropertyLib::name, MaterialPropertyLib::Property::name_, and OGS_FATAL.
|
inlineoverridevirtual |
Reimplemented from MaterialPropertyLib::Property.
Definition at line 62 of file SaturationVanGenuchtenWithVolumetricStrain.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 82 of file SaturationVanGenuchtenWithVolumetricStrain.cpp.
References a_, MaterialPropertyLib::capillary_pressure, MaterialPropertyLib::VariableArray::capillary_pressure, d_diff_, e_0_, e_m_, m_, OGS_FATAL, p_b_, S_L_max_, S_L_res_, and MaterialPropertyLib::VariableArray::volumetric_strain.
|
overridevirtual |
Those methods override the base class implementations and actually compute and set the property values_ and dValues_.
Reimplemented from MaterialPropertyLib::Property.
Definition at line 51 of file SaturationVanGenuchtenWithVolumetricStrain.cpp.
References a_, MaterialPropertyLib::VariableArray::capillary_pressure, d_diff_, e_0_, e_m_, m_, p_b_, S_L_max_, S_L_res_, and MaterialPropertyLib::VariableArray::volumetric_strain.
|
private |
Definition at line 89 of file SaturationVanGenuchtenWithVolumetricStrain.h.
|
private |
Definition at line 90 of file SaturationVanGenuchtenWithVolumetricStrain.h.
|
private |
Definition at line 87 of file SaturationVanGenuchtenWithVolumetricStrain.h.
|
private |
Definition at line 88 of file SaturationVanGenuchtenWithVolumetricStrain.h.
|
private |
Definition at line 85 of file SaturationVanGenuchtenWithVolumetricStrain.h.
Referenced by SaturationVanGenuchtenWithVolumetricStrain(), dValue(), and value().
|
private |
Definition at line 86 of file SaturationVanGenuchtenWithVolumetricStrain.h.
|
private |
Definition at line 84 of file SaturationVanGenuchtenWithVolumetricStrain.h.
|
private |
Definition at line 83 of file SaturationVanGenuchtenWithVolumetricStrain.h.