Professional Documents
Culture Documents
Georges Cailletaud
Ecole des Mines de Paris, Centre des Matériaux
UMR CNRS 7633
Contents 1/67
Contents
Element
Interpolation
Element list
Global problem
Formulation
Matrix formulation
Algorithm
Continuous→ Discrete→Continuous
Geometry discretization
Use elements
Geometry: X
x(M) = Ni∗e (M)x(Pi )
i
Element
Interpolation
Element list
Global problem
Formulation
Matrix formulation
Algorithm
2D-mapping
Rigid body displacement not represented for superparametric element that has nonlinear edges !
The location of the node at the middle of the edge is critical for quadratic edges
Element 9/67
Shape function matrix, [N] – Deformation matrix, [B]
Field u, T , C
Gradient ∼ε, grad(T ),. . .
Constitutive equations σ
∼
=Λ
∼
:∼
ε, q = −kgrad(T )
∼
Conservation div (σ
∼
) + f = 0, . . .
First step: express the continuous field and its gradient wrt the
discretized vector
Element 10/67
Deformation matrix [B] (1)
Knowing: X
ue (M) = Nie (M)qei
i
Element 11/67
Deformation matrix [B] (2)
e
q1x
e
e e N1 0 N2 0 N3 0 N4 0 q1y
{u} = [N]T {q} =
0 N1 0 N2 0 N3 0 N4 ...
e
q4y
e e
{ε} = [B]T {q}
e
q1x
N1,x 0 N2,x 0 N3,x 0 N4,x 0 e
= 0 N1,y 0 N2,y 0 N3,y 0 N4,y q1y
...
N1,y N1,x N2,y N2,x N3,y N3,x N4,y N4,x e
q4y
Shear term taken as γ = 2ε12
Element 12/67
Reference element
η
η
1
ξ
ξ
−1 1
y
x −1
Z Z +1 Z +1
f (x, y )dxdy = f∗ (ξ, η)Jdξdη
Ω −1 −1
Element 13/67
Remarks on geometrical mapping
The values on an edge depends only on the nodal values on the same
edge (linear interpolation equal to zero on each side for 2-node lines,
parabolic interpolation equal to zero for 3 points for 3-node lines)
Continuity...
The mid node is used to allow non linear geometries
Limits in the admissible mapping for avoiding singularities
Element 14/67
Mapping of a 3-node line
1.5
x2 =0
1
0.5 x2 =1/2
x
0 x2 =1
-0.5
-1
-1 -0.5 0 0.5 1
ξ
Element 15/67
Jacobian and inverse jacobian matrix
∂x ∂x
dx ∂ξ ∂η dξ = [J] dξ
= ∂y ∂y dη
dy dη
∂ξ ∂η
∂ξ ∂ξ
dξ ∂x ∂y dx = [J]−1 dx
= ∂η ∂η dy
dη dy
∂x ∂y
∂x ∂y ∂y ∂x
J = Det ([J]) = −
∂ξ ∂η ∂ξ ∂η
Element 16/67
Expression of the inverse jacobian matrix
∂y ∂y
1 ∂η −
−1
[J] = ∂x ∂ξ
J − ∂x
∂η ∂ξ
For a rectangle [±a, ±b] in the ”real world”, the mapping function is
the same for any point inside the rectangle. The jacobian is a
diagonal matrix, with ∂x/∂ξ = a, ∂y /∂η = b, and the determinant
value is ab
For any other shape, the ”mapping” changes according to the
location in the element
For computing [B], one has to consider ∂Ni /∂x and ∂Ni /∂y :
Element
Interpolation
Element list
Global problem
Formulation
Matrix formulation
Algorithm
2D solid elements
Element 19/67
3D solid elements
Element 20/67
Isoparametric representation
Example: 2D plane stress elements with n nodes
Element geometry
Xn n
X n
X
1= Ni x= N i xi y= N i yi
i=1 i=1 i=1
Displacement interpolation
X n n
X
ux = Ni uxi uy = Ni u y i
i=1 i=1
Matrix form
N1
1 1 1 1 ... 1
x x1 x2 x3 ... xn N2
N3
y = y1 y2 y3 ... yn
.
ux ux1 ux2 ux3 ... uxn
.
uy uy 1 uy 2 uy 3 ... uyn
Nn
Element 21/67
The linear triangle
IFEM–Felippa
Terms in 1, ξ, η
Element 22/67
The bilinear quad
IFEM–Felippa
Terms in 1, ξ, η, ξη
Element 23/67
The quadratic triangle
IFEM–Felippa
Terms in 1, ξ, η, ξ 2 , ξη, η 2
Element 24/67
The biquadratic quad
IFEM–Felippa
Terms in 1, ξ, η, ξ 2 , ξη, η 2 , ξ 2 η, ξη 2 , ξ 2 η 2
Element 25/67
The 8-node quad
IFEM–Felippa
1
Corner nodes: Ni = (1 + ξξi )(1 + ηηi )(ξξi + ηηi − 1)
4
1
Mid nodes, ξi = 0: Ni = (1 − ξ 2 )(1 + ηηi )
2
1
Mid nodes, ηi = 0: nI = (1 − η 2 )(1 + ξξi )
2
Terms in 1, ξ, η, ξ 2 , ξη, η 2 , ξ 2 η, ξη 2
Element 26/67
Approximated field
1
ξ η
Polynomial basis
ξ2 ξη η2
3 2 2
ξ ξ η ξη η3
Examples :
C2D4 (1 + ξi ξ)(1 + ηi η)
C2D8, corner 0.25(−1 + ξi ξ + ηi η)(1 + ξi ξ)(1 + ηi η)
C2D8 middle 0.25(1. − ξ 2 )(1. + ηi η)
Element 27/67
The 2-node infinite element
x ξ
x1 x2 → ∞ 1 2
Interpolation
1−ξ 1+ξ
N1 = N2 =
2 2
Geometry
1+ξ
N1∗ such as x = x1 + α N2∗ = 0
1−ξ
ξ =?
Resulting displacement interpolation
u(x) =??
Element 28/67
The 2-node infinite element
x ξ
x1 x2 → ∞ 1 2
Interpolation
1−ξ 1+ξ
N1 = N2 =
2 2
Geometry
1+ξ
N1∗ such as x = x1 + α N2∗ = 0
1−ξ
x − x1 − α
ξ=
x − x1 + α
Resulting displacement interpolation
u(x) =?
Element 29/67
The 2-node infinite element
x ξ
x1 x2 → ∞ 1 2
Interpolation
1−ξ 1+ξ
N1 = N2 =
2 2
Geometry
1+ξ
N1∗ such as x = x1 + α N2∗ = 0
1−ξ
x − x1 − α
ξ=
x − x1 + α
Resulting displacement interpolation
αq1
u(x) = N1 (x) q1 = N1 (ξ(x)) q1 =
x − x1 + α
Element 30/67
Connecting element
7 6 5
Connection between
a linear and a
4
quadratic quad
lin. quad.
1 2 3
Quadratic interpolation with node number 8 in the middle of 1–7:
u(M) = N1 q1 + N8 q8 + N7 q7
On edge 1–7, in the linear element, the displacement should verify:
q8 =?
Overloaded shape function in nodes 1 and 7 after suppressing node
8:
u(M) =??
Element 31/67
Connecting element
7 6 5
Connection between
a linear and a
4
quadratic quad
lin. quad.
1 2 3
Quadratic interpolation with node number 8 in the middle of 1–7:
u(M) = N1 q1 + N8 q8 + N7 q7
On edge 1–7, in the linear element, the displacement should verify:
q8 = (q1 + q7 )/2
Overloaded shape function in nodes 1 and 7 after suppressing node
8:
u(M) =??
Element 32/67
Connecting element
7 6 5
Connection between
a linear and a
4
quadratic quad
lin. quad.
1 2 3
Quadratic interpolation with node number 8 in the middle of 1–7:
u(M) = N1 q1 + N8 q8 + N7 q7
On edge 1–7, in the linear element, the displacement should verify:
q8 = (q1 + q7 )/2
Overloaded shape function in nodes 1 and 7 after suppressing node
8:
N8 N8
u(M) = N1 + q1 + N7 + q7
2 2
Element 33/67
Contents
Element
Interpolation
Element list
Global problem
Formulation
Matrix formulation
Algorithm
Thermal conduction
Strong form:
”GIVEN r : Ω → R, a volumetric flux,
φd : Γf → R, a surface flux,
Td : Γu → R, a prescribed temperature,
FIND T : Ω → R, the temperature, such as:”
in Ω φi,i =r
on Γu T = Td
on ΓF −φi ni = Φd
Weak form:
S, trial solution space, such as T = T d on Γu
V, variation space, such as δT = 0 on Γu
”GIVEN r : Ω → R, a volumetric flux,
Φd : Γf → R, a surface flux,
T d : Γu → R, a prescribed temperature,
FIND T ∈ S such as ∀δT ∈ V
Z Z Z
− φi δT ,i dΩ = δTrdΩ + δT Φd dΓ
Ω Ω ΓF
Strong form:
Weak form:
u̇ = [N]{u̇ e } ; ε̇ = [B]{u̇ e }
∼
e
The solution of the problem: {Fint ({u e })} = {Fext
e
} with Newton
iterative algorithm will use the jacobian matrix :
e
∂{Fint }
[K e ] =
∂{u e }
Z
∂{σ} ∂{ε}
= [B]T . . dΩ
Ω ∂{ε} ∂{u e }
Z
∂{σ}
= [B]T . .[B] dΩ
Ω ∂{ε}
Kinematics Equilibrium
STRONG WEAK
d
BCu: u = u on Γu BCu: u h = u d on Γu
Kinematics: ε = [B] u in Ω Kinematics: ε = [B] u h in Ω
Constitutive equation: Constitutive equation:
σ = Λε σ = Λε
Equilibrium: [B] σ + f = 0 Equilibrium: δΠ = 0
BCs: σn = F on ΓF BCs: δΠ = 0
Element
Interpolation
Element list
Global problem
Formulation
Matrix formulation
Algorithm
Matrix–vectors formulation of the weak form of the
problem
[K ] {q} = {F }
Thermal conduction:
Z Z Z
T
[K ] = [B] [κ] [B] dΩ {F } = [N] rdΩ + [N] Φd dΓ
Ω Ω ∂Ω
Elasticity:
Z Z Z
T
[K ] = [B] [Λ] [B] dΩ {F } = [N] f d dΩ + [N] Fd dΓ
Ω Ω ∂Ω
In each element e:
Internal forces:
Z Z
e
{Fint }= {σ({u e }).[B] dΩ = [B]T {σ({u e }) dΩ
Ω Ω
External forces:
Z Z
d
e
{Fext } = f .[N]dΩ + Fd .[N]dS
Global problem Ω ΓF 44/67
The stiffness matrix
T
[B] [D] [B] [K ]
3 (6) 3 (6) 8 (60) 8 (60)
8 3 3 = 8
(60) (6) (6) (60)
Z
T
e
{Fext }= [N] F d dS
ΓF
η
η
Ft Fn
7 1
6 5
8
ξ
4 ξ
−1 1
1 3
2
−1
Fx ds = Ft dx − Fn dy
dx dξ
with = [J]
Fy ds = Fn dx + Ft dy dy dη
Z 1
e ∂x ∂y
Fext (2i − 1) = e Ni − FnFt dξ
−1 ∂ξ ∂ξ
Z 1
e ∂x ∂y
Fext (2i) = e Ni F n + Ft dξ
−1 ∂ξ ∂ξ
Example, for a pressure Fn = p, and no shear (Ft = 0) on the 5–7 edge
of a 8-node rectangle
−a 6 x 6 a y =b represented by − 1 6 ξ 6 1 η = 1
∂x ∂y
=a =0
∂ξ ∂ξ
N5 = ξ(1 + ξ)/2 N6 = 1 − ξ 2 N7 = −ξ(1 − ξ)/2
(4)
(1) (1)
7 6 5 7 6 5
Z 1
1 ap
F10 = F5y = e ξ(1 + ξ)padξ =
−1 2 3
Z1
4ap
F12 = F6y = e (1 − ξ 2 )padξ =
−1 3
The nodal forces at the middle node are 4 times the nodal forces at
corner nodes for an uniform pressure (distribution 1–2–1–2–1... after
adding the contribution of each element)
(1)
7 6 5
7 6 5
Face of a 20-node hexahedron
(4) (−1) (4)
(−1) (−1)
(4)
(4)
(−1)
who knows ?
(3)
6 7
4 3
C
1 2
4 5
4 3
3
B
A
1 2 1 2
1 2 3
Local versus global numbering
F1A q1A
0 1 0 1
F1 = q1 =
BF2
B = F2A +F1B C Bq2 = q2A = q1B C
+F2B
C B
= q2B
C
BF3 = C Bq3 = C
B C B C
BF4
B = F3A +F4B C
+F1 CC
Bq4
B = q3A = q4B C
= q1 CC
BF5
B = +F3B +F2C C
C
Bq5
B = = q3B = q2C C
C
@F6 = C
+F A @q6 = =q AC
4 4
F7 = +F3C q7 = = q3C
6 7
4 3
C
1 2
4 5
4 3
3
B
A
1 2 1 2
1 2 3
11
6 7
4 3
C
1 2
4 5
4 3
3
B
A
1 2 1 2
1 2 3
1
11 12
22
21
6 7
4 3
C
1 2
4 5
4 3
3
B
A
1 2 1 2
1 2 3
1
11 12 13
22 23
21
6 7
32 4 3
31
33
C
1 2
4 5
4 3
3
B
A
1 2 1 2
1 2 3
1
11 12 13
22 23
21
11
6 7
32 4 3
31
33
C
1 2
4 5
4 3
3
B
A
1 2 1 2
1 2 3
1
11 12 13
22 23
21
11
6 7
32 4 3
31
33
C
1 2
4 5
4 3
3
B
A
1 2 1 2
1 2 3
1
11 12 13
22 23
21 12
11
21 22
6 7
32 4 3
31
33
C
1 2
4 5
4 3
3
B
A
1 2 1 2
1 2 3
1
11 12 13
22 23
21 12 13
11
21 22 23
6 7
32 4 3
31
33
C
33
31 32
1 2
4 5
4 3
3
B
A
1 2 1 2
1 2 3
1
11 12 13
22 23
21 12 13
11 14
21 22 24 23
6 7
32 44 43 3
31 42
11 4
41 33
C
34 33
31 32
1 2
4 5
4 3
3
B
A
1 2 1 2
1 2 3
1
11 12 13
22 23
21 12 13
11 14
21 22 24 23
6 7
32 44 43 3
31 42
11 4
41 33 12
C
34 33
31 32
21 22 1 2
4 5
4 3
3
B
A
1 2 1 2
1 2 3
1
11 12 13
22 23
21 12 13
11 14
21 22 24 23
6 7
32 44 43 3
31 42
11
13 4
41 33 12
C
34 33
31 32 23
21 22 1 2
4 5
4 3
3
B
A
31 32 33
1 2 1 2
1 2 3
1
11 12 13
22 23
21 12 13
11 14
21 22 24 23
6 7
32 44 43 3
31 42
11
14 13 4
41 33 12
C
34 33
31 32 24 23
21 22 1 2
4 5
4 3
42 44 43 3
41
B
A
31 32 34 33
1 2 1 2
1 2 3
1
Element
Interpolation
Element list
Global problem
Formulation
Matrix formulation
Algorithm
Global algorithm
Relative values:
||{R}i − {R}e ||
<
||{R}e ||
Displacements
{U} − {U}k n < U
k+1
Energy
T
{U}k+1 − {U}k . {R}k < W