Finite Element Methods
Finite Element Methods
Lecture 36
Course Coordinator:
Dr. Suresh A. Kartha,
Associate Professor,
Department of Civil Engineering,
IIT Guwahati.
In the last class, we discussed on the approximate methods
to solve a boundary-value problem (say)
d2y
2
Qy F ; Appropriate BCs
dx
They were
Rayleigh-Ritz method based on calculus of variations.
Collocation method based on residuals.
Galerkin weighted residual method.
In Galerkin weighted residual method, the methodology involves:
d2y
Identify the differential equation to be solved (e.g. here Qy F)
dx 2
Approximate the actual solution y ( x) with apprximate soln.
I
y ( x), where y ( x) Ci yi
i 1
i.e. W j ( x) R( x) dx 0; j 1, 2,3,
x1
On applying this equation for all the weights W j ( x) within the element i ,
we will get a set of equations relating the nodal values within each element.
Domain discretisation
D( x) into I nodes, I 1 elements
x(i ) xi 1 xi
The exact solution y( x) y ( x)
y ( x) Sum of series of local interpolating polynomials y (i ) ( x); i 1, 2,3,.., I 1
These are valid within each element.
I 1
y ( x) y ( i ) ( x)
i 1
N i(i )1 ( x) 0.0 at x xi
N i(i )1 ( x) 1.0 at x xi 1
x xi 1 x xi
y (i ) ( x) yi y i 1
x(i ) x(i )
Ni are called shape functions.
d2y
To solve the BV-ODE 2
Qy F
dx
d2y
Define R( x) 2
Qy F
dx
b b
d2y
I ( y ( x)) W j ( x) 2
Qy F dx 0 W j ( x)( y " Qy F )dx
a
dx a
b b b
b
W j y " dx y 'W j ' dx y 'W j y 'W j ' dx yb 'W j (b) ya 'W j ( a)
a
a a a