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

Introduced initial stress effect.

parent a4c2b298
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,8 @@ epsM.setEntryName("MaxwellStrain");
@InitLocalVariables
{
mu = computeMu(young, nu);
// Compute initial elastic strain
eel = 1. / (2. * mu) * sig - nu / young * trace(sig) * Stensor::Id();
}
@Integrator
......
......@@ -46,6 +46,8 @@ epsK.setEntryName("KelvinStrain");
@InitLocalVariables
{
mu = computeMu(young, nu);
// Compute initial elastic strain
eel = 1. / (2. * mu) * sig - nu / young * trace(sig) * Stensor::Id();
}
@Integrator
......
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