From 2a45f12248bcec4fb8199aea8313c643d3bb45cc Mon Sep 17 00:00:00 2001
From: cbsilver <christian.silbermann@ifgt.tu-freiberg.de>
Date: Thu, 15 Jun 2023 11:26:57 +0200
Subject: [PATCH] =?UTF-8?q?Removed=20unnecessary=20Lam=C3=A9=20constant=20?=
 =?UTF-8?q?in=20mfront?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../SolidModels/MFront/ModCamClay_semiExplParaInit.mfront     | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/MaterialLib/SolidModels/MFront/ModCamClay_semiExplParaInit.mfront b/MaterialLib/SolidModels/MFront/ModCamClay_semiExplParaInit.mfront
index 98a98ea1ed1..e6857b077ac 100644
--- a/MaterialLib/SolidModels/MFront/ModCamClay_semiExplParaInit.mfront
+++ b/MaterialLib/SolidModels/MFront/ModCamClay_semiExplParaInit.mfront
@@ -86,7 +86,6 @@ v.setEntryName("VolumeRatio");  // Total volume per solid volume = inv(1 - poros
 @LocalVariable real M2;
 @LocalVariable real pc_min;
 @LocalVariable real rpc_min;
-@LocalVariable stress mu;       // Second Lamé coefficient
 
 @InitLocalVariables
 {
@@ -94,8 +93,7 @@ v.setEntryName("VolumeRatio");  // Total volume per solid volume = inv(1 - poros
     M2 = M * M;
 
     // initial elastic strain
-    mu = computeMu(young, nu);
-    eel = 1. / (2. * mu) * sig - nu / young * trace(sig) * Stensor::Id();
+    eel = (1 + nu) / young * sig - nu / young * trace(sig) * Stensor::Id();
 
     rpc = pc / young;
     pc_min = 1e-15 * pc_char;
-- 
GitLab