Professional Documents
Culture Documents
Appendix I
Appendix I
VARIOUS
NUMERICAL PROCEDURES
SOLUTION OF
BEAM BENDING PROBLEM
INTRODUCTION
u = ± «,?,. (2-12)
The undetermined parameters a, are chosen such that the residual R(x) over
the domain D vanishes. This is usually done in an average sense by weighting
R(x) (Fig. 2-7) with respect to weighting functions W t
(x). Thus,
f
Jd
R(x)W (x)dx
i
= 0, i = 1, 2, . .
.
, «. (Al-1)
398
Appendix 1 Solution of Beam Bending Problem 399
W = 3(x - x
t t). (Al-2a)
Then
RixdSix - x)
t
= 0, i = 1, 2, . .
.
, n, (Al-2b)
where
1, x =x if
3 = i
[0, x ^x t9
is the Dirac delta function. This means that the residual is equated to zero at a
selected number of points in the domain. For instance, as shown in Fig.
A 1-1 (a), the residual is equated to zero at n = 5 points.
Thedomain can be divided into a number of subdomains [Fig.
total
A 1 and the residual is integrated and equated to zero over each sub-
-1(b)],
domain. This yields the subdomain method. Here the weighting functions are
- ,+1 '
(Al-3a)
0, x 'J
< x and x t
> xt+l .
Then
p
1
*-g. (Al-4)
f
R 2 (x)a dx = t
{
i 0. (Al-5)
Jd
This expression implies that the functions q> t are made orthogonal to the
Domain D ,
£
R(3)
12 ! 1
3
I
4 5 i
R
= 1,2
(x=) =
5
(a)
R(x)dx = 0, i
= 1,2,3, 4
-1 + 1 f:
(b)
2 = 1,2
(x)a, = 0, 5
JR
n
Ry?,dx = 0, i
= 1, 2, 3, 4
Collocation
5 Finite difference
Subdomain
L/2 3L/4
Galerkin,
(c) Least squares,
Ritz
0-L
(d)
A A Finite element
© © ©
Figure Al-2 Beam bending with different methods, (a) Collocation,
finite difference, (b) Subdomain. (c) Galerkin, least squares, Ritz.
(d) Finite element.
The first set [Eq. (Al-8a)] represents the essential or forced boundary condi-
tions and the second set [Eq. (Al-8b)] represents the natural boundary
conditions.
We now choose the following trial or approximation function for the
unknown w* :
Note that the function w in Eq. (A 1-9) satisfies the boundary conditions in
Eq. (A 1-8) at the two ends of the beam. In Chapter 7, when we used
Galerkin's method for each element, then only the geometric boundary
conditions [Eq. (Al-8a)] at the ends were used to modify the assemblage
equations; as explained in Chapter 3, the natural boundary conditions
[Eq. (Al-8b)] are satisfied automatically in an integrated sense.
To express R(x) in terms of w and its derivative, we differentiate the
expression in Eq. (A 1-9) four times as
where X = n/L.
Now we shall consider the solution of the beam bending problem by using
a number of different procedures. For this illustration, the following prop-
erties are assumed
E= 10 X 10 6 psi,
L = 10 in.,
A = in. x in. = in.
1 1 1
2
,
Collocation
a, = 0.11374399, a2 = -0.00105974,
(Al-13)
a3 = 0.00033150, a3 = -0.00001564.
Hence, the approximate solution according to the collocation method is
Subdomain Method
rL/4
R(x)dx o,
Jo
r 2L/4
R(x)dx o,
J L/4
(Al-15)
r 3 LI 4
R(x)dx 0,
J 1L 4
L
[ R(x)dx 0.
J 3Z. 4
Least-Squares Method
&«*»• (Al-18)
Therefore,
2nx
W — sin-p,
x
W, sin
L
W 3 sin
3nx
W = sin Anx
jjr
A —f-
.
>
404 Solution of Beam Bending Problem Appendix 1
*(*)*§& =
1
or
(Al-19)
R(x) sin —j- dx = 0,
The final four equations and the resulting approximate solution are
4.06 x 10 4 ai + 0xa 2 + 0xa 3 + 0xa 4 = 4774.65
x ai + 6.49 x 10 a 2
5
+ 0xa 3 + 0xa 4 = -795.77,
(Al-20)
x ai + x a2 + 3.29 x 10 6 a 3 + x a4 = 1591.55,
Oxai + 0xa 2 + 0xa 3 + 1.04 x 10 7 a 4 = -397.89,
Galerkins Method
Ritz Method
In the Ritz method [1,2] the potential energy in the body (beam) is
with
dll p
= 0,
U
da 2 ~ '
(Al-24)
dUp
0,
da 3
dll p
= 0.
(?a 4
For this specific problem, the equations are the same as in the Galerkin and
least-squares methods, and the approximate solution is the same as in
Eq. (Al-21).
Comment: It may be noted that in the Ritz procedure the potential energy
is minimized for the entire beam in other words, the limit of the integral is
;
from to L. The concept is thus similar to the finite element method (Chapters
method, the minimization of
3-5), except that in the case of the finite element
11, is achieved for the domain composed of a patchwork of elements.
50-30
30 100_ [e 3l -1875.0,
w = 0.000000,
t
w = 0.1171875,
rv 2 w 3
= 0.0000000,
(A 1-26)
0, = 0.036665, 6 = 0.0007295, 2
e -0.0383335.
Before the era of the finite element method, the finite difference method
was the commonly used technique for problems in engineering and mathe-
406 Solution of Beam Bending Problem Appendix 1
matical physics. Details of this method are beyond the scope of this book.
However, we shall solve the beam problem using this method mainly to
complete the discussion of commonly used numerical methods. For study of
this method, the reader can refer to various textbooks [1].
First derivative:
dw w i+1 — w t ^ w — w _i „w
~~
M—w
t f i
_ 1
dx ~ Ax Ax 2Ax
Second derivative:
d2 w w,_, — 2w t + w i+1
"
dx 2 Ax 2
(Al-27)
Third derivative:
d3 w _ — w,-_ + 2 2w,_ t
— 2w i+l + w i+2
dx 3 2(Ax) 3
Fourth derivative:
d4 w w i-2
-i
yv t — 4w f _, + 6vv,- — 4w /+1 + w t
dx 4 Ax 4
Use of Eq. (Al-27) to replace the fourth-order derivative in Eq. (7- lb) leads to
p Wj-2
— 4w -_
t 1 + 6w t
— 4w i+l + w i+2 (A 1-28)
Ax'
Pf
2 i-1 i i + 1 i + 2 i +3 x
:
5w - i
4w 2 + w 2 + =0.0115,
— 4h>! + 6h> 2 — 4w 3 + w4 = 0.0134,
(A 1-29)
w — \ 4w 2 + 6w 3
— 4w 4 = 0.0154,
+ w2 - 4w 3 + 5w 4 = 0.0173.
Solution.
w t
= 0.070656, w 2 =0.114432,
(A 1-30)
w 3
= 0.115968, w4 = 0.073344,
with w == w5 = 0.
To compare results from various methods, we first state the closed form
solution for the displacement based on the strength of materials theory [4]
w = ^(L - 2Lx + x
3 2 3
) -|-
(/7
f80ir^l
)X
(3^
4
- 10L 2 * 2 + 7L 4 ). (Al-31)
Deflection,
Location from End A
The results for the first five methods and the last procedure are obtained
by substituting various values of* and
into Eqs. (Al-14), (Al-17), (Al-21),
(Al-31). Since we did not have a point at x = 5, there is no direct result at
that point for the finite difference method. In the case of the finite element
408 Solution of Beam Bending Problem Appendix 1
method, once the nodal displacements and slopes are obtained, values at
other points can be obtained by substitution of (local) coordinates into
Eq. (7-2). We can also compute moments and shear forces by using the
results with second and third derivatives, as we did in Chapter 7.
For examples of solutions of problems similar to the beam bending and
other problems solved by using different procedures presented herein, the
reader can refer to various publications such as Crandall [1].
For the foregoing beam bending problem, the results for displacements
from various procedures are close to each other and to the result from the
closed form solution. These comparisons are presented only for the sake of
introducing the reader to some of the available numerical procedures. The
merits of the finite element method become evident as we solve problems with
greater complexities in factors such as material and geometric properties and
loading characteristics.
REFERENCES
[3] Desai, C. S., and Abel, J. F., Introduction to the Finite Element Method, Van
Nostrand Reinhold, New York, 1972.
[4] Timoshenko, S., Strength of Materials, Van Nostrand Reinhold, New York,
1956.