Skip to content
Snippets Groups Projects
Commit b1bb5668 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[MatL] Move Elasticity.mfront to solid materials.

parent daa2b851
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,8 @@
@Author Helfer Thomas;
@Date 23/11/06;
@Description{
A very first test
(the most simple one in fact).
A very first test
(the most simple one in fact).
}
@UseQt true;
......@@ -11,22 +11,26 @@
@MaterialProperty stress young;
young.setGlossaryName("YoungModulus");
@MaterialProperty real nu;
@MaterialProperty real nu;
nu.setGlossaryName("PoissonRatio");
@LocalVariable stress lambda;
@LocalVariable stress mu;
@Includes{
#include"TFEL/Material/Lame.hxx"
@Includes
{
#include "TFEL/Material/Lame.hxx"
}
@Integrator{
using namespace tfel::material::lame;
lambda = computeLambda(young,nu);
mu = computeMu(young,nu);
sig = lambda*trace(eto+deto)*StrainStensor::Id()+2*mu*(eto+deto);
if(computeTangentOperator_){
Dt = lambda*Stensor4::IxI()+2*mu*Stensor4::Id();
}
@Integrator
{
using namespace tfel::material::lame;
lambda = computeLambda(young, nu);
mu = computeMu(young, nu);
sig = lambda * trace(eto + deto) * StrainStensor::Id() +
2 * mu * (eto + deto);
if (computeTangentOperator_)
{
Dt = lambda * Stensor4::IxI() + 2 * mu * Stensor4::Id();
}
}
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