Weak Formulations and Discretisation: Finite Element Models For Nonlinear Analysis of Solids and Structures
Weak Formulations and Discretisation: Finite Element Models For Nonlinear Analysis of Solids and Structures
Weak Formulations and Discretisation: Finite Element Models For Nonlinear Analysis of Solids and Structures
8 march 2012
Contents
3 Discretisation
Shape functions
Discretised equilibrium equations
More on shape functions
Matrix notation
Outline
3 Discretisation
Shape functions
Discretised equilibrium equations
More on shape functions
Matrix notation
Directional derivative
DF(x0 )[u] = ∇F · u
The directional derivative is linear and satisfies the usual product rule
and chain rule of derivatives.
x=X +u 7→ x + ∆u = X + u + ∆u
Deformation Gradient F
∂∆u
DF [∆u] = = ∇0 ∆u
∂X
∂∆u ∂x
= = (∇∆u)F
∂x ∂X
Notation for gradient operators
∂(•)
def ∂(•i )
∇0 ∆u = ⇒
∂X ∂XJ
def ∂(•) ∂(•i )
∇∆u = ⇒
∂x ∂xj
1
DE[∆u] = (F T DF [∆u] + DF T [∆u]F )
2
1
= F T (∇0 ∆u) + (∇0 ∆u)T F
2
1
= F T (∇∆u + (∇∆u)T F = F T ε(∆u)F
2
1
= DC[∆u]
2
Determinant J = det F
3 Discretisation
Shape functions
Discretised equilibrium equations
More on shape functions
Matrix notation
Virtual displacements
∂u B ∂t B
(δu = 0)
B δu
Field Equations
Elastic material behaviour: σ = g(F )
u∗ ∂t B
Compatibility (strain):
e = 21 ∇u + (∇u)T − (∇u)T ∇u
tdS n t∗
B b
Equilibrium (stress): dS
∇·σ T + ρb = 0; σ = σT ∂u B
σpi,p + ρbi = 0; σij = σji
Unknowns
Displacements
Boundary Conditions u(x) : B → R3
in ∂t B: σ T ·n = t
in ∂u B: u = u
JM Goicolea (UPM) Weak Formulations and discretisation 08/03/2012 18 / 54
Lagrangian description: governing equations
strong formulation in 3D
Field Equations
Elastic material behaviour: P = h(F )
Compatibility (strain):
u∗ ∂t B0
E = 12 ∇0 u + (∇0 u)T + (∇0 u)T ∇0 u T dS0 N T∗
Equilibrium (stress): ρ0 b
dS0 B0
∇0 ·P + ρ0 b = 0; F P T = P F T (1) ∂u B0
PiQ,Q + ρ0 bi = 0; FiQ PjQ = PiQ FjQ
(2) Unknowns
Displacements
Boundary Conditions u(X) : B0 → R3
in ∂t B0 : P ·N = T
in ∂u B0 : u = u
JM Goicolea (UPM) Weak Formulations and discretisation 08/03/2012 19 / 54
PVW in updated Lagrangian description (I)
Consider equation of equilibrium (strong form):
∇·σ T + ρb = 0 ∀x ∈ B
It has been shown that the strong form leads to the weak form (PVW).
The converse may also be proved, hence the PVW is a necessary and
sufficient condition for equilibrium.
Due to the symmetry of σ, the internal virtual work may be expressed as
Z Z
int T 1 T
δW = σ : ∇δu + (∇δu) dV = σ:δε dV
B 2 B
It has been shown that the strong form leads to the weak form (PVW).
The converse may also be proved, hences it is a necessary and sufficient
condition for equilibrium.
We say that (3) is the variational equation for the problem (5), and
that equation (1) is the Euler-Lagrange equation associated to the
variational problem (5).
ΠW (u, ε, σ) =
Z Z
[Ψ(x, ε) + σ: (∇s u − ε) − ρb · u] dV − t · u dS
B ∂t B
0 = ∇·σ T + ρb ;
J1
p= tr(σ) ;
θ3
θ=J.
Modified variables:
1/3
e = θ eT · F
e =F e;
F F; C
J
e = 2 ∂W (C);
S e e ·S
e = J −1 F
σ e ·F
e ; T
e = p1 + σ
σ e dev
∂C
Weak formulation (updated lagrangian): ∀{δu(x), θ(x), p(x)}
Z Z Z
0= ∇δu:(e σ dev + p1) dV − δu·ρb dV − δu·t dS
B B ∂t B
Z
e
tr σ p
0= δθ − dV
B 3θ J
Z
θ
0= δp 1 − dV
B J
δθ, δp are condensed at element level
JM Goicolea (UPM) Weak Formulations and discretisation 08/03/2012 29 / 54
Outline
3 Discretisation
Shape functions
Discretised equilibrium equations
More on shape functions
Matrix notation
Discretisation – Shape functions
Let us consider one element, with nodes a = 1 . . . n. The shape functions
interpolate the geometry. As the mesh is Lagrangian,
n
X n
X
X= Na (X)X a ⇒ x= Na (X)xa
a=1 a=1
In a similar fashion,
n
! n
X X
δF = ∇0 δu = ∇0 Na (X)δua = δua ⊗ ∇0 Na ;
a=1 a=1
!
X X
(δF )iJ = δuai Na = δuai Na,J
a ,J a
The nodal virtual displacements are constant values and may be taken out
of the integral:
Xn Z X n Z
int
δW = δuap PpQ Na,Q dV0 = δua · P ·∇0 Na dV0
a=1 B0 a=1 B0
We shall now introduce the standard notation in the Finite Element jargon
of B operators for interpolation of gradients, which at the basic continuum
level are the gradients of the shape functions:
∂Na
B 0a = ∇0 Na , 0
BQa = Na,Q =
∂XQ
In the above expression, B a is a vector, the gradient interpolation operator
for node a. The internal virtual work is then
Z Z
int(a)
δW0 = δua · P ·B a dV0 = δuar PrQ BQa dV0
B0 B0
Z Z
int
fa = P ·B a dV0 ≡ PjQ BQa dV0
B0 B0
JM Goicolea (UPM) Weak Formulations and discretisation 08/03/2012 34 / 54
Discretised equilibrium equations III
The other integrals in the PVW expression (3), representing the virtual
work of
Pexternal forces, are discretised straightforwardly considering
δu = na=1 Na (X)δua :
Z Z
δW0ext = δu·T , dS0 + δu·ρ0 b dV0
∂t B0 B0
n
X Z Z
= δua · Na T dS0 + Na ρ0 b dV0
a=1 ∂t B0 B0
Taking the above into account, the discretised expression for the PVW is
δW0 = −δW0int + δW0ext = δua · −f int a + fa
ext
= 0 ∀δua
JM Goicolea (UPM) Weak Formulations and discretisation 08/03/2012 35 / 54
Discretised equilibrium equations IV
which leads to the following discrete system of algebraic equations:
f int ext
a (ub ) = f a , a = 1 . . . n .
In the previous derivation for simplicity it has been considered that the
external loads (volume forces ρ0 b and surface loads T ) are constant, i.e.
they do not depend on the configuration or motion of the body. Hence the
RHS term f ext
a is constant, representing a conservative loading.
On the contrary, the LHS term f int a (ub ) does depend on the configuration
of the body, which may be represented for the discrete problem by the
nodal displacements {ub , b = 1, . . . n}. This dependency is nonlinear for a
general case.
If the system is linear (e.g. linear elasticity and small displacements) it can
be shown easily that the dependence of f int a (ub ) is linear, and the resulting
system is a linear system of algebraic equations:
f int
a (ub ) = K ab ·ub ; K ab ·ub = f ext
a .
JM Goicolea (UPM) Weak Formulations and discretisation 08/03/2012 36 / 54
Discretised equilibrium equations V
In the expressions (9) and (10) in principle the integrals cover the complete
reference domain B0 or its traction boundary ∂t B0 . A key aspect of the
finite element method is to define the shape functions Na (X) with
(e)
compact support within subdomains {B0 , e = 1, . . . nelem } called
elements. These element subdomains are non-overlapping and cover the
complete domain,
n[
elem
(e) (ei ) (ej )
B0 = B0 ; µ(B0 ∩ B0 )=0
e=1
It makes sense to perform the integral over each element subdomain, and
eventually add up all the contributions:
Z
f int(e)
a = P ·B a dV0
(e)
B0
Z Z
f ext(e)
a = Na T dS0 + Na ρ0 b dV0
(e) (e)
∂t B0 B0
JM Goicolea (UPM) Weak Formulations and discretisation 08/03/2012 37 / 54
Discretised equilibrium equations VI
U h = uh ∈ U | uh = u ∀x ∈ ∂u B; uh = uA NA (ξ) ;
A=1
( n
)
X nod
Vh = δuh ∈ V | δuh = 0 ∀x ∈ ∂u B; δu = h
δuA NA (ξ) .
A=1
N1 N2
1 2 3 4 1 2 3 4
N3 N4
1 2 3 4 1 2 3 4
A B
a=1 b=2
ξa = −1 ξ ξb = 1
substituting:
∂ 1 1
Na,ξ = (1 + ξa ξ) = ξa (19)
∂ξ 2 2
e
∂x ∂ h ξ + xA + xB he
= = (20)
∂ξ ∂ξ 2 2
in (18), we obtain:
E 1 −1
Ke = e (21)
h −1 1
ξ1 1 x1
3 (0, 0) 1 (1, 0)
I Shape functions are planes:
N1e = ξ1
N2e = ξ2
N3e = ξ3 = 1 − ξ1 − ξ2
CST element
I Integration of functions
Z nint
X
∂x(ξ b )
f (x)dV = wl f (x(ξ b )) det
B(e) ∂ξ
b=1
I Jacobian matrix
!
∂x1 ∂x1 ∂x1 ∂x1
∂x ∂ξ1 − ∂ξ3 ∂ξ2 − ∂ξ3
= ∂x2 ∂x2 ∂x2 ∂x2
∂ξ ∂ξ1 − ∂ξ3 ∂ξ2 − ∂ξ3
Gauss quadrature:
Z 1 Z 1 nint
X
g(ξ, η)dξdη = Wb g(ξ˜b , η̃b )
−1 −1 b=1
Trilinear brick
5 ξ = ξ(ξ, η, ζ)
5 8
8
6 6 7
7 1 4
1
4
2 Ωe
2 3
3
x = x(x, y, z)
1
Na (ξ, η, ζ) = (1 + ξa ξ)(1 + ηa η)(1 + ζa ζ)
8