Calculate global stiffness matrix for 2nd element.
i = 2 Set i = 2 so that the properties of element 2 are used in the functional
expression.
k2 = k (Ai, Ci, Si, E, Ii, Li)
00
67
0
0 0 0
0
0
0
0
00
0
0
0
1.4 10 1.714 10 6 6 7
4.2 10 1.4 10 1.714 10 6
7
4.2 10
1.714 10 9 10
2.8 10 2.572 10 7
1.714 10 9 10
2.8 10 2.572 10
6 10
67
1.4 10 1.714 10 6 6 7
4.2 10 1.4 10 1.714 10 6
7
4.2 10
1.714 10 9 10
2.8 10 2.572 10 7
1.714 10 9 10
2.8 10 2.572 10
6 10
4.2 10 2.572 10 6 6 10
8.4 10 4.2 10 2.572 10 7
1.68 10
Augment element global k matrix with rows and columns of zeros to facilitate the assembly
of the total global stiffness matrix. As before, we need 9 rows and columns.
k2a = augment (ZeroCol,ZeroCol, ZeroCol, k2)
k2b = stack(ZeroRow, ZeroRow, ZeroRow, k2a)
k2b =
Calculate total global stiffness matrix by adding augmented matrices for each element.
K = k1b + k2b
K =