当前位置:
文档之家› 桁架单元例子MATLAB 1
桁架单元例子MATLAB 1
The deflection for the 1st element of the beam can be written in terms of the shape functions as,
ݒ = )ݏ(ݒଵܰଵ( )ݏ+ ߠଵܰଶ( )ݏ+ ݒଶܰଷ( )ݏ+ ߠଶܰସ( )ݏെ െ െ െ െ െ െ െ െ (2.1) The deflection for the 2nd element of the beam can be written in terms of the shape functions as,
0
=
0.5
െ
െ
െ
െ
െ
െ
െ
െ
െ
െ
െ
െ
െ
െ
െ
െ(4)
(ݒ0.5) = ݒଵܰଵ(0.5) + ߠଵܰଶ(0.5) + ݒଶܰଷ(0.5) + ߠଶܰସ(0.5) = 0.01ܰଷ(0.5) = 0.0417(3 × 0.5ଶ െ 2 × 0.5ଷ) = 0.021݉
From (3.1),
ߠ(0.5)
ݏ
=
ݔെ ݔଶ (ܮଶ)
=
ݔ
ݒଶ = 0.0417 ݉ ܽ݊݀ ߠଶ = 0 ݀ܽݎ, which are the deflection and slope at the midpoint of the beam, that is at x=1m.
The deflections and slopes at points in between nodes can be interpolated using the shape functions.
Solution:
Element 1
Element 2
(a) Given, (ܮଵ) = (ܮଶ) = = ܮ1݉; = ܫܧ1000ܰ݉; =of length L, the structural stiffness matrix is defined as,
=
1 (ܮଶ)
(ݒଶ
݀ܰଵ ݀ݏ
+
ߠଶ
݀ܰଶ ݀ݏ
+
ݒଷ
݀ܰଷ ݀ݏ
+ ߠଷ ݀݀ܰݏସ)
െ െ െ െ(3.2)
The point x=0.5m is in the 1st element.
From (2.1),
ݏ
=
ݔെ ݔଵ (ܮଵ)
=
0.5 െ 1
ܰଶ((ܮ = )ݏଵ)( ݏെ 2ݏଶ + ݏଷ) െ െ െ െ(ܾ) ܰସ((ܮ = )ݏଵ)(െݏଶ + ݏଷ) െ െ െ െ െ (݀)
݀ ݏ݀ )ݏ(ݒ݀ )ݏ(ݒ1 ݀)ݏ(ݒ ߠ((ܮ = ݔ݀ ݏ݀ = ݔ݀ = )ݏଵ) ݀ݏ
=
1 (ܮଵ)
(ݒଵ
݀ܰଵ ݀ݏ
+
ߠଵ
݀ܰଶ ݀ݏ
+
ݒଶ
݀ܰଷ ݀ݏ
+ ߠଶ ݀݀ܰݏସ)
െെ
െ െ(3.1)
The slope for 2nd element of a beam is,
Deflection and slope at x=0.5m:
݀ ݏ݀ )ݏ(ݒ݀ )ݏ(ݒ1 ݀)ݏ(ݒ ߠ((ܮ = ݔ݀ ݏ݀ = ݔ݀ = )ݏଶ) ݀ݏ
=
1 (ܮଵ)
݀(ݒ0.5) ݀ݏ
=
1 (ܮଵ)
(ݒଵ
݀ܰଵ(0.5) ݀ݏ
+
ߠଵ
݀ܰଶ(0.5) ݀ݏ
+
ݒଶ
݀ܰଷ(0.5) ݀ݏ
+
ߠଶ
݀ܰସ(0.5) ݀ݏ
=
1 (ܮଵ)
(ݒଶ
݀ܰଷ݀(ݏ0.5))
=
1
×
0.0417
×
(6
×
0.5
െ
6
×
0.5ଶ)
×
(െ6
×
0.5
+
6
×
0.5ଶ)
=
െ0.063
݀ܽݎ
(a) Deflection and slopes = ݔ ݐܣ0.5݉ (ݒ0.5) = 0.021݉ ߠ(0.5) = 0.063 ݀ܽݎ
= ݔ ݐܣ1݉ (ݒ1) = 0.0417 ݉
ߠ(1) = 0 ݀ܽݎ
= ݔ ݐܣ1.5݉ (ݒ1.5) = 0.021݉ ߠ(1.5) = −0.063 ݀ܽݎ
=
ܫܧ ሾ(ܮଶ)ሿଷ
൦െ612
4 െ6
െ6 12
െ26൪ = 1000 ൦െ612
4 െ6
െ6 12
െ26൪
6 2 െ6 4
6 2 െ6 4
Assembling the element stiffness matrices above, we obtain the following matrix equation,
12 6 ܮെ12 6ܮ
ሾ݇ሿ
=
ܫܧ ܮଷ
൦െ61ܮ2
4ܮଶ െ6ܮ
െ6ܮ 12
െ2ܮ6ଶܮ൪
6 ܮ2ܮଶ െ6 ܮ4ܮଶ
The element stiffness matrix for element 1 is:
12 6 െ12 6
12 6 െ12 6
桁架单元例子 MATLAB 1
Problem 1: Consider the clamped-clamped beam shown below. Assume there are no axial forces acting on the beam. Use two elements to solve the problem. (a) Determine the deflection and slope at x = 0.5, 1 and 1.5 m; (b) Draw the bending moment and shear force diagrams for the entire beam; (c) What are the support reactions? (d) Use the beam element shape functions to plot the deflected shape of the beam. Use EI = 1,000 Nm, L = 1 m, and F = 1,000 N.
(b) The bending moment and shear force diagrams for the entire beam: The bending moment can be found from,
݀ ܫܧଶݒ ܮ = )ݏ(ܯଶ ቆ݀ݏଶቇ
For the 1st element:
We have to express these moments in terms of x to plot the results. For the first element,
For the second element,
ݏ
=
ݔെ ݔଵ (ܮଵ)
=
ݔ
െ 1
0
;
⇒ ݔ = ݏെ െ െ െ െ െ െ (8)
݀ܰଷ ݀ݏ
+
ߠଷ
݀݀ܰݏସ൰൱
= 1000ሾݒଶ(െ6 + 12)ݏ+ ߠଶ(െ4 + 6(ܮ)ݏଶ) + ݒଷ(6 െ 12)ݏ+ ߠଷ(െ2 + 6(ܮ)ݏଶ)ሿ = 1000ሾ0.0417(െ6 + 12 )ݏ+ 0 + 0 + 0ሿ
= െ250.2 + 500.4 ݉ܰ ݏെ െ െ െ െ െ െ െ െ െ(7)
From (3.2),
ߠ(1.5)
=
1 (ܮଶ)
݀(ݒ0.5) ݀ݏ
=
1 (ܮଶ)
(ݒଶ
݀ܰଵ(0.5) ݀ݏ
+
ߠଶ
݀ܰଶ(0.5) ݀ݏ
+
ݒଷ
݀ܰଷ(0.5) ݀ݏ
+
ߠଷ
݀ܰସ(0.5) ݀ݏ
=
1 ܮ
(ݒଶ
݀ܰଵ݀(ݏ0.5))
=
1
×
0.0417
ۏ0 0 6 2 െ6 4 ۏ ے0 ܥ ۏ ےଷ ے
Striking out the rows and columns of zero elements, (1) reduces to,
1000 ቂ204 80ቃ ቂߠݒଶଶቃ = ቂ10000ቃ
Solving the above set of equations we get,
(ܯଵ)()ݏ
=
ܫܧ ሾ(ܮଵ)ሿଶ
݀ଶݒ ݀ݏଶ
=
1000
݀ ൭݀ݏ
൬ݒଵ
݀ܰଵ ݀ݏ
+
ߠଵ
݀ܰଶ ݀ݏ
+
ݒଶ
݀ܰଷ ݀ݏ
+
ߠଶ
݀݀ܰݏସ൰൱