OGS
|
A gas pressure dependent intrinsic permeability model.
The model was proposed in [44] and it was further investigated in [45] .
The model takes the form of
\[\mathbf{k} = f(p_g)\, \mathbf{k}_0 = \left\{ \begin{array}{cc} (1+a_1 p_g) \mathbf{k}_0 & p_g \leq p_\text{thr} \\ (a_2 (p_g - p_\text{thr}) + 1 + a_1 p_\text{thr}) \mathbf{k}_0 & p_g > p_\text{thr} \end{array} \right.\]
where \(\mathbf{k}\) is the permeability, \(\mathbf{k}_0\) is the initial intrinsic permeability, \(p_g\) is the gas pressure, \(a_1\), \(a_2\) and \(p_\text{thr}\) are three parameters. The threshold pressure and gas pressure, \(p_g\) , \(p_\text{thr}\), are in Pascal, and the \(a_1\) and \(a_2\) are dimensionless, representing the values reported in [45], and permeabilities, \(\mathbf{k}\) and \(\mathbf{k}_0\) are in \(m^2\).
Definition at line 51 of file GasPressureDependentPermeability.h.
#include <GasPressureDependentPermeability.h>
Public Member Functions | |
GasPressureDependentPermeability (std::string name, ParameterLib::Parameter< double > const &k0, double const a1, double const a2, double const pressure_threshold, double const minimum_permeability, double const maximum_permeability, 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 |
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 | |
ParameterLib::Parameter< double > const & | k0_ |
Initial intrinsic permeability. | |
double const | a1_ |
double const | a2_ |
double const | pressure_threshold_ |
double const | minimum_permeability_ |
double const | maximum_permeability_ |
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. | |
PropertyDataType | dvalue_ |
std::variant< Medium *, Phase *, Component * > | scale_ |
MaterialPropertyLib::GasPressureDependentPermeability< DisplacementDim >::GasPressureDependentPermeability | ( | std::string | name, |
ParameterLib::Parameter< double > const & | k0, | ||
double const | a1, | ||
double const | a2, | ||
double const | pressure_threshold, | ||
double const | minimum_permeability, | ||
double const | maximum_permeability, | ||
ParameterLib::CoordinateSystem const *const | local_coordinate_system ) |
Definition at line 26 of file GasPressureDependentPermeability.cpp.
References MaterialPropertyLib::name, and MaterialPropertyLib::Property::name_.
|
overridevirtual |
Reimplemented from MaterialPropertyLib::Property.
Definition at line 44 of file GasPressureDependentPermeability.cpp.
References OGS_FATAL.
|
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 99 of file GasPressureDependentPermeability.cpp.
References 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 55 of file GasPressureDependentPermeability.cpp.
References MaterialPropertyLib::fromVector(), and MaterialPropertyLib::VariableArray::gas_phase_pressure.
|
private |
A factor taking into account the influence of the gas pressure on the permeability.
Definition at line 75 of file GasPressureDependentPermeability.h.
|
private |
A factor taking into account the influence of the gas overpressure (difference of the gas pressure and the threshold pressure) on the permeability.
Definition at line 79 of file GasPressureDependentPermeability.h.
|
private |
Initial intrinsic permeability.
Definition at line 72 of file GasPressureDependentPermeability.h.
|
private |
Definition at line 85 of file GasPressureDependentPermeability.h.
|
private |
Definition at line 84 of file GasPressureDependentPermeability.h.
|
private |
Definition at line 83 of file GasPressureDependentPermeability.h.
|
private |
The threshold pressure which defines the low and high gas pressure domain. Different permeability functions are defined for each domain.
Definition at line 82 of file GasPressureDependentPermeability.h.