OGS
MaterialPropertyLib::PermeabilityMohrCoulombFailureIndexModel< DisplacementDim > Class Template Referencefinal

Detailed Description

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

A failure index dependent permeability model [33].

\[ \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 [18] 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. More...
 
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. More...
 
double const b_
 Fitting parameter. More...
 
double const c_
 Cohesion. More...
 
double const phi_
 Angle of internal friction. More...
 
double const k_max_
 Maximum permeability. More...
 
double const t_sigma_max_
 Tensile strength parameter. More...
 
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. More...
 
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 30 of file PermeabilityMohrCoulombFailureIndexModel.cpp.

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

Reimplemented from MaterialPropertyLib::Property.

Definition at line 60 of file PermeabilityMohrCoulombFailureIndexModel.cpp.

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

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 73 of file PermeabilityMohrCoulombFailureIndexModel.cpp.

77 {
78  auto const& stress_vector = std::get<SymmetricTensor<DisplacementDim>>(
79  variable_array[static_cast<int>(Variable::total_stress)]);
80 
81  auto const& stress_tensor =
82  formEigenTensor<3>(static_cast<PropertyDataType>(stress_vector));
83 
84  Eigen::SelfAdjointEigenSolver<Eigen::Matrix<double, 3, 3>>
85  eigenvalue_solver(stress_tensor);
86 
87  // Principle stress
88  auto const sigma = eigenvalue_solver.eigenvalues();
89 
90  auto k_data = k0_(t, pos);
91 
92  double const max_sigma = std::max(std::fabs(sigma[0]), std::fabs(sigma[2]));
93 
94  if (max_sigma < std::numeric_limits<double>::epsilon())
95  {
96  return fromVector(k_data);
97  }
98 
99  double const sigma_m = 0.5 * (sigma[2] + sigma[0]);
100 
101  double const tau_m = 0.5 * std::fabs(sigma[2] - sigma[0]);
102  double f = 0.0;
103  if (sigma_m > t_sigma_max_)
104  {
105  // tensile failure criterion
106  f = sigma_m / t_sigma_max_;
107 
108  double const tau_tt =
109  c_ * std::cos(phi_) - t_sigma_max_ * std::sin(phi_);
110 
111  f = std::max(f, tau_m / tau_tt);
112  }
113  else
114  {
115  // Mohr Coulomb failure criterion
116  f = tau_m / (c_ * std::cos(phi_) - sigma_m * std::sin(phi_));
117  }
118 
119  if (f >= 1.0)
120  {
121  const double exp_value = std::exp(b_ * f);
122  for (auto& k_i : k_data)
123  {
124  k_i = std::min(k_i + kr_ * exp_value, k_max_);
125  }
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 }
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 > > PropertyDataType
Definition: Property.h:35
template Eigen::Matrix< double, 3, 3 > formEigenTensor< 3 >(MaterialPropertyLib::PropertyDataType const &values)
Eigen::Matrix< double, Dimension, Dimension > transformation(SpatialPosition const &pos) const

References MaterialPropertyLib::formEigenTensor< 3 >(), MaterialPropertyLib::fromVector(), and MaterialPropertyLib::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: