OGS
MaterialPropertyLib::PermeabilityMohrCoulombFailureIndexModel< DisplacementDim > Class Template Referencefinal

Detailed Description

template<int DisplacementDim>
class MaterialPropertyLib::PermeabilityMohrCoulombFailureIndexModel< DisplacementDim >

A failure index dependent permeability model [42].

\[ \mathbf{k} = \mathbf{k}_0+ H(f-1) k_\text{r} \mathrm{e}^{b f}\mathbf{I}\]

where \(\mathbf{k}_0\) is the intrinsic permeability of the undamaged material, \(H\) is the Heaviside step function, \(f\) is the failure index, \(k_\text{r}\) is a reference permeability, \(b\) is a fitting parameter. \(k_\text{r}\) and \(b\) can be calibrated by experimental data.

The failure index \(f\) is calculated from the Mohr Coulomb failure criterion comparing an acting shear stress for the shear dominated failure. The tensile failure is governed by an input parameter of tensile_strength_parameter .

The Mohr Coulomb failure criterion [25] takes the form

\[\tau(\sigma)=c-\sigma \mathrm{tan} \phi\]

with \(\tau\) the shear stress, \(c\) the cohesion, \(\sigma\) the normal stress, and \(\phi\) the internal friction angle.

The failure index of the Mohr Coulomb model is calculated by

\[ f_{MC}=\frac{|\tau_m| }{\cos(\phi)\tau(\sigma_m)} \]

with \(\tau_m=(\sigma_3-\sigma_1)/2\) and \(\sigma_m=(\sigma_1+\sigma_3)/2\), where \(\sigma_1\) and \(\sigma_3\) are the minimum and maximum shear stress, respectively.

The tensile failure index is calculated by

\[ f_{t} = \sigma_m / \sigma^t_{max} \]

with, \(0 < \sigma^t_{max} < c \tan(\phi) \), a parameter of tensile strength for the cutting of the apex of the Mohr Coulomb model.

The tensile stress status is determined by a condition of \(\sigma_m> \sigma^t_{max}\). The failure index is then calculated by

\[ f = \begin{cases} f_{MC}, & \sigma_{m} \leq \sigma^t_{max}\\ max(f_{MC}, f_t), & \sigma_{m} > \sigma^t_{max}\\ \end{cases} \]

The computed permeability components are restricted with an upper bound, i.e. \(\mathbf{k}:=k_{ij} < k_{max}\).

If \(\mathbf{k}_0\) is orthogonal, i.e input two or three numbers for its diagonal entries, a coordinate system rotation of \(\mathbf{k}\) is possible if it is needed.

Note: the conventional mechanics notations are used, which mean that tensile stress is positive.

Definition at line 91 of file PermeabilityMohrCoulombFailureIndexModel.h.

#include <PermeabilityMohrCoulombFailureIndexModel.h>

Inheritance diagram for MaterialPropertyLib::PermeabilityMohrCoulombFailureIndexModel< DisplacementDim >:
[legend]
Collaboration diagram for MaterialPropertyLib::PermeabilityMohrCoulombFailureIndexModel< DisplacementDim >:
[legend]

Public Member Functions

 PermeabilityMohrCoulombFailureIndexModel (std::string name, ParameterLib::Parameter< double > const &k0, double const kr, double const b, double const c, double const phi, double const k_max, double const t_sigma_max, 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 >
initialValue (ParameterLib::SpatialPosition const &pos, double const t) const
 
template<typename T >
value () const
 
template<typename 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 >
value (VariableArray const &variable_array, ParameterLib::SpatialPosition const &pos, double const t, double const dt) const
 
template<typename 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 >
dValue (VariableArray const &variable_array, Variable const variable, ParameterLib::SpatialPosition const &pos, double const t, double const dt) const
 
template<typename 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_
 
double const kr_
 Reference permeability.
 
double const b_
 Fitting parameter.
 
double const c_
 Cohesion.
 
double const phi_
 Angle of internal friction.
 
double const k_max_
 Maximum permeability.
 
double const t_sigma_max_
 Tensile strength parameter.
 
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_
 

Constructor & Destructor Documentation

◆ PermeabilityMohrCoulombFailureIndexModel()

template<int DisplacementDim>
MaterialPropertyLib::PermeabilityMohrCoulombFailureIndexModel< DisplacementDim >::PermeabilityMohrCoulombFailureIndexModel ( std::string name,
ParameterLib::Parameter< double > const & k0,
double const kr,
double const b,
double const c,
double const phi,
double const k_max,
double const t_sigma_max,
ParameterLib::CoordinateSystem const *const local_coordinate_system )

Definition at line 31 of file PermeabilityMohrCoulombFailureIndexModel.cpp.

37 : k0_(k0),
38 kr_(kr),
39 b_(b),
40 c_(c),
41 phi_(boost::math::constants::degree<double>() * phi),
42 k_max_(k_max),
43 t_sigma_max_(t_sigma_max),
44 local_coordinate_system_(local_coordinate_system)
45{
46 const double t_sigma_upper = c_ / std::tan(phi_);
47 if (t_sigma_max_ <= 0.0 || t_sigma_max_ > t_sigma_upper ||
48 std::fabs(t_sigma_max_ - t_sigma_upper) <
49 std::numeric_limits<double>::epsilon())
50 {
52 "Tensile strength parameter of {:e} is out of the range (0, "
53 "c/tan(phi)) = (0, {:e})",
54 t_sigma_max_, t_sigma_upper);
55 }
56
57 name_ = std::move(name);
58}
#define OGS_FATAL(...)
Definition Error.h:26

References MaterialPropertyLib::PermeabilityMohrCoulombFailureIndexModel< DisplacementDim >::c_, MaterialPropertyLib::name, MaterialPropertyLib::Property::name_, OGS_FATAL, MaterialPropertyLib::PermeabilityMohrCoulombFailureIndexModel< DisplacementDim >::phi_, and MaterialPropertyLib::PermeabilityMohrCoulombFailureIndexModel< DisplacementDim >::t_sigma_max_.

Member Function Documentation

◆ checkScale()

template<int DisplacementDim>
void MaterialPropertyLib::PermeabilityMohrCoulombFailureIndexModel< DisplacementDim >::checkScale ( ) const
overridevirtual

Reimplemented from MaterialPropertyLib::Property.

Definition at line 61 of file PermeabilityMohrCoulombFailureIndexModel.cpp.

63{
64 if (!std::holds_alternative<Medium*>(scale_))
65 {
67 "The property 'PermeabilityMohrCoulombFailureIndexModel' is "
68 "implemented on the 'medium' scale only.");
69 }
70}
std::variant< Medium *, Phase *, Component * > scale_
Definition Property.h:297

References OGS_FATAL.

◆ dValue()

template<int DisplacementDim>
PropertyDataType MaterialPropertyLib::PermeabilityMohrCoulombFailureIndexModel< DisplacementDim >::dValue ( VariableArray const & variable_array,
Variable const variable,
ParameterLib::SpatialPosition const & pos,
double const t,
double const dt ) const
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 152 of file PermeabilityMohrCoulombFailureIndexModel.cpp.

156{
157 if (variable == Variable::mechanical_strain)
158 {
159 return 0.;
160 }
161
162 OGS_FATAL(
163 "The derivative of the intrinsic permeability k(sigma, ...) with "
164 "respect to stress tensor (sigma) is not implemented because that "
165 "dk/du is normally omitted.");
166}

References MaterialPropertyLib::mechanical_strain, and OGS_FATAL.

◆ value()

template<int DisplacementDim>
PropertyDataType MaterialPropertyLib::PermeabilityMohrCoulombFailureIndexModel< DisplacementDim >::value ( VariableArray const & variable_array,
ParameterLib::SpatialPosition const & pos,
double const t,
double const dt ) const
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 74 of file PermeabilityMohrCoulombFailureIndexModel.cpp.

78{
79 auto const& stress_vector =
80 std::get<SymmetricTensor<DisplacementDim>>(variable_array.total_stress);
81
82 auto const& stress_tensor =
83 formEigenTensor<3>(static_cast<PropertyDataType>(stress_vector));
84
85 Eigen::SelfAdjointEigenSolver<Eigen::Matrix<double, 3, 3>>
86 eigenvalue_solver(stress_tensor);
87
88 // Principle stress
89 auto const sigma = eigenvalue_solver.eigenvalues();
90
91 auto k_data = k0_(t, pos);
92
93 double const max_sigma = std::max(std::fabs(sigma[0]), std::fabs(sigma[2]));
94
95 if (max_sigma < std::numeric_limits<double>::epsilon())
96 {
97 return fromVector(k_data);
98 }
99
100 double const sigma_m = 0.5 * (sigma[2] + sigma[0]);
101
102 double const tau_m = 0.5 * std::fabs(sigma[2] - sigma[0]);
103 double f = 0.0;
104 if (sigma_m > t_sigma_max_)
105 {
106 // tensile failure criterion
107 f = sigma_m / t_sigma_max_;
108
109 double const tau_tt =
110 c_ * std::cos(phi_) - t_sigma_max_ * std::sin(phi_);
111
112 f = std::max(f, tau_m / tau_tt);
113 }
114 else
115 {
116 // Mohr Coulomb failure criterion
117 f = tau_m / (c_ * std::cos(phi_) - sigma_m * std::sin(phi_));
118 }
119
120 if (f >= 1.0)
121 {
122 const double exp_value = std::exp(b_ * f);
123 std::transform(begin(k_data), end(k_data), begin(k_data),
124 [&](double const k_i)
125 { return std::min(k_i + kr_ * exp_value, k_max_); });
126 }
127
128 // Local coordinate transformation is only applied for the case that the
129 // initial intrinsic permeability is given with orthotropic assumption.
130 if (local_coordinate_system_ && (k_data.size() == DisplacementDim))
131 {
132 Eigen::Matrix<double, DisplacementDim, DisplacementDim> const e =
133 local_coordinate_system_->transformation<DisplacementDim>(pos);
134 Eigen::Matrix<double, DisplacementDim, DisplacementDim> k =
135 Eigen::Matrix<double, DisplacementDim, DisplacementDim>::Zero();
136
137 for (int i = 0; i < DisplacementDim; ++i)
138 {
139 Eigen::Matrix<double, DisplacementDim, DisplacementDim> const
140 ei_otimes_ei = e.col(i) * e.col(i).transpose();
141
142 k += k_data[i] * ei_otimes_ei;
143 }
144 return k;
145 }
146
147 return fromVector(k_data);
148}
template Eigen::Matrix< double, 3, 3 > formEigenTensor< 3 >(MaterialPropertyLib::PropertyDataType const &values)
PropertyDataType fromVector(std::vector< double > const &values)
Definition Property.cpp:23
std::variant< double, Eigen::Matrix< double, 2, 1 >, Eigen::Matrix< double, 3, 1 >, Eigen::Matrix< double, 2, 2 >, Eigen::Matrix< double, 3, 3 >, Eigen::Matrix< double, 4, 1 >, Eigen::Matrix< double, 6, 1 >, Eigen::MatrixXd > PropertyDataType
Definition Property.h:31
Eigen::Matrix< double, Dimension, Dimension > transformation(SpatialPosition const &pos) const

References MaterialPropertyLib::formEigenTensor< 3 >(), MaterialPropertyLib::fromVector(), and MaterialPropertyLib::VariableArray::total_stress.

Member Data Documentation

◆ b_

template<int DisplacementDim>
double const MaterialPropertyLib::PermeabilityMohrCoulombFailureIndexModel< DisplacementDim >::b_
private

Fitting parameter.

Definition at line 117 of file PermeabilityMohrCoulombFailureIndexModel.h.

◆ c_

◆ k0_

template<int DisplacementDim>
ParameterLib::Parameter<double> const& MaterialPropertyLib::PermeabilityMohrCoulombFailureIndexModel< DisplacementDim >::k0_
private

Intrinsic permeability for undamaged material. It can be a scalar or tensor for anisotropic material.

Definition at line 113 of file PermeabilityMohrCoulombFailureIndexModel.h.

◆ k_max_

template<int DisplacementDim>
double const MaterialPropertyLib::PermeabilityMohrCoulombFailureIndexModel< DisplacementDim >::k_max_
private

Maximum permeability.

Definition at line 124 of file PermeabilityMohrCoulombFailureIndexModel.h.

◆ kr_

template<int DisplacementDim>
double const MaterialPropertyLib::PermeabilityMohrCoulombFailureIndexModel< DisplacementDim >::kr_
private

Reference permeability.

Definition at line 115 of file PermeabilityMohrCoulombFailureIndexModel.h.

◆ local_coordinate_system_

template<int DisplacementDim>
ParameterLib::CoordinateSystem const* const MaterialPropertyLib::PermeabilityMohrCoulombFailureIndexModel< DisplacementDim >::local_coordinate_system_
private

Definition at line 128 of file PermeabilityMohrCoulombFailureIndexModel.h.

◆ phi_

◆ t_sigma_max_

template<int DisplacementDim>
double const MaterialPropertyLib::PermeabilityMohrCoulombFailureIndexModel< DisplacementDim >::t_sigma_max_
private

The documentation for this class was generated from the following files: