Skip to content

Commit

Permalink
MC pc_char to avoid non-zero stiffness
Browse files Browse the repository at this point in the history
  • Loading branch information
nagelt committed Oct 19, 2024
1 parent 4607254 commit 02cb60e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions MaterialLib/SolidModels/MFront/ModCamClay_semiExpl.mfront
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

@Theta 1.0; // time integration scheme
@Epsilon 1e-14; // tolerance of local stress integration algorithm
@MaximumNumberOfIterations 20; // for local local stress integration algorithm
@MaximumNumberOfIterations 100; // for local local stress integration algorithm
@ModellingHypotheses{".+"}; // supporting all stress and strain states
@Algorithm NewtonRaphson; //_NumericalJacobian;_LevenbergMarquardt

Expand Down Expand Up @@ -95,13 +95,13 @@ v.setEntryName("VolumeRatio"); // Total volume per solid volume = inv(1 - poros
sig0 = sig;

// compute elastic stiffness (constant during time step)
pc_min = 0.5e-8 * pc_char;
const auto p = -trace(sig) / 3;
const auto K = v0 / ka * p;
const auto K = v0 / ka * std::max(p,pc_char);
const auto E = 3.0 * K * (1.0 - 2*nu);

young = E;
rpc = pc / young;
pc_min = 0.5e-8 * pc_char;
rpc_min = pc_min / young;

// stress derivative
Expand Down

0 comments on commit 02cb60e

Please sign in to comment.