@DSL DefaultGenericBehaviour;
@Behaviour GeneralElasticity;
@Author rustfront contributors;
@Description {
Isotropic linear elasticity and the heat conduction law of Fourier, side
by side in a general behaviour, written for the tests of rustfront: two
gradients, the strain and the temperature gradient, and their two fluxes.
Being general, it is not a small strain behaviour although its first
gradient is the strain.
}
@Gradient StrainStensor eto;
eto.setGlossaryName("Strain");
@Flux StressStensor sig;
sig.setGlossaryName("Stress");
@Gradient TemperatureGradient gT;
gT.setGlossaryName("TemperatureGradient");
@Flux HeatFlux j;
j.setGlossaryName("HeatFlux");
@TangentOperatorBlocks{dsig_ddeto, dj_ddgT};
@MaterialProperty stress young;
young.setGlossaryName("YoungModulus");
@MaterialProperty real nu;
nu.setGlossaryName("PoissonRatio");
@MaterialProperty thermalconductivity k;
k.setGlossaryName("ThermalConductivity");
@Integrator {
const auto lambda = young * nu / ((1 + nu) * (1 - 2 * nu));
const auto mu = young / (2 * (1 + nu));
sig = lambda * trace(eto + deto) * Stensor::Id() + 2 * mu * (eto + deto);
j = -k * (gT + dgT);
}
@TangentOperator {
const auto lambda = young * nu / ((1 + nu) * (1 - 2 * nu));
const auto mu = young / (2 * (1 + nu));
dsig_ddeto = lambda * Stensor4::IxI() + 2 * mu * Stensor4::Id();
dj_ddgT = -k * tmatrix<N, N, real>::Id();
}