P.S. Koutsourelakis
pk285@cornell.edu
369 Hollister Hall
August 30 2010
Last Updated: August 30, 2010
b(x)
A F
u(x)
L
Boundary Value Problem (BVP)
d 2 u(x)
EA + b(x) = 0 ∀x ∈ (0, L)
dx 2
du
with boundary conditions: u(0) = 0, EA dx |x=L =F
pk285@conell.edu Cornell University
Lecture 02
Boundary Value Problems Finite Element Method
d 2 u(x)
EA + b(x) = 0 ∀x ∈ (0, L)
dx 2
d 2 u(x)
EA + b(x) = 0 ∀x ∈ (0, L)
dx 2
Approximate derivatives with finite differences, i.e.:
du
dx = limh→0 u(x+h/2)−u(x−h/2)
h
≈ u(x+h/2)−u(x−h/2)
h for 0 < h << 1
d 2 u(x)
EA + b(x) = 0 ∀x ∈ (0, L)
dx 2
d 2 u(x)
E + b(x) = 0 ∀x ∈ (0, L)
dx 2
⇓ (discretization)
ui+1 − 2ui + ui−1
EA + b(xi ) = 0 ∀xi , i = 1, 2, . . . , N
h2
Function Spaces
Function Spaces
Since we are going to be approximating solutions of PDEs i.e. functions,
it makes sense to recap some of the basic function spaces and their
properties. If Ω is an open subset of R (or Rn ) in general, then:
C(Ω) contains all functions defined on Ω which are continuous.
C k (Ω) contains all functions defined on Ω which have continuous
derivatives up to order k .
Cbk (Ω) same as C k (Ω) plus the function is bounded
L2 (Ω) contains all functions defined on Ω which are square integrable
i.e.: Z
u 2 (x) dx < +∞
Ω
Function Spaces
Function Spaces
d 2 u(x)
EA + b(x) = 0 ∀x ∈ (0, L)
dx 2
du
with boundary conditions: u(0) = u0 , EA |
dx x=L
=F
We are going to look for solutions in the trial or candidate solution space
S: Z
du(x) 2
S = {u(x) : (0, L) → R|u(0) = u0 , E A dx < +∞}
(0,L) dx
Observe that:
u ∈ S satisfy exactly only one of the two boundary conditions. This
BC is called essential.
u ∈ S have finite strain energy!
u ∈ S are continuous and bounded.
Function Spaces
Function Spaces
Boundary Value Problem (BVP)
d 2 u(x)
EA + b(x) = 0 ∀x ∈ (0, L)
dx 2
with boundary conditions: u(0) = u0 , E A du |
dx x=L
=F
We are going to look for solutions in the space S:
Z
du(x) 2
S = {u(x) : (0, L) → R|u(0) = u0 , E A dx < +∞}
(0,L) dx
Observe that:
The space S is much larger than what the PDE and BC would
imply.
Even though a 2nd order derivative of appears in the BVP, we are
looking for solutions that are guaranteed to have a 1st order
derivative.
Even though a “force” BC must be satisfied, we are looking for
solutions that are not a priori guaranteed to satisfy it.
we have RELAXED already the original problem
pk285@conell.edu Cornell University
Lecture 02
Boundary Value Problems Finite Element Method
Weak Forms
Weak Forms
Weak Forms
Boundary Value Problem (BVP)
d 2 u(x)
EA + b(x) = 0 ∀x ∈ (0, L) (1)
dx 2
du
with boundary conditions: u(0) = u0 , EA |
dx x=L
=F
We are going to look for solutions in the space S:
Z
du
S = {u(x) : (0, L) → R|u(0) = u0 , E A| |2 (x) dx < +∞}
(0,L) dx
An arbitrary u ∈ S will not satisfy Equation (1) exactly (unless it is the
solution) and in general there will be a residual R(x)
d 2 u(x)
R(x) = EA + b(x)6= 0
dx 2
du
There will also be a residual R(L) = E A |
dx x=L
− F because u ∈ S do
not a priori satisfy this BC
pk285@conell.edu Cornell University
Lecture 02
Boundary Value Problems Finite Element Method
Weak Forms
Weak Forms
How can we make those residuals zero?
d 2 u(x) du
R(x) = EA + b(x) R(L) = F − EA |x=L
dx 2 dx
(Bubnov)-Galerkin approach
Weak Forms
Weak Forms
How can we make those residuals zero?
d 2 u(x) du
R(x) = EA + b(x) R(L) = F − EA |x=L
dx 2 dx
(Bubnov)-Galerkin or Weighted Residual approach: define another set
of functions called weight functions w ∈ W:
Z
dw(x) 2
W = {w(x) : (0, L) → R|w(0) = 0, E A| | dx < +∞}
(0,L) dx
Note that the residual is not zero in the STRONG sense i.e.
R(x) = 0 ∀x but the condition is enforced WEAKLY as above.
pk285@conell.edu Cornell University
Lecture 02
Boundary Value Problems Finite Element Method
Weak Forms
Weak Forms
After some mainipulation (see Integration by parts)
STRONG form: 2
EA d dxu(x)
2 + b(x) = 0
u(0) = u 0
F = EA du |
dx x=L
WEAK form:
RL RL
EA du
0
dw
dx dx
dx = 0
b(x)w(x)dx + w(L)F ∀w ∈ W
u∈S
Does the weak form remind you of something?
Principle of Virtual Work
The necessary and sufficient condition for a system in equilibrium is that
the work done by internal forces should be equal to the work done by
externals loads for any kinematically acceptable virtual displacement
pk285@conell.edu Cornell University
Lecture 02
Boundary Value Problems Finite Element Method
Weak Forms
Weak Forms
WEAK form:
RL RL
EA du
0
dw
dx dx
dx = 0
b(x)w(x)dx + w(L) F ∀w ∈ W
u∈S