Professional Documents
Culture Documents
DEPARTMENT OF MECHANICS OF
ASSIGNMENT 1
ADVANCED FINITE ELEMENT METHOD
LIST OF CONTENTS
PART 1. QUESTIONS..............................................................................................2
1.1. QUESTIONS....................................................................................................2
2.1. Question 1: Write the expression of the total potential energy of the beam in
terms of w(x) and its derivatives (if any) ................................................................4
2.2. Question 2: From Q.1, obtain the Euler-Lagrange equation and the
corresponding boundary conditions. Also indicate the types of boundary
conditions. ...............................................................................................................5
2.4. Question 4: Finite Element Method solutions for a typical 2-node simple beam
element using the weak form of Galerkin’s equation. ..........................................26
2.4.1. Obtain the FEM solutions by using 2 and 4 elements. Give comments on
the accuracy .......................................................................................................30
PART 1. QUESTIONS
1.1. QUESTIONS
The beam shown in the Figure 1 has a fixed support at the left and a roller support at
the right, under a general distributed load q(x) and a concentrated force P0 at mid
span. Let w(x) denote the deflection of the beam. Ignore the weight of the beam.
1. Write the expression of the total potential energy of the beam in terms of w(x)
and its derivatives (if any)
2. From Q.1, obtain the Euler-Lagrange equation and the corresponding boundary
conditions. Also indicate the types of boundary conditions.
3. Let the beam has the rectangular cross section b×h, EI(x) = EI = constant, q(x)
= q0x/L and P0 = aq0L. Find the approximate solution for the deflection in the
form of
M
m x
w( x) am N m với Nm sin
m 1 L
By using the following methods:
4. Derive the finite element equation for a typical 2-node simple beam element
(Figure 2) for the problem defined in Q.3 by using the weak form of Galerkin’s
equation. The obtain the FEM solutions by using 2 and 4 element. Give your
comments on the accuracy of the FEM solutions.
PART 2. EXERCISE
2.1. Question 1: Write the expression of the total potential energy of the beam
in terms of w(x) and its derivatives (if any)
P0 w L 2
W W1 W2 q( x)w( x)dx (2.1)
0
Where:
L
W2 P0 w L 2 P0 w L 2 (2.2)
0
Strain energy U:
1
2 V
U x x dV (2.4)
Where:
d 2w x d 2w
x Ey x y
dx 2 E dx 2
(2.5)
A
y 2 dA I
1 d 2 w d 2 w 1 2 d 2w
L L 2
y dA y dx I
2 2
(2.7)
A 0
1 2 d 2w
2 2 2
L
1
L
d 2w 2 1
L
d 2w
U Ey 2 dx E 2 y dx EI 2 dx (2.8)
20 dx 2 0 dx 2 0 dx
The expression of the total potential energy of the beam in terms of w(x):
1 d 2w
L 2 L L
I (w, w '') U W EI 2 dx q( x)w( x)dx P0 w L /2 (2.9)
2 0 dx
0 0
2.2. Question 2: From Q.1, obtain the Euler-Lagrange equation and the
corresponding boundary conditions. Also indicate the types of boundary
conditions.
Finally, we obtain:
d2
L
d 2w d 2 w dw
L
I ( w, w '') 2 EI . 2 q x wdx EI 2
0
dx dx dx dx 0
(2.11)
L
d d w
2 L
EI 2 w P0w L /2
dx dx 0 0
dw
For I ( w, w '') 0 for any admissible w and :
dx
d 2 d 2w
EI q x 0 for 0 < x < L (2.12)
dx2 dx2
d 2w
EI 0 → Natural boundary condition at x = L (2.13)
dx 2
For M = 1
^ x
w a1 sin (2.18)
L
^
d2 w 2 x
2
a sin
2 1
(2.19)
dx L L
^ EI 4 a12 q0 L a1
I P0 a1 (2.21)
4 L3
^ 2 L3 L x x
Therefore, w1 ( x) q 30 sin
4 0 20.592sin (2.23)
EI L L
d 2w 2L q0 L x
EI 2 P0 sin
x
M dx 2
L
( x) 6 2
225.802sin ( MPa)
W W bh L
(2.24)
For M = 2
^ x 2x
w a1 sin a2 sin (2.25)
L L
^
d2 w 2 x 42 2x
2
2 a1 sin 2 a2 sin (2.26)
dx L L L L
^ EI 4 q0 L 2a1 a2
I ( a 2
16 a 2
) P0 a1 (2.28)
4 L3 2
1 2
2 L3 q0 L
^
x L3 qL 2x
Therefore, w P0 sin 0 sin (2.31)
EI
4
L 8EI 4
2 L
^ x 2x
→ w 20.592 sin 0.020 sin (2.32)
L L
2^
d w
EI 2 2 L q0 L x q0 L2 2x
dx P0 sin 3 sin
6 L 4
^ 2
M L
2
(2.33)
W W bh
^ x 2x
→ 225sin 0.871sin (2.34)
L L
For M = 3
^ x 2x 3x
w a1 sin a2 sin a3 sin (2.35)
L L L
^
d2 w 2 x 42 2x 92 3x
a1 sin a2 sin a3 sin (2.36)
dx 2 L2 L L2 L L2 L
EI 4
^ q0 L 6a1 3a2 2a3
I ( a 2
16 a 2
81a 2
) P0 (a1 a3 )
4 L3 6
1 2 3
(2.38)
^
I 81EI 4 a3 q0 L 2 L3 q0 L
P a P0 0.122mm
a3 3 81EI 3
0 3
3 4
2L
(2.41)
Therefore,
^ 2 L3 q0 L x L3 qL 2x
w P0 sin 0 sin
EI
4
L 8EI 4
2 L
(2.42)
2 L3 q L 3x
0 P0 sin
81EI 3
4
L
^ x 2x 3x
→ w 20.592sin 0.020sin 0.122sin (2.43)
L L L
2^
d w
EI 2 2 L q0 L x L 2x
dx P sin q L sin
6 L 4
0 0
^ 2 3
M L
2
W W bh
2 L q0 L 3x
P0 sin
9 3
2
L
6 2
bh
(2.44)
L
d 4w q
L
x 1
W1 4 dx o W1 dx P 0W1 L 2 (2.48)
0 dx EI 0 L EI
Based on:
Ka = F (2.49)
x i 1
Which: K K ij and K ij L N W dx
xi
j i (2.50)
x j1
M
mx
Let w am sin (2.53)
m 1 L
We find out the deflection (a) by subdomain Collocation and Galerkin’s equation.
For M = 1
x x
w a1 sin ; N1 sin ; W1 1 at x j x x j 1 (2.54)
L L
d 4 w 4 x
4
4 a1 sin (2.55)
dx L L
L
4
L
x 4
L
x 23
K11 L N1 W1dx 4 sin dx 4 sin dx 3 (2.56)
0
0
L L L 0 L L
L
q x P q L 10qo L 21qo L
F1 o dx o o (2.57)
EI 0 L EI 2EI EI 2EI
21qo L4
K a1 F1 a1 3 16.458mm (2.58)
4 EI
d 2w
EI 2 21qo L sin x
2
= =
M dx
4 L 180.481sin x (2.60)
2
W W bh L
6
For M = 2
x 2x x 2x
w a1 sin a2 sin ; N1 sin ; N2 sin ; W1 1 at x j x x j 1 (2.61)
L L L L
d 4w 4 x 2 x
4 4 a1 sin L 16a2 sin L (2.62)
dx L
L /2 L /2
4 x 4 L/2 x 3
K11 L N W dx
0
1 1
0
4
L
sin
L
dx
L4 0
sin
L
dx
L3
(2.63)
L /2 L /2
4 2 x 4 L/2 2 x 16 3
K12 L N W dx
0
2 1
0
16 4 sin
L L
dx 16 4 sin
L 0 L
dx 3
L
(2.64)
L
4 x
L
4 L 2 x 3
K21 L N1 W1dx 4 sin dx 4 sin dx 3 (2.65)
L /2
L /2
L L L L/2 L L
q L /2
x Po W1 L 2 qo L /2
x 5qo L 41q L
o
EI
0 1 L
W dx
2 EI EI 0 L dx o
EI 8EI
F
5qo L 43qo L
L
qo L Po 1 L 2
W qo x
L/2 L dx EI 8EI
x
EI
1L
L /2
W dx
2 EI EI
(2.67)
(2.68)
Therefore,
21qo L4 x qo L4 2x
w sin sin (2.69)
4 EI
3
L 128 EI3
L
x 2x
→ w 16.458sin 0.024sin (2.70)
L L
d 2w
EI 2 21qo L sin x qo L sin 2x
2 2
= =
dx
4 L 32
M L
2
(2.71)
W W bh
6
x 2 x
180.481sin 1.074sin (2.72)
L L
For M = 3
x 2x 3x
w a1 sin a2 sin a3 sin ; W1 1 at x j x x j 1
L L L (2.73)
x 2x 3x
N1 sin ; N 2 sin ; N3 sin
L L L
d 4w 4 x 2 x 3 x
4 a1 sin 16a2 sin 81a3 sin (2.74)
dx 4
L L L L
L /3 L /3
4 x 4
L /3
x 3
K11 L N W dx
0
1 1
0
4
L
sin
L
dx
L4 0
sin
L
dx
2L3
(2.75)
L /3 L /3
4 2x 4
L /3
2x 123
K12 L N W dx
0
2 1
0
16 4 sin
L L
dx 16 4 sin
L 0 L
dx 3
L
(2.76)
L /3 L /3
4 3x 4
L /3
3x 543
K13 L N W dx
0
3 1
0
81
L
4
sin
L
dx 81
L4 0
sin
L
dx
L3
(2.77)
2 L /3
4 x 4
2 L /3
2 L /3
x 3
K21 L N1 W1dx 4 sin dx 4 sin dx 3 (2.78)
L /3
L /3
L L L L/3 L L
2 L /3
4 2x
2 L /3
4
2 L /3
2x
K22 L N2 W1dx 16 4 sin dx 16 4 sin dx 0 (2.79)
L /3
L /3
L L L L /3
L
2 L /3
4 3x
2 L /3
4
2 L /3
3x 543
K23 L N3 W1dx 81 4 sin dx 81 4 sin dx 3 (2.80)
L /3
L /3
L L L L/3 L L
L
4 x 4
L L
x 3
K31 L N1 W1dx 4 sin dx 4 sin dx 3 (2.81)
2 L /3
2 L /3
L L L 2 L/3 L 2L
L
4 2x
L
4
L
2x 123
K32 L N2 W1dx 16 4 sin dx 16 4 sin dx 3 (2.82)
2 L /3
2 L /3
L L L 2 L/3 L L
L
4 3x
L
4
L
3x 543
K33 L N3 W1dx 81 4 sin
L4 2 L/3
dx 81 sin dx (2.83)
2 L /3 2 L /3
L L L L3
qo L /3
x q L /3
0
x
W1 dx o 0 dx qo L
EI 18EI
L EI L
Po W1 L 2 qo
q 10qo L 61qo L
2 L /3 2 L /3
x x
F o W1 L dx EI EI L dx EI 6EI (2.84)
EI L /3 L /3
q L q L 5qo L
o x o x 18EI
EI
2 L /3
W1 dx
L EI
2 L /3
L
dx
K a F
3 123 543 qoL 62q o L4
3 18EI 3
2L L3 L3 9 EI
a 1 a 1 21.596 mm
3 54 61q o L q o L4
3
3 0 3 a 2 a 2 29.026 mm
L L 6EI 108 EI 3
3 a 0.190 mm
543 3 5q o L 3 59q o L4
a
123
2L3 18EI
L3 L3 972 EI
3
(2.85)
Therefore,
x 2x 3x
w 21.596sin 29.026sin 0.190sin (2.87)
L L L
d 2w
EI 2 62qo L sin x qo L sin 2 x 59qo L sin 3 x
2 2 2
= =
dx
9 L 27 108
M L L (2.88)
W W bh 2
6
x 2 x 3 x
236.823sin 1.273sin 18.780sin (2.89)
L L L
For M = 1
x x
w a1 sin ; W1 N1 sin (2.90)
L L
d 4 w 4 x
4
4 a1 sin (2.91)
dx L L
L L
q x
F1 o W1dx
EI 0 L
1
EI
q x
Po W1( L/2) o N1dx
EI 0 L
10qo L
EI
N1( L/2) (2.93)
qo L
10qo L
x
L
qo x
F1 sin dx
Po
qo L 10qo L
(2.94)
EI 0 L L EI EI EI EI
2qo L4 1 10
K a1 F1 a1 20.592mm (2.95)
5 EI
2qo L4 1 10 x x
→ w sin 20.592sin (2.96)
EI
5
L L
d 2w
EI 2 2qo L 1 10 sin x
2
= =
M dx
3 EI L 225.820sin x (2.97)
2
W W bh L
6
For M = 2
x 2x x 2x
w a1 sin a2 sin ; W1 N1 sin ,W2 N2 sin (2.98)
L L L L
d 4 w 4 x 2x
4 a1 sin 16a2 sin (2.99)
dx 4
L L L
L L L
4 x x 4
K11 L N1 W1dx L N1 N1dx 4 sin sin dx 3 (2.100)
0
0 0
L L L 2L
4 2x x
L L L
K12 L N2 W1dx L N 2 N1dx 16 4 sin sin dx 0 (2.101)
0 0
L 0 L L
4 x 2x
L L L
K21 L N1 W2dx L N1 N 2dx 4
sin sin dx 0 (2.102)
0 0
L 0 L L
K a F
4 qoL 2q o L4 1 10
10q o L
3 a1 20.592 mm
0
a 1 5EI
2L EI
84 a 2 q L 2
a qo L 4
0.020 mm
0 L3
0
165EI
2EI
(2.105)
x 2x
w 20.592sin 0.020sin (2.107)
L L
d 2w
EI 2 2qo L 10 1 sin x qo L sin 2x
2 2
=
M dx 3 L 43 L
= 2
(2.108)
W W bh
6
x 2x
225.820sin 0.087sin (2.109)
L L
For M = 3
x 2x 3x
w a1 sin a2 sin a3 sin (2.110)
L L L
x 2x 3x
W1 N1 sin ,W2 N2 sin ,W3 N3 sin (2.111)
L L L
d 4 w 4 x 2x 3x
4 4 a1 sin 16a2 sin 81a3 sin (2.112)
dx L L L L
L L L
4 x x 3
K11 L N1 W1dx L N1 N1dx 4 sin sin dx 3 (2.113)
0
0 0
L L L 2L
164 2x x
L L L
K12 L N2 W1dx L N 2 N1dx 4 sin sin dx 0 (2.114)
0 0
L 0 L L
814 3x x
L L L
K13 L N3 W1dx L N3 N1dx 4 sin sin dx 0 (2.115)
0 0
L 0 L L
L L L
4 x 2x
K21 L N1 W2dx L N1 N2dx 4 sin sin dx 0 (2.116)
0
0 0
L L L
L L L
4 x 3x
K31 L N1 W3dx L N1 N3dx 4 sin sin dx 0 (2.119)
0
0 0
L L L
K a F
qoL
3 10q o L 2q o L4 10 1
3 0 0
3L 5 EI
a 1 EI a1 1042.5 mm
84 qoL q o L4
0 0 a 2 a 2 1.005 mm
L3 2EI a 16 EI5
12.34 mm
4 a 3
81 qoL 3 2q o L4 30 1
10q L
0 3
0
2L3
o
243 EI
5
EI
(2.123)
x 2x 3x
w 20.592sin 1.985sin 0.244sin ; (2.125)
L L L
x 2x 3x
= 225.82sin 0.871sin 24.059sin (2.127)
L L L
q0 x5 9q Lx3 7q0 L2 x 2
wq 0 at 0 x L (2.128)
120EIL 240EI 240EI
11P0 x3 3P0 Lx 2 L
wP0 at x 0; (2.129)
96EI 32EI 2
5P0 x3 5P0 Lx 2 P0 L2 x P0 L2 L
wP0 at x ; L (2.130)
96EI 32EI 8EI 48EI 2
L
When x 0;
2
L
When x ; L
2
(2.132)
L
When x 0; :
2
d 2w 3 2
EI 2 q0 x 9 xq0 L 7q0 L 11 P x 3 P L
M dx 6 40 120 16
0
16
0
(2.133)
W W bh 2
6
L
When x ; L
2
d 2w 3 2
EI 2 q0 x 9 xq0 L 7q0 L 5P0 x 5P0 L
M dx 6 40 120 16 16
2
(2.134)
W W bh
6
2.3.4.1 Deflection
Compute for different values of M (at least three values) to show convergence and
accuracy of deflection by comparing with the analytical solutions. All of the results
of the deflection were validated in the following table:
Deflection (m)
x Analytical Reyleight-Ritz Subdomain Galerkin
(m) solution M=1 M=2 M=3 M=1 M=2 M=3 M=1 M=2 M=3
0.00 0 0 0 0 0 0 0 0 0 0
0.06 -0.0008 -0.0013 -0.0013 -0.0013 -0.0010 -0.0010 -0.0016 -0.0013 -0.0013 -0.0013
0.12 -0.0017 -0.0026 -0.0026 -0.0026 -0.0021 -0.0021 -0.0034 -0.0026 -0.0026 -0.0026
0.18 -0.0027 -0.0039 -0.0039 -0.0039 -0.0031 -0.0031 -0.0052 -0.0039 -0.0039 -0.0039
0.24 -0.0035 -0.0051 -0.0051 -0.0052 -0.0041 -0.0041 -0.0068 -0.0051 -0.0051 -0.0052
0.30 -0.0044 -0.0064 -0.0064 -0.0065 -0.0051 -0.0051 -0.0085 -0.0064 -0.0064 -0.0065
0.36 -0.0054 -0.0076 -0.0076 -0.0077 -0.0061 -0.0060 -0.0103 -0.0076 -0.0076 -0.0077
0.42 -0.0064 -0.0088 -0.0088 -0.0089 -0.0070 -0.0070 -0.0121 -0.0088 -0.0088 -0.0089
0.48 -0.0073 -0.0099 -0.0099 -0.0100 -0.0079 -0.0079 -0.0138 -0.0099 -0.0099 -0.0100
0.54 -0.0084 -0.0110 -0.0110 -0.0111 -0.0088 -0.0088 -0.0157 -0.0110 -0.0110 -0.0111
0.60 -0.0096 -0.0121 -0.0121 -0.0122 -0.0097 -0.0097 -0.0176 -0.0121 -0.0121 -0.0122
0.66 -0.0107 -0.0131 -0.0131 -0.0132 -0.0105 -0.0105 -0.0194 -0.0131 -0.0131 -0.0132
0.72 -0.0119 -0.0141 -0.0141 -0.0142 -0.0113 -0.0112 -0.0212 -0.0141 -0.0141 -0.0142
0.78 -0.0131 -0.0150 -0.0150 -0.0151 -0.0120 -0.0120 -0.0229 -0.0150 -0.0150 -0.0151
0.84 -0.0143 -0.0159 -0.0158 -0.0159 -0.0127 -0.0127 -0.0246 -0.0159 -0.0158 -0.0159
0.90 -0.0156 -0.0167 -0.0166 -0.0167 -0.0133 -0.0133 -0.0263 -0.0167 -0.0166 -0.0167
0.96 -0.0169 -0.0174 -0.0174 -0.0174 -0.0139 -0.0139 -0.0280 -0.0174 -0.0174 -0.0174
1.02 -0.0180 -0.0180 -0.0180 -0.0180 -0.0144 -0.0144 -0.0293 -0.0180 -0.0180 -0.0180
1.08 -0.0194 -0.0186 -0.0186 -0.0186 -0.0149 -0.0149 -0.0309 -0.0186 -0.0186 -0.0186
1.14 -0.0204 -0.0191 -0.0191 -0.0191 -0.0153 -0.0153 -0.0319 -0.0191 -0.0191 -0.0191
1.20 -0.0214 -0.0196 -0.0196 -0.0195 -0.0157 -0.0156 -0.0329 -0.0196 -0.0196 -0.0195
1.26 -0.0223 -0.0199 -0.0199 -0.0198 -0.0159 -0.0159 -0.0338 -0.0199 -0.0199 -0.0198
1.32 -0.0231 -0.0202 -0.0202 -0.0201 -0.0162 -0.0162 -0.0345 -0.0202 -0.0202 -0.0201
Deflection (m)
x Analytical Reyleight-Ritz Subdomain Galerkin
(m) solution M=1 M=2 M=3 M=1 M=2 M=3 M=1 M=2 M=3
1.38 -0.0237 -0.0204 -0.0204 -0.0203 -0.0163 -0.0163 -0.0350 -0.0204 -0.0204 -0.0203
1.44 -0.0241 -0.0206 -0.0205 -0.0204 -0.0164 -0.0164 -0.0352 -0.0206 -0.0205 -0.0204
1.50 -0.0242 -0.0206 -0.0206 -0.0205 -0.0165 -0.0165 -0.0353 -0.0206 -0.0206 -0.0205
1.56 -0.0241 -0.0206 -0.0206 -0.0204 -0.0164 -0.0164 -0.0352 -0.0206 -0.0206 -0.0204
1.62 -0.0237 -0.0204 -0.0204 -0.0203 -0.0163 -0.0163 -0.0350 -0.0204 -0.0204 -0.0203
1.68 -0.0231 -0.0202 -0.0202 -0.0201 -0.0162 -0.0162 -0.0345 -0.0202 -0.0202 -0.0201
1.74 -0.0223 -0.0199 -0.0200 -0.0199 -0.0159 -0.0160 -0.0338 -0.0199 -0.0200 -0.0199
1.80 -0.0214 -0.0196 -0.0196 -0.0195 -0.0157 -0.0157 -0.0329 -0.0196 -0.0196 -0.0195
1.86 -0.0204 -0.0191 -0.0192 -0.0191 -0.0153 -0.0153 -0.0319 -0.0191 -0.0192 -0.0191
1.92 -0.0192 -0.0186 -0.0186 -0.0186 -0.0149 -0.0149 -0.0307 -0.0186 -0.0186 -0.0186
2.00 -0.0178 -0.0178 -0.0179 -0.0179 -0.0143 -0.0143 -0.0291 -0.0178 -0.0179 -0.0179
2.06 -0.0167 -0.0172 -0.0172 -0.0172 -0.0137 -0.0137 -0.0278 -0.0172 -0.0172 -0.0172
2.12 -0.0153 -0.0164 -0.0164 -0.0165 -0.0131 -0.0131 -0.0260 -0.0164 -0.0164 -0.0165
2.18 -0.0140 -0.0156 -0.0156 -0.0157 -0.0125 -0.0125 -0.0243 -0.0156 -0.0156 -0.0157
2.24 -0.0128 -0.0147 -0.0147 -0.0148 -0.0118 -0.0118 -0.0226 -0.0147 -0.0147 -0.0148
2.30 -0.0116 -0.0138 -0.0138 -0.0139 -0.0110 -0.0110 -0.0209 -0.0138 -0.0138 -0.0139
2.36 -0.0104 -0.0128 -0.0128 -0.0129 -0.0102 -0.0102 -0.0191 -0.0128 -0.0128 -0.0129
2.42 -0.0093 -0.0118 -0.0118 -0.0119 -0.0094 -0.0094 -0.0173 -0.0118 -0.0118 -0.0119
2.48 -0.0081 -0.0107 -0.0107 -0.0108 -0.0085 -0.0085 -0.0154 -0.0107 -0.0107 -0.0108
2.54 -0.0069 -0.0095 -0.0096 -0.0097 -0.0076 -0.0076 -0.0134 -0.0095 -0.0096 -0.0097
2.60 -0.0060 -0.0084 -0.0084 -0.0085 -0.0067 -0.0067 -0.0117 -0.0084 -0.0084 -0.0085
2.66 -0.0050 -0.0072 -0.0072 -0.0073 -0.0057 -0.0058 -0.0099 -0.0072 -0.0072 -0.0073
2.72 -0.0040 -0.0060 -0.0060 -0.0061 -0.0048 -0.0048 -0.0081 -0.0060 -0.0060 -0.0061
2.78 -0.0031 -0.0047 -0.0047 -0.0048 -0.0038 -0.0038 -0.0064 -0.0047 -0.0047 -0.0048
2.84 -0.0022 -0.0034 -0.0034 -0.0035 -0.0027 -0.0028 -0.0047 -0.0034 -0.0034 -0.0035
2.90 -0.0013 -0.0022 -0.0022 -0.0022 -0.0017 -0.0017 -0.0030 -0.0022 -0.0022 -0.0022
2.94 -0.0008 -0.0013 -0.0013 -0.0013 -0.0010 -0.0010 -0.0016 -0.0013 -0.0013 -0.0013
3.00 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
Reyleight-Ritz
-0.005
-0.01 Analytical
-0.015
M=1
M=2
-0.02 M=3
-0.025
-0.03
w (m)
Subdomain Collocation
Galerkin’s Equation
DEFLECTION - GALERKIN
0.00 0.50 1.00 1.50 2.00 2.50 3.00 L (m)
0
-0.005
-0.01 Analytical
M=1
-0.015
M=2
-0.02 M=3
-0.025
-0.03
w (m)
The deflection comparison shows that the values of analytical solution are different
from Galerkin’s deflection, which has the biggest values in that figure.
Compute for different values of M (at least three values) to show convergence and
accuracy of deflection by comparing with the analytical solutions. All of the results
of the normal stress were validated in the following table:
Reyleight-Ritz
Subdomain Collocation
200000
100000 Analytical
M=1
0
0.0 0.5 1.0 1.5 2.0 2.5 3.0M = 2
-100000
M=3
-200000
-300000
L (m)
Galerkin’s Equation
200000
100000 Analytical
M=1
0
0.0 0.5 1.0 1.5 2.0 2.5 3.0M = 2
-100000
M=3
-200000
-300000
L (m)
Conclusion:
The results from Rayleight-Ritz and Galerkin methods are approximate, so the
deflection and normal stress are the same.
On the other hand, the subdomain method gives a significant deviation when M = 3
while the values of the deflection at M =1 and M = 2 are the same due to the influence
of the concentrated load in the middle of the beam.
2.4. Question 4: Finite Element Method solutions for a typical 2-node simple
beam element using the weak form of Galerkin’s equation.
d 4w T
Le L
e
d 4w
0 dx4
W EI q x dx PWL /2 0 N EI 4
q x dx PN L/2 0 (2.135)
T
0 dx
Le L
d 4w e
x
N EI 4 dx qo N T dx PN LT/2
T
(2.136)
0
dx 0
L
w x Nd (2.137)
So, the Galerkin residual equation for 2-node simple beam element is:
L
d 2w
0 EI dx2 q x dx 0
T
N (2.138)
With EI constant:
L
T d d 2 w dN T d 2 w
2
T d w d 2 N T d 2w
L 2 L
d 2w d d 2w
EI 2 M B and EI VB (2.140)
dx dx dx 2
Where MB and VB are prescribed values of bending moment and tranverse shear force
at ends of the beam.
d 2NT
L
L
d 2w T dN T
0 dx2 dx2
EI q x N T
dx N VB M B (2.142)
dx 0
L L ..
B EI B dxd q( x)N N dx d j F
T T
i (2.144)
j 0 j 0
K j d j M j d j F
..
(2.145)
In this structure we are not related to the mass, the finite element for each element is:
K j d j F j (2.146)
Where:
L
K j B EI B dx
T
j 0
L 2
d N1 d 2 N1
L
d 2 N1 d 2 N 2
L
d 2 N1 d 2 N3
L
d 2 N1 d 2 N 4
EI 0 EI dx 2 dx 2 0 EI dx 2 dx 2 0 EI dx 2 dx 2
0 dx 2 dx 2
L d 2N d 2N L
d 2 N2 d 2 N2
L
d 2 N 2 d 2 N3
L
d N2 d N4
2 2
EI 2 1
0 dx 2 dx 2
EI EI 0 dx 2 dx 2 (2.147)
EI
0
2 2
dx dx dx 2 dx 2
L
0
2 L 2 L L
EI d N3 d N1
2 2
d N3 d N 2 d 2 N3 d 2 N3 d 2 N3 d 2 N 4
0 dx 2 dx 2 EI dx 2 dx 2 EI dx 2 dx 2 0 EI dx 2 dx 2
0 0
d 2 N3 d 2 N1 d N4 d N2 2 2 L
d 2 N 4 d 2 N3
L
d N4 d N4
2 2
EI dx 2 dx 2
EI
dx 2 dx 2 0 EI dx 2 dx 2 0 dx 2 dx 2
EI
N1
1
L3e
2 x 3
3 x 2
L L3
d 2 N1 1
dx 2
3 12 x 6 L
Le
(2.148)
N2
1 3
3
Le
dN 1
x Le 2 x 2 L2e xL3e 2 3 6 L 8L2
dx Le
(2.149)
L
1
N3 3 2 x 3x L
3 2
dx 2
d 2 N3 1
3 12 x 6 L
L
(2.150)
N4
1
3
Le
x 3
Le x 2 2
Le
dN 4 1
dx Le
3 3x 2 Le 2 xL2e (2.151)
So that:
L L
12EI
L L
d 2 N1 d 2 N3 EI 1
0 EI dx2 dx2 dx L3 0 L3 12x 6L 12x 6L dx L3 (2.154)
L L
L L
6EI
L L
L L
L L
d 2 N3 d 2 N 3 EI 1 12EI
0 dx2 dx2 dx L3 0 L3 12x 6L 12x 6L dx L3
EI (2.159)
6EI
L L
L L
12 6L 12 6 L
4 L2 6 L 2 L2
EI
K j 3
L 12 6 L
diagonal 4 L2
2.4.1. Obtain the FEM solutions by using 2 and 4 elements. Give comments on the
accuracy
12 6L 12 6 L
4 L2 6 L 2 L2
EI
K j 3
L 12 6 L
diagonal 4 L2
K j d j F j (2.162)
w( x ) Nd (2.163)
3 4 6
740740 0 277778 3
555556 138889 4
K 0
*
0.75 0.75 0
0.375 0.375 30
F1 ; F2 ; FP
0.75 0.75 0
0.375 0.375 0
0.375 6 0.0003158
3
Deflection of beam:
L
w( x) 0.161
1
L3
2 x3 3x 2 L with x 0;
2
(2.164)
L
w( x) 0.161
1
L3
2 x3 3x 2 L L3 with x ; L
2
(2.165)
3 4 5 6 7 8 10
0 0.75
0 0.1875
30 30.75
FP 0 and F 0.1875
*
0 0.75
0 0.1875
0 0.1875
w2 0.0309
0.0476
2
w3 0.1235
d 3 0.1698 103
w 0.1488
4
4 0.0056
5 0.2890
Deflection of beam:
L
w( x) 0.0309
1
L3
2 x3 3x 2 L with x 0;
4
(2.166)
L L
w( x) 0.0309
1
L3 1
2 x3 3x 2 L L3 0.1488 3 2 x3 3x 2 L
L
with x ;
4 2
(2.167)
L 3L
w( x) 0.1488
1
L3 1
2 x3 3x 2 L L3 0.0309 3 2 x3 3x 2 L
L
with x ;
2 4
(2.168)
3L
w( x) 0.1698
1
L3
2 x3 3x 2 L with x ; L
4
(2.169)