OGS
|
Porosity depending on the volumetric strain rate and phase pressure rate.
This property must be a solid phase.
Definition at line 24 of file TransportPorosityFromMassBalance.h.
#include <TransportPorosityFromMassBalance.h>
Public Member Functions | |
TransportPorosityFromMassBalance (std::string name, ParameterLib::Parameter< double > const &initial_porosity, double const phi_min, double const phi_max) | |
void | checkScale () const override |
PropertyDataType | initialValue (ParameterLib::SpatialPosition const &pos, double const t) const override |
PropertyDataType | value (VariableArray const &variable_array, ParameterLib::SpatialPosition const &pos, double const t, double const dt) const override |
PropertyDataType | value (VariableArray const &variable_array, VariableArray const &variable_array_prev, 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 | value () 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 & | phi0_ |
Parameter, which is used by FEM to set the initial porosity value. | |
double const | phi_min_ |
double const | phi_max_ |
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 33 of file TransportPorosityFromMassBalance.h.
References MaterialPropertyLib::name, and MaterialPropertyLib::Property::name_.
|
overridevirtual |
Reimplemented from MaterialPropertyLib::Property.
Definition at line 19 of file TransportPorosityFromMassBalance.cpp.
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 67 of file TransportPorosityFromMassBalance.cpp.
References OGS_FATAL.
|
inlineoverridevirtual |
Returns the initial (or reference) value of the property. The default implementation forwards to the value function.
Reimplemented from MaterialPropertyLib::Property.
Definition at line 44 of file TransportPorosityFromMassBalance.h.
References MaterialPropertyLib::fromVector(), and phi0_.
|
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 57 of file TransportPorosityFromMassBalance.cpp.
References OGS_FATAL.
|
overridevirtual |
This virtual method will compute the property value based on the variables that are passed as arguments and the variables from the previous time step.
Reimplemented from MaterialPropertyLib::Property.
Definition at line 29 of file TransportPorosityFromMassBalance.cpp.
References MaterialPropertyLib::biot_coefficient, MaterialPropertyLib::VariableArray::effective_pore_pressure, MaterialPropertyLib::VariableArray::grain_compressibility, phi_max_, phi_min_, MaterialPropertyLib::VariableArray::porosity, MaterialPropertyLib::Property::scale_, MaterialPropertyLib::VariableArray::transport_porosity, and MaterialPropertyLib::VariableArray::volumetric_strain.
|
private |
Parameter, which is used by FEM to set the initial porosity value.
Definition at line 28 of file TransportPorosityFromMassBalance.h.
Referenced by initialValue().
|
private |
Definition at line 30 of file TransportPorosityFromMassBalance.h.
Referenced by value().
|
private |
Definition at line 29 of file TransportPorosityFromMassBalance.h.
Referenced by value().