62 auto k_data = k0_(t, pos);
64 double const ten_base_exponent = e_vol > 0.0 ? b3_ * e_vol : b2_ * e_vol;
66 std::pow(10.0, ten_base_exponent) * std::exp(b1_ * e_vol_pls);
68 for (
auto& k_i : k_data)
70 k_i = std::clamp(k_i * factor, minimum_permeability_,
71 maximum_permeability_);
76 if (local_coordinate_system_ && (k_data.size() == DisplacementDim))
78 Eigen::Matrix<double, DisplacementDim, DisplacementDim>
const e =
79 local_coordinate_system_->transformation<DisplacementDim>(pos);
80 Eigen::Matrix<double, DisplacementDim, DisplacementDim> k =
81 Eigen::Matrix<double, DisplacementDim, DisplacementDim>::Zero();
83 for (
int i = 0; i < DisplacementDim; ++i)
85 Eigen::Matrix<double, DisplacementDim, DisplacementDim>
const
86 ei_otimes_ei = e.col(i) * e.col(i).transpose();
88 k += k_data[i] * ei_otimes_ei;
StrainDependentPermeability(std::string name, ParameterLib::Parameter< double > const &k0, double const b1, double const b2, double const b3, double const minimum_permeability, double const maximum_permeability, ParameterLib::CoordinateSystem const *const local_coordinate_system)
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