Galerkin Method
Galerkin Method
3. Galerkin Method
• The method of Weighted Residuals works directly with the partial differential
equation of motion and boundary conditions.
• By the way, Rayleigh-Ritz does not employ the partial differential equations of
motion, nor does it lead to ordinary differential equations of motion, it employs
Rayleigh’s quotient, hence the name. Rayleigh-Ritz method leads to an eigenvalue
problem. Be careful with some literature.
k ( x ) - related to stiffness h
m ( x ) - related to mass
f ( x, t ) - force or moment per unit length
v ( x, t ) - displacement or angular displacement
• R(F,x,t) varies along the domain, to obtain a value for the error over the entire
solution domain, one could consider integrating R(F,x,t) over x. However, in a
straight integration, the negative and positive errors at different points may
cancel each other. Furthermore, such an integral would provide one equation
only.
n n d2q j (t )
f ( x, t ) − L k ( x ) L q j ( t ) j ( x ) − m ( x ) j ( x ) i ( x ) dx = 0
dt 2
j =1 i =1
j=1..n
n n d2q j (t )
L k ( x ) L q j ( t ) j ( x ) i ( x ) dx + m ( x ) j ( x ) i ( x ) dx = f ( x, t )i ( x ) dx
2
j =1 i =1 dt
Qi ( t ) = i ( x ) f ( x, t ) dx
m q (t ) + k q (t ) = Q (t )
i =1
ij j
i =1
ij j i j=1..n
In matrix form
M q ( t ) + K q ( t ) = Q ( t )
n n 2
i ( x ) L k ( x ) L q j j ( x ) dx = i ( x ) m ( x ) w q j j ( x ) dx
j =1
j =1
ij j
k
i =1
q = w 2
mij q j
i =1
j=1..n
K q = w 2
M q
with the coefficients given in slide 11.
2
f ( x, t ) − 2 E ( x ) I ( x )
2
( v ( x, t ) ) 2v
= ( x ) A ( x ) 2 ( x, t )
x x 2
t
4 n 2 n
f ( x, t ) − EI 4 q j (t ) j ( x ) = A 2 q j (t ) j ( x )
x j =1 t j =1
Qi ( t ) = i ( x ) f ( x, t ) dx
d 4 j ( x ) d 3 j ( x ) di ( x ) d 3 j ( x )
kij = EIi ( x ) dx kij = EI i ( x ) − 0 EI dx
dx 4 3
dx 0 dx dx 3
0
d 3 j ( x ) di ( x ) d 2 j ( x ) d 2i ( x ) d 2 j ( x )
kij = EI i ( x ) − EI + 0 EI dx
3
dx 0 2 2 2
dx dx 0 dx dx
0 1 0 x 1
x
d 3 j ( x ) di ( x ) d 2 j ( x ) d 2i ( x ) d 2 j ( x )
kij = EI i ( x ) − EI + EI dx
dx 0
3 dx dx 0 0
2
dx 2
dx 2
At x=0, the boundary conditions are:
3 w ( 0, t ) 2 w ( 0, t )
Q ( 0, t ) = EI =0 M ( 0, t ) = EI =0
x 3
x 2
At x=l:
w
w( , t ) = 0 ( ,t) = 0
x
d 22 ( x ) d 22 ( x )
k22 = EI 2 2
dx = ?
0 dx dx
f0 f0
Q1 ( t ) = g (t ) Q2 ( t ) = g (t )
3 12
1 1 4 2 1
− 3
5 30 q1 ( t ) 3 q1 ( t ) 3
A + EI = f0 g (t )
1 1 q2 ( t ) − 2 4 q2 ( t ) 1
30 105 3 3
12
− x −x w(x,t)
1 ( x) = 1 − cos 2 ( x) = 1 − cos
z
x
2
f(x,t)
• obtain the corresponding ordinary differential
equations of motion in the time domain applying Cantilever beam
Galerkin’s method.