Beruflich Dokumente
Kultur Dokumente
Analysis Educational
Package by Mathcad
R. CEDEÑO-ROSETE
Civil Engineering Department, Universidad de las Ame´ricas Puebla, Puebla, Me´xico
107
108 CEDEÑO-ROSETE
BACKGROUND
Figure 1 Local coordinate system of a bar. Figure 3 Node and bar numbering.
STIFFNESS MATRIX STRUCTURAL ANALYSIS 109
STIFFNESS PROGRAM
EXAMPLE ONE
Mathcad has been chosen by many authors to develop
Figure 2 represents a two-dimensional frame with learning tools due to its useful algebraic capabilities
8 bars, 5 nodes and three fixed supports. The bars have [6]. In the first part of the Mathcad spreadsheet, the
rectangular sections with a modulus of elasticity of user captures some basic information such as material
21,680,000 kN/m2. To apply the stiffness matrix properties, joint coordinates and member incidences.
method to solve the structure shown in Figure 2, it is Then, many functions to obtain the moment of
necessary to follow a few steps. The nodes, bars and inertia, section area, local element stiffness matrix
supports must be numbered and the elements must be
oriented defining an initial extreme A where the origin
of its local coordinate system is assumed and a final
2
extreme B. −P⋅ a ⋅ (L − a)
MB(case , P , L, a) := if case 1
An arrow is drawn in the extreme B to L
2
indicate the position of the local coordinate system. 2
−P⋅ L
if case 2
12
3 P⋅ a
b⋅ h ⋅ [2⋅ (L − a) − a] if case 3
I( b , h ) := A ( b , h ) := b ⋅ h 2
12 L
E⋅ A PA := 0
0 0
L VA := VA(1 , 100, 5 , 2) + VA(2 , 20, 5 , 0)
⋅ ⋅ I 6⋅ E⋅ I
12E
0 M A := MA(1 , 100, 5 , 2) + MA(2 , 20, 5 , 0)
kA(E, A , I , L) := 3 2
L L
PA PB
6⋅ E⋅ I 4⋅ E⋅ I
0 PA6I := VA PB6I := VB
2 L
L MA MB
and element transformation matrix were written in build adding the end fixed forces for every bar joining
Mathcad. Figure 5 shows two simple functions to in each node and changing the sign.
obtain the moment of inertia and section area. In the The stiffness structure matrix in Figure 4 is then
same way Figure 6 shows a function to obtain the formed using the intrinsic Mathcad augment and stack
fixed end moment in the extreme B of a bar for a three functions. Figure 11 shows the procedure.
different types of transverse loads. With a simple matrix operation the displacement
Similar functions exist for the extreme A and for vector is then determined in Mathcad as it is shown in
the vertical fixed end forces. Figure 12.
The designed function to obtain the stiffness sub Finally, the end forces for each bar in local
matrix function kA is shown in Figure 7. Once the area coordinates are calculated. For the bar number 2
and moment of inertia are obtained for all the bars which does not have applied loads the solution is
calling the function showed in Figure 5, the values are obtained as it is shown in Figure 13. For the bar
collected in two vectors as it is shown in Figure 8. For number 6 which has intermediate applied loads, the
every bar with loads the fixed end forces are obtained fixed end moments previously calculated need to be
using the corresponding functions. Figure 9 shows the added to the direct solution and the final end forces are
fixed end moment calculated for the extreme A of shown in Figure 14.
beam 6.
The following step is to obtain the stiffness
matrix in a local coordinate system and transform it to
Bar 2: n := 2
a global coordinates. Figure 10 shows the procedure
for bar number 2. Similar blocks are established for i := IA j := IB
n n
every bar in the structure.
A := Area I := Iner
Forming the force vector and the stiffness n n
structure matrix is the next step. The force vector is xA := xy y A := xy
i, 1 i, 2
xB := xy y B := xy
j, 1 j, 2
yB − yA
A1 I1 (
L := Len xA , xB, y A , y B ) sen :=
L
A2 I2 xB − xA
cos := T2 := T(sen , cos)
L
A3 I3
kA2 := kA(E , A , I , L) kB2 := kB(E, A , I , L)
A4 I4
Area := Iner := kAB2 := kAB(E, A , I , L) kBA2 := kAB2
T
A5 I5
A6 I6 T T
KA2 := T2 ⋅ kA2 ⋅ T2 KB2 := T2 ⋅ kB2⋅ T2
A7 I7
T T
KAB2 := T2 ⋅ kAB2⋅ T2 KBA2 := KAB2
A8 I8
Figure 10 Matrix stiffness element in local and global
Figure 8 Area and moment of inertia. coordinates.
STIFFNESS MATRIX STRUCTURAL ANALYSIS 111
( )
F := stack −PA6I ,− PA8I ,− PB6I + PA7I ,− PB8I,− PB7I
PA6 := PA6 + PA6I PB6 := PB6 + PB6I
( )
K1 := augment KB1 + KA2 + KA6 , KAB2 , KAB6 , cero , cero
−14 14
PA6 = 95 PB6 = 105
( )
K2 := augment KBA2 , KB2 + KA8 , cero , KAB8 , cero
58 −132
(
K3 := augment KBA6 , cero , KB3 + KA4 + KB6 + KA7 , KAB4 , KAB7
)
Figure 14 End bar forces for bar number 6.
(
K4 := augment cero , KBA8 , KBA4 , KB4 + KB8 , cero
)
(
K5 := augment cero , cero , KBA7 , cero , KB5 + KB7
)
K := stack(K1 , K2 , K3 , K4 , K5)
(
F := stack −PA2I , −PB2I )
(
K1 := augment KB1 + KA2 , KAB2
)
(
K2 := augment KBA2 , KB2 + KA3
)
K := stack ( K1 , K2)
n := 2 i := IA j := IB
n n
PA2 := PA2 + PA2I
dx( i) dx( j)
d A := dy ( i) d B := dy ( j) PB2 := PB2 + PB2I
dz( i) dz( j)
(
PA2 := T2⋅ KA2 ⋅ d A + KAB2⋅ d B 17 −17
PA2 = 42 PB2 = 58
(
PB2 := T2⋅ KBA2⋅ d A + KB2⋅ d B ) −3 −39
Figure 13 End bar forces for bar number 2. Figure 17 End forces of bar 2.
112 CEDEÑO-ROSETE
Appling small changes in the software presented, the The author gratefully acknowledges the support given
user can solve different problems such as the one by the Universidad de las Américas Puebla, for the
depicted in Figure 15. The main changes needed are in elaboration of this article.
forming the force vector and the global stiffness
structure matrix.
These changes are shown in Figure 16.
The end forces in every bar do not require any REFERENCES
change except for those bars which have intermediate
loads. The corresponding change is shown in [1] Dr. Beam Pro and Dr. Frame, URL: http://www.
Figure 17. disoftware-home.com.
[2] Ftool, URL: http://www.tecgraf.puc-rio.br/lfm/ftool/
ftool.html.
CONCLUSIONS [3] X. F. Yuan and J. G. Teng, Interactive web-based
package for computer aided learning of structural
A civil engineering student can save a lot of time behavior, Comp Appl Eng Educ 10 (2002), 121136.
analyzing a structural problem with this software. [4] S. F. Almeida, R. Piazzalunga, and V. G. Ribero, A
web-based 2D structural analysis educational software,
Interaction with the software allows a student to
Comp Appl Eng Educ 11 (2003), 8392.
acquire the basic stiffness analysis concepts. [5] A. Kassimali, Strructural analysis, PWS Publishing
Using this problem as a template, a student Company, USA, 1993.
can solve different problems with less time and effort. [6] Ms. Al-Ansari and A. B. Senouci, Use of Mathcad as a
The programs allows to the user to focus on the teaching and learning tool for reinforced concrete
procedure instead of wasting time in the large amount design of footings, Comp Appl Eng Educ 7 (1999),
of calculations involved. 146154.
BIOGRAPHY