Professional Documents
Culture Documents
Galerkin Method
Yijian Zhan
Ning Ma
Galerkin Method
Galerkin Method
Galerkin Method
Related knowledge
Galerkin Method
Inner product
w, f
**If for arbitrary w(x),
=0, f(x) 0
Galerkin Method
Basis of a space
V: a function space
Basis of V: a set of linear independent
(
x
)}
functions
i
i 0
Any functionf ( x) V could be uniquely
written as the linear combination of the
basis:
f ( x) c j j ( x)
j 0
Galerkin Method
Weighted residual methods
Galerkin method
Weighted residual
Step 1.
Introduce a trial solution of U:
n
U u ( x) 0 ( x) c j j ( x)
to replace U(x)j 1
j ( x) : finite number of basis functions
c j : unknown coefficients
* Residual is defined as:
R( x) D[u ( x)] L[u ( x)] f ( x)
Galerkin Method
Weighted residual
Step 2.
Choose arbitrary weight functions w(x),
b
let: w, R( x) w, D(u) w( x){D[u( x)]}dx 0
a
With the concepts of inner product and
orthogonality, we have:
The inner product of the weight function
and the residual is zero, which means that
the trial function partially satisfies the
problem.
So, our goal: to construct such u(x)
Galerkin Method
Weighted residual
Step 3.
Galerkin weighted residual method:
choose weight function w from the basis
functions j , then
n
j 1
Galerkin Method
Weighted residual
Step 4.
n
The trial solutionu( x) 0 ( x) c j j ( x)
j 1
is the approximation solution we want.
Step 1.
n
Choose trial function:y( x) 0 ( x) cii ( x)
i 1
We make n=3, and
0 0,
1 x( x 1),
2 x 2 ( x 1) 2
3 x 3 ( x 1)3
Step 2.
The weight functions are the same as
i
the basis functions
Step 3.
Substitute the trial function y(x) into
n
j 1
Step 4.
i=1,2,3; we have three equations with
c1 , c2 , c3
three unknown coefficients
1 3c1 5c2 4c3
0
15 10 84 315
1 5c1 11c2 61c3
0
70 84 630 13860
73c3
4c
61c2
1
0
315 315 13860 60060
Step 5.
Solve this linear equation set, get:
1370
0.18521
7397
50688
c2
0.185203
273689
132
c3
0.00626989
21053
c1
y( x) cii ( x)
i 1
Analytic solution
References