https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: eec4eb0fc0f6c6e4dc3839400ee93e8245b10ce5 authored by Dmitri Naumov on 02 July 2021, 18:08:17 UTC
[T/RM/A2] Fix project to be RM, not TRM.
Tip revision: eec4eb0
Elasticity.mfront
@Behaviour Elasticity;
@Author Helfer Thomas;
@Date 23/11/06;
@Description{
    A very first test
    (the most simple one in fact).
}

@UseQt true;
@ProvidesSymmetricTangentOperator;

@MaterialProperty stress young;
young.setGlossaryName("YoungModulus");
@MaterialProperty real nu;
nu.setGlossaryName("PoissonRatio");

@LocalVariable stress lambda;
@LocalVariable stress mu;

@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();
    }
}
back to top