linear statics fem hand out
TRANSCRIPT
-
7/28/2019 Linear Statics Fem Hand Out
1/45
OverviewIntroduction
Linear elasticity problemThe Finite Element Method
Finite Element Method applied to linear statics of
deformable solids
Joel Cugnoni, LMAF / EPFL
February 20, 2013
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
-
7/28/2019 Linear Statics Fem Hand Out
2/45
OverviewIntroduction
Linear elasticity problemThe Finite Element Method
1 IntroductionDefinitionsSome MathsLinear elasticity
2
Linear elasticity problemEquilibrium of a linear elastic solidDifferential EquationVirtual Work PrincipleWeak Form
3 The Finite Element MethodApproximate solution of the Weak FormFinite Element Method
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
-
7/28/2019 Linear Statics Fem Hand Out
3/45
-
7/28/2019 Linear Statics Fem Hand Out
4/45
OverviewIntroduction
Linear elasticity problemThe Finite Element Method
DefinitionsSome MathsLinear elasticity
Some Maths
Symmetric 2nd order tensors written in vector forms:
= {11, 22, 33, 23, 31, 12}T
Differential operator:
=
/x
1 0 00 /x2 00 0 /x30 /x3 /x2
/x3 0 /x1
/x2 /x1 0
hence we have:
div() = T
and:
grad(u) = uJoel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
O i
-
7/28/2019 Linear Statics Fem Hand Out
5/45
OverviewIntroduction
Linear elasticity problemThe Finite Element Method
DefinitionsSome MathsLinear elasticity
Linear elasticity
The stress is defined by the symmetric Cauchy stress tensor
(x) = {11, 22, 33, 23, 31, 12}T
For small deformations, the (infinitesimal) strain tensor(x) = {11, 22, 33, 23, 31, 12}T is defined by:
(x) = u(x)
The constitutive stress - strain relationship of linear elasticity
is given by the Hooks law:
(x) = C(x) (x)
where C(x) is the 4th order elasticity tensor
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
O i
-
7/28/2019 Linear Statics Fem Hand Out
6/45
OverviewIntroduction
Linear elasticity problemThe Finite Element Method
DefinitionsSome MathsLinear elasticity
Elasticity tensor
For an isotropic material in 3D, the 4th order symmetricelasticity tensor is defined by two constants: the Youngsmodulus E and the Poissons ration
With the previous definitions, C can be written in matrix form:
C =
1 0 0 0 1 0 0 0 1 0 0 0
0 0 0 (12)2 0 0
0 0 0 0 (12)2 0
0 0 0 0 0 (12)2
with: = E(1+)(12)
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
Overview Equilibrium of a linear elastic solid
-
7/28/2019 Linear Statics Fem Hand Out
7/45
OverviewIntroduction
Linear elasticity problemThe Finite Element Method
Equilibrium of a linear elastic solidDifferential EquationVirtual Work PrincipleWeak Form
Stress equilibrium
Internal Stress Equilibrium
Equilibrium is achieved if, atany point x of :
div((x)) + f(x) = 0or
T(x) + f(x) = 0
where:
is the internal Cauchystress tensor
f is the body (volumic)force vector
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
-
7/28/2019 Linear Statics Fem Hand Out
8/45
Overview Equilibrium of a linear elastic solid
-
7/28/2019 Linear Statics Fem Hand Out
9/45
OverviewIntroduction
Linear elasticity problemThe Finite Element Method
Equilibrium of a linear elastic solidDifferential EquationVirtual Work PrincipleWeak Form
Virtual Work Principle
Virtual Work Principle
The weak form of the elastostatic problem can be obtained usingthe Virtual Work Principle. Taking the differential equation, we
multiply it by an arbitrary admissible test function u and integrateit over the domain .
u
TC u + f
d = 0 , u
Note that the initial x of the local equilibrium diff. equation hasbeen replaced by u in the integral form.
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
Overview Equilibrium of a linear elastic solid
-
7/28/2019 Linear Statics Fem Hand Out
10/45
OverviewIntroduction
Linear elasticity problemThe Finite Element Method
Equilibrium of a linear elastic solidDifferential EquationVirtual Work PrincipleWeak Form
Virtual Work Principle, development..
Applying integration by part, and imposing that u is continuous,differentiable and satisfies the homogeneous form of thedisplacement boundary condition:
u(x) = 0 , x u
We obtain:
(u)T C u d+
uT t d()+
uT fd = 0 , u
which terms corresponds to the virtual work of internal stresses,surface tractions and body forces.
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
-
7/28/2019 Linear Statics Fem Hand Out
11/45
Overview Equilibrium of a linear elastic solid
-
7/28/2019 Linear Statics Fem Hand Out
12/45
IntroductionLinear elasticity problem
The Finite Element Method
qDifferential EquationVirtual Work PrincipleWeak Form
Weak form of linear statics
Linear elasticity problem in Weak Form
find the displacement field u(x) U such that :
(u)T
C u d =
uT t d() +
uT f d ,
u V
where:Ui =
ui(x) | ui(x) H
1(); ui(x) = ui(x), x u
Vi =
ui(x) | ui(x) H1(); ui(x) = 0, x u
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
Overview Equilibrium of a linear elastic solid
-
7/28/2019 Linear Statics Fem Hand Out
13/45
IntroductionLinear elasticity problem
The Finite Element Method
Differential EquationVirtual Work PrincipleWeak Form
Comments
The displacement boundary conditions have been moved inthe class of functions U. This type of boundary condition iscalled essential because it is related to the essence of theproblem = the displacement field!!
The surface traction boundary conditions t on are nowexplicitly introduced in the weak form. This type of boundarycondition is called natural because it falls naturally in theweak form of the problem!!
The name Weak Form comes from the fact that therequirements of differentiability / continuity of the fields uand u are relaxed compared to the initial differential equationform. Note that the functions do not necessarilly need to becontinuous!
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
Overviewf
-
7/28/2019 Linear Statics Fem Hand Out
14/45
IntroductionLinear elasticity problem
The Finite Element Method
Approximate solution of the Weak FormFinite Element Method
Approximate solution of the Weak Form
We are looking for an approximate solution of the Weak Formproblem. We give us two subsets Uh and Vh of the function spacesU and V to form the basis of the approximations:
uh u , uh u
uh
Uh
U , uh
Vh
VBy considering an approximation Uh based on a linear
combination of a finite number of basis functions, we can write:
uh(x) = H(x) q
where H(x) is the 3xn matrix of shape functions and q is thevector of displacement components. Using Galerkin method, wechoose the same base function space for u:
uh(x) = H(x) q
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
-
7/28/2019 Linear Statics Fem Hand Out
15/45
OverviewI t d ti A i t s l ti f th W k F
-
7/28/2019 Linear Statics Fem Hand Out
16/45
IntroductionLinear elasticity problem
The Finite Element Method
Approximate solution of the Weak FormFinite Element Method
Approximate linear statics problem
Approximate linear statics problem
find the displacement components q such that :
K q = r
and:uh(x) = H(x) q = u , x u
with:
K =
B
T
CB d
r =
HTfd +
HTt d()
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
OverviewIntroduction Approximate solution of the Weak Form
-
7/28/2019 Linear Statics Fem Hand Out
17/45
IntroductionLinear elasticity problem
The Finite Element Method
Approximate solution of the Weak FormFinite Element Method
Comments
K is called the stiffness matrix of the system, r is the forcevector containing contributions of both surface tractions andbody forcesBy choosing a finite subset of basis functions to build theapproximation of the weak, we have turned the algebraic
differential equation problem into a linear system of equations:all terms of K and r are constant, hence the name linearstatic problem.As the displacement is a linear combination of functions
defined over , enforcing exact displacement boundaryconditions uh(x) = u is not trivial except for zero imposeddisplacement.Integrating the matrices & force vector over an arbitrarydomain can become very complex, and thus numerical
integration methods may be used.Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
OverviewIntroduction Approximate solution of the Weak Form
-
7/28/2019 Linear Statics Fem Hand Out
18/45
IntroductionLinear elasticity problem
The Finite Element Method
Approximate solution of the Weak FormFinite Element Method
The Finite Element Method
In some sense, the Finite Element Method is one way of defining asystematic approximate function space with the aim to:
1 build approximate solutions over arbitrarily complex domains
2 simplify the treatment of essential boundary conditions3 simplify the integration of the global system matrice(s) and
load vector(s)
4 automate the resolution procedure: integration of the linear
system & solution
Now lets see how this can be achieved !!
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
OverviewIntroduction Approximate solution of the Weak Form
-
7/28/2019 Linear Statics Fem Hand Out
19/45
IntroductionLinear elasticity problem
The Finite Element Method
Approximate solution of the Weak FormFinite Element Method
The key ideas behind the Finite Element Method
How to process complex domain?
By discretizing the domain in a set of smaller & simpler domains.
The discretization h
of is defined by a set of discrete pointscalled nodes and a set of sub-domains of basic topology calledelements, which forms what we call a mesh.
h , h = 1 2 ... n
The j-th node is represented by its coordinates xj and the eachelement is defined by its connectivities: an ordered list of nodeswhich serve as support for the element.
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
OverviewIntroduction Approximate solution of the Weak Form
-
7/28/2019 Linear Statics Fem Hand Out
20/45
IntroductionLinear elasticity problem
The Finite Element Method
Approximate solution of the Weak FormFinite Element Method
The key ideas behind the Finite Element Method
A simple mesh made of 16 elements and 25 nodes
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
OverviewIntroduction Approximate solution of the Weak Form
-
7/28/2019 Linear Statics Fem Hand Out
21/45
Linear elasticity problemThe Finite Element Method
ppFinite Element Method
The key ideas behind the Finite Element Method
An much more complex mesh of an HydroptereJoel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
OverviewIntroduction Approximate solution of the Weak Form
-
7/28/2019 Linear Statics Fem Hand Out
22/45
Linear elasticity problemThe Finite Element Method
Finite Element Method
The key ideas behind the Finite Element Method
How to simplify the treatment of essential BC?
Use discrete node-based shape functions on h : each node ofcoordinates xi is associated to its own shape function hi. The
approximation uh
is then written as :
uh = H q with H = [h1 I, h2 I, ..., hn I]
and q =
q1, q2, ..., qp
T
Moreover, the shape functions are required to have compactsupport (Kronecker property):
hi(xj) = ij x
j h
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
OverviewIntroduction Approximate solution of the Weak Form
-
7/28/2019 Linear Statics Fem Hand Out
23/45
Linear elasticity problemThe Finite Element Method
Finite Element Method
The key ideas behind the Finite Element Method
An illustration of h5(x) showing the compact support property
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
-
7/28/2019 Linear Statics Fem Hand Out
24/45
OverviewIntroduction
Li l ti it blApproximate solution of the Weak FormFi it El t M th d
-
7/28/2019 Linear Statics Fem Hand Out
25/45
Linear elasticity problemThe Finite Element Method
Finite Element Method
The key ideas behind the Finite Element Method
How to simplify the integration?
Split integration in each element..
d =n
i=1
i
d
d() =
k
i=1
i d()
Note that local support means that, when integrating hi, onlycontributions of element containing node i must be processed.
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
OverviewIntroduction
Linear elasticity problemApproximate solution of the Weak FormFinite Element Method
-
7/28/2019 Linear Statics Fem Hand Out
26/45
Linear elasticity problemThe Finite Element Method
Finite Element Method
The key ideas behind the Finite Element Method
How to simplify the integration?
d =
1
d +
2
d +
3
d +
4
d
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
OverviewIntroduction
Linear elasticity problemApproximate solution of the Weak FormFinite Element Method
-
7/28/2019 Linear Statics Fem Hand Out
27/45
Linear elasticity problemThe Finite Element Method
Finite Element Method
The key ideas behind the Finite Element Method
How to automate the process?
By treating the problem per element : localization !Local displacement approximation in the e-th element as :
euh = eH eq
Where:eH = [eh1I,
eh2I, ...,ehpI]
And: eq = eL q
eL is called the binary localization matrix representing the global -local numbering relationship (related to the element connectivitytable)
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
OverviewIntroduction
Linear elasticity problemApproximate solution of the Weak FormFinite Element Method
-
7/28/2019 Linear Statics Fem Hand Out
28/45
Linear elasticity problemThe Finite Element Method
Finite Element Method
The key ideas behind the Finite Element Method
An illustration of the global shape function h5(x)
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
-
7/28/2019 Linear Statics Fem Hand Out
29/45
OverviewIntroduction
Linear elasticity problemApproximate solution of the Weak FormFinite Element Method
-
7/28/2019 Linear Statics Fem Hand Out
30/45
y pThe Finite Element Method
The key ideas behind the Finite Element Method
Integration of the system of equationUsing the localized quantities euh and eH, we can expand theintegration:
K = h
BT C B d =
q
e=1
eLTe
eBT eC eB d eLwhere eB = eH is the local displacement - strain matrixand eC is the element elasticity matrix (strain - stressrelationship).
We then define the elementary stiffness matrix eK:
eK =
e
eBT eC eB d
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
OverviewIntroduction
Linear elasticity problemApproximate solution of the Weak FormFinite Element Method
-
7/28/2019 Linear Statics Fem Hand Out
31/45
y pThe Finite Element Method
The key ideas behind the Finite Element Method
Assembly operation
We define the so-called Assembly operator
as:
pe=1
{} =
pe=1
eLT {}e L
With this operator:
K =
pe=1
eLT eKeL =
pe=1
eK
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
OverviewIntroduction
Linear elasticity problemApproximate solution of the Weak FormFinite Element Method
-
7/28/2019 Linear Statics Fem Hand Out
32/45
The Finite Element Method
The key ideas behind the Finite Element Method
Automating the integration / standardizing the shapefunctions
To automate the integration and simplify the definition of shapefunctions, we transform each distorted elementary domain e
into a reference domain a
where we can apply standard numericalintegration procedures.
The coordinate transformation
eT : a e | x()
maps any point of coordinate = {1, 2, 3}T in the master
domain a to its (single) corresponding point of coordinatex = x() in the elementary domain e (bijective application).
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
OverviewIntroductionLinear elasticity problem
Th Fi i El M h d
Approximate solution of the Weak FormFinite Element Method
-
7/28/2019 Linear Statics Fem Hand Out
33/45
The Finite Element Method
The key ideas behind the Finite Element Method
An illustration of the coordinate transform eT
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
OverviewIntroductionLinear elasticity problem
Th Fi it El t M th d
Approximate solution of the Weak FormFinite Element Method
-
7/28/2019 Linear Statics Fem Hand Out
34/45
The Finite Element Method
The key ideas behind the Finite Element Method
Master element & shape functions
With the coordinate transform eT and eT1, the shape functionsehi(x) can be mapped to master shape functions
ahi() defined inthe master element space a:
eH(x) = eH(x()) = aH()
Such that now, in each element e:
euh[x()] = aH() eq
Thanks to that transformation, we only need to derive once theshape function formulations aH() in the normalized masterelement space a Standardized shape functions !!
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
OverviewIntroductionLinear elasticity problem
The Finite Element Method
Approximate solution of the Weak FormFinite Element Method
-
7/28/2019 Linear Statics Fem Hand Out
35/45
The Finite Element Method
The key ideas behind the Finite Element Method
Element & Master shape functions
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
OverviewIntroductionLinear elasticity problem
The Finite Element Method
Approximate solution of the Weak FormFinite Element Method
-
7/28/2019 Linear Statics Fem Hand Out
36/45
The Finite Element Method
The key ideas behind the Finite Element Method
How to choose a simple form of coordinate transformation ?
Simply by using the shape functions to write the coordinatetransform:
e
T : x = x() =a
H()e
x
Which means that inside each element e, the coordinates areinterpolated as a linear combination of the shape functions andnodal coordinates ex.
With the Kronecker propertye
hi(xj
) = ij a
hi(j
) = ij, thisensures that each node of the master element corresponds to anode in the deformed element e.
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
OverviewIntroductionLinear elasticity problem
The Finite Element Method
Approximate solution of the Weak FormFinite Element Method
-
7/28/2019 Linear Statics Fem Hand Out
37/45
The Finite Element Method
The key ideas behind the Finite Element Method
Coordinate transformation
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
OverviewIntroductionLinear elasticity problem
The Finite Element Method
Approximate solution of the Weak FormFinite Element Method
-
7/28/2019 Linear Statics Fem Hand Out
38/45
The Finite Element Method
The key ideas behind the Finite Element Method
Automating the integrationUsing the coordinate transform eT and master shape functions,the integrals can be rewritten to be carried out directly on astandard domain a:
eK =
a
{ eB(x())}T C { eB(x())}
ej da
Where ej is the determinant of the jacobian matrix eJ
e
j = det(
e
J)
with the definition:eJij =
xij
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
-
7/28/2019 Linear Statics Fem Hand Out
39/45
OverviewIntroductionLinear elasticity problem
The Finite Element Method
Approximate solution of the Weak FormFinite Element Method
-
7/28/2019 Linear Statics Fem Hand Out
40/45
The key ideas behind the Finite Element Method
Numerical integrationOn the master element, standard Gauss-Legendre numericalintegration schemes can be used to automate the calculation of theelementary stiffness matrix eK and load vector. For eachdimension, the integrals are transformed into a weighted sum:
+1
1() dj
ri=1
ij() |j=ij
where the points of coordinates ij are called Gauss points or
integration points and
i
j are the associated weights.Using the integration schemes in the three directions:+11
+11
+11
() d3d2d1 r
i=1
sj=1
tk=1
i1j2
k3 () |1=i1,2=
j2,3=
k3
e = e T e e aJoel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol OverviewIntroduction
Linear elasticity problemThe Finite Element Method
Approximate solution of the Weak FormFinite Element Method
-
7/28/2019 Linear Statics Fem Hand Out
41/45
The key ideas behind the Finite Element Method
Numerical integrationUsing the integration schemes in the three directions:
+11
+11
+11
() d3d2d1 r
i=1
s
j=1
t
k=1
i1j2
k3 () |1=i1,2=
j2,3=
k3
Thus, the elementary stiffness matrix eK can be computednumerically as:
eK
ri=1
sj=1
tk=1
i1j2k3
(aH)T C (aH) ej1=i1,2=
j2,3=
k3
Note that the internal terms (aH)T C (aH) j are evaluateddirectly in the master element coordinate system 1, 2, 3.
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
OverviewIntroductionLinear elasticity problem
The Finite Element Method
Approximate solution of the Weak FormFinite Element Method
-
7/28/2019 Linear Statics Fem Hand Out
42/45
The key ideas behind the Finite Element Method
Gauss points & numerical integration
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
OverviewIntroductionLinear elasticity problem
The Finite Element Method
Approximate solution of the Weak FormFinite Element Method
-
7/28/2019 Linear Statics Fem Hand Out
43/45
The key ideas behind the Finite Element Method
So finally, what is a Finite Element ?
Using these principles, a standard, displacement based, FiniteElement formulation is defined by:
1 The basic topology of its master element a
2 The coordinate transform eT mapping the master domain a
to the real element domain e
3 The shape functions aH and their derivatives hi/j in themaster element
4 The numerical integration scheme (Gauss points and weights)in the master element.
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
OverviewIntroductionLinear elasticity problem
The Finite Element Method
Approximate solution of the Weak FormFinite Element Method
-
7/28/2019 Linear Statics Fem Hand Out
44/45
The key ideas behind the Finite Element Method
So finally, what is a Finite Element Model?
A Finite Element Model is thus defined by :
1 The geometrical mesh h consisting of all elementary domains
e
(defined by nodes and connectivity table)2 The definition of the problem to be solved: K q = r
3 A list of Finite Elements (formulations) supported bygeometrical cells of the mesh
4
Boundary conditions: imposed nodal displacementq on uand imposed surface tractions on
5 Material properties ( eC ) assigned to each Finite Element
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol
OverviewIntroductionLinear elasticity problem
The Finite Element Method
Approximate solution of the Weak FormFinite Element Method
-
7/28/2019 Linear Statics Fem Hand Out
45/45
Shape functions
Requirements
1 Continuity: to have a continuous solution, shape functionsmust be continuous along the interfaces between elements
2 Completeness: to be able to represent uniform strain &
displacement, shape functions must at least be affine functions3 Differentiability: shape functions & derivatives must be
sufficiently regular to be square integrable over each element
Consequences
Partition of unity: at each point x,
i hi(x) = 1
Basic choice of shape function: piecewise polynomials, atleast piecewise trilinear functions in 3D
Joel Cugnoni, LMAF / EPFL Finite Element Method applied to linear statics of deformable sol