template<class FES, class Lambda, class Mu>
LinearElasticity class
Linear elasticity system for small deformations.
This class implements the linear elasticity equations in the context of small deformation theory. The governing equations are:
where is the displacement field, is the body force, and the stress tensor is given by:
with the strain tensor:
Parameters
- : Lamé's first parameter (related to bulk modulus)
- : Lamé's second parameter (shear modulus)
Material Relations
The Lamé parameters can be expressed in terms of Young's modulus and Poisson's ratio :
Usage Example
// Vector-valued FE space for displacement VectorP1 fes(mesh); RealFunction lambda(1.0); RealFunction mu(0.5); LinearElasticity<VectorP1, RealFunction, RealFunction> elasticity(lambda, mu, fes);
Constructors, destructors, conversion operators
- LinearElasticity(const Lambda& l, const Mu& m, const FES& fes)
- Constructs a linear elasticity model.
-
template<class MuDerived, class LambdaDerived>LinearElasticity(const Variational::
FunctionBase<LambdaDerived>& lambda, const Variational:: FunctionBase<MuDerived>& mu, const FES& fes) - Constructs a linear elasticity model with function parameters.
Function documentation
template<class FES, class Lambda, class Mu>
Rodin:: Elasticity:: LinearElasticity<FES, Lambda, Mu>:: LinearElasticity(const Lambda& l,
const Mu& m,
const FES& fes)
Constructs a linear elasticity model.
| Parameters | |
|---|---|
| l in | Lamé's first parameter |
| m in | Shear modulus |
| fes in | Finite element space for the displacement field |
template<class FES, class Lambda, class Mu>
template<class MuDerived, class LambdaDerived>
Rodin:: Elasticity:: LinearElasticity<FES, Lambda, Mu>:: LinearElasticity(const Variational:: FunctionBase<LambdaDerived>& lambda,
const Variational:: FunctionBase<MuDerived>& mu,
const FES& fes)
Constructs a linear elasticity model with function parameters.
| Template parameters | |
|---|---|
| MuDerived | Derived type for shear modulus function |
| LambdaDerived | Derived type for Lamé's first parameter function |
| Parameters | |
| lambda in | Lamé's first parameter function |
| mu in | Shear modulus function |
| fes in | Finite element space for the displacement field |
Overload accepting FunctionBase objects for spatially varying material parameters.