Galerkin - Weighted - Residual - Technique
Galerkin - Weighted - Residual - Technique
Galerkin - Weighted - Residual - Technique
TECHNIQUE
RESIDUAL MINIMIZATION METHOD
EXAMPLE 1: A uniform rod has been subjected to uniform axial load as shown in Figure. Find
out an appropriate solution to this problem by RMM. The deformation of the bar (u) is governed
by the governing differential equation:
2 q0
d u
AE 2
qo 0
dx
With the boundary conditions: u 0 0,
du
0 x L
dx x L
Step-1: (Assume the Trial Solution satisfying the boundary conditions)
Let the trial or guess solution to the above differential equation be:
u ( x) u ( x) C0 C1 x C2 x 2
Where the constants C0, C1, C2 are yet to be determined in the trial solution so that the trial
solution satisfies the given boundary conditions.
Considering the first boundary condition: u0 0
u(0) u (0) C0 C1 x C2 x 2 0 C0 0
du
Considering the second boundary condition: 0
x L dx
du( x) du ( x)
0 C1 2C2 L 0 C1 2C2 L
dx x L dx x L
So the final Trial solution satisfying the boundary conditions is: u ( x) C2 x 2Lx
2
Since the trial solution contains only one free parameter C2, it is often referred as a One
parameter solution
Step-2: (To find the Domain Residual)
Substituting the Trial solution into the governing differential equation will lead domain
residual indicating the amount of error in the assumed Trial solution.
AE
d 2u ( x)
dx 2
qo 0 u ( x)
u ( x) C
2 x 2
2Lx
d 2u ( x) [As (x ) is not the exact solution of the D.E]
u
AE q o 0
dx 2
d 2u ( x)
Rd AE 2
qo AE(2C2 ) qo
dx
Step-3: (To minimize the Domain Residual)
The Domain Residual indicates the error through out the domain (Ω) of the given differential
equation. So in order to approximate the Trial Solution with the Exact Solution, the Domain
Residual is tried to be minimized.
d 2u ( x) qo
Rd AE 2
qo AE(2C2 ) qo 0 C2
dx 2 AE
So the final Trail Solution to the Governing Differential Equation becomes:
q
u ( x) u ( x) 0 2 Lx x 2
2 AE
For this simple example, as we could make the Domain Residual identically zero every
where in the domain (Ω) , our final Trial Solution matches with the Exact Solution.
POINT COLLOCATION TECHNIQUE
EXAMPLE 2: Consider the problem of a simply supported beam under uniformly distributed
load q0 as shown in the figure. The governing differential equation is given by:
d 4v
EI 4 qo 0 the boundary conditions :
dx 2 2
0 vL 0,
d v
v0 0,
d v
0
dx 2 x 0
dx 2 x L
2q0 L4 2
v ( x) sin( x / L) Rd q0 sin( x / L) qo
3 EI
4
3
Let us now compare the deformation results (v (x)) obtained by the different Trial Solutions
obtained by making the domain residual to vanish at specific points within the domain (x = L/4,
L/2, L/3), with respect to the Exact Solution.
q0 x 3
v( x) ( L 2 Lx 2 x 3 ) Exact Solution
24EI
q0 L4
v ( x) 4 sin( x / L) Trial Solution by making Rd = 0 at x = L/2
EI
2q0 L4
v ( x) sin( x / L) Trial Solution by making Rd = 0 at x = L/3
3 EI
4
2q0 L4
v ( x) 4 sin( x / L) Trial Solution by making Rd = 0 at x = L/4
EI
Let us compare the results for a specific case where:
The uniformly distributed load = q0 = 1000 N/mm
Young’s Modulus of Elasticity = E = 200,000 MPa
Moment of Inertia of the beam CS = I = 4 x 106 mm4
Length of the beam = L = 1000 mm
0.2
0.16
0.14
0.12
0.1
0.08
0.06
0.04
0.02
It may be noted that each of the Trial solution deviates appreciably from the exact solution.
In a similar manner the Residual results obtained for different Trail Solutions may also be
compared with respect to each other.
Rd q0 sin( x / L) qo For Trial Solution obtained by making Rd = 0 at x = L/2
2
Rd q0 sin( x / L) qo For Trial Solution obtained by making Rd = 0 at x = L/3
3
Rd 2q0 sin( x / L) qo For Trial Solution obtained by making Rd = 0 at x = L/4
600
400
Residual (Rd)
200
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
-200
-400
RESIDUAL(L/2)
-600
RESIDUAL (L/3)
RESIDUAL (L/4)
-800
-1000
0.16
0
0 0.2 0.4 0.6 0.8 1
0.14
-200
0.12
0.1 -400
EXACT
0.08 TWO TERM
-600
0.06
-800
0.04
0.02 -1000
0
-1200
0 0.2 0.4 0.6 0.8 1
It may be observed that this approximates the solution perhaps better than the earlier solution
(with one term trial solution), but still deviates appreciably from the exact solution.
Rather than trying to set residual exactly zero at a few selected points and having no
control over the residual at all other points in the domain, we will try to minimize the
residual in an overall sense, this technique is called Weighted Residual Technique.
SOLUTION BY GALERKIN WEIGHTED RESIDUAL TECHNIQUE:
Rather than trying to set residual exactly zero at a few selected points and having no control
over the residual at all other points in the domain, we will try to minimize the residual in an
overall sense, this technique is called Weighted Residual Technique.
L
For this purpose we will formulate this technique as: W ( x) R ( x)dx 0
0
i d
Where, Wi(x) are appropriately chosen weighting functions which help to achieve the task of
minimizing the residual (Rd) over the entire domain (Ω).
We may choose as many weighting functions as necessary to generate the required number of
equations for the solution of the undetermined coefficients in the trial function.
For example, for a two-term trial solution, we would take two different weighting functions to
generate two equations necessary to solve for the two coefficients.
While the choice of Weighting function Wi(x) is entirely arbitrary, Galerkin (1915) introduced
the idea of letting Wi(x) to be same as the trial functions themselves.
EXAMPLE 3: Consider the problem of a simply supported beam under uniformly distributed
load q0 as shown in the figure. The governing differential equation is given by:
d 4v
EI 4 qo 0 the boundary conditions :
dx 2 2
0 vL 0,
d v
v0 0,
d v
0
dx 2 x 0
dx 2 x L