https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: 797774aa3e37a22cd437d82794ea7eae174aac1a authored by Norbert Grunwald on 08 October 2021, 09:04:13 UTC
[T/2PhasePP] Update cTest config to fit the new test version.
Tip revision: 797774a
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