Professional Documents
Culture Documents
Bar
and
beam stiness matrix
Assistant Assistant
cedric.laruelle@uliege.be m.volvert@uliege.be
Contents
Exercise n◦ 1: Stiness matrix of a KA bar element of 2nd degree. 2
Exercise n◦ 2: Cantilever beam. 17
Exercise n◦ 3: Simply supported beam and concentrated loads. 30
Exercise n◦ 4: Doubly clamped bar with distributed load. 42
Exercise n◦ 5: Clamped bar with concentrated and distributed loads. 47
Exercise n◦ 6: Doubly clamped beam and concentrated torsional torques. 49
Exercise n◦ 7: Simply supported beam with distributed load. 54
Exercise n◦ 8: Doubly clamped beam with concentrated load. 68
Exercise n◦ 9: Doubly clamped beam with uniform load. 69
rev. 21 2
L/2
3. Calculate the bar displacement eld u(x), L/2
During this exercise, we always work with the structural axes Oxy .
In the case of a simple tension loading, one has (cf. theoretical reminders)
1
Z L
(e) dNi dNj
⇒ Kij = EA ds
0 ds ds
,→ Shape functions Ni (s) (same principle as in the workshop exercises 4)
Since we consider a 1D problem and a complete poly-
nomial displacement eld of second degree, we need 3
connectors : L/2 L/2
u1 u3 u2
1 3 2
2
⇒ u(s) = α1 + α2 s + α3 s s=0 s s = L/2 s=L
Z L 2 Z L
(e) dN1 EA
⇒ K11 = EA ds = 4 (−3L + 4s)2 ds
0 ds L 0
Z L
(e) EA 2 EA
2 3 3 16 3 7EA
⇔ K11 = 9L − 24Ls + 16s ds = 4 9L − 12L + L =
L4 0 L 3 3L
Z L Z L
(e) (e) dN1 dN2 EA
⇒ K12 = K21 = EA ds = 4 (−3L + 4s)(−L + 4s) ds
0 ds ds L 0
EA L 2
Z
(e) 2 EA 3 3 16 3 EA
⇔ K12 = 4
3L − 16Ls + 16s ds = 4 3L − 8L + L =
L 0 L 3 3L
Z L Z L
(e) (e) dN1 dN3 EA
⇒ K13 = K31 = EA ds = 4 (−3L + 4s)(4L − 8s) ds
0 ds ds L 0
EA L
Z
(e) 2 2 EA 3 3 32 3 8EA
⇔ K13 = 4
−12L + 40Ls − 32s ds = 4 −12L + 20L − L = −
L 0 L 3 3L
Z L Z L
(e) (e) dN2 dN3 EA
⇒ K23 = K32 = EA ds = 4 (−L + 4s)(4L − 8s) ds
0 ds ds L 0
EA L
Z
(e) 2 2 EA 3 3 32 3 8EA
⇔ K23 = 4
−4L + 24Ls − 32s ds = 4 −4L + 12L − L = −
L 0 L 3 3L
Z L 2 Z L
(e) dN2 EA
⇒ K22 = EA ds = 4 (−L + 4s)2 ds
0 ds L 0
Z L
(e) EA 2 2 EA 3 3 16 3 7EA
⇔ K22 = L − 8Ls + 16s ds = L − 4L + L =
L4 0 L4 3 3L
Z L 2 Z L
(e) dN3 EA
⇒ K33 = EA ds = 4 (4L − 8s)2 ds
0 ds L 0
Z L
(e) EA 2 2 EA 3 3 64 3 16EA
⇔ K33 = 4
16L − 64Ls + 64s ds = 4 16L − 32L + L =
L 0 L 3 3L
7 1 −8 u
EA 1
⇒ K (e) = 7 −8 ; q (e) = u2
1
3L
−8 −8 16 u3
rev. 21 4
Generally, the consistent nodal load vector g (e) components are (cf. workshop exer-
cises 4) :
Z Z
(e)
gi = NijT ρb̄j dV0 + NijT t̄j dS0
V0 Sσ
Remark : Since the displacement eld u(s) has to be continuous over the bar length L, it
implies that the shape functions Ni (s) have also to be continuous over the bar length L.
Thus, the consistent nodal load g2 associated with the connector u2 is non zero, although
this part of the bar is not loaded ! Due to the fact that the shape functions are negative in
some parts of the bar length, it is possible to have negative consistent nodal loads associated
with some connectors.
rev. 21 5
Check :
Z L/2
CM f fL
⇒ Ftot = A ds =
0 A 2
3
fL 12f L fL
⇒ ok
F EM
X
→ Ftot = gi = (5 − 1 + 8) = =
i=1
24 24 2
3) Bar displacement eld u(x)
We have
⇒ u(x) = u(s), ∀x, s ∈ [0, L]
f
⇔ u(s) = N1 (s)u1 + N2 (s)u2 + N3 (s)u3 ⇒ u(s) = (3Ls − 2s2 ) , s ∈ [0, L]
8EA
Remark : FEM gives us a consistent result with respect to the exact solution at the nodes
2 and 3 : u2 = u3 . Indeed, since the second half of the bar is not loaded, the displacement
eld u(x) is expected to be constant in all this part.
However, (s) 6= 0 and σ(s) 6= 0 in all the second half of the bar, since u(x) is not constant
in this part! This result was expected because the rst derivative of the shape functions is
discontinuous across the element boundary and continuous inside the element in order to ex-
actly satisfy the compatibility equations, which is an essential condition for the convergence
of FEM with the KA approach.
In order to highlight some FEM features, we have determined the following expressions :
du f
(s) = = (3L − 4s), ∀s ∈ [0, L]
ds 8EA
f
σ(s) = E(s) = (3L − 4s), ∀s ∈ [0, L]
8A
and
dσ L
= 0, ∀s ∈ ,L
ds 2
In our case, one gets
f f L
− + 6= 0, ∀s ∈ 0,
2A A 2
and
f L
− 6= 0, ∀s ∈ ,L
2A 2
So, the body equilibrium equation is not exactly satised pointwise, as expected in the
KA approach. But in the variational principle on displacement, we require that the
rev. 21 7
L
Z Z Z Z L
∂σij 1D dσxx 2 dσ f dσ
⇒ +ρb̄i dV0 = +ρb̄x dV0 = A + ds+A ds = 0
V0 ∂xj V0 dx 0 ds A L
2
ds
−f L f L −f L
⇔ A + +A =0
2A 2 2 2A 2
So, the body equilibrium equation is satised on average over the bar length.
• Surface equilibrium equation : The surface equilibrium equation is :
fL
σ(L) = 0 ⇒ − 6= 0
8
So, the surface equilibrium equation is not exactly satised pointwise, as expected in
the KA approach. But in the variational principle on displacement, we require that the
surface equilibrium equation is satised at best on average over the surface Sσ :
Z Z Z
nx =+1 fL
(σij nj − t̄i ) dS0 = (σxx nx − t̄x ) dS0 = (σ(L) − 0) dS0 = − 6= 0
Sσ Sσ Sσ 8
So, the surface equilibrium equation is not satised on average over the bar free bound-
ary.
,→ Reaction force
We use the equilibrium equation at node 1, i.e. the rst equation of the 3 × 3 linear
system of equation K (s) q (s) = g (s) . The out of balance force F =F −F must be OOB INT EXT
EA 5f L
⇒ (7u1 + u2 − 8u3 ) − = F Reaction
|3L 24
F INT F EXT
{z } |{z}
u2 =u3
u1 =0 7EA 5f L
⇔ −u2 − = F Reaction
3L 24
7EA f L2 5f L
⇔ − × − = F Reaction
3L 8EA 24
fL
⇔ F Reaction = −
2
Note that F Reaction is always positive in the direction of each axis !
2 In
order to be rigorous, the body equilibrium equation is satised at best on weighted average over the
volume V0 : Z Z
∂σij 1D dσxx
⇒ δui + ρb̄i dV0 = δux + ρb̄x dV0 = 0
V0 ∂xj V0 dx
rev. 21 8
4) Comparison of the solution obtained with one bar element of rst degree
two connectors : L
( u2
u1
u1 = u(s = 0) = α1 1 2
s
u2 = u(s = L) = α1 + α2 L s=0 s=L
By inverting the relations, we get the shape functions and their rst derivative :
( ( (
s dN1 (s)
α1 = u1 N1 (s) = 1 − L ds
= − L1
⇔ ⇒ ⇒ dN2 (s)
α2 = − uL1 + u2
L
N2 (s) = Ls ds
= L1
The consistent nodal load vector g (e) is (it is the same principle as with a KA bar
element of 2 degree) :
nd
L/2 L/2
L L2
Z Z
(e)
s 3f L
g1 = f N1 (s) ds = f 1− ds = f − =
0 0 L 2 8L 8
Z L/2 Z L/2
(e) s fL
g2 = f N2 (s) ds = f ds =
0 0 L 8
,→ Structural nodal displacements q (s)
Taking into account the support condition u1 = 0, one gets the reduced structural
equation :
EA fL f L2
⇒ u2 = ⇔ u2 =
L 8 8EA
rev. 21 9
In order to highlight some FEM features, we have determined the following expressions
:
• Strain eld ε(s) in the bar :
du fL
ε(s) = = , ∀s ∈ [0, L]
ds 8EA
• Stress eld σ(s) in the bar :
fL
σ(s) = Eε(s) = , ∀s ∈ [0, L]
8A
We notice that there are still non-zero strain and stress elds in the bar for s ∈ ,L .
L
2
,→ Reaction force
We use the equilibrium equation at node 1, i.e. the rst equation of the 2 × 2 linear
system of equations K (s) q (s) = g (s) . The out of balance force F =F −F must be
OOB INT EXT
| L {z 8
INT F EXT
} |{z}
F
2
u1 =0 EA fL 3f L
⇔ − − = F Reaction
L 8EA 8
fL
⇔ F Reaction = −
2
5) Comparison of the solution obtained with two bar elements of rst degree
Element 1 : L(e1 ) = L
2
and extensional stiness EA
EA −1
1 1 −1 u1
K (e1 ) = (e1 ) = 2EA ; q (e1 ) =
L −1 1 L −1 1 u2
Element 2 : L(e2 ) = L
2
and extensional stiness EA
EA −1
1 1 −1 u2
K (e2 ) = (e2 ) = 2EA ; q (e2 ) =
L −1 1 L −1 1 u3
Element 2 : no load
0
g (e2 ) =
0
⇔ fL
−1 2 −1 u2 =
L 4
0 −1 1 u3 0
Taking into account the support condition u1 = 0, one gets the 2 × 2 reduced linear
system of equations :
fL
2EA 2 −1 u2 4
⇒ =
L −1 1 u3 0
K RED q RED g RED
| {z } | {z } | {z }
We have
u(e1 ) (s(e1 ) ), ∀x ∈ 0, L2 and ∀s(e1 ) ∈ 0, L2
(
⇒ u(x) =
u(e2 ) (s(e2 ) ), ∀x ∈ L2 , L and ∀s(e2 ) ∈ 0, L2
, ∀x ∈ 0, 2 and ∀s(e1 ) ∈ 0, 2
( 2 (e )
fL s 1
L L
⇔ u(x) = 8EA L
, ∀x ∈ L2 , L and ∀s(e2 ) ∈ 0, L2
fL 2
8EA
,→ Reaction force
We use the equilibrium equation at node 1, i.e. the rst equation of the 3 × 3 linear
system of equations K (s) q (s) = g (s) :
u
2EA 1 fL
⇒ 1 −1 0 u2 = F +
Reaction
L 4
u3
u1 =0 2EA fL
⇔ − u2 = F Reaction +
L 4
2EA f L2 fL
⇔ − × − = F Reaction
L 8EA 4
fL
⇔ F Reaction = −
2
,→ Comparison of bar displacement eld u(x) for bar elements of degree 1 and 2
If we want to recover the exact solution, we need at least two second degree bar elements.
rev. 21 13
Because of the boundary conditions (ū = 0) and the loading driven by force (ρb̄ 6= 0
and t̄ = 0), one has
1 1 T
U − P = − P = − q (s) g (s)
2 2
And thus
1 (s)
|U − P| = ui gi
2
7f 2 L3 3f 2 L3 6f 2 L3
⇔ |U − P| = ⇔ |U − P| = ⇔ |U − P| =
384EA 384EA 384EA
In conclusion, we notice that the FEM solution monotonically tends towards the exact
solution, when we add bar elements (mesh renement) and/or we increase the degree of bar
element.
L/2 L/2
L3
Z Z
L
ds = s2 ds =
0 2 0 24
L/2
L2
Z
s ds =
0 8
rev. 21 14
• Constitutive equation
σ = Eε, ∀x ∈ [0, L] (4)
• Boundary conditions
- Kinematic
u = 0, x=0
- Static
tx = 0, x=L
⇔ σnx = 0, x=L
nx =1
⇔ σ = 0, x=L
If we insert Eqs. (3) and (4) into Eqs. (1) and (2), one gets two linear second order ordinary
dierential equations for the displacement eld u(x)
d2 u
f L
⇒ 2
+ = 0, ∀x ∈ 0,
dx EA 2
d2 u
L
⇒ = 0, ∀x ∈ ,L
dx2 2
By integrating these equations immediately, one has
f 2 L
⇒ u(x) = − x + C0 x + C1 , ∀x ∈ 0,
2EA 2
L
⇔ u(x) = C2 x + C3 , ∀x ∈ ,L
2
where C0 , C1 , C2 , C3 are integration constants.
rev. 21 15
In order to determine these constants, one has to impose the boundary conditions:
⇒ u(0) = 0
⇔ C1 = 0
⇒ σ(L) = 0
⇔ Eε(L) = 0
du
⇔ = 0
dx x=L
⇔ C2 = 0
The last two integration constants C0 and C3 are obtained by the following conditions at
x = L2 :
- Continuity of displacement eld :
L − + L
⇒ u x= = u x=
2 2
f L
⇔ − L2 + C0 = C3 (5)
8EA 2
L L
⇒ −
t x= +
+t x= = 0 (Newton's third law)
2 2
− L + L
⇔ tx x = + tx x = = 0
2 2
L L
⇔ σx− x = n−
x = −σx+
x= n+
x
2 2
L L
⇔ σx− x = = σx+ x =
2 2
− +
du L du L
⇔ x= = x=
dx 2 dx 2
fL
⇔ − + C0 = 0
2EA
fL
⇔ C0 =
2EA
- +
y n n
O x - +
t t
L/2 L/2
3 For bar elements, the continuity condition is imposed on the resultant force R ~ = ~t dS instead of the
R
A
surface traction vector t, so that it is possible to locally get a nite discontinuity in the cross section and the
~
stress eld.
rev. 21 16
From the exact solution, it is possible to determine the exact value of TPE. Because of the
boundary conditions (ū = 0) and the loading driven by force (ρb̄ 6= 0 and t̄ = 0), one has
1
⇒ U −P =− P
2
And thus
Z L/2
1 f
⇒ |U − P| = A u(x) dx
2 0 A
Z L/2
f f Lx x
⇔ |U − P| = 1− dx
2 0 2EA L
f 2 L L/2 x2
Z
⇔ |U − P| = x− dx
4EA 0 L
f 2 L L2 1 L3
⇔ |U − P| = −
4EA 8 L 24
2 3
f L 2
⇔ |U − P| =
4EA 24
f 2 L3
⇔ |U − P| =
48EA
rev. 21 17
y
- FEM with a polynomial vertical displacement
eld of 3 degree
rd
O x
We have a beam submitted to simple bending . So we are going to solve K (s) q (s) = g (s) ⇔
4
K (e) q (e) = g (e) with only one beam element. During this exercise, we always work with the
structural axes Oxy .
1) A polynomial vertical displacement eld of 3 degree rd
The support conditions are dened by the restraint, i.e., one has
v1 = θ1 = 0
So, it remains
v
1
0 [m]
[dimensionless]
θ1 0
q (s) =
=
v2 v2 [m]
θ2 θ2 [dimensionless]
4 Pay attention, the beam element can not withstand tensile-compressive loading (no unknowns ui ). In
this exercise, we can only use beam elements because we are in a simple bending context.
rev. 21 18
N1 (x) = 1 − 3 2
L2
x + 2 3
L3
x [dimensionless]
N2 (x) = x − L2 x2 + 1 3
L2
x [m]
N3 (x) = 3 2
L2
x − 2 3
L3
x [dimensionless]
N4 (x) = − L1 x2 + 1 3
L2
x [m]
Pay attention that the following relation is no longer valid for a beam element :
4
X 4
X
Ni (x) = 1 Ni (x) 6= 1
i=1 i=1
| {z } | {z }
Bar Beam
,→ Stiness matrix
Because of the support conditions (v1 = q1 = 0 and θ1 = q2 = 0), we don't need the
stiness matrix elements containing the subscripts 1 or 2 , i.e. we only need (cf. theoretical
reminders) :
(e) 12EI
K33 =
L3
(e) (e) 6EI
K34 = K43 = −
L2
(e) 4EI
K44 =
L
Finally, one has
RED
2EI 6 −3L RED
v2
K = 3 ; q =
L −3L 2L2 θ2
• q̄(x) = −p [N/m],
• T̄ = −P [N] and nx = +1 at x = L.
rev. 21 19
Because of the support conditions, we only need to calculate g3(e) and g4(e) (cf. theoretical
reminders) :
Force (corresponds to the vertical displacement v2 )
(e) RL
g3 = −p 0
N3 (x) dx − P N3 (L) = − pL
2 −P [N] →
[N/m.m2 ]=[N.m] → Moment (corresponds to the rotation θ2 )
(e) RL 2
pL
g4 = −p 0 N4 (x) dx − P N4 (L) = 12
Since we have taken into account the support conditions, one has still to solve the
following 2 × 2 linear system of equations :
RED RED RED
⇒ K q =g
2EI 6 −3L v pL
− −P [N]
⇔ 2 = 2
3
L [N.m]
pL 2
−3L 2L2 θ2 12
2 pL
v 3 2L 3L − −P
⇔ 2 = L × 1 × 2
θ2 2EI 3L2 3L 6 pL2
12
3
v2 L −pL3 − 2L2 P + pL4
⇔ =
θ2 6EI − 3pL2 − 3LP + pL2
2 2
v2 pL4
− 8EI L3
− P3EI [m]
⇔ =
[dimensionless]
pL 3 2
θ2 − 6EI − P2EI
L
,→ Shape functions
In this case, the shape functions are not known, we are thus going to calculate them (as
in the workshop exercises 4). Generally, since the problem is 1D and the vertical displacement
eld is a complete polynomial of 2 degree , we need 3 connectors :
nd 5
dv(x)
v(x) = α1 + α2 x + α3 x2 ⇒ = α2 + 2α3 x (7)
dx
Which connectors to choose ?
Generally, we can choose any set of 3 connectors among the 4 ones used for the beam element
of 3 degree (v1 , θ1 , v2 and θ2 ) because they are linearly independent.
rd
• For simplicity's sake, we choose to keep the two vertical displacements v1 and v2 .
→ If we choose θ1 , this DOF will simply be determined by the support conditions and
there will still be a 1 × 1 linear system of equations in v2 to solve.
→ If we choose θ2 , the imposition of the support conditions is much more tricky.
It has still to be ensured that :
(
v(0) = 0
dv
dx x=0
=0
But the second condition do not make 1 DOF null anymore, but links the 2 DOFs
6
5 Don't forget that the weak form associated with the strong form of the beam governing equations implies
that the second derivative of the vertical displacement v(x) should be dierentiable in the strain energy U .
6 If we forget this second condition, then there is still a rigid body mode ⇒ K (s) will be singular (This
result may be veried by calculations.).
rev. 21 21
For simplicity's sake, we are thus going to choose the connectors v1 , v2 and θ1
v1 = v(0) = α1
α1 = v1
v2 = v(L) = α1 + α2 L + α3 L2 ⇔ α2 = θ1
dv
θ1 = dx = α2 α3 = − Lv12 + v2
− θ1
x=0 L2 L
,→ Stiness matrix
Z L
(e)
⇒ g3 = −p N3 (x) dx − N3 (L)P
0
pL
− P [N] → Force
(e)
⇔ g3 = −
3
,→ Generalized displacement vector
Since we have taken into account the support conditions, one still has to solve the
following 1 × 1 linear system of equations :
RED RED RED
⇒ K q =g
4EI pL
⇔ 3
v2 = − −P
L 3
rev. 21 22
pL3 P L2
⇒ θ2 = − − [dimensionless]
6EI 2EI
3) SOM solution
One has two contributions to the maximum vertical displacement v(x = L) : the distributed
load p and the concentrated load P , whose the SOM formulas are
pL3
v200 (L) = − P3EI
L
θ20 (L) = − 6EI L2
θ200 (L) = − P2EI
[m]
(
pL4 L3
v2 (L) = v20 (L) + v200 (L) = − 8EI − P3EI
pL3 L2
θ2 (L) = θ20 (L) + θ200 (L) = − 6EI − P2EI [dimensionless]
4) Comparison
• The use of a polynomial displacement eld of 3 degree does give us the exact solution .
rd 7
underestimates the maximum vertical displacement because the element is too sti . 8
v1 = v(0) = α1
v2 = v(L) = α1 + α2 L + α3 L2
dv
θ2 = = α2 + 2α3 L
dx x=L
1) First approach :
In this approach, we immediately determine some connectors via the support conditions
and the other ones will be determined, when we solve K (s) q (s) = g (s) .
,→ Support conditions
⇒ v(0) = 0 ⇔ α1 = 0
dv
⇒ =0 ⇔ α2 = 0
dx x=0
There is only one DOF left. We are going to choose v2 as DOF, while θ2 will be associated
with v2 through the support conditions according to θ2 = 2vL2 .
7 Pay attention that the exact solution for a clamped beam submitted to a distributed load p along its
span is a polynomial of 4th degree : v(x) = − 24EI
px2
(x2 − 4Lx + 6L2 ).
8 The exact maximum vertical displacement v(x = L) obtained with this displacement eld v(x) corre-
sponds to M (x) = const. over the beam span (pure bending).
rev. 21 24
2) Second approach :
In this approach, we determine the shape functions to get the stiness matrix and the
consistent generalized load vector. Then, we apply the support conditions, when we solve
K (s) q (s) = g (s) for the unknown generalized displacements q (s) .
,→ Shape functions
Because of the support condition v1 = 0, we only need the second derivative of the shape
functions N2 (x) and N3 (x) :
2x x2 dN2 (x) 2 2x d2 N2 2
N2 (x) = − 2 ⇒ = − 2 ⇒ 2
=− 2
L L dx L L dx L
x2 dN3 (x) 2x d2 N3 2
N3 (x) = −x ⇒ = −1 ⇒ =
L dx L dx2 L
rev. 21 25
,→ Stiness matrix
In the case of a beam in simple bending, one has (cf. theoretical reminders) :
L
d2 Ni d2 Nj
Z
(e)
Kij = EI dx
0 dx2 dx2
Because of the support condition v1 = 0, we only need :
L 2 L
d2 N2
Z Z
(e) 4EI 4EI
K22 = EI dx = 4 dx =
0 dx2 L 0 L3
L 2
2
4EI L
Z Z
(e) d N3 4EI
K33 = EI dx = dx =
0 dx2 L2 0 L
Z L 2 2 Z L
(e) d N2 d N3 4EI 4EI
K23 = EI 2 2
dx = − 3 dx = − 2
0 dx dx L 0 L
Because of the support condition, we only need to calculate g2(e) and g3(e) (cf. Annex 1 for
integral calculations) :
Z L
(e)
⇒ g2 = −p N2 (x) dx − P N2 (L)
0
L
2x x2
Z
(e)
⇔ g2 = −p − 2 dx − P × 1
0 L L
2 3
(e) L L
⇔ g2 = −p − 2 −P
L 3L
2pL
− P [N]
(e)
⇔ g2 = −
3
Z L
(e)
⇒ g3 = −p N3 (x) dx − P N3 (L)
0
Z L 2
(e) x
⇔ g3 = −p − x dx − P × 0
0 L
3
L2
(e) L
⇔ g3 = −p −
3L 2
2
pL
⇔ g3
(e)
= [N.m]
6
rev. 21 26
Since we have immediately imposed the support conditions to the connectors, one still has
to solve the following 2 × 2 linear system of equations :
RED RED RED
K ⇒ q =g
4EI 1 −L v − 2pL
− P [N]
⇔ 2 = 3
L3 −L L2 θ2 pL2
[N.m]
6
In this approach, we have to impose the following condition at the restraint on the vertical
displacement eld v(x) :
dv
⇒ = 0
dx x=0
dN1 (x) dN2 (x) dN3 (x)
⇔ v1 + v2 + θ2 = 0
dx x=0 dx x=0 dx x=0
2 2x 2x
⇔ − v2 + −1 θ2 = 0
L L2 x=0 L x=0
2v2
⇔ − θ2 = 0
L
2v2
⇔ θ2 =
L
This kinematic constraint prevents the beam from deforming without straining. It is less
systematic because it is not possible to immediately impose this condition on the connectors
v1 , v2 and θ2 . Thus, we have to solve the following constrained problem :
4EI 1 −L v2 − 2pL − P
= 3
L3 −L L 2
θ2 pL2
6
2v2
θ2 − =0
L
rev. 21 27
We are going to use the Lagrange multiplier method (cf. Annex 2) to transform this con-
strained problem into an unconstrained one by adding a Lagrange multiplier λ associated
with the equality constraint θ2 − 2vL2 = 0 :
2 2pL
4EI −L 1v − − − P
2 + λ L = 3
L 3 2 pL2
−L L θ2 1 6
v2
− L2 1 =0
θ2
By gathering all the equations, we recover a 3 × 3 linear system of equations :
4EI
L3
− 4EI
L2
− L2 v2 − 2pL − P
3
4EI 4EI pL2
− L2 =
1 θ
L 2 6
− L2 1 0 λ 0
The last equation is used to eliminate the unknown θ2 in the two rst equations :
2v2
θ2 =
L
(
4EI
v − 4EI
L3 2
2v2
L2 L
− 2λ
L
= − 2pL
3
−P
⇒ 4EI 2v2 pL2
− 4EI v
L2 2
+ L L
+ λ = 6
(
− 4EI v − 2λ
L3 2 L
= − 2pL
3
−P
⇔ 4EI pL2
v +λ= 6
L2 2
4EI 2 2pL
− −L v − −P
⇔ L3 2 = 3
pL 2
4EI
L2
1 λ 6
K sol
| {z }
The solution is :
v L 3 1 2
− 2pL − P
⇒ 2 = L × 3
λ 4EI − 4EI − 4EI pL2
L2 L3 6
2pL pL
v
2 L3 − 3 − P + 3
⇔ =
λ 4EI 8EIp + 4EIP − 4EI pL2
3L L2 L3 6
pL
v
2 L3 −P − 3
⇔ =
λ 4EI 4EIP + 2EIp
L2 L
v pL4
− 12EI L3
− P4EI [m]
⇔ 2 =
[N.m]
2
λ P L + pL2
The Lagrange multiplier λ is interpreted as the reaction moment associated with the kine-
dv
matic constraint = 0 ⇔ θ2 = 2v2
L
.
dx x=0
Finally, we deduce :
2v2
⇒ θ2 =
L
pL3 P L2
⇔ θ2 = − −
6EI 2EI
L L
L3
Z Z
dx = L x2 dx =
0 0 3
L L
L2 L4
Z Z
x dx = x3 dx =
0 2 0 4
and assume that we want to impose onto the solution the m linearly independent discrete
kinematic constraints
B (s)q (s) = V (s)
|{z}
m×n
In the Lagrange multiplier method, we modify the total potential energy TPE to obtain
TPE∗ q (s) , λ(s) = TPE q (s) + λ(s)T B (s) q (s) − V (s)
where λ(s) is a vector of m Lagrange multipliers. Invoking the stationary condition δ TPE∗ =
0, we now obtain :
⇒ δ TPE∗ q (s) , λ(s) = 0, ∀δq (s) , δλ(s)
⇔ δ TPE q (s) + δλ(s)T B (s) q (s) − V (s) + λ(s)T B (s) δq (s) ∀δq (s) , δλ(s)
= 0,
(s)T
⇔ δq (s)T (s) (s)
K q −g (s)
+ δλ (s) (s)
B q −V (s)
+ δq (s)T B (s)T λ(s) = 0, ∀δq (s) , δλ(s)
T
(s) (s) (s) T (s) (s)
δq K B q g
⇔ − = 0, ∀δq (s) , δλ(s)
δλ(s) B (s) 0 λ(s) V (s)
(s) (s) T
K B q (s) g (s)
⇔ =
B (s) 0 λ(s) V (s)
rev. 21 30
I = 8 × 108 mm4
O x
a b E = 210 kN/mm2
L
a = b = 1.5 m
L=5m
Figure 3: Wording of exercise 3
During this exercise, we always work with the structural axes Oxy .
1) Rayleigh-Ritz method (RRM) (cf. workshop exercises 2 and 3)
πx dv(x) απ πx d2 v(x) απ 2 πx
v(x) = α sin ⇒ = cos ⇒ 2
= − 2
sin
L dx L L dx L L
In our case, the support conditions imply
v(0) = v(L) = 0
Remark : Therefore, the trial function does satisfy the essential boundary conditions.
So, it comes
EI π 4 2
L 2πL
⇒ U = α L− sin
4 L4 2π L
4
EIπ 2
⇔ U = α
4L3
Generally, we have
Z L
P= q̄(x)v(x) dx + T̄ v(x)nx ST
+ M̄ θ(x)nx SM
0
So, it remains
Z L
P= [−P1 δ(x − a)v(x) − P2 δ(x − a − b)v(x)] dx = −P1 v(a) − P2 v(a + b)
0
In total, we have
πa π(a + b)
P = −α P1 sin + P2 sin = −αQ
L L
where it is assumed that
πa π(a + b)
Q = P1 sin + P2 sin = 223, 5602 [N]
L L
,→ Variational principle on displacement
In our case, the variational principle (i.e. the minimisation of the total potential energy)
gives us :
∂(U − P)
⇒ = 0
∂α
EIπ 4
⇔ α+Q = 0
2L3
2L3
⇔ α = − Q = −3, 4153 [mm]
EIπ 4
9 Inthis case (1D problem and concentrated loads), the loading has to be chosen such that we recover the
product of the concentrated load and the vertical displacement at its point of application in the expression
of P .
rev. 21 32
2L3
πa π(a + b) πx πx
v(x) = − 4
P1 sin + P2 sin sin = −3, 4153 sin [mm]
EIπ L L L 5000
The vertical displacement at the points of application of the two concentrated loads will
be used as reference values for further comparison (SOM formulas and FEM generalized
displacements):
Vertical::::::::::::::
• :::::::: displacement:::
at:::::::
x = a: v(a) = α sin πa
L
= − 2, 763 [mm]
Vertical::::::::::::::
• :::::::: displacement:::
at:::::::::::
x = a + b: v(a + b) = α sin π(a+b)
L
= − 3, 2481 [mm]
The SOM demonstrates the following formulas for this kind of problem :
P
y
O x
d
[d(2L − d) − x2 ] if x ≤ d
(
v bef oreP (x) = − P (L−d)x
6LEI
v(x) =
v af terP (x) = − P d(L−x)
6LEI
[L2 − d2 − (L − x)2 ] if x > d
We use the superposition principle to apply the formulas to our problem with 2 concentrated
loads P1 and P2 .
[a(2L − a) − x2 ] , if x ≤ a
(
vPbef
1
oreP
(x) = − P16LEI
(L−a)x
,→ Superposition principle
if 0 ≤ x ≤ a : v(x) = vPbef
1
oreP
(x) + vPbef
2
oreP
(x)
if a ≤ x ≤ a + b : v(x) = vPaf1 terP (x) + vPbef2 oreP (x)
if a + b ≤ x ≤ L : v(x) = vPaf1 terP (x) + vPaf2 terP (x)
rev. 21 33
So, we have
Vertical::::::::::::::
• :::::::: displacement:::
at:::::::
x = a:
P1 (L − a)a P1 (L − a)2 a2
vPbef oreP
(a) = − 2
a(2L − a) − a = = −1, 098 [mm]
1
6LEI 3LEI
P2 [L − (a + b)] a
vPbef oreP 2
= −1, 6741 [mm]
(a) = − (a + b)(2L − (a + b)) − a
2
6LEI
Vertical::::::::::::::
• :::::::: displacement:::
at:::::::::::
x = a + b:
P1 [L − (a + b)] a 2
vPaf1 terP (a + b) = − L − a2 − (L − (a + b))2 = −1, 1161 [mm]
6LEI
P 2 [L − (a + b)] (a + b)
vPbef oreP 2
(a + b) = − (a + b)(2L − (a + b)) − (a + b)
2
6LEI
P [L − (a + b)]2 (a + b)2
= −2, 1429 [mm]
2
vPbef oreP
(a + b) = −
2
3LEI
3) FEM solution
• we know that the exact solution in simple bending can be recovered, if the bending
moment M (x) is a continuous linear function along the beam element span;
• the stiness matrix and the shape functions are known.
P2
P1
vB = v2(1) = v1(2) vC = v2(2) = v1(3) vD = v2(3)
vA = v1(1)
We choose to apply the load P1 to the element (1) and the load P2 to the element (2).
,→ Structural generalized displacement vector q (s)
q (s) = [vA θA vB θB vC θC vD θD ]T
rev. 21 34
Element ::::
• ::::::::: (1) :
INDEX(1, 1:4) = [1 2 3 4]
vA θA vB θB
Element ::::
• ::::::::: (2) :
INDEX(2, 1:4) = [3 4 5 6]
vB θB vC θC
Element ::::
• ::::::::: (3) :
INDEX(3, 1:4) = [5 6 7 8]
vC θC vD θD
rev. 21 35
We assemble the structural stiness matrix of the three elements, taking into account their
respective length . 10
3 3 3 3 3 3 3 3
6b c 3ab c −6b c 3ab c 0 0 0 0
vA
3ab3 c3 2a2 b3 c3 3 3
−3ab c
2 3 3
a b c 0 0 0 0 θA
−6b3 c3 −3ab3 c3 3 3 3 3 3 3
−3ab c + 3ba c
3 3 3 3
−6a c
3 3
6b c + 6a c 3ba c 0 0 vB
2EI 3ab3 c3 a2 b3 c3 −3ab3 c3 + 3ba3 c3 2a2 b3 c3 + 2b2 a3 c3 3 3 2 3 3
−3ba c b a c 0 0 θ
(s) ; q (s) = B
K =
a3 b3 c3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 vC
0 0 −6a c −3ba c 6a b + 6a c 3ca b − 3ba c −6a b 3ca b
3 3 2 3 3 3 3 3 3 2 3 3 2 3 3 3 3 2 3 3
θC
0 0 3ba c b a c 3ca b − 3ba c 2c a b + 2b a c −3ca b c a b
3 3 3 3 3 3 3 3
vD
0 0 0 0 −6a b −3ca b 6a b −3ca b
0 0 0 0
3 3
3ca b
2 3 3
c a b
3 3 2 3 3
−3ca b 2c a b θD
Element ::::
• ::::::::: (1):
Element ::::
• ::::::::: (2):
P2
Element ::::
• ::::::::: (3):
Assembling :
• :::::::::::: 11
Check :
Continuum Mechanics:
vA = vB = vC = vD = 1 and θA = θB = θC = θD = 0,
11 Normally, one should add the contribution of the reaction forces RA and RD at nodes A and D respectively
in the structural generalized load vector g (s) .
rev. 21 37
Continuum Mechanics:
dx
vA = 0, vB = a, vC = a + b, vD = L and θA = θB = θC = θD = 1,
rev. 21 38
one gets
0
0
−P1
0
⇒ P = 0 1 a 1 a+b 1 L 1
−P2
0
0
0
⇔ P = (−P1 a − P2 (a + b)) × |{z}
1
| {z }
dv(x)
Resultant moment
dx
Remark :
If we had chosen, for example, to apply the two loads P1 and P2 to the element (2), we would
have obtained the same result.
Element ::::
• ::::::::: (1) ::::
and:::::::::
element ::::
(3) : no applied load
T
⇒ g (e1 ) = g (e3 ) = 0 0 0 0
Element ::::
• ::::::::: (2):
(e2 ) (e )
N1 (0) N1 2 (b)
(e2 ) (e2 )
N2 (0) N2 (b)
⇒ g (e2 ) (e2 ) − P2 (e2 )
= −P1
N3 (0) N2 (b) P2
P1
(e ) (e )
N4 2 (0) N4 2 (b)
Element (2)
1 0 −P
1
(2)
Nd. B L = b Nd. C
0 0 0
⇔ g (e2 ) − P2 =
= −P1
1 −P2
0
0 0 0
After assembling, we do nd one more time the same structural consistent generalized load
vector.
The construction of the structural consistent generalized load vector can thus be done
in an intuitive way for concentrated loads applied to the nodes of a structure (cf. workshop
exercises 1). This comes from the use of shape functions that respect the condition to be
unitary at the corresponding DOF, and null at the others.
Remark that it is also the case of the rotations, to which we can apply a concentrated
moment : this concentrated moment is considered as positive when it is applied in the direc-
tion of θ1 or θ2 .
rev. 21 40
N1(x)
0 x
L
N2(x) N4(x)
θ=45°
0 x 0 θ=45° x
L L
rev. 21 41
,→ Solving
Because of the support conditions vA = vD = 0, we remove the rows and columns 1 and
7 of the 8 × 8 linear system of equations K (s) q (s) = g (s) .
We replace each parameter with its corresponding numerical value and we solve this system
of equations. It comes
v 0
A
θA −0, 8021
vB −2, 7679
θB −0, 8013
q (s) = =
vC −3, 2589
θC 0, 0007
vD 0
θD 0, 0021
So, we have
4) Comparison (of the vertical displacement at the application points of the two loads P1 and
P2 )
• The FEM calculation with 3 beam nite elements of 3 degree gives the exact solution.
rd
• The RRM calculation with the trial function proposed in the wording underestimates
the vertical displacements at the application points of the applied loads, i.e. it overes-
timates the bending stiness of the beam.
v RRM (a) − v SOM (a) = −0, 0048 [mm]
(
1) FEM discretization
Taking into account the support conditions u0 = 0 and uL = 0, one gets the reduced structural
equation :
1 1 τL
⇒ EA + uL1 =
L1 L − L1 2
τ
⇔ uL1 = L1 (L − L1 )
2EA
2) Exact solution
⇒ dN + τ dx = 0
dN
⇔ +τ = 0
dx
dσ
A=
⇔
const.
A + τ = 0, ∀x ∈ [0, L] (1)
dx
• Strain displacement equation
du
ε= , ∀x ∈ [0, L] (2)
dx
• Constitutive equation
σ = Eε, ∀x ∈ [0, L] (3)
• Boundary conditions
- Kinematic
u = 0, x=0
u = 0, x=L
If we insert Eqs. (2) and (3) into Eq. (1), one gets a linear second order ordinary dierential
equation for the displacement eld u(x):
d2 u τ
⇒ 2
+ = 0, ∀x ∈ [0, L]
dx EA
By integrating twice this equation immediately, one has
τ
⇒ u(x) = − x2 + C 0 x + C 1 , ∀x ∈ [0, L]
2EA
where C0 and C1 are integration constants.
rev. 21 45
In order to determine these constants, one has to impose the boundary conditions :
⇒ u(0) = 0
⇔ C1 = 0
⇒ u(L) = 0
2
τL
⇔ − + C0 L + C1 = 0
2EA
τL
⇔ C0 =
2EA
we get the same value as the one obtained with the FEM.
In Figure 5, we notice that the FEM solution is always exact at the connectors for this prob-
lem. Between the connectors, the exact solution (a quadratic polynomial) is approximated
by a piecewise linear polynomial.
rev. 21 46
The error criterion is assumed to be the hatched surface represented in Figure 5, which is
the dierence between the area under the curve u (x) and the curve u (x) :
exact FEM
Z L
⇒ error(L1 ) = u
exact (x) − u
(x, L1 ) dx
FEM
0
Z L Z L1 Z L−L1
τx
⇔ error(L1 ) = (L − x) dx − (e1 )
u (s, L1 ) ds − u(e2 ) (s, L1 ) ds
0 2EA 0 0
Z L Z L1
τ s s
⇔ error(L1 ) = 2
xL − x dx − 1− u0 + uL1 ds
2EA 0 0 L1 L1
Z L−L1
s s
− 1− uL1 + uL ds
0 L − L1 L − L1
2
L3 L21 (L − L1 )2
τ L uL1 1
⇔ error(L1 ) = L− − × − uL1 (L − L1 ) −
2EA 2 3 L1 2 L − L1 2
3
τ L L1 L − L1
⇔ error(L1 ) = × − uL1 + L − L1 −
2EA 6 2 2
3
τ L τ L
⇔ error(L1 ) = × − L1 (L − L1 )
2EA 6 2EA 2
τ L L2 L1
⇔ error(L1 ) = − (L − L1 )
4EA 3 2
3
2
τL 3L1 3L1
⇔ error(L1 ) = − +2
24EA L2 L
The optimal position of the intermediate node L1 is the one that makes the function error(s)
minimum :
τ L3 L1
error(s) = (3s2 − 3s + 2), with s =
24EA L
Using the stationary condition, it comes :
d error ∗
⇒ (s ) = 0
ds
τ L3
⇔ (6s∗ − 3) = 0
24EA
1
⇔ s∗ =
2
L
⇔ L∗1 =
2
Remark : the error(s) function is a quadratic polynomial with no roots since the discriminant
is negative :
ρ = 9 − 24 < 0
It implies that there is no position of the intermediate node at x = L1 such that the function
error(s) is equal to zero.
rev. 21 47
q (s) = [u1 u2 ]T
Taking into account the support condition u1 = 0, one gets the reduced structural equation :
EA γ̄L
⇒ u2 = +F
L 2
L γ̄L
⇔ u2 = +F
EA 2
γ̄L2 FL
⇔ u2 = +
2EA EA
,→ Reaction force
We use the equilibrium equation at node 1, i.e. the rst equation of the 2 × 2 linear system
of equation K (s) q (s) = g (s) . The out of balance force must be equal to the reaction force :
EA γ̄L
⇒ (u1 − u2 ) − = F Reaction
| L {z 2
F INT F EXT
} |{z}
2
u1 =0 EA γ̄L FL γ̄L
⇔ − + − = F Reaction
L 2EA EA 2
⇔ F Reaction = −γ̄L − F
Note that the F Reaction is always positive in the direction of the axes.
rev. 21 49
1) S.o.M. analysis
Consider a clamped beam with a constant circular cross section submitted to a torsional
torque at its free end.
Kinematic relations
::::::::::::::::::::
dψ
⇒ θ =
dx
θ= cst
⇔ ψ(x) = θx + ψ(0)
(L)
ψ(L) − ψ(0)
⇔ θ = , (1)
L
where θ is the torsional angle per unit span.
γ = rθ, (2)
where γ is the engineer shear strain and r is the distance
of any material point with respect to the centroid of
the cross section.
Constitutive equation
::::::::::::::::::::::
τ = Gγ, (3)
where τ is the shear stress and G is the shear modulus.
where MT is the torsional moment resulting from straining and S is the cross section area.
By injecting successively Eqs. (3), (2) and (1) into Eq. (4), it comes
Z
⇒ MT = Gγr dS
SZ
⇔ MT = G θr2 dS
S Z
GJ
⇔ MT = (ψ(L) − ψ(0)) with the polar inertia J = r2 dS
L S
2) FEM discretization
The structural generalized displacements vec-
tor is:
q (s) = [ψG ψA ψB ψD ]T ,
Since the structure is loaded by concentrated torsional torques at the nodes, one gets imme-
diately by inspection:
MR
TG
MTA
g (s) =
,
MTB
MTRD
where MTRG and MTRD are the reaction torsional torques respectively at nodes G and D.
,→ Structural generalized displacements vector q (s)
Taking into account the support conditions ψG = 0 and ψD = 0, one gets the 2 × 2 reduced
linear system of equations :
3GJ 2 −1 ψ M
A = TA
L 1 2 ψB MTB
K RED q RED g RED
| {z } | {z } | {z }
We use the equilibrium equations at the nodes G and D, i.e. the rst and last equations of
the 4 × 4 linear system of equations K (s) q (s) = g (s) :
ψ
G
R
−1
3GJ 1 0 0 ψ M
A = TG
⇒
L 0 0 −1 1 ψB
MTRD
ψD
R
3GJ −ψA MT
⇔ = G
L −ψB MTRD
rev. 21 53
MR 3GJ L 2MTA + MTB
⇔ TG = − ×
MTRD L 9GJ MT + 2MT
A B
2M M
MR − 3TA − 3TB
⇔ TG =
R MTA 2MTB
MTD − 3 − 3
Note that MTRG and MTRD are always positive in the direction of the axis Ox.
rev. 21 54
O
• compute the generalized displace- x
ments; L
• compute the reaction forces.
Figure 8: Wording of exercise n◦ 7
- the strength of materials (S.o.M.).
1) FEM discretization
The beam is decomposed into two beam elements. The structural generalized displacements
vector is (3 × 2 DOFs per node = 6 DOFs) :
q (s) = [v1 θ1 v2 θ2 v3 θ3 ]T
v1 v2 v3
θ1 (1) θ2 (2) θ3
1 EI 2 EI 3
L/2 L/2
Element ::
• ::::::::: 1 :: bending stiness EI and length L(e1 ) = L2
(e1 ) (e1 ) (e )
12 6L −12 6L v 1
2 1
(e1 ) (e )
2 (e ) (e ) (e1 )
−6L
(e1 ) EI 6L 4 L 1 1
2 L 1 (e1 )
θ1
⇒K = 3
; q =
(e1 )
(L(e1 ) ) −12 −6L (e1 )
12 −6L (e1 ) v2
(e1 ) 2 (e1 ) 2 (e1 )
(e1 )
(e1 )
6L 2 L −6L 4 L θ2
12 3L −12 3L v
1
2 1 2
−3L 2 L
8EI 3L L θ1
⇔ K (e1 ) = 3 ; q (e1 ) =
L −12 −3L 12 −3L
v2
1 2 2
3L 2 L −3L L θ2
INDEX(1, 1:4) = [1 2 3 4]
v1 θ1 v2 θ2
Element ::
• ::::::::: 2 :: bending stiness EI and length L(e2 ) = L
2
(e )
12 6L(e2 ) −12 6L(e2 ) v1 2
(e2 ) 2 (e2 ) 2 (e2 )
(e2 ) (e2 )
EI 6L 4 L −6L 2 L θ1
⇒ K (e2 ) = 3
; q (e2 ) =
(e2 )
(L(e2 ) ) −12
−6L (e2 )
12 −6L (e2 )
v2
(e2 ) 2 (e2 ) 2 (e2 )
6L(e2 ) 2 L −6L (e2 )
4 L θ2
12 3L −12 3L v
2
2 1 2
−3L 2 L
8EI 3L L θ2
⇔ K (e2 ) = 3 ; q (e2 ) =
L −12 −3L 12 −3L
v3
3L 12 L2 −3L L2 θ3
INDEX(2, 1:4) = [3 4 5 6]
v2 θ2 v3 θ3
rev. 21 56
12 3L −12
3L 0 0 v
1 2 1
L2
3L −3L L 0 0 θ1
2
−12 −3L 12 + 12 −3L + 3L −12 3L
8EI v2
K (s) = 3 1 2 1 ; q (s) =
L 3L L −3L + 3L L2 + L2 −3L L2
θ2
2 2
0
0 −12 −3L 12 −3L
v3
1 2 2
−3L L
0 0 3L L
2 θ3
(e)
q (x) q(e)2
y
(e)
q1
1 2
o x
(e)
L
Figure 10: Loading applied to a beam element.
In the case of a beam element submitted to a distributed load q (e) (x) in simple bending, one
has : Z (e) L
(e)
gi = Ni (x) q (e) (x) dx
0
with the shape functions :
3 2 2 3 (e)
N1 (x) = 1 − L2
x + L3
x (v1 )
(e)
N2 (x) = x − L2 x2 + 1 3
L2
x (θ1 )
3 2 2 3 (e)
N3 (x) = L2
x − L3
x (v2 )
(e)
N4 (x) = − L1 x2 + 1 3
L2
x (θ2 )
!
Z L(e)
(e) 2 2 1 3
(e)
x x (e)
⇒ g2 = x − (e) x + x q 1 1 − + q dx
0 L (L(e) )
2
L(e) L(e) 2
L(e) (e) (e) (e) (e) (e) (e)
q2 − q1 2q2 − 3q1 q2 − 3q1 2
Z
(e) (e)
⇔ g2 = 3 x4 − 2 x3 + x + q1 x dx
0 (L(e) ) (L(e) ) L(e)
(e) (e) (e) (e) (e) (e) (e)
(e) q − q1 (e) 2 2q − 3q1 (e) 2 q − 3q1 (e) 2 q 2
= 2 − 2 + 2 + 1 L(e)
⇔ g2 L L L
5 4 3 2
!
(e) (e)
(e) q2 q 2
⇔ g2 = + 1 L(e)
30 20
rev. 21 58
!
Z L(e)
(e) 3 2 3
(e) 2
x x (e)
⇒ g3 = 2x − x q 1 1 − + q dx
0 (L(e) ) (L(e) )
3
L(e) L(e) 2
Z L(e) 2 q (e) − q (e) (e) (e) (e)
(e) 2 1 3q2 − 5q1 3 3q1 2
⇔ g3 = − 4 + 3 x + 2 x dx
(L )(e) (e)
(L ) (e)
(L )
0
(e) (e)
2 q2 − q1 (e) (e)
3q2 − 5q1 (e+ ) 3q1 (e)
(e)
(e) (e)
⇔ g3 =− L + L L
5 4 3
(e) 7 (e) 3 (e)
⇔ g3 = q + q1 L(e)
20 2 20
!
Z L(e)
(e) 1 1
(e)
x x (e)
⇒ g4 = − (e) x2 + 2x
3
q1 1 − (e) + q dx
0 L (e)
(L ) L L(e) 2
L(e) (e) (e) (e) (e) (e) (e)
q2 − q1 q2 − q1
Z
(e) q q
⇔ g4 = 2
3
x + 3 x − 1(e) x2 + 1(e) x2 dx
4
0 (L(e) ) (L(e) ) L L
(e) (e) (e) (e) (e)
(e) q2 − q1 2 q − 2q1 2 q1 2
⇔ g4 = L(e) − 2 L(e) − L(e)
5 4 3
(e) 1 (e) 1 (e) 2
⇔ g4 = − q2 − q1 L(e)
20 30
Check :
In the case of a beam element submitted to a distributed load q (e) (x) in simple bending, the
work done by external forces P is :
Z L(e)
C.M. F.E.M. T
P = v (e) (x) q (e) (x) dx ≈ q (e) g (e)
0
dv (e) (x)
If v (x) = 1
(e)
= 0 , one has :
dx
(e)
v1 = v2 = 1
(e)
and (e)
θ1 = θ2 = 0,
(e)
- Continuum Mechanics :
dv (e) (x)
If v (e) (x) = x = 1 , one has :
dx
(e)
v1 = 0, v2 = L(e)
(e)
and (e)
θ1 = θ2 = 1,
(e)
rev. 21 60
dx
At the structural level, the loading is trapezoidal :
x x
q(x) = q0 1 − + qL
L L
(e ) 3 7 q0 +qL
L
R + g1 1 R1 − + q
1 20 L
L2
2 20 2
(e1 ) 1 q0 +qL 1
g2 − 30 2 + 20 q0 4
(e1 )
g3 + g1(e2 ) − 20
7 q0 +qL 3 L 3 7 q0 +qL L
+ 20 q0 2 − 20 qL + 20 2
2 2
⇒ g (s) = = 4
(e1 )
g4 + g2(e2 ) − − 20
1 q0 +qL 1 1 q0 +qL L2
q0 L4 − 30 1
− 30
2
qL + 20 2 4
R3 + g3(e2 ) 7 3 q0 +qL L
R3 − 20
qL + 20 2 2
(e2 ) 1 1 q0 +qL L4
g4 − − 20 qL − 30 2 4
where R1 and R3 are the reaction forces respectively at the nodes 1 and 3.
Because of the support conditions v1 = v3 = 0, one removes the rst and the fth rows and
columns of the 6 × 6 linear system of equations K (s) q (s) = g (s) . Thus, one has to solve a 4 × 4
linear system of equations :
2
2 2 1 1
2L −6L L 0 θ − 60 q0 + 240 qL L
1
1 1
−6L 48 6L v2 − 4 q0 + 4 qL L
4EI 0
=
L3 L2
0 4L2
1
L2 θ2 120 1
q0 − 120
qL L2
2
1 1
0 6L L2 2L 2
θ3 q + 60 qL L
240 0
it comes : −1
RED RED RED
⇒q = K g
θ1 −3.143 10−3 [−]
v2 −2.511 [mm]
RED
⇔q = =
−5
θ2 −6.25 10 [−]
−3
θ3 3.286 10 [−]
,→ Reaction forces
In order to determine the reaction forces, we use the equilibrium equations at the DOFs
v1 and v3 , i.e. the rst and the fth equations of the 6 × 6 linear system of equations
K (s) q (s) = g (s)
v
1
θ
1
17 3
−24 −
4EI 24 6L 6L 0 0 v R q + q L
2 = 1 80 0 80 L
⇒ 3
L 0 0 −24 −6L 24 −6L
θ 3 17
R3 − 80 q0 + 80 qL L
2
v3
θ3
17 3
R1 4EI 6L θ1 − 24 v2 + 6L θ2 q + q L
v1 =v3 =0
⇔ = 3 + 80 0 80 L
R3 L −24 v2 − 6L θ2 − 6L θ3 3
q + 17 q L
80 0 80 L
2) Exact solution
dT (x) x x
= − q0 1 − + qL , ∀x ∈ [0, L], ∀y ∈ S (5)
dx L L
Rotation equilibrium equation :
::::::::::::::::::::::::::::::::
dM (x)
= T (x), ∀x ∈ [0, L], ∀y ∈ S (6)
dx
rev. 21 63
• Strain-displacement equation
d2 v(x)
ε(x, y) = κ(x)y = y, ∀x ∈ [0, L], ∀y ∈ S (7)
dx2
• Stress-strain equation
σ(x, y) = E ε(x, y), ∀x ∈ [0, L], ∀y ∈ S (8)
Boundary::::::::::::
• :::::::::: conditions
- Kinematic
v = 0, x=0
v = 0, x=L
- Static
M = 0, x=0
M = 0, x=L
and if one successively inserts Eqs. (7) and (8) into Eq. (10), it comes :
Z
⇒ M (x) = Eε(x, y) y dS
S
Z 2
d v(x) 2
⇔ M (x) = E 2
y dS
S dx
d2 v(x)
Z
⇔ M (x) = E 2
y 2 dS
dx
| S {z }
I
2
d v(x)
⇔ M (x) = EI (11)
dx2
If one inserts Eq. (10) into Eq. (9), it yields to a linear fourth order ordinary dierential
equation for the vertical displacement eld v(x) :
d2 d2 v(x)
x x
⇒ EI = −q 0 1 − − q L
dx2 dx2 L L
4
d v(x) x
⇔ EI 4
= − (qL − q0 ) − q0
dx L
rev. 21 64
⇒ M (0) = 0
d2 v(0)
⇔ EI =0
dx2
⇔ C1 = 0
⇒ M (L) = 0
d2 v(L)
⇔ EI =0
dx2
qL − q 0 q0
⇔ L + L + C0 = 0
6 2
qL + 2q0
⇔ C0 = − L
6
⇒ v(L) = 0
qL − q0 3 q 0 3 C 0 2
⇔ L + L + L + C2 = 0
120 24 6
7qL + 8q0 3
⇔ C2 = L
360
3) Results comparison
One can compare the value of the total potential energy and the value of the vertical dis-
placement eld at the midspan of the beam between the F.E.M and S.o.M approaches.
where the strain energy U and the potential of external applied loads P are dened as :
1 (s)T (s) (s)
U = q K q
• F.E.M : 2
T
P = q (s) g (s)
2
d2 v(x)
1
RL
U = EI dx
• S.o.M : 2 0
dx2
RL
P = 0
q(x) v(x) dx
Because of the boundary conditions (v(0) = 0 and v(L) = 0) and the loading driven by force
(q(x) 6= 0), one has :
1
⇒ U −P =− P
2
And thus, it comes
1 1 |g (s) q (s) |
2 i i ⇒ F.E.M
|U − P| = |P| =
2 1 | L v(x)q(x) dx| ⇒ S.o.M
R
2 0
- S.o.M
1 L
Z
⇒ |U − P| = v(x)q(x) dx
2 0
Z L
L4
qL − q0 x 5 q0 x 4 qL + 2q0 x 3 7qL + 8q0 x
⇔ |U − P| = + − + ...
2EI 0 120 L 24 L 36 L 360 L
x
... (qL − q0 ) + q0 dx
L
4 Z L
(qL − q0 )2 x 6 (qL − q0 )q0 x 5 (qL + 2q0 )(qL − q0 ) q02 x 4
L
⇔ |U − P| = + − −
2EI 0 120 L 20 L 36 24 L
(qL + 2q0 )q0 x 3 (7qL + 8q0 )(qL − q0 ) x 2 (7qL + 8q0 )q0 x
... − + + dx
36 L 360 L 360 L
L5 (qL − q0 )2 (qL − q0 )q0 q2
(qL + 2q0 )(qL − q0 )
⇔ |U − P| = + − − 0 ...
2EI 840 120 180 120
(qL + 2q0 )q0 (7qL + 8q0 )(qL − q0 ) (7qL + 8q0 )q0
... − + +
144 1080 720
5
L 2 2 2 2 31
⇔ |U − P| = qL + q0 + q L q0
2EI 945 945 7560
⇔ |U − P| = 0.226 [kJ]
v( L2 ) |TPE|
FEM −2.511 [mm] 0.224 [kJ]
SoM −2.511 [mm] 0.226 [kJ]
L(e) L(e)
3 L(e)
5
L(e) L(e)
Z Z Z
(e) 2 4
dx = L x dx = x dx =
0 0 3 0 5
L(e)
2 L(e)
4 L(e)
6
L(e) L(e) L(e)
Z Z Z
3 5
x dx = x dx = x dx =
0 2 0 4 0 6
rev. 21 68