LinearElasticity.h file
Linear elasticity formulations and integrators.
This header aggregates functionality for linear elasticity problems, which model the deformation of elastic bodies under small strains.
Mathematical Foundation
Linear elasticity is governed by the equilibrium equation:
where:
- is the displacement field
- is the stress tensor
- is the body force
Constitutive Relations
For isotropic linear elastic materials:
where:
- is the strain tensor
- are the Lamé parameters
Weak Formulation
Find such that:
for all .
Usage Example
// Define vector-valued P1 space (dimension = spatial dimension) P1 Vh(mesh, mesh.getSpaceDimension()); TrialFunction u(Vh); TestFunction v(Vh); // Lamé parameters Real lambda = 1.0, mu = 1.0; // Linear elasticity bilinear form auto a = LinearElasticityIntegral(lambda, mu, u, v);