OGS
|
Kozeny-Carman equation.
\[ k = k_0 \left( \frac{1 - \phi_0}{1 - \phi} \right)^2 \left( \frac{\phi}{\phi_0} \right)^3, \]
where \(k\) is the permeability, \(k_0\) is the initial permeability, \(\phi\) is the porosity, and \(\phi_0\) is the initial porosity.
Definition at line 28 of file KozenyCarmanModel.h.
#include <KozenyCarmanModel.h>
Public Member Functions | |
KozenyCarmanModel (ParameterLib::Parameter< double > const &k0, ParameterLib::Parameter< double > const &phi0) | |
PropertyDataType | value (MaterialPropertyLib::VariableArray const &variable_array, ParameterLib::SpatialPosition const &pos, double const t, double const) 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 | dValue (VariableArray const &variable_array, 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 medium permeability. | |
ParameterLib::Parameter< double > const & | _phi0 |
Initial porosity. | |
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 31 of file KozenyCarmanModel.h.
|
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 18 of file KozenyCarmanModel.cpp.
References _k0, MaterialPropertyLib::fromVector(), and MaterialPropertyLib::VariableArray::porosity.
|
private |
Initial medium permeability.
Definition at line 44 of file KozenyCarmanModel.h.
Referenced by value().
|
private |
Initial porosity.
Definition at line 46 of file KozenyCarmanModel.h.