Académique Documents
Professionnel Documents
Culture Documents
P.S. Koutsourelakis
pk285@cornell.edu
369 Hollister Hall
pk285@conell.edu
Lecture 02 & 03
Cornell University
b(x)
F
u(x)
L
Boundary Value Problem (BVP)
EA
d 2 u(x)
+ b(x) = 0 x (0, L)
dx 2
EA
du
dx |x=L
=F
Cornell University
d 2 u(x)
+ b(x) = 0 x (0, L)
dx 2
Cornell University
d 2 u(x)
+ b(x) = 0 x (0, L)
dx 2
pk285@conell.edu
Lecture 02 & 03
= limh0 u(x+h/2)u(xh/2)
h
for 0 < h << 1
u(x+h/2)u(xh/2)
h
Cornell University
d 2 u(x)
+ b(x) = 0 x (0, L)
dx 2
(1)
Cornell University
EA
d 2 u(x)
+ b(x)
dx 2
0 x (0, L)
(discretization)
0 xi , i = 1, 2, . . . , N
Cornell University
pk285@conell.edu
Lecture 02 & 03
Cornell University
Lecture 02 & 03
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 < +
pk285@conell.edu
Lecture 02 & 03
Cornell University
Function Spaces
Boundary Value Problem (BVP)
EA
d 2 u(x)
+ b(x) = 0 x (0, L)
dx 2
EA
du
|
dx x=L
=F
We are going to look for solutions in the trial or candidate solution space
S:
Z
du(x) 2
dx < +}
S = {u(x) : (0, L) R|u(0) = u0 ,
E A
dx
(0,L)
Observe that:
Cornell University
Function Spaces
Boundary Value Problem (BVP)
EA
d 2 u(x)
+ b(x) = 0 x (0, L)
dx 2
|
=F
with boundary conditions: u(0) = u0 , E A du
dx x=L
We are going to look for solutions in the space S:
Z
du(x) 2
dx < +}
S = {u(x) : (0, L) R|u(0) = u0 ,
E A
dx
(0,L)
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.
pk285@conell.edu
Cornell University
we have RELAXED already the original problem
Lecture 02 & 03
We are going to reformulate the original problem, i.e. PDE and BC.
We are going to show that this new form is actually equivalent to the
original, i.e. any solution of the former is a solution of the latter and vice
versa.
pk285@conell.edu
Lecture 02 & 03
Cornell University
Weak Forms
Boundary Value Problem (BVP)
EA
d 2 u(x)
+ b(x) = 0 x (0, L)
dx 2
(2)
|
=F
with boundary conditions: u(0) = u0 , E A du
dx x=L
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 < +}
dx
(0,L)
d 2 u(x)
+ b(x)6= 0
dx 2
du
|
dx x=L
F because u S do
Cornell University
Weak Forms
How can we make those residuals zero?
R(x) = EA
d 2 u(x)
+ b(x)
dx 2
R(L) = F EA
du
|x=L
dx
(Bubnov)-Galerkin approach
Cornell University
Weak Forms
How can we make those residuals zero?
d 2 u(x)
du
+ 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
| dx < +}
W = {w(x) : (0, L) R|w(0) = 0,
E A|
dx
(0,L)
R(x) = EA
w(L)R(L) = w(L) F EA
du
|
dx x=L
=0
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
Lecture 02 & 03
Cornell University
Weak Forms
After some mainipulation (see Integration by parts)
STRONG form:
WEAK form:
RL
EA d dxu(x)
+ b(x) = 0
2
u(0)
=
u
0
F = EA du |
dx x=L
dw
dx =
EA du
dx dx
uS
0
RL
0
b(x)w(x)dx + w(L)F
w W
pk285@conell.edu
Lecture 02 & 03
Cornell University
Weak Forms
WEAK form:
RL
dw
dx =
EA du
dx dx
uS
0
RL
0
b(x)w(x)dx + w(L) F
w W
Wext (w) =
pk285@conell.edu
Lecture 02 & 03
We are going to reformulate the original problem, i.e. PDE and BC.
We are going to show that this new form is actually equivalent to the
original, i.e. any solution of the former is a solution of the latter and vice
versa.
pk285@conell.edu
Lecture 02 & 03
Cornell University
pk285@conell.edu
Lecture 02 & 03
Cornell University
pk285@conell.edu
Lecture 02 & 03
Cornell University
We are going to reformulate the original problem, i.e. PDE and BC.
We are going to show that this new form is actually equivalent to the
original, i.e. any solution of the former is a solution of the latter and vice
versa.
pk285@conell.edu
Lecture 02 & 03
Cornell University
Uniqueness
Uniqueness
Suppose u1 , u2 S that satisfy the weak form:
RL
RL
du
dx = 0 b(x)w(x)dx + w(L) F v W, j = 1, 2
EA dxj dw
dx
0
RL
2 dw
1
du
) =0
0 EA( du
dx
dx dx
Let w = u1 u2 (is this a legitimate member of W?)
Z L
du2 2
du1
) dx = 0
EA(
dx
dx
0
du1
du2
=0
dx
dx
u1 (x) u2 (x) = C
Cornell University
Uniqueness
We are going to reformulate the original problem, i.e. PDE and BC.
We are going to show that this new form is actually equivalent to the
original, i.e. any solution of the former is a solution of the latter and vice
versa.
pk285@conell.edu
Lecture 02 & 03
Cornell University
Alternative/Special Forms
Alternative/Special Forms
Lets rewrite the weak form (i.e principle of virtual work in mechanics):
RL
RL
dw
dx = 0 b(x)w(x)dx + w(L) F v W
0 EA du
dx dx
uS
w W
more compactly as:
a(u, w) = f (w) w W
where:
RL
dw
- a(u, w) = 0 EA du
dx
dx dx
RL
- f (w) = 0 b(x)w(x)dx + w(L) F
Define the functional (i.e. a function of functions) (u):
(u)
=
=
pk285@conell.edu
Lecture 02 & 03
1
a(u, u) f (u)
2Z
Z
1
du
EA| |2 dx
b(x)u(x)dx u(L) F
2
dx
Cornell University
Alternative/Special Forms
Alternative/Special Forms
Principle of Minimum Potential Energy:
The equilibrium configuration u minimizes the potential energy of the
system
Does the solution of the weak form minimize the potential energy?
Consider configurations u = u + w where u S is the solution of the
weak form and w W (note that u S). Then
(u + w)
1
a(u + w, u + v ) f (u + w)
2
1
(u ) + 0 + a(w, w)
(u )
=
=
Cornell University
Alternative/Special Forms
Alternative/Special Forms
pk285@conell.edu
Lecture 02 & 03
Cornell University
Alternative/Special Forms
We are going to reformulate the original problem, i.e. PDE and BC.
We are going to show that this new form is actually equivalent to the
original, i.e. any solution of the former is a solution of the latter and vice
versa.
pk285@conell.edu
Lecture 02 & 03
Cornell University
Discretization
Discretization
We started with the PDE and BCs (STRONG form):
EA d dxu(x)
+ b(x) = 0
2
u(0)
=
u
0
F = EA du |
dx x=L
w W
Cornell University
Discretization
Discretization
pk285@conell.edu
Lecture 02 & 03
Cornell University
Discretization
Discretization
W finite dimensional subsets (approximations) to
Let S S and W
the function spaces of interest.
Example:
= span{Nj (x), j = 1, . . . , n}
W
w(x)
= c1 N1 (x) + c2 N2 (x) + . . . + cn Nn (x)
W
N2 (x) W
N1 (x)
Can
we select any Nj (x)? No we have to make sure that Nj (0) = 0 and
R
|dNj (x)/dx|2 dx < + since:
Z
dw 2
| (x) dx < +}
W = {w(x) : (0, L) R|w(0) = 0,
E A|
dx
(0,L)
pk285@conell.edu
Lecture 02 & 03
Cornell University
Discretization
Discretization
What about S S?
S = {u(x) : (0, L) R|u(0) = u0 ,
E A|
(0,L)
du 2
| (x) dx < +}
dx
Cornell University
Discretization
Discretization
Discretize Principle of Minimum Potential Energy:
Z
Z L
2
1
du
) =
(x)dx u
(L) F
(u
EA|
| dx
A b(x)u
2
dx
0
or more succintly:
) =
(u
1
, u
) f (u
)
a(u
2
:
Substituting for u
)
(u
i=1
j=1
X
X
1
a(N0 (x) +
di Ni (x), N0 (x) +
dj Nj (x)
2
f (N0 (x) +
n
X
j=1
n
X
j=1
pk285@conell.edu
Lecture 02 & 03
n
n
1 XX
di dj a(Ni (x), Nj (x))
dj Nj (x)) =
2
i=1 j=1
n
X
j=1
Cornell University
Discretization
Discretization
Discretized Principle of Minimum Potential Energy:
)
(u
n
n
n
X
1 XX
di dj a(Ni (x), Nj (x)) +
dj a(N0 (x), Nj (x))
2
i=1 j=1
n
X
j=1
j=1
:
To minimize w.r.t. u
= 0 j = 1, 2, . . . , n
dj
which leads to n equations:
n
X
i=1
pk285@conell.edu
Lecture 02 & 03
Cornell University
Discretization
Discretization
Discretized Principle of Minimum Potential Energy:
n
X
i=1
or:
K d =F
where:
K =
.
a(Nn (x), N1 (x))
.
.
.
.
.
an (Nn (x), Nn (x)
F T = [f (N1 (x)) a(N0 (x), N1 (x)), .., f (Nn (x)) a(N0 (x), Nn (x))]
This is also called the Ritz-Galerkin method
pk285@conell.edu
Lecture 02 & 03
Cornell University
Discretization
Discretization
Example:
d 2 u(x)
du
+ b(x) = 0 u(0) = u0 , E A
|x=L = F
dx 2
dx
with: E = 1, A = 1, L = 1, u0 = 0, F = 1/2, b(x) = x and solution:
EA
u(x) = x 3 /6
For n = 2 and:
N1 (x) = x
N2 (x) = x 2
(x) = d1 x + d2 x 2
u
pk285@conell.edu
Lecture 02 & 03
Cornell University
Discretization
Discretization
Example:
EA
d 2 u(x)
+ b(x) = 0 u(0) = u0 ,
dx 2
EA
du
|x=L = F
dx
1
1
1
4/3
d1
1/6
d
1/12
=
1 =
d2
1/4
d2
1/4
(x) =
u
pk285@conell.edu
Lecture 02 & 03
1
1
x + x2
12
4
Cornell University
Discretization
Discretization
0.2
exact
approximation
u(x) - displacement
0.15
0.1
0.05
-0.05
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
5
12
6= F =
1
2
1
7
) = 288
> (u) = 40
(u
pk285@conell.edu
Lecture 02 & 03
Cornell University
Discretization
Discretization
Discretized WEAK form (Principle of Virtual Work):
Z L
Z L
dw
du
EA
dx =
b(x)w(x)dx
+ w(L)
F
dx dx
0
0
W
w
or more succintly:
, w)
= f (w)
a(u
W
w
and w:
Substituting for u
a(N0 +
n
X
di Ni (x),
i=1
XX
i
n
X
cj Nj (x))
f(
j=1
n
X
cj Nj (x))
j=1
cj f (Nj (x))
pk285@conell.edu
Lecture 02 & 03
Cornell University
Discretization
Discretization
n
X
cj
j=1
n
X
i=1
=0
i=1
K d =F
where:
dNj
i
K is a n n matrix such that: Ki,j = a(Ni (x), Nj (x)) = EA R0L dN
dx
dx dx
d is a n-dimensional vector of dj
F is a n-dimensional vector such that Fj = f (Nj (x)) a(N0 (x), Nj (x))
pk285@conell.edu
Lecture 02 & 03
Cornell University
Discretization
Discretization
Observe that if the same basis functions are used for S and W
then the resulting system from the Principle of Virtual Work:
is symmetric
coincides with the system arising from the Principle of Minimum
Potential Energy.
and
w(x)
= c1 x 2 + c2 x 3
Cornell University