A.4 Finite element solutions for the bending of beams 579
Equations (A.54, A.55) define the continuum formulation of the problem.
A piecewise linear approximation satisfying the first of (A.55) in a collocation
sense is
u
∗
x
(x) =
N
∑
i=1
u
i
v
i
(x) , (A.56)
where the shape functions v
i
(x) are given by (A.16).
A set of conditions for the unknowns u
i
is then obtained by enforcing
Z
L
0
d
dx
E(x)A(x)u
∗′
x
(x)
+ p(x)
v
j
(x)dx = 0 ; j = (1,N) , (A.57)
where as in §A.1 we use the v
i
(x) for both shape and weight functions.
The obvious next step is to substitute (A.56) into (A.57) to obtain N simultaneous
equations for the u
i
, but a difficulty is encountered in that u
∗′′
(x) is ill-defined for
the piecewise linear function (A.16). To overcome this difficulty, we apply partial
integration to the first term in (A.57) obtaining
E(x)A(x)u
∗′
x
(x)v
j
(x)
L
0
−
Z
L
0
E(x)A(x)u
∗′
x
(x)v
′
j
(x)dx
+
Z
L
0
p(x)v
j
(x)dx = 0 ; j = (1,N) .
Substituting for u
∗
x
(x) from (A.56) and for u
∗′
x
(L) from the second of the boundary
conditions (A.55), we then have
Ku = F , (A.58)
where
K
ji
=
Z
L
0
E(x)A(x)v
′
i
(x)v
′
j
(x)dx (A.59)
F
j
=
Z
L
0
p(x)v
j
(x)dx + F
0
δ
jN , (A.60)
agreeing with the results (A.47, A.48) obtained using the Rayleigh-Ritz method in
§A.2.5.
A.4 Finite el ement solutions for the bending of beams
Piecewise linear approximations cannot be used for the displacement of beams in
bending, since they involve discontinuities in slope at the nodes. To avoid this dif-
ficulty, we use a discretization in which the nodal displacements u
i
and slopes
θ
i
are treated as independent variables with separate shape functions of higher order
polynomial form.
For the nodal displacements u
i
, we require shape functions v
u
i
(z) satisfying the
conditions