Skip to content
Snippets Groups Projects
Commit 3f6cde60 authored by Thomas Nagel's avatar Thomas Nagel Committed by Dmitri Naumov
Browse files

[MPL] corrected dvalue of EmbeddedFracturePermeability

parent 86a6c036
No related branches found
No related tags found
No related merge requests found
...@@ -111,9 +111,11 @@ PropertyDataType EmbeddedFracturePermeability<DisplacementDim>::dValue( ...@@ -111,9 +111,11 @@ PropertyDataType EmbeddedFracturePermeability<DisplacementDim>::dValue(
double const b_f = _b0 + H_de * _a * (e_n - _e0); double const b_f = _b0 + H_de * _a * (e_n - _e0);
Eigen::Matrix3d const M = n * n.transpose(); Eigen::Matrix3d const M = n * n.transpose();
return (H_de * (b_f * b_f / 4 - _k) * (Eigen::Matrix3d::Identity() - M) * M) return Eigen::MatrixXd(
.template topLeftCorner<DisplacementDim, DisplacementDim>() H_de * (b_f * b_f / 4 - _k) *
.eval(); MathLib::KelvinVector::tensorToKelvin<DisplacementDim>(
Eigen::Matrix3d::Identity() - M) *
MathLib::KelvinVector::tensorToKelvin<DisplacementDim>(M).transpose());
} }
template class EmbeddedFracturePermeability<2>; template class EmbeddedFracturePermeability<2>;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment