diff --git a/MaterialLib/SolidModels/MFront/ModCamClay_semiExpl_absP.mfront b/MaterialLib/SolidModels/MFront/ModCamClay_semiExpl_absP.mfront index 4ce070c8989..60035a0126a 100644 --- a/MaterialLib/SolidModels/MFront/ModCamClay_semiExpl_absP.mfront +++ b/MaterialLib/SolidModels/MFront/ModCamClay_semiExpl_absP.mfront @@ -182,7 +182,6 @@ v.setEntryName("VolumeRatio"); // Total volume per solid volume = inv(1 - poros // calculate the direction of plastic flow const auto f = q * q + M2 * p * (p - pc_new); const auto df_dp = M2 * (2 * p - pc_new); - const auto df_ds = 3 * s; const auto df_dpc = -M2 * p; const auto df_dsig = eval(3 * s - df_dp * id2 / 3); auto norm = std::sqrt(6 * q * q + df_dp * df_dp / 3); // = std::sqrt(df_dsig|df_dsig); diff --git a/MaterialLib/SolidModels/MFront/MohrCoulombAbboSloanOrtho.mfront b/MaterialLib/SolidModels/MFront/MohrCoulombAbboSloanOrtho.mfront index 8d8b4ca829a..2c23451cf83 100644 --- a/MaterialLib/SolidModels/MFront/MohrCoulombAbboSloanOrtho.mfront +++ b/MaterialLib/SolidModels/MFront/MohrCoulombAbboSloanOrtho.mfront @@ -142,7 +142,6 @@ a.setEntryName("TensionCutOffParameter"); constexpr auto sqrt3 = Cste::sqrt3; constexpr auto isqrt3 = Cste::isqrt3; constexpr auto id = Stensor::Id(); - constexpr auto id4 = Stensor4::Id(); if (F) { const auto s = deviator(sig);