You are on page 1of 66

California Polytechnic State University

Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer
January 4, 2010

ARCE 306: MATRIX STRUCTURAL ANALYSIS


Homework 1 (Due 01-06-10)
Problem 1
2 k/ft

10 k

E
10 ft

25 ft

25 ft

25 ft

(1) Use the slope deflection method to find the bending moment diagram for the continuous beam above (you may or may
not use the pin modification). The beam has uniform flexural stiffness EI .
(2) Find the vertical displacement at mid-span BC using the moment diagram of (1) and the principal of virtual forces
(remember to work with a determinate base structure for the virtual loading).
Solution: EI = 5760 k-ft3
(3) Use statics to obtain the shear force diagram from the moment diagram.
(4) Find the maximum moment in span BC .
w

Problem 2
B

12 ft

0.08152 rad

EI = 6000 k-ft2

deflected shape
not to scale

A
15 ft

Under a uniformly distributed load with intensity w applied to the girder the two-hinge frame above deflects as shown.
Find (a) the moment diagram of the frame, (b) the intensity w of the distributed load, and (c) the rotation at the base.
Solution: w = 10 k/ft, A = 0.0408 rad

1/4/2010 1:58 PM

C:\calpoly\arce306\homework\winter2010\hw1.doc

California Polytechnic State University


Winter Quarter 2010
Problem 3 (hand calculations required, but check results using MATLAB)
(a) Calculate C = AB with
1 2 3
10 11 12 13 14

A = 4 5 6 B = 15 16 17 18 19

7 8 9
20 21 22 23 24

(b) Find the determinate of matrix


1 4 9

A = 16 25 36

49 64 81

(c) Use Gauss elimination to solve the system of equations Ax = B with


1 2 3 4
22


2 5 6 7
39


A=
B=

3 6 8 9
51


4 7 9 10
58


(d) Calculate the inverse of the following matrix:
3 2 1

A = 2 3 1

1 2 3

(e) For which values of a and b does the system of equations


3 8 4 1

x1


2 6 7 x 2 = 2


a 22 15 x 3 b


have
one solution
no solution
infinitely many solutions

1/4/2010 1:58 PM

C:\calpoly\arce306\homework\winter2010\hw1.doc

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer
January 6, 2010

ARCE 306: MATRIX STRUCTURAL ANALYSIS


Homework 1-Solution
Problem 1
2 k/ft

10 k

A
10 ft

B
25 ft

25 ft

D
25 ft

(1) Use the slope deflection method to find the bending moment diagram for the continuous beam above (work with the
minimum number of unknowns)
(2) Find the vertical displacement at mid-span BC using the moment diagram of (1) and the principal of virtual forces
(remember to work with a determinate base structure for the virtual loading)
Solution: EI = 5760 k-ft3
(3) Use statics to obtain the shear force diagram from the moment diagram.
(4) Find the maximum moment in span BC .
(1) Moment diagram
Fixed-end moments
0
M BA
=

1
100 = 50.00
2

0
0
M BC
= MCB
= 2

252
= 104.167
12

End moments, say EI = 25


25
0
M BA = M BA
+ 3B = 50.00 + 3B
25
25
0
M BC = M BC + (4B + 2C ) = 104.167 + 4B + 2C
25
25
0
MCB = MCB + (2B + 4C ) = 104.167 + 2B + 4C
25
25
MCD =
4C = 4C
25
Equilibrium

= 0 = 7B + 2C + 154.167

= 0 = 2B + 8C 104.167

7 2 B 154.167

2 8 C = 104.167 B = 27.72, C = 19.95

M BA = 50.00 3 27.72
M BC = 104.167 4 27.72 + 2 19.95

= 33.16 k-ft
= 33.16 k-ft

MCB = 104.167 2 27.72 + 4 19.95


MCD = 4 19.85

= 79.81 k-ft
= 79.81 k-ft

C:\calpoly\arce306\homework\winter2010\hw1_sol.doc

1/5/2010 11:47 AM

-1-

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

100

79.8
33.2

[k-ft]

39.9

max M = 100 k-ft

P = 1

25 ft

(2) Deflection at midspan


(a)
EI =

1
5

MM dx = 6.25 (33.16 + 79.81) + 156.25 25 = 5760 k-ft3 (ans )


4

12

+
6.25

(3) Shear force diagram


23.1

2.67

10

2.67 +

4.79

10

26.9

4.79

+ =

[k]

(4) Find the maximum moment in span BC .


from M andV diagrams:
max M = 33.2 k-ft +

23.12 k2
2 2 k/ft

= 33.2 + 133.4 = 100.2 k-ft(ans)

or
max M = 79.8 k-ft +

26.92 k2
2 2 k/ft

= 79.8 + 180.9 = 101.1 k-ft(ans)

C:\calpoly\arce306\homework\winter2010\hw1_sol.doc

1/5/2010 11:47 AM

discrepancy due to rounding

-2-

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

Problem 2
w
B

12 ft

0.08152 rad

EI = 6000 k-ft2

deflected shape
not to scale

A
15 ft

Under a uniformly distributed load with intensity w applied to the girder the two-hinge frame above deflects as shown.
Find (a) the moment diagram of the frame, (b) the intensity w of the distributed load, and (c) the rotation at the base.
(a)
122.3
122.3
6000
EI
M BA =
3B =
3 0.08152 = 122.28 k-ft(ans )
122.3
122.3
12
L
281.3

(b)
0
M BC = M BC
+

MB

EI
wL2 EI
+
(4B + 2C ) =
(4B 2B )
12
L
L

= M BC + M BA = 0 M BC = M BA = 122.28 k-ft

w 152 6000

2 0.08152 = 122.28 w = 10 k/ft(ans )


12
15

M
[k-ft]

(c)
M AB =

1
EI
(4A + 2B ) = 0 A = B = 0.0408 rad (ans )
2
L

Note: Frame is non-sway due to symmetry.

C:\calpoly\arce306\homework\winter2010\hw1_sol.doc

1/5/2010 11:47 AM

-3-

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

Problem 3
(a) Calculate C = AB with
1 2 3
10 11 12 13 14

A = 4 5 6 B = 15 16 17 18 19

7 8 9
20 21 22 23 24

(b) Find the determinate of matrix


1 4 9

A = 16 25 36

49 64 81

(c) Use Gauss elimination to solve the system of equations Ax = B with


1 2 3 4
22


2 5 6 7
39


A=
B=

3
6
8
9

51


4 7 9 10
58


(d) Calculate the inverse of the following matrix:
3 2 1

A = 2 3 1

1 2 3

(e) For which values of a and b does the system of equations


3 8 4 1

x1


2
6
7

x 2 = 2


a 22 15 x 3 b


have
one solution
no solution
infinitely many solutions

C:\calpoly\arce306\homework\winter2010\hw1_sol.doc

1/5/2010 11:47 AM

-4-

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

(a)
100 106 112 118 124

C = 235 250 265 280 295

370 394 418 442 466

(b)
det(A)= 216
(c)
`x = [2 0 0 5]T
(d)
0.5833

A -1 = 0.4167

0.0833

0.3333
0.6667
0.3333

0.0833

0.0833

0.4167

or

1
5
12
1

4
8
4

(e)
a8

one solution (for all b)

a = 8, b = 4

infinitely many solutions

a = 8, b 4

no solution

C:\calpoly\arce306\homework\winter2010\hw1_sol.doc

1/5/2010 11:47 AM

-5-

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer
January 6, 2010

ARCE 306: MATRIX STRUCTURAL ANALYSIS


Homework 2 (Due 01-11-10)
Problem 1
2 k/ft

20 ft

2 k/ft

25 ft

25 ft

20 ft

(1) Determine the 2x2 element stiffness matrices k corresponding to the four spans of the continuous beam above.
(2) Determine the 2x1 element load vectors D0 for each span (fixed-end moments).
(3) Assemble the 5x5 structure stiffness matrix K .
(4) Assemble the 5x1 structure load vector F .
(5) Reduce the 5x5 structure stiffness matrix K to a 4x4 matrix Kfree by accounting for the boundary condition.
(6) Solve (electronically) the system of equilibrium equations (expressing equilibrium at the nodes) to obtain the 4x1 vector
1
q free of node rotations of the free nodes.
Solution: q free =
543.8 410.2]T
[ 564.8
462.9
EI
(7) Sketch the deflected shape.
(8) Expand the 4x1 vector q free to a 5x1 vector q by adding zero for the rotation of the fixed node.
(9) Extract the 2x1 vectors d of element rotations out of the 5x1 vector q of structure rotations.
(10) Calculate the vector D of element end moments.
(11) Draw the bending moment diagram.
2 k/ft

Problem 2

2 k/ft
EI
2

5
20 ft

6
20 ft

25 ft

25 ft

20 ft

(1) Find the 4x4 structure stiffness matrix Kfree of the above structure by modifying the 4x4 structure stiffness matrix of
Problem 1. Ignore axial deformation, i.e. the structure is a non-sway frame.
(2) Solve (electronically) the equilibrium equations and draw the deflected shape.
1
Solution: q free =
493.6
[ 470.1
273.5
399.0]T
EI
Problem 3
3
4

2
EI =1000 k-ft2

r = 10 ft

8
6
7

(1) In a 9x9 grid, mark by a x the non-zero elements in the structure stiffness matrix K of the above wheel (modeled as a
non-sway frame). All connections are moment connections.
(2) Without calculating any element stiffness matrices, find the values K 99 , K 89, K 13 , K 87 , K11 of the structure stiffness matrix
(3) Calculate the complete 9x9 structure stiffness matrix.
Solution: K 99 = 3200, K 89 = 200, K13 = 0, K 87 = 261.3, K 11 = 1445.3 (all k-ft)
C:\calpoly\arce306\homework\winter2010\hw2.doc

1/4/2010 12:17 PM

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer
January 13, 2010

ARCE 306: MATRIX STRUCTURAL ANALYSIS


Homework 2 -Solution
Problem 1
2 k/ft

20 ft

2 k/ft

25 ft

25 ft

20 ft

(1) Determine the 2x2 element stiffness matrices k corresponding to the four spans of the continuous beam above.
(2) Determine the 2x1 element load vectors D0 for each span (fixed-end moments).
(3) Assemble the 5x5 structure stiffness matrix K .
(4) Assemble the 5x1 structure load vector F .
(5) Reduce the 5x5 structure stiffness matrix K to a 4x4 matrix Kfree by accounting for the boundary condition.
(6) Solve (electronically) the system of equilibrium equations (expressing equilibrium at the nodes) to obtain the 4x1 vector
q free of node rotations of the free nodes.
(7) Sketch the deflected shape.
(8) Expand the 4x1 vector q free to a 5x1 vector q by adding zero for the rotation of the fixed node.
(9) Extract the 2x1 vectors d of element rotations out of the 5x1 vector q of structure rotations.
(10) Calculate the vector D of element end moments.
(11) Draw the bending moment diagram.
(1)
0.08
0.08
0.20 0.10
0.16
0.16

k1 = EI 0.10 0.20
k2 = EI 0.08
k 3 = EI 0.08
0.16
0.16

(2)
wL12 / 12 66.67
wL32 / 12 104.17


0(1)
0(2)
0(3)
0(4)

D =
=
2
, D = 0, D = wL 2 / 12 = 104.17 , D = 0
wL1 / 12 66.67

0.20
k 4 = EI 0.10

(3)
0.20
0.10

0.10
0.36

0.08
K = EI 0
0
0

0
0

(4)
-66.67

66.67

F = -104.17
104.17

(5)
0.10
0.20

0.36
0.10
Kfree = EI 0
0.08

0
0

0
0.08
0.32
0.08
0

0
0.08
0.32
0.08

0
0
0.08
0.36
0.10

0.10

0.20

0.08 [k-ft]
0.36

Ffree

-66.67

66.67
= -104.17 [k-ft]

104.17

(6)
C:\calpoly\arce306\homework\winter2010\hw2_sol.doc

1/13/2010 2:46 PM

-1-

0.10

0.20

California Polytechnic State University


Winter Quarter 2010
Solve: Kfree q free = Ffree

q free =

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

1
[ 564.8 462.9 543.8 410.2]T
EI

[rad]

(7)

(8)

q=

1
[ 564.8 462.9 543.8 410.2 0]T
EI

[rad]

(9)
d1 =

1
EI

-564.8

d2 = 1
462.9
EI

462.9

d3 = 1
-543.8
EI

-543.8

d4 = 1
410.2
EI

410.2

(10)
0

30.56
49.97
82.03
D2 =
D3 =
D4 =

D1 =
-30.56
-49.97
-82.03
41.02

or in matrix form
0
D=
-30.56

30.56
-49.97

49.97
-82.03

82.03

41.02

(11)

30.65

82.03

49.97

156.25

100

C:\calpoly\arce306\homework\winter2010\hw2_sol.doc

41.02

1/13/2010 2:46 PM

[k-ft]

-2-

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

Problem 2
2 k/ft

2 k/ft

EI
2

20 ft

6
20 ft

25 ft

25 ft

20 ft

(1) Find the 4x4 structure stiffness matrix Kfree of the above structure by modifying the 4x4 structure stiffness matrix of
Problem 1. Ignore axial deformation, i.e. the structure is a non-sway frame.
(2) Solve (electronically) the equilibrium equations and draw the deflected shape.
(1) Column 26 adds rotational stiffness k = 4EI / L26 = 4EI / 20 = 0.20EI to node 2. The structure stiffness matrix
is thus

Kfree

0.20

0.10
= EI 0

0.10
0.36 + 0.20
0.08
0

(2) Solve: Kfree q free = Ffree

C:\calpoly\arce306\homework\winter2010\hw2_sol.doc

q free =

0
0.08
0.32
0.08

0.08 = EI

0.36

0.20

0.10

0
0

0.10
0.56
0.08
0

0
0.08
0.32
0.08

1
[ 470.1 273.5 493.6 399.0]T
EI

1/13/2010 2:46 PM

-3-

0.08
0.36

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

Problem 3
4

2
EI =1000 k-ft2
9

r = 10 ft

8
6

(1) In a 9x9 grid, mark by a x the non-zero elements in the structure stiffness matrix K of the above wheel (modeled as a
non-sway frame). All connections are moment connections.
(2) Without calculating any element stiffness matrices, find the values K 99 , K 89, K 13 , K 87 , K11 of the structure stiffness matrix
(3) Calculate the complete 9x9 structure stiffness matrix.
Solution:
(1) see (3)
(2)

a = 2 r sin
K 99 = 8

45D
= 20 sin 22.5D = 7.654 ft
2

4EI
4000
= 8
= 3200 k-ft(ans )
10
r

K13 = 0
2EI
2000
K 87 =
=
7.654
a
(3)
1445
261
261
1445
0
261
0
0
0
0
0
0
0
0
261
0
200
200
units: (k-ft)

= 261.3 k-ft(ans )
0
261
1445
261
0
0
0
0
200

C:\calpoly\arce306\homework\winter2010\hw2_sol.doc

0
0
261
1445
261
0
0
0
200

K 89 =

2EI
2000
=
10
r

= 200 k-ft(ans )

1
1
1
1
K11 = 4EI + 2 = 4EI + 2

10
7.654
a
0
0
0
261
1445
261
0
0
200

1/13/2010 2:46 PM

0
0
0
0
261
1445
261
0
200

0
0
0
0
0
261
1445
261
200

261
0
0
0
0
0
261
1445
200

= 1445 k-ft(ans )

200
200
200
200
200
199
200
200
3200

-4-

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer
January 11, 2010

ARCE 306: MATRIX STRUCTURAL ANALYSIS


Homework 3 (Due 01-13-10)
Problem
Develop a MATLAB algorithm that assembles the structure stiffness matrix of an arbitrary non-sway frame structure (one
degree-of-freedom per node). Test your work using the "wheel"-structure of HW 2. Below are a few suggestions for your
algorithm that I hope you find helpful.
%vector of element lengths (as many components as there are elements)
L = [..];
%vector of i-nodes (as many components as there are elements)
ni =[..];
%vector of j-nodes (as many components as there are elements)
nj =[..];
%flexural stiffness
EI =
%initialize structure stiffness matrix
K = zeros(..)
numel = length(ni);
%assembly loop
for el = 1:numel
%calculate element stiffness matrix kele of element el
kele =

end

%place element stiffness matrix at proper location into structure


%stiffness matrix (this is the key step)

Do not submit anything for this HW. Use your work as a starting point for ARCE 353, HW 1.

1/11/2010

C:\calpoly\arce306\homework\winter2010\hw3.doc

-1-

California Polytechnic State University


Winter Quarter 2009

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer
January 21, 2009

ARCE 306: MATRIX STRUCTURAL ANALYSIS


Homework 3-Solution
Problem 1

The figure shows a uniform slab supported on four columns rigidly attached to the slab and clamped at the base. The slab is
rigid in plane and out of plane. Each column is of circular cross section, and its second moment of cross-sectional area
about any diametrical axis is as noted. With the three degrees-of-freedom selected as ux , uy , u at the center of the slab, formulate the stiffness matrix K in terms of the lateral stiffness k = 12 EI / h 3 of the smaller column.

ux = 1, uy = 0, u = 0
kxx = 6k
kyx = 0
k x = 0

ux = 0, uy = 1, u = 0
kxy = 0
kyy = 6k
b
b
ky = 2 k 2k = kb
2
2

ux = 0, uy = 0, u = 1
kx = 0
b
b
ky = 2 k 2k = kb
2
2
b b b b b b b b
k = 3k + 3k + 2k + 4k = 3kb 2
2 2 2 2 2 2 2 2

0
6 0

12EI
K = k 0 6 b , with k =

h3

2
0 b 3b
C:\calpoly\arce306\homework\Winter2009\hw3_sol.doc

2/2/2009 2:36 PM

(ans )

California Polytechnic State University


Winter Quarter 2009

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer
u2

Problem 2
u3

u1

rigid

k
3

3
4

10 ft

10 ft

10 ft

10 ft

k = 10 k/ft

For the structure above, find the stiffness matrix K with respect to the three degrees-of-freedom shown.
k11 = 2 0.62 k = 0.72k

= 7.2 k/ft

k21 =

=0

k 31 = 2 0.6 0.8 20k = 19.2k

= 192 k

k 31

u1 = 1

k21

k11
0.6k

0.6k
2

k22 = (3 + 2 0.8 ) k = 4.28k

= 42.8 k/ft

k23 =

=0

k 33 = (2 102 + 2 0.82 202 )k = 712k

= 7120 k-ft

10 ft

10 ft

10 ft

10 ft

u2 = 1

7.2
192
0

K= 0
42.8
0

192
0
7120

0.8k
3
4

k 32

k22

k
10 ft

k12

0.8k

10 ft

10 ft

10 ft

4
k 33

u3 = 1
20 0.8k = 16k

k23

10k

k13
20 0.8k = 16k

10k

3
4

10 ft

10 ft

Make sure you understand why there are the three units k/ft, k, and k-ft in the stiffness matrix.

C:\calpoly\arce306\homework\Winter2009\hw3_sol.doc

2/2/2009 2:36 PM

10 ft

10 ft

California Polytechnic State University


Winter Quarter 2009
Problems 3

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

E, A

rigid

P,

A tension rod stabilizes a rigid post as shown. (a) For given values E , A, L, , derive a parameter k such that P = k . (b)
Find the angle that maximizes k .

rod

P
cos
Frod
P
L
=
Lrod =
EA
EA cos sin
rod
P
L
EA
=
=
P=
cos2 sin (ans )
EA cos2 sin
L
cos


hor =

f () = cos2 sin

f () = 2 cos sin2 + cos3 = cos 2 sin2 + cos2 = 0


trial and error

(
: (2 sin

)
35 ) = 0.6580 + 0.6710 = 0.01303

=30D : 2 sin2 30D + cos2 30D = 0.5000 + 0.7500 = 0.2500


=35D

35D + cos2

C:\calpoly\arce306\homework\Winter2009\hw3_sol.doc

2/2/2009 2:36 PM

AB

Frod

(good enough, ans )

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer
January 13, 2010

ARCE 306: MATRIX STRUCTURAL ANALYSIS


Homework 4 (Due 01-18-10)
Problem 1

The figure shows a uniform slab supported on four columns rigidly attached to the slab and clamped at the base. The slab is
rigid in plane and out of plane. Each column is of circular cross section with moment of inertia I . With the three degreesof-freedom selected as ux , uy , u at the center of the slab, formulate the stiffness matrix K in terms of the lateral stiffness
k = 12 EI / h 3 of the smaller column.
6 0
0

Solution: K = k 0 6 b

0
b
3
b

u2

Problem 2
u3

u1

rigid

k
3

3
10 ft

10 ft

10 ft

10 ft

k = 10 k/ft

For the structure above, find the stiffness matrix K with respect to the three degrees-of-freedom shown.

E, A

rigid

7.2 k/ft
0
192 k

Solution: K = 0
42.8 k/ft
0

192 k
0
7120 k-ft

Problems 3
P,

A tension rod stabilizes a rigid post as shown. (a) For given values E , A, L, , derive a parameter k such that P = k .
(b) Find the angle that maximizes k .
Solution: k =

EA
cos2 sin
L

C:\calpoly\arce306\homework\winter2010\hw4.doc

1/12/2010 9:57 AM

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer
January 13, 2010

ARCE 306: MATRIX STRUCTURAL ANALYSIS


Homework 4-Solution
Problem 1

The figure shows a uniform slab supported on four columns rigidly attached to the slab and clamped at the base. The slab is
rigid in plane and out of plane. Each column is of circular cross section, and its second moment of cross-sectional area
about any diametrical axis is as noted. With the three degrees-of-freedom selected as ux , uy , u at the center of the slab, formulate the stiffness matrix K in terms of the lateral stiffness k = 12 EI / h 3 of the smaller column.

ux = 1, uy = 0, u = 0
kxx = 6k
kyx = 0
k x = 0

ux = 0, uy = 1, u = 0
kxy = 0
kyy = 6k
b
b
ky = 2 k 2k = kb
2
2

ux = 0, uy = 0, u = 1
kx = 0
b
b
ky = 2 k 2k = kb
2
2
b b b b b b b b
k = 3k + 3k + 2k + 4k = 3kb 2
2 2 2 2 2 2 2 2

0
6 0

12EI
K = k 0 6 b , with k =

h3

2
0 b 3b
C:\calpoly\arce306\homework\winter2010\hw4_sol.doc

1/12/2010 9:11 AM

(ans )

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer
u2

Problem 2
u3

u1

rigid

k
3

3
4

10 ft

10 ft

10 ft

10 ft

k = 10 k/ft

For the structure above, find the stiffness matrix K with respect to the three degrees-of-freedom shown.
k11 = 2 0.62 k = 0.72k

= 7.2 k/ft

k21 =

=0

k 31 = 2 0.6 0.8 20k = 19.2k

= 192 k

k 31

u1 = 1

k21

k11
0.6k

0.6k
2

k22 = (3 + 2 0.8 ) k = 4.28k

= 42.8 k/ft

k23 =

=0

k 33 = (2 102 + 2 0.82 202 )k = 712k

= 7120 k-ft

10 ft

10 ft

10 ft

10 ft

u2 = 1

7.2
192
0

K= 0
42.8
0

192
0
7120

0.8k

k 32

k22

k12

0.8k

3
10 ft

10 ft

10 ft

10 ft

4
k 33

u3 = 1
20 0.8k = 16k

k23

10k

k13
20 0.8k = 16k

10k

3
4

10 ft

10 ft

Make sure you understand why there are the three units k/ft, k, and k-ft in the stiffness matrix.

C:\calpoly\arce306\homework\winter2010\hw4_sol.doc

1/12/2010 9:11 AM

10 ft

10 ft

California Polytechnic State University


Winter Quarter 2010
Problems 3

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

E, A

rigid

P,

A tension rod stabilizes a rigid post as shown. (a) For given values E , A, L, , derive a parameter k such that P = k . (b)
Find the angle that maximizes k .

rod

P
cos
Frod
P
L
=
Lrod =
EA
EA cos sin
rod
P
L
EA
=
=
P=
cos2 sin (ans )
EA cos2 sin
L
cos


hor =

f () = cos2 sin

f () = 2 cos sin2 + cos3 = cos 2 sin2 + cos2 = 0


trial and error

(
: (2 sin

)
35 ) = 0.6580 + 0.6710 = 0.01303

=30D : 2 sin2 30D + cos2 30D = 0.5000 + 0.7500 = 0.2500


=35D

35D + cos2

C:\calpoly\arce306\homework\winter2010\hw4_sol.doc

1/12/2010 9:11 AM

AB

Frod

(good enough, ans )

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer
January 22, 2010

ARCE 306: MATRIX STRUCTURAL ANALYSIS


Homework 5 (Due 01-27-10)
Problem
4 k/ft

10 k

50 k
100 k-ft

EI

3
10 ft

25 ft

12.5 ft

4
12.5 ft

25 ft

(1) Find the moment and shear force diagrams of the beam using the slope deflection method. Use the pin modification for
joint 2 if you wish.
(2) Use the moment diagram and PVF to find the rotation and deflection of joint 1. See (5) for the solution.
Model the continuous beam using the beam element with four degrees-of-freedom (2 dofs per node).
Using hand calculations:
(3) Find the 10x1 load vector of the structure.
Solution: F= [ 10.00 0 15.00 83.33 60.00 31.25 25.00 56.25 0 0]T k, k-ft
(4) Without calculating any stiffness matrices find the elements K 77 , K 88 , K 67,K 78 of the 10x10 structure stiffness matrix K
Solution: K 77 = 0.001536EI , K 88 = 0.320EI , K 67 = 0.0096EI K 78 = 0

[k/ft, k, k-ft]

(5) If the 5x1 vector of free structure displacements is


1000
[5.4066 0.70733 0.20733 0.20633 0.22736]T ft, rad
q free =
EI
find the element end forces for elements 34 and 45 by matrix (hand) calculations (4x4 element stiffness matrix times 4x1
vector of element displacements) and show that they match the results of (1).

C:\calpoly\arce306\homework\winter2010\hw5.doc

1/22/2010 12:50 PM

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer
January 22, 2010

ARCE 306: MATRIX STRUCTURAL ANALYSIS


Homework 5-Solution
Problem 1
4 k/ft

10 k

50 k
100 k-ft

EI

3
10 ft

25 ft

12.5 ft

4
12.5 ft

25 ft

(1) Find the moment and shear force diagrams of the beam using the slope deflection method. Use the pin modification for
joint 2 if you wish.
(2) Use the moment diagram and PVF to find the rotation and deflection of joint 1. See (5) for the solution.
Model the continuous beam using the beam element with four degrees-of-freedom (2 dofs per node).
Using hand calculations:
(3) Find the 10x1 load vector of the structure.
Solution: F= [ 10.00 0 15.00 83.33 60.00 31.25 25.00 56.25 0 0]T k, k-ft
(4) Without calculating any stiffness matrices find the elements K 77 , K 88 , K 67,K 78 of the 10x10 structure stiffness matrix K
Solution: K 77 = 0.001536EI , K 88 = 0.320EI , K 67 = 0.0096EI K 78 = 0

[k/ft, k, k-ft]

(5) If the 5x1 vector of free structure displacements is


1000
[5.4066 0.70733 0.20733 0.20633 0.22736]T ft, rad
q free =
EI
find the element end forces for elements 34 and 45 by matrix (hand) calculations and show that they match the results of
(1).

C:\calpoly\arce306\homework\winter2010\hw5_sol.doc

1/28/2010 5:53 PM

-1-

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

(1)
let EI = 50 (to get pleasing numbers for EI / L)

0
M 43

1
1
10 k 10 ft
8 4 k/ft 252 ft2 = 50 166.67 = 116.67 k-ft
2
120
50 25
=
= 156.25 k-ft
8
= 156.25 k-ft

M 32

0
= M 32
+

0
M 32
0
M 34

M 34
M 43
M 45
M 54

M3
M4

EI
50
33 = 116.67 + 3 = 116.67 + 63
L
25

EI
50
(43 + 24 ) = 156.25 + (43 + 24 ) = 156.25 + 83 + 44
L
25
EI
50
0
= M 43
+
(23 + 44 ) = 156.25 + (23 + 44 ) = 156.25 + 43 + 84
L
25
EI
50
=
(44 + 0) = (43 + 0) = 84
L
25
EI
50
=
(24 + 0) = (23 + 0) = 44
L
25
0
= M 34
+

= 0 = M 32 + M 34

= 116.67 + 63 + 156.25 + 83 + 44 = 39.58 + 143 + 44

= 0 = M 43 + M 45

= 156.25 + 43 + 84 + 84

2 = 4.127
3 = 4.547

4.127 50
EI
4.547 50
=
EI
=

= 156.25 + 43 + 164 + 100

206.33
(ans )
EI
227.36
=
(ans )
EI
=

M 32 = M 34 = 141.43 k-ft, M 43 = 136.38 k-ft, M 45 = 36.38 k-ft, M 454 = 18.19 k-ft

Moment and shear force diagrams

141.4

C:\calpoly\arce306\homework\winter2010\hw5_sol.doc

1/28/2010 5:53 PM

136.4

-2-

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

(2)

from moment diagram


x x
4
4 3
x
x = 100 + 15x
25
2 3
150

M (x )

= 100 + 15x

M (x )

2
= 10 + x
5
2
1
M (x )
= 1 + x =
50
10

M (x )

25

4
4 4

M (x )M (x ) dx = 1000 190x + 6x 2 + x 3
x dx = 2083.33

15
375
0

EI 1
EI 1

1
= 100 10 10 + 2083.3 = 5417
3
1
= 100 1 10 + 208.33 = 708.3 ccw
2

checks ok
checks ok

(3)
D1,0 = 0

D2,0

1
125 83.33
4 25
15.00
6

25

83.33
83.33

=
=

125 83.33
35.00
4 25 +

25

125.0
125.0

D3,0

50

2
25.00
1

50 25

156.3
8
=
=

1 50 25.00
2

156.3
1

50 25
8

D4,0 = 0

C:\calpoly\arce306\homework\winter2010\hw5_sol.doc

1/28/2010 5:53 PM

-3-

California Polytechnic State University


Winter Quarter 2010
10

from joint loading


F=
0

100

(4)
12EI 12EI
24EI
K 77 = 3 + 3 =
253
L34
L45

K 88 =

4EI
4EI
8EI
+
=
25
L34
L45

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer
0

15

83.33

35 25

from element loading


F=
125 156.25

25

156.25

= 0.001536 EI (ans )

= 0.32 EI (ans )

K 67 =

6 EI
6EI
= 2
2
25
L34

K 78 =

6 EI 6 EI
6EI 6EI
+ 2 = 2 + 2 = 0(ans )
2
25
25
L34
L45

(5)
Member end forces
15.01
25.20
-10.00

0
100.00 141.43
D =
10.00
34.99
24.80

-100.00 -141.43 -136.4

C:\calpoly\arce306\homework\winter2010\hw5_sol.doc

10.00

15.00

83.33

60.00

total (ans )
F=
31.25

25.00

56.25

= 0.0096 EI (ans )

2.18

36.38

- 2.18
18.19

1/28/2010 5:53 PM

-4-

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer
February 1, 2010

ARCE 306: MATRIX STRUCTURAL ANALYSIS


Homework 6 (Due 02-04-10, 6 pm)
Problem 1
(1) Read and understand the handout on the 2D truss element.
(2) Use the principal of virtual work and the member forces given in the handout to verify the three displacements q free of
Eq. (5.45) of the example.
(3) Modify your MATLAB program for the beam element with four degrees-of-freedom (two dofs per node) by implementing the truss element with four degrees-of-freedom (two dofs per node) and test your algorithm by reproducing the results
of the example. From now on, we define the structure as we do in RISA, that is by inputting the x - and y coordinates of the
nodes (as vectors) in addition to the connectivity information. We do no longer input the length L of the members directly.
For the simple truss on the handout, the vectors of coordinates are
x = [0 8 4], y = [0 0 3];
Whenever we need the length L of an element we should calculate it by using Pythagoras' theorem
L = x 2 + y 2 =

(x j xi )

+ (y j yi )

(a) Save you function elestiff1.m as elestiff2.m and turn the 4x4 element stiffness matrix for the beam element into
the local 4x4 element stiffness matrix k for the truss element according to Eq. (5.13) of the handout (in the weeks
to come we will refer to the 2D truss element as element type 2). The result should be the function
function k = elestiff2(E,A,L)
where parameters E , A, L are the modulus of elasticity of the material, the cross-sectional area and length of the
element.
(b) Write a MATLAB function
function L = elelength(xs,xe,ys,ye)
that calculates the length L of a member where input parameters xs, xe, ys, ye are the x - and y - coordinates of the
start and end nodes of the element, respectively.
(c) Write a MATLAB function
function T = transele2(xs,xe,ys,ye)
that calculates the 4x4 transformation matrix T of a truss element according to Eq. (5.21) of the handout. Caution:
Do not calculate the angle before calculating sin and cos . You should calculate sin and cos directly
according to Eq. (5.38).
(d) Save any of your previous MATLAB work that uses the beam element to hw6.m and make the necessary
modifications. Note that the transformation matrix T comes into play twice: (1) in the first loop to calculate the
global element stiffness matrix k = TT kT according to Eq. (5.27) and (2) in the second loop when calculating the
local element displacements d = Td which are then multiplied by the local element stiffness matrix k to obtain the
member forces D (see Eq. (5.46)).

C:\calpoly\arce306\homework\winter2010\hw6.doc

2/1/2010 12:30 PM

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

Problem 2

Without calculating any stiffness matrices, calculate the elements K 15,15 , K 16,16 , K 16,15, K 17,17 , K 18,18 , K 18,19 , K 18,38 , K 18,37 , K 18,36 of
the 44x44 structure stiffness matrix K . The nodes of the bottom chord lie on a quadratic parabola with zero slope at node
12. The truss structure has constant EA .
Solution:

K15,15

K16,16

0.5797

K16,15
0

K17,17

K18,18

K 18,19

K18,38

K 18,37

2.1761

1.1699

0.3754

0.2176 0

Submit: Hand calculations, no MATLAB code

C:\calpoly\arce306\homework\winter2010\hw6.doc

2/1/2010 12:30 PM

K18,36
x EA

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer
February 4, 2010

ARCE 306: MATRIX STRUCTURAL ANALYSIS


Homework 6-Solution
Problem 1
(1) Read and understand the handout on the 2D truss element.
(2) Use the principal of virtual work and the member forces given in the handout to verify the three displacements q free of
Eq. (5.45) of the example.
(3) Modify your MATLAB program for the beam element with four degrees-of-freedom (two dofs per node) by implementing the truss element with four degrees-of-freedom (two dofs per node) and test your algorithm by reproducing the results
of the example. From now on, we define the structure as we do in RISA, that is by inputting the x - and y coordinates of the
nodes (as vectors) in addition to the connectivity information. We do no longer input the length L of the members directly.
For the simple truss on the handout, the vectors of coordinates are
x = [0 8 4], y = [0 0 3];
Whenever we need the length L of an element we should calculate it by using Pythagoras' theorem
L = x 2 + y 2 =

(x j xi )

+ (y j yi )

(a) Save you function elestiff1.m as elestiff2.m and turn the 4x4 element stiffness matrix for the beam element into
the local 4x4 element stiffness matrix k for the truss element according to Eq. (5.13) of the handout (in the weeks
to come we will refer to the 2D truss element as element type 2). The result should be the function
function k = elestiff2(E,A,L)
where parameters E , A, L are the modulus of elasticity of the material, the cross-sectional area and length of the
element.
(b) Write a MATLAB function
function L = elelength(xs,xe,ys,ye)
that calculates the length L of a member where input parameters xs, xe, ys, ye are the x - and y - coordinates of the
start and end nodes of the element, respectively.
(c) Write a MATLAB function
function T = transele2(xs,xe,ys,ye)
that calculates the 4x4 transformation matrix T of a truss element according to Eq. (5.21) of the handout. Caution:
Do not calculate the angle before calculating sin and cos . You should calculate sin and cos directly
according to Eq. (5.38).
(d) Save any of your previous MATLAB work that uses the beam element to hw6.m and make the necessary
modifications. Note that the transformation matrix T comes into play twice: (1) in the first loop to calculate the
global element stiffness matrix k = TT kT according to Eq. (5.27) and (2) in the second loop when calculating the
local element displacements d = Td which are then multiplied by the local element stiffness matrix k to obtain the
member forces D (see Eq. (5.46)).

C:\calpoly\arce306\homework\winter2010\hw6_sol.doc

2/4/2010 12:47 PM

-1-

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

Solution
(2) Virtual Work

P = 1
500 kN

0.625 T

0.625 C

300 kN

3.00 m

0.500 T

4.00 m

P = 1

4.00 m

1
EA = 1000 MN
4T

[kN]

60

0.833 C

0.833 C

member forces from handout

0.667 T

22

9T

183 C

virtual forces by simple statics (see right)


Horizontal displacement of node 2
EAq 3

= 183 1 8 = 1464 kNm

q3

1464 kNm
106 kN

= 1.46 mm

q 3 = 1.46 mm (left) checks ok

Horizontal displacement of node 3


EAq 5

= 183 0.5 8 + 604 0.625 5 229 0.625 5 = 440 kNm

q5

440 kNm
106 kN

= 0.44 mm

q 5 = 0.44 mm (right) checks ok

Vertical displacement of node 3


EAq 6

= 183 0.667 8 604 0.833 5 229 0.833 5 = 4447 kNm

q6

4447 kNm
106 kN

= 4.45 mm

C:\calpoly\arce306\homework\winter2010\hw6_sol.doc

q 6 = 4.45 mm (up) checks ok

2/4/2010 12:47 PM

-2-

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

Problem 2
y

Without calculating any stiffness matrices, calculate the elements K15,15 , K16,16 , K 16,15, K17,17 , K18,18 , K 18,19 , K18,38 , K18,37 , K 18,36 of
the 44x44 structure stiffness matrix K . The nodes of the bottom chord lie on a quadratic parabola with zero slope at node
12. The truss structure has constant EA .
K15,15
K16,16
K16,15
K17,17
K18,18
K 18,19 K18,38
K 18,37
K18,36
Solution:
2
0.5797
0
2.1761 1.1699 0
0.3754 0.2176 0
x EA

Solution
Some geometrical calculations
2.50
7.002 = 1.725 m
2
10.00
2.50
8.002 = 2.100 m
y(20) = 0.50 +
2
10.00
2.50
9.002 = 2.525 m
y(21) = 0.50 +
2
10.00
y(19) = 0.50 +

L8,19 = 1.725 m
L9,20 = 2.100 m
L10,21 = 2.525 m

1.725
) = 59.90D
9,19 = tan1 (
1
2.525
9,21 = tan1(
) = 68.39D
1
L9,19 = 12 + 1.7252 = 1.994 m
L9,21 = 12 + 2.5252 = 2.716 m

K15,15

x -force at node 8 due to x - displacement at node 8


EA EA EA EA
K15,15 =
+
=
+
= 2 EA (ans )
L78 L89
1
1
K16,16

y -force at node 8 due to y - displacement at node 8


EA
EA
K16,16 =
=
= 0.5797 EA (ans )
L8,19
1.725
K16,15
y -force at node 8 due to x - displacement at node 8
C:\calpoly\arce306\homework\winter2010\hw6_sol.doc

2/4/2010 12:47 PM

-3-

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

K16,15 = 0(ans )
K17,17

x -force at node 9 due to x - displacement at node 9


EA
EA
EA
EA
cos2 9,19 +
cos2 9,21
K17,17 =
+
+
L8,9 L9,10 L9,19
L9,21
1
1

= EA 1 + 1 +
cos2 59.90 +
cos2 68.39

1.994
2.716
= 2.1761 EA (ans )
K18,18

y -force at node 9 due to y - displacement at node 9


K18,18

EA
EA
EA
1
1
1

+
+
sin2 9,19 +
sin2 9,21 = EA
sin2 59.90 +
sin2 68.39 = 1.1699 EA (ans )

L9,20 L9,19
L9,21
2.100 1.994
2.716

K18,19

y -force at node 9 due to x - displacement at node 10


K18,19 = 0
K18,38

y -force at node 9 due to y - displacement at node 19


EA
1

K18,38 =
sin2 9,19 = EA
sin2 59.90 = 0.3754 EA (ans )

L9,19
1.994
K18,37

y -force at node 9 due to x - displacement at node 19


EA
sin 9,19 cos 9,19
K18,37 =
L9,19
1

= EA
sin 59.90 cos 59.90
1.994

= 0.2176 EA (ans )
K18,36

y -force at node 9 due to y - displacement at node 18


(no connection between nodes 9 and 18

C:\calpoly\arce306\homework\winter2010\hw6_sol.doc

2/4/2010 12:47 PM

-4-

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer
February 10, 2010

ARCE 306: MATRIX STRUCTURAL ANALYSIS


Homework 7 (Due 02-16-10)
Problem 1

Joints 9 and 19 experience horizontal and vertical displacements as given below. The nodes of the bottom chord lie on a
quadratic parabola with zero slope at node 12. The truss structure has constant EA . Find
9,x -356.4

9,y -471.3

= 411.6 /EA [ m ] Solution: F919 = 18.16 kN (T)


19,x

19,y -958.4

Find the axial force in member 9-19 (hand calculations for (a) and (b)).
(a) using scalar trigonometry, i.e. the way you would solve the problem by hand without using any matrices and vectors.
(b) using the 4x4 local element stiffness matrix k , the 4x4 transformation matrix T and the 4x1 vector d of global element
displacements.

Problem 2
Implement into MATLAB the procedure to account for homogeneous boundary conditions (prescribed zero displacements
at the fixed degrees-of-freedom) approximately (large value method, see notes) and the procedure to calculate reaction
forces. Test your algorithm by analyzing the truss structure below. Check the member forces against the given results.
Calculate the reaction forces and check them by statics (submit nothing).
400 kN
200 kN

6C

66

3m

550 T

EA = 106 kN

3m

783

1
8m

2/11/2010 9:50 AM

8m

C:\calpoly\arce306\homework\winter2010\hw7.doc

91

6C

783

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

Problem 3
4

EA = 106 kN
= 1.2 x 105

1
K

3m

3m

2
1
8m

8m

(a) Using hand calculations, assemble the structure load vector for a temperature change of T = 30 K in all members.
(b) Use MATLAB to find the nodal displacements and member forces of the truss due to a
(1) temperature change of T = 30 K in all members,
(2) displacement 3,x = 5 mm of node 3 in the horizontal direction (node 3, 5mm, to the right).
(3) displacement 3,y = 5 mm of node 3 in the vertical direction (node 3, 5mm, down).
For (2) and (3) you have to implement into MATLAB the procedure to account for non-homogeneous boundary conditions
(prescribed non-zero displacement, see notes).
Submit: hand calculations for (a), deflected shape and member forces for each of the three load cases, comment on the
member forces you obtain.

2/11/2010 9:50 AM

C:\calpoly\arce306\homework\winter2010\hw7.doc

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer
February 10, 2010

ARCE 306: MATRIX STRUCTURAL ANALYSIS


Homework 7 (Due 02-16-10)-Solution
Problem 1

Joints 9 and 19 experience horizontal and vertical displacements as given below. The nodes of the bottom chord lie on a
quadratic parabola with zero slope at node 12. The truss structure has constant EA . Find
9,x -356.4

9,y -471.3

= 411.6 /EA [ m ] Solution: F919 = 18.16 kN (T)


19,x

19,y -958.4

Find the axial force in member 9-19 (hand calculations for (a) and (b)).
(a) using scalar trigonometry, i.e. the way you would solve the problem by hand without using any matrices and vectors.
(b) using the 4x4 local element stiffness matrix k , the 4x4 transformation matrix T and the 4x1 vector d of global element
displacements.

Solution:
(a)
L
= 356.4 cos(59.90D ) 471.3 sin(59.90D ) 411.6 cos(59.90D ) + 958.4 sin(59.90D )
= 36.26 / EA (elongation)

L
36.26
=
= 18.16 / EA
L
EA 1.994
= EA = EA 18.18 / EA = 18.16 kN (ans ) Tension
=

(b)
1 0

EA 0 0
D = kd = kTd =

1.994 1 0

0 0
= 18.16 kN (ans )

2/18/2010 2:36 PM

0
0
-356.4
1 0 cos 59.90 sin 59.90

0 0 sin 59.90 cos 59.90


0
0
-471.3
/EA

1 0
0
0
cos 59.90 sin 59.90 411.6

0 0
sin 59.90 cos 59.90 -958.4
0
0

C:\calpoly\arce306\homework\winter2010\hw7_sol.doc

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

Problem 2
Implement into MATLAB the procedure to account for homogeneous boundary conditions (prescribed zero displacements
at the fixed degrees-of-freedom) approximately (large value method, see notes) and the procedure to calculate reaction
forces. Test your algorithm by analyzing the truss structure below. Check the member forces against the given results.
Calculate the reaction forces and check them by statics (submit nothing).
400 kN
200 kN

6C

66

3m

550 T

EA = 106 kN

3m

783

1
8m

2/18/2010 2:36 PM

8m

C:\calpoly\arce306\homework\winter2010\hw7_sol.doc

91

6C

783

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

Problem 3
4

EA = 106 kN
1
K

3m

= 1.2 x 105

3m

2
1
8m

8m

(a) Using hand calculations, assemble the structure load vector for a temperature change of T = 30 K in all members.
(b) Use MATLAB to find the nodal displacements and member forces of the truss due to a
(1) temperature change of T = 30 K in all members,
(2) displacement 3,x = 5 mm of node 3 in the horizontal direction (node 3, 5mm, to the right).
(3) displacement 3,y = 5 mm of node 3 in the vertical direction (node 3, 5mm, down).
For (2) and (3) you have to implement into MATLAB the procedure to account for non-homogeneous boundary conditions
(prescribed non-zero displacement, see notes).
Submit: hand calculations for (a), deflected shape and member forces for each of the three load cases, comment on the
member forces you obtain.
(a)
P 0 = EAT T = 106 kN 1.2 10-5 / K 30 k = 360 kN
3
2

3 +8

= 0.3511

8
2

3 +8

= 0.9363

F (1) = 360 (0.8 + 0.9663)

= 625.1 kN

F (2) = 360 (0.6 + 0.3511)

= 342.4 kN

8
2

6 +8

= 0.8000

F (3) = 0
F (4) = 360 (0.3511 2 1)

= 107.2 kN

F (5) = F (1)

= 625.1 kN

F (6) = F (2)

= 342.4 kN

F (7) = 0
F (8) = 360 (0.6 2 + 2)

2/18/2010 2:36 PM

= 792 kN

C:\calpoly\arce306\homework\winter2010\hw7_sol.doc

F=

6
2

6 + 82

= 0.6000

-625.1
- 342.4
0

-107.2
625.1 kN
- 342.4
0
792.0

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

(b)
(1) zero member forces, structure is determinate, only displacements

q=

2.88

1.08
5.76 mm

0
2.88
2.16

Deflected shape due to temperature change of T = 30 K (no forces generated)

(2)

member forces due to 3,x = 5 mm

2.50

-4.43
q = 5.00 mm

0.00
2.50

-4.23

F1-2 = F23 = 92.1 kN T


F1-4 = F34 = 53.9 kN C
F2-4
= 64.7 kN T

Deflected shape due to horizontal displacement of 3,x = 5 mm

(3) zero member forces, structure is determinate, only displacements

q=

0.94

- 2.50
mm
0

- 5.00
1.87
- 2.50

Deflected shape due to vertical support settlement 3,y = 5 mm (no forces generated)

2/18/2010 2:36 PM

C:\calpoly\arce306\homework\winter2010\hw7_sol.doc

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer
February 17, 2010

ARCE 306: MATRIX STRUCTURAL ANALYSIS


Homework 8 (Due 02-19-10)
Problem 1
Write a MATLAB function
function kbar = elestiff3(E,A,I,L,flag)
that calculates the 6x6 local element stiffness matrix k of a 2-D frame element (also called beam-column element) for
different moment release conditions at the element end (use if-statements), where
flag = 1: fixed-fixed; flag = 2: fixed-pinned, flag = 3: pinned-fixed, flag = 4: pinned-pinned (truss element)
fixed-fixed
0

EI 0
k= 3
L 0

0
1

0
12
6L 0 12 6L

6L 4L2 0 6L 2L2 EA 0
+

0
0
0
0
0
L 1

0
12 6L 0 12 6L

2
2
0
6L 2L
0 6L 4L

0 0 1 0 0

0 0 0 0 0

0 0 0 0 0

0 0 1 0 0

0 0 0 0 0

0 0 0 0 0

pinned-fixed
0 0

0 3

0 0
EI
k= 3
L 0 0
0 3

0 3L

fixed-pinned
0
0 0

0 3
3L

2
EI 0 3L 3L
k = 3
0
L 0 0

0 3 3L

0 0
0

2/17/2010 3:03 PM

0
0
0
0
0

3 0

3L 0 EA
+
.....
0
0
L

3
0

0
0

pinned-pinned (truss)
0 0
0 0
0 0
0 0
0 0
0 0

0
1

0
3L
3

0
0
0
+ EA
0
0
L 1

0
3
3L

2
0
3L 3L

0 0 1 0 0

0 0 0 0 0

0 0 0 0 0

0 0 1 0 0

0 0 0 0 0

0 0 0 0 0

EA 0
k=
L 1
0

0 0 1 0 0

0 0 0 0 0

0 0 0 0 0

0 0 1 0 0

0 0 0 0 0

0 0 0 0 0

Test your function by typing kbar=elestiff3(29000,120,400,180,1). The result should be


19333

0
k =
-19333

0
23
2148
0
- 23
2148

0
2148
257777
0
- 2148
128888

-19333
0
0
19333
0
0

0
- 23
- 2148
0
23
- 2148

2148

128888

- 2148

257777

C:\calpoly\arce306\homework\winter2010\hw8.doc

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

Test your function by typing kbar=elestiff3(29000,120,400,180,2). The result should be


19333

0
k =
-19333

0
5
1074
0
-5
0

0
1074
193333
0
-1074
0

-19333
0
0
19333
0
0

0
-5
-1074
0
5
0

Write a MATLAB function


function T = transele3(xs,xe,ys,ye)
that calculates the 6x6 transformation matrix of a 2-D frame element.
cos

T=

sin

sin cos 0

cos

sin

0 sin cos 0

Caution: As for the truss element, do not calculate the angle before calculating sin and cos . You should calculate sin and cos directly according to Eq. (5.38).

2/17/2010 3:03 PM

C:\calpoly\arce306\homework\winter2010\hw8.doc

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

Problem 2
F3
8
12 ft

EI = 106 k-ft2
F2
7

12 ft

16 ft

F1

1
30 ft

(a) Analyze the three-story frame in MATLAB using the 2-D frame element. Draw the bending moment, shear force and
axial force diagrams. You may use RISA but you need to show that your MATLAB results match those from RISA. Calculate the story drift ratios in %. Ignore axial deformation by assigning EA a large value (use EA = 108 ). The total base shear
is F = 600 k. Use what you learned in ARCE 371 to distribute the base shear to the floor levels. Floors 1 and 2 have identical weights, the roof weighs 50% of the floor.
Partial Solution
F3 = 187.5 k, M 26 = M 62 = 2614 k-ft(cw) , DR1 = 1.29 %
(b) Analyze the frame for pinned columns and determine the story drift ratios. You don't have to draw the internal force
diagrams.
(c) What is the required flexural stiffness EI of a grade beam 1-5 to limit the first story drift ratio of the frame to 1.5%.
Joints 1 and 5 are pinned as in (b).
Use the MATLAB function deflected_shape_frame(x,y,ns,ne,q,scale)(emailed to you) to plot the deflected shape of the three frame structure (use the same scale factor).
Submit: Handcalcs, diagrams, deflected shape (in short: decent documentation), no MATLAB.

2/17/2010 3:03 PM

C:\calpoly\arce306\homework\winter2010\hw8.doc

California Polytechnic State University


Winter Quarter 2009

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer
February 23, 2009

ARCE 306: MATRIX STRUCTURAL ANALYSIS


Homework 8-Solution
Problem 1
EI = 1000 kNm 2
EA = 500 kN 5

[m]

3
4.00

12

13

14

15

16

17

18

10

19

20

all forces
F = 10 kN

21
22

10 @1.00 m

50 k
II

E , A, I

3
III
4

1
30 ft

1 k/ft

6 ft

Solution :

IV

VI

12 ft

2 k/ft

j Node
4
5
6
3
2
5
6

11

3.00 m

0.50 m

8.00

i Node
1
4
5
6
1
2
2

Element
1
2
3
4
5
6
7

6.00

10 kN/m
4

R1x

= 19.79 k

R1y

=22.14 k

M1

=125.2 k-ft ccw

R5x = 13.74 k

R5y = 18.60 k

R7x =14.47 k

R7y = 9.25 k

20 ft

Implement the "large value approach" to account for the boundary conditions into your MATLAB program and calculate
the support reactions of the above structures. Ignore axial deformation for structure 3.

2/25/2009 9:33 AM

C:\calpoly\arce306\homework\Winter2009\hw8Sol.doc

California Polytechnic State University


Winter Quarter 2009

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

Problem 2

I
L

I1
x

BI 1
x

I
L

When using continuous girders in bridge design it is common to make the section at the interior supports significantly deeper than the sections in the span (see pictures). This practice results in architecturally more pleasing and more efficient
structures than using girders with uniform section depth. Since the region near the supports is stiffer than that near midspan,
the support "attracts" bending moment resulting in a larger support moment than for uniform moment of inertia along the
beam. The objective of this assignment is to quantify the relative increase in bending moment at the support compared to the
corresponding value for uniform stiffness ( M B 0 = wL2 / 8 ).
(1) Use the beam element implemented in MATLAB to analyze a two-span beam with varying second moment of inertia I .
For simplicity we work with piecewise constant moment of inertia as shown in the figure. Submit a single figure showing
the ratio M B / M B 0 (on the y - axis) as a function of the normalized length x / L (on the x - axis) where M B 0 and M B are the
bending moments at B for uniform and non-uniform moments of inertia, respectively. Plot four lines (for I 1 / I = 2, 4, 6, 8 )
and use 0 < x / L < 0.5 . Interpret the results.
(2) For I 1 / I =6 and L = 20 ft, x = 6 ft analyze the two-span beam by hand and draw the bending moment diagram. Make
sure your result matches that of (1).
Solution
1.8
1.7

MB
MB0

1.6
1.5
1.4

I1
= 2, 4, 6, 8
I

1.3
1.2
1.1
1
0
2/25/2009 9:33 AM

0.1

0.2

0.3

0.4

0.5

x
L

C:\calpoly\arce306\homework\Winter2009\hw8Sol.doc

California Polytechnic State University


Winter Quarter 2009

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

Hand calculations for L = 20 ft, x = 6 ft


Base structure
w =1
x1

Moments for base structure (let w = 1 for simplicity)


1.00
0.70

M1

M0
4.5

24.5 +

42.0
14 '

Displacements for base structure (consider only half of structure)


EI 11
EI 10

x1

1
1
0.72 14 +
(0.72 + 12 + 0.7 1.0) 6
3
63
1
1
= M 1M 0 dx = 42 0.7 14
42 (2 0.7 + 1) 6
3
66
1
1
= 24.5 0.7 14
4.5 (0.7 + 1) 6
3
63
= 236.58
MB
[]
236.58
= MA
=
= 78.4 k-ft(ans )
MB0
3.017
=

M1M1 dx

= 3.017

I1
= 2, 4, 6, 8
I

1.8

uniform I

1.7
2

1 20
wL
=
= 50.0 k-ft(ans )
8
8

MA

78.4
50.0

= 1.57 (ans )

1.6

hand calcs

1.5
1.4
1.3
1.2
1.1
1
0

2/25/2009 9:33 AM

C:\calpoly\arce306\homework\Winter2009\hw8Sol.doc

0.1

0.2

0.3

0.4

0.5

x
[]
L

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer
February 19, 2010

ARCE 306: MATRIX STRUCTURAL ANALYSIS


Homework 9 (Due 02-24-10)
Problem 1
EI = 1000 kNm 2
EA = 500 kN 5

[m]

8.00

i Node
1
4
5
6
1
2
2

Element
1
2
3
4
5
6
7

6.00

10 kN/m
4

j Node
4
5
6
3
2
5
6

4.00

Use the plane frame element to analyze the above structure in MATLAB. Draw the bending moment, shear force, and axial
force diagrams. Pay special attention to the member end conditions and use the given element definition:
Solution
(2)

80 kN

D035 = [0 32.03 34.17 0 32.03 34.17]T kN, kNm

Problem 2
5

(3)
D035 = [25 20 34.17 25 20 34.17]T kN, kNm

5.00

10 kN/m

(4)

10 kN/m

F (7) = 25 kN
F (8) = 60 kN

4.00

F (9)

F (12) = 53.33 kNm

F (13) = 25 kN

[m]

F (14) = 100 kN
4.00

= 87.5 kNm

F (11) = 40 kN

EI = 1000 kNm
4.00

F (15) = 34.17 kNm

all other components of F are zero

4.00

(5)
K18,18 = 2828 kNm
K18,3 = 353.5 kNm
K12,1 = 0

(6)
For the plane frame structure above, calculate (hand calcs):
K18,6 = 353.5 kNm
(1) The size of the structure stiffness matrix.
0
(2) The 6x1 element force vector D (fixed-end forces) of element 35 in local (element) coordinates.
(3) The 6x1 element force vector D0 (fixed-end forces) of element 35 in global (structure) coordinates.
(4) The non-zero components of the structure force vector (value and location).
(5) Elements K 18,18 , K 18,3 and K12,1 of the structure stiffness matrix.
(6) The element of the structure stiffness matrix that relates the rotation of node 2 to the moment at node 6.

2/19/2010 4:16 PM

C:\calpoly\arce306\homework\winter2010\hw9.doc

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

Problem 3

I
L

I1
x

BI 1
x

I
L

When using continuous girders in bridge design it is common to make the section at the interior supports significantly deeper than the sections in the span (see pictures). This practice results in architecturally more pleasing and more efficient
structures than using girders with uniform section depth. Since the region near the supports is stiffer than that near midspan,
the support "attracts" bending moment resulting in a larger support moment than for uniform moment of inertia along the
beam. The objective of this assignment is to quantify the relative increase in bending moment at the support compared to the
corresponding value for uniform stiffness ( M B 0 = wL2 / 8 ).
(1) Use the beam element implemented in MATLAB to analyze a two-span beam with varying second moment of inertia I .
For simplicity we work with piecewise constant moment of inertia as shown in the figure. Submit a single figure showing
the ratio M B / M B 0 (on the y - axis) as a function of the normalized length x / L (on the x - axis) where M B 0 and M B are the
bending moments at B for uniform and non-uniform moments of inertia, respectively. Plot four lines (for I 1 / I = 2, 4, 6, 8 )
and use 0 < x / L < 0.5 . Interpret the results.
(2) For I 1 / I =6 and L = 20 ft, x = 6 ft analyze the two-span beam by hand and draw the bending moment diagram. Make
sure your result matches that of (1).
Solution
1.8
1.7

MB
MB0

1.6
1.5
1.4

I1
= 2, 4, 6, 8
I

1.3
1.2
1.1
1
0
2/19/2010 4:16 PM

0.1

0.2

0.3

0.4

0.5

x
L

C:\calpoly\arce306\homework\winter2010\hw9.doc

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer
February 19, 2010

ARCE 306: MATRIX STRUCTURAL ANALYSIS


Homework 9-Solution
Problem 1
EI = 1000 kNm 2
EA = 500 kN 5

[m]

8.00

i Node
1
4
5
6
1
2
2

Element
1
2
3
4
5
6
7

6.00

10 kN/m
4

j Node
4
5
6
3
2
5
6

4.00

Use the plane frame element to analyze the above structure in MATLAB. Draw the bending moment, shear force, and axial
force diagrams. Pay special attention to the member end conditions and use the given element definition:
Solution
Dbar =
-0.23
42.40
74.40
0.23
17.60

17.60
-0.23
0
-17.60
0.23

0.00 -1.83

10.31
0.46
1.83
-10.31
-0.46

15.00
0
0.00
-15.00
0

0.00 -43.76

-17.60
-14.77
-74.41
17.60
14.77

0.69
7.29
43.76
-0.69
-7.29

-18.58
0
0
18.58
0

kN, kNm

0
15.0
10.3 C

C
10

17.6

62
= 45.0
8

17.6

0.2 T

[kNm]

0.7 C
17.6

43.8

18.6

74.4
17.6

0.2

0.5
7.3

[kN]

42.4

14.8

2/26/2010 12:47 PM

7.3
14.8

C:\calpoly\arce306\homework\winter2010\hw9sol.doc

17.6
T

74.4

18.6

C
15.0

[kN]

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

Problem 2

80 kN

5
5.00

10 kN/m

10 kN/m

4
4.00

3
6

4.00

[m]

EI = 1000 kNm2 2
4.00

y
x

4.00

For the plane frame structure above, calculate (hand calcs):


(1) The size of the structure stiffness matrix.
(2) The 6x1 element force vector D0 (fixed-end forces) of element 35 in local (element) coordinates.
(3) The 6x1 element force vector D0 (fixed-end forces) of element 35 in global (structure) coordinates.
(4) The non-zero components of the structure force vector (value and location).
(5) Elements K 18,18 , K 18,3 and K12,1 of the structure stiffness matrix.
(6) The element of the structure stiffness matrix that relates the rotation of node 2 to the moment at node 6.
Some calculations
L35
= 41
5
sin
=
41
4
cos
=
41
41 m2
L235
w
= 10 kN/m
12
12
6.403 m
L35
w
= 10 kN/m
2
12
82 m 2
L234
w
= 10 kN/m
12
12

2/26/2010 12:47 PM

= 6.403 m
= 0.7809
= 0.6247
= 34.17 kNm
= 32.02 kN
= 53.33 kNm

C:\calpoly\arce306\homework\winter2010\hw9sol.doc

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

(1)
K = 18 x 18

(2)
D035 = [0 32.03 34.17 0 32.03 34.17]T

kN, kNm

(3)
32.03 sin = 32.03 0.7809
32.03 cos = 32.03 0.6247

= 25 kN
= 20 kN

D035 = [25 20 34.17 25 20 34.17]T kN, kNm

(4)
F (7)

= 25 kN

F (8) = 40 20

= 60 kN

F (9)

= 34.17 53.33 = 87.5 kNm

F (11)

= 40 kN

F (12)

= 53.33 kNm

F (13)

= 25 kN

F (14)

= 20 80 = 100 kN

F (15)

= 34.17 kNm

all other components of F are zero


(5)
4EI
L
2EI
=
L
=0

K18,18 = 4
K18,3
K12,1

4 1000
4 2
2 1000
=
4 2

= 4

= 2828 kNm
= 353.5 kNm

(6)
Moment at joint 6 (dof 18) due to unit rotation at joint 2 (dof 6)
K18,6 =

2EI
L

2/26/2010 12:47 PM

2 1000
4 2

= 353.5 kNm

C:\calpoly\arce306\homework\winter2010\hw9sol.doc

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

Problem 3

I
L

I1
x

BI 1
x

I
L

When using continuous girders in bridge design it is common to make the section at the interior supports significantly deeper than the sections in the span (see pictures). This practice results in architecturally more pleasing and more efficient
structures than using girders with uniform section depth. Since the region near the supports is stiffer than that near midspan,
the support "attracts" bending moment resulting in a larger support moment than for uniform moment of inertia along the
beam. The objective of this assignment is to quantify the relative increase in bending moment at the support compared to the
corresponding value for uniform stiffness ( M B 0 = wL2 / 8 ).
(1) Use the beam element implemented in MATLAB to analyze a two-span beam with varying second moment of inertia I .
For simplicity we work with piecewise constant moment of inertia as shown in the figure. Submit a single figure showing
the ratio M B / M B 0 (on the y - axis) as a function of the normalized length x / L (on the x - axis) where M B 0 and M B are the
bending moments at B for uniform and non-uniform moments of inertia, respectively. Plot four lines (for I 1 / I = 2, 4, 6, 8 )
and use 0 < x / L < 0.5 . Interpret the results.
(2) For I 1 / I =6 and L = 20 ft, x = 6 ft analyze the two-span beam by hand and draw the bending moment diagram. Make
sure your result matches that of (1).
Solution
1.8
1.7

MB
MB0

1.6
1.5
1.4

I1
= 2, 4, 6, 8
I

1.3
1.2
1.1
1
0

2/26/2010 12:47 PM

0.1

0.2

0.3

0.4

0.5

x
L

C:\calpoly\arce306\homework\winter2010\hw9sol.doc

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

Solution
(1) MATLAB (code not shown here)
(2) Hand calculations for L = 20 ft, x = 6 ft
Use force method n=1=>one unknown
Slope deflection method appears to be more work here since structure is a sway structure due to the change in I =>
two unknowns
w =1

Base structure

x1

Moments for base structure (let w = 1 for simplicity)


1.00
0.70

M1

M0
24.5 +

4.5

42.0
14 '
Displacements for base structure (consider only half of structure)
=

M1M1 dx

EI 10 =

M1M 0 dx

EI 11

x1

= MB

1
1
0.72 14 +
(0.72 + 12 + 0.7 1.0) 6 = 3.017
3
63
1
1
1
1
= 42 0.7 14
42 (2 0.7 + 1) 6 24.5 0.7 14
4.5 (0.7 + 1) 6
3
3
66
63
= 236.58

236.58
= 78.4 k-ft(ans )
3.017

uniform I
MB 0
MB
MB 0

MB
[]
MB0

I1
= 2, 4, 6, 8
I

1.8

1 202
wL2
=
=
= 50.0 k-ft(ans )
8
8
78.4
=
= 1.57 (ans )
50.0

1.7
1.6

hand calcs

1.5
1.4
1.3
1.2
1.1
1
0

2/26/2010 12:47 PM

C:\calpoly\arce306\homework\winter2010\hw9sol.doc

0.1

0.2

0.3

0.4

0.5

x
[]
L

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer
February 24, 2010

ARCE 306: MATRIX STRUCTURAL ANALYSIS


Homework 10 (Due 03-01-10)
Problem

System 1

E wall

= 1, 800 ksi
= 0.25

= 1 ft

rigid
rigid
rigid

System 2

E wall

= 1, 800 ksi

E steel

= 29, 000 ksi


= 0.25

= 1 ft

Find the three forces F1, F2 , F3 and the lateral deflection of the two structural systems.
(a) by hand calculation. Use the force method and select the forces in the rigid links as the unknowns. Then show that the
forces are given as a function of the relative stiffness (rigidity) of the lateral force resisting elements.
3

Fi = 100 k ki / ki
i =1

Solution:
F1 = 67.7 k

F2 = 25.3 k

F3 = 7.0 k

= 0.012 in

System 1

F1 = 89.2 k

F2 = 0.7 k

F3 = 10.1 k

= 0.063 in

System 2

(b) using your MATLAB implementation of the 2-D frame element after adding shear deformation (flag 5). To avoid type
errors copy and paste the electronic version (has been emailed to you) of the statements into your function elestiff3.
Neglect shear and axial deformations in the moment frame. Consider the braced frame a truss.

2/24/2010 2:29 PM

C:\calpoly\arce306\homework\winter2010\hw10.doc

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer
February 25, 2010

ARCE 306: MATRIX STRUCTURAL ANALYSIS


Homework 10-Solution
Problem

System 1

E wall

= 1, 800 ksi
= 0.25

= 1 ft

rigid
rigid
rigid

System 2

E wall

= 1, 800 ksi

E steel

= 29, 000 ksi


= 0.25

= 1 ft

Find the three forces F1, F2 , F3 and the lateral deflection of the two structural systems.
(a) by hand calculation. Use the force method and select the forces in the rigid links as the unknowns. Then show that the
forces are given as a function of the relative stiffness (rigidity) of the lateral force resisting elements.
3

Fi = 100 k ki / ki
i =1

Solution:
F1 = 67.7 k

F2 = 25.3 k

F3 = 7.0 k

=0.012 in (System 1)

(b) using your MATLAB implementation of the 2-D frame element after adding shear deformation (flag 5). To avoid type
errors copy and paste the electronic version (has been emailed to you) of the statements into your function elestiff3.
Neglect shear and axial deformations in the moment frame. Consider the braced frame a truss.

2/24/2010 12:01 PM

C:\calpoly\arce306\homework\winter2010\hw10Sol.doc

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

SYSTEM 1
Deflections for each wall due to unit force
1
1
MM dx +
k VV dx

=
EI
GA
PL3 6 PL
=
+
3EI 5 GA
= 105 (0.6510+0.8681)
5

= 10

= 10

( 2.6667+1.3889)
( 12.3457+2.3148)

= 1.519 105 ft
5

= 4.056 10

ft

= 14.661 10

11

= W1 + W2

= 5.575 105

22

= W2 + W3

= 1.872 104

12

= W2

= 4.056 105

10

= 100 W1

= 1.519 103
=0

0.05575 0.04055 x1 1.519

=
x = 32.3 k, x = 7.0 k
1
2
0.04055
0.1872 x 2 0

F1 = 100 32.3

= 67.7 k (ans )

F2 = 32.3 7.0

= 25.7 k (ans )

F3 =

= 7.0 k(ans )

Deflection of wall
= 67.7 1.519 105 ft = 0.00103 ft = 0.012 in (ans )

2/24/2010 12:01 PM

wall 2

ft wall 3

Formal force method analysis

20

wall 1

C:\calpoly\arce306\homework\winter2010\hw10Sol.doc

California Polytechnic State University


Winter Quarter 2010
Direct approach using relative stiffness
1
K
=

= 65828 k/ft

F1
F2
F3

wall 1

= 24657 k/ft

wall 2

= 6821 k/ft

wall 3

= 65828 + 24657 + 6821

= 97307 k/ft

65828
97307
24657
= 100 k
97307
6821
= 100 k
97307
= 100 k

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

67.7 k
65828k/ft

= 67.7 k (ans )
= 25.3 k (ans )
= 7.0 k (ans )
25.3 k
24657 k/ft

10.1 k
6821 k/ft

= 0.0010 ft = 0.012 in (ans )

Results match those of the force method

2/24/2010 12:01 PM

C:\calpoly\arce306\homework\winter2010\hw10Sol.doc

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

SYSTEM 2
Deflections for each wall due to unit force
Shear wall
GA

= 720 144 10 1

EI

= 1800 144

= 1, 036, 800 k

1
103 1
12

= 21, 600, 000 k-ft2

1
1
MM dx +
k VV dx

EI
GA
PL3 6 PL
+
=
3EI 5 GA
1 143
6 1 14
=
+
3 21, 600, 000
5 1, 036, 800
=

= 0.05855 103 ft/k

1
1
=
= 17, 080 k/ft

0.05855 103 ft/k

Moment frame
EI
= 29, 000 425 / 144 = 85, 590 k-ft2

1
MM dx
EI

1 1 2
1
7 14 2 + 72 5 2
=

EI 3
3
=

620.667 ft3
85, 590 k-ft2

= 0.007252 ft/k

1
1
=
= 137.9 k/ft

0.007252 ft/k

Braced frame
for the braced frame, we can calculate the stiffness directly
EA
29, 000 3.38
102
k=
cos2 =
2
2 = 1925 k/ft
L
102 + 142 10 + 14

2/24/2010 12:01 PM

C:\calpoly\arce306\homework\winter2010\hw10Sol.doc

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

Formal force method analysis

11

= 0.05855 103 + 0.007252

22

= 0.07252 +

12

10

= 100 0.05855 103

= 0.007310

1
= 0.07252 + 0.5195 103 = 0.007771
1925
= 0.007252
= 0.005855

20

=0

0.00731 0.007252 x1 0.00585


x = 10.8 k, x = 10.1 k
1
2

x =

0
0.007252 0.007771 2

F1 = 100 10.8

= 89.2 k (ans )

F2 = 10.8 10.1 = 0.7 k (ans )


F3 = 10.1 k(ans )
100 k

10.8 k

89.2 k

10.1 k

10.8 k

10.1 k

0.7 k

Deflection of wall
= 89.2 0.05855 103 ft = 0.00502 ft = 0.063 in (ans )

2/24/2010 12:01 PM

C:\calpoly\arce306\homework\winter2010\hw10Sol.doc

10.1 k

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

Direct approach using relative stiffness


F1
F2
F3

17, 080
= 89.2 k (ans )
17, 080 + 137.9 + 1925
137.9
= 100 k
= 0.72 k (ans )
17, 080 + 137.9 + 1925
1925
= 100 k
= 10.1 k (ans )
17, 080 + 137.9 + 1925
= 100 k

89.2 k
17080 k/ft

0.72 k
137.9 k/ft

10.1 k
1925 k/ft

= 0.0052 ft = 0.063 in (ans )

Results match those of the force method

2/24/2010 12:01 PM

C:\calpoly\arce306\homework\winter2010\hw10Sol.doc

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer
March 1, 2010

ARCE 306: MATRIX STRUCTURAL ANALYSIS


Homework 11 (Due 03-03-10)
Problem

Wall 1

Wall 4

Rigid
Diaphragm

Wall 2

Wall 3

E wall

= 1, 800 ksi
= 0.25
= 6 in

You are working with a somewhat eccentric architect on a single-story (cantilever) shear wall building and asked to
evaluate its seismic behavior.
Find the 3x3 stiffness matrix in units of kips and inches with respect to the three degrees-of-freedom u, v, shown.
(1) Use unit displacements along the three global degrees-of-freedom (as learned early this quarter) to find the global
stiffness matrix directly (hand analysis).
(2) Use local degrees-of-freedom u1, v1, u2 , v2 , u3 , v3 , u 4 , v4 defined somewhere along each wall along the global directions,
corresponding local wall stiffnesses and transformation matrices (hand analysis, except matrix products for which you can
use MATLAB). You may want to explain to yourself why it doesn't matter where along the wall you define the local dofs.
The story height is 14 ft. Ignore any out-of-plane stiffness of the shear walls.
Solution
108,794

-130,553

0
126,137
- 3,043,679

-130,553
- 3,043,679 units: kips and feet

205,736,880

0
10,511
- 3,043,679

-130,553
- 3,043,679 units: kips and inches
2.469 109

or

9,066

-130,553

3/3/2010 6:52 AM

C:\calpoly\arce306\homework\winter2010\hw11.doc

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer
March 1, 2010

ARCE 306: MATRIX STRUCTURAL ANALYSIS


Homework 11-Solution
Problem

Wall 1

Wall 4

Rigid
Diaphragm

Wall 2

Wall 3

E wall

= 1, 800 ksi
= 0.25
= 6 in

You are working with a somewhat eccentric architect on a single-story (cantilever) shear wall building and asked to
evaluate its seismic behavior.
Find the 3x3 stiffness matrix in units of kips and inches with respect to the three degrees-of-freedom u, v, shown.
(1) Use unit displacements along the three global degrees-of-freedom (as learned early this quarter) to find the global
stiffness matrix directly (hand analysis).
(2) Use local degrees-of-freedom u1, v1, u2 , v2 , u3 , v3 , u 4 , v4 defined somewhere along each wall along the global directions,
corresponding local wall stiffnesses and transformation matrices (hand analysis, except matrix products for which you can
use MATLAB). You may want to explain to yourself why it doesn't matter where along the wall you define the local dofs.
The story height is 14 ft. Ignore any out-of-plane stiffness of the shear walls.
Solution
108,794

-130,553

0
126,137
- 3,043,679

-130,553
- 3,043,679 units: kips and feet

205,736,880

0
10,511
- 3,043,679

-130,553
- 3,043,679 units: kips and inches
2.469 109

or

9,066

-130,553

3/4/2010 1:04 PM

C:\calpoly\arce306\homework\winter2010\hw11sol.doc

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

(2) Using direct method

Fx

=0

K11 = k1 + 0.8 0.8 k1 + 0.6 0.6 k1


= 2 k1 = 2 54397
= 108, 794 k/ft

Fy = 0

K 21 = 0.8 0.6 k1 0.8 0.6 k1


=0

Mz

= 0 K 31 = 30 k1 + 30 0.8 0.8 k1 30 0.6 0.6 k1


+ 40 0.8 0.6 k1
= 2.4 k1 = 2.4 54, 397
= 130, 553 k-ft/ft

Fx = 0
Fy = 0

K12 = K 21 = 0
K 22 = k2 + 0.6 0.6 k1 + 0.8 0.8 k1
= k2 + k1 = 54, 397 + 71, 740
= 126,137 k/ft

Mz

= 0 K 32 = 40 k2 30 0.8 0.6 k1 + 40 0.8 0.8 k1


30 0.6 0.8 k1
= 40 k2 3.2 k1 = 40 71, 740 3.2 54, 397
= 3, 043, 670 k-ft/ft

Fx = 0
Fy = 0
Mz = 0

K13 = K 31
K 23 = K 32
K 33 = 402 k2 + 302 k1 + 30 0.8 24 k1 + 40 0.8 14 k1
30 0.6 14 k1
= 1600 k2 + 1672 k1 = 1600 71, 740 + 1924 54, 397
= 205, 736, 000 k-ft/rad

108,800

-130,600

0
126,100
- 3,044,000

-130,600
- 3,044,000 units: kips and feet

205,700,000

0
10,510
- 3,044,000

-130,600
- 3,044,000 units: kips and inches
2.469 109

or

9,066

-130,600

3/4/2010 1:04 PM

C:\calpoly\arce306\homework\winter2010\hw11sol.doc

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

(2) Using transformation of stiffness


Use units of kips and feet
Displacement due to unit force
1
1

=
MM dx +
k VV dx

EI
GA
PL3 6 PL
+
=
3EI 5 GA
= 1.838 105 ft for walls 1,3,4
= 1.394 105 ft for wall 2

= 54, 397 k/ft for walls 1,3,4

= 71, 740 k/ft for wall 2

Local element stiffness matrices


1 0
54, 397
k1 =

0
0

0 0
71, 740
k2 =

0
1

0.82
0.8 0.6
34814

-26110
k3 =

=
54,
397

0.8 0.6
0.62

0.62
0.8 0.6
19583

k4 =
54, 397
= 26110
2

0.8 0.6
0.8

- 26110
19583

26110
34814

Transformation matrices
0
- 30
1

T1 =

0
1
0

0
0
1

T2 =

0
1
-40

0
15
1

T3 =
0
1
- 20

0
- 30
1

T4 =
1
40
0

3/4/2010 1:04 PM

C:\calpoly\arce306\homework\winter2010\hw11sol.doc

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

Global element stiffness matrices

54397

0
k1 =
-1631923

k2 =

0
0
0

-1631923
0
48957717

0
0
0

0
71740
- 2869608

0
- 2869608
114784320

34814

k 3 = - 26110
1044431

- 26110
19583
- 783323

19583

k 4 = 26110
456938

26110
34814
609251

1044431
- 783323
31332939

456938
609251
10661902

Structure stiffness matrices


108,794k/ft

0
K = k1 + k 2 + k 3 + k 4 =

-130,553k - ft/ft

0
-130,553 k/rad
(ans)

126,137 k/ft
- 3,043,679 k/rad

- 3,043,679 k - ft/ft 205,736,880 k - ft/rad

or

9,066
0
K =
-130,600

0
10,510
- 3,044,000

-130,600
- 3,044,000 units: kips and inches
2.469 109

The two methods give identical results.

3/4/2010 1:04 PM

C:\calpoly\arce306\homework\winter2010\hw11sol.doc

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer
March 5, 2010

ARCE 306: MATRIX STRUCTURAL ANALYSIS


Homework 12 (Due 03-10-10)
q2

q2

q1

q1

EI = const.

EI = const.

EI = const.

(a)

q2

q1

(c)

(b)

(1) For the above frame structures, use MATLAB to find the stiffness matrix with respect to the two degrees-of-freedom
shown using static condensation.
(2) If the girders of structure (b) are considered rigid find the stiffness matrix with respect to the degrees-of-freedom shown
by hand (think).
(3) For structures (a) and (c), use hand calculation to find the flexibility matrix F with respect to the degrees-of-freedom
shown. Show that the stiffness and flexibility matrices are inverse to each other.
Neglect axial deformation for all structures.
Solution
(1)
(Str. a) K =

EI 7.407 3.704
3.704
100 3.704

1.312 0.937

(Str. c) K = EI
0.937
1.312

(2)
1.111 0.888

K = EI

0.888
0.888

(3)
1 27.00 27.00
(Str. a) F =
EI 27.00 54.00

0.7171
(Str. b) K = EI
0.4646

(Str. c) F =

1
EI

1.556 1.111

1.111 1.556

Use the following commands for (1).


Kfree
Kee
Krr
Kre
Ker

=
=
=
=
=

K(free,free);
Kfree(e,e);
Kfree(r,r);
Kfree(r,e);
Kfree(e,r);

Kstar = Krr - Kre*inv(Kee)*Ker (derived

C:\calpoly\arce306\homework\winter2010\hw12.doc

in Friday, 5-mar class)

3/5/2010 1:19 PM

0.4646

0.3636

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

March 9, 2010
ARCE 306: MATRIX STRUCTURAL ANALYSIS
q2

Homework 12 (Due 03-11-10)

q1

q2

q1

EI = const.

EI = const.

EI = const.

(a)

q2

q1

(c)

(b)

(1) For the above frame structures, use MATLAB to find the stiffness matrix with respect to the degrees-of-freedom shown.
(2) If the girders of structure (b) are considered rigid find the stiffness matrix with respect to the degrees-of-freedom by
hand (think).
(3) For structures (a) and (c), use hand calculation to find the flexibility matrix F with respect to the degrees-of-freedom
shown.
Neglect axial deformation for all structures.
Solution
(1)
(Str. a) K =

EI 7.407 3.704
3.704
100 3.704

1.312 0.937

(Str. c) K = EI
0.937
1.312

(2)
1.111 0.888

K = EI

0.888
0.888

(3)
1 27.00 27.00
(Str. a) F =
EI 27.00 54.00

0.7171
(Str. b) K = EI
0.4646

(Str. c) F =

1
EI

Use the following commands for (1).


Kfree
Kee
Krr
Kre
Ker

=
=
=
=
=

K(free,free);
Kfree(e,e);
Kfree(r,r);
Kfree(r,e);
Kfree(e,r);

Kstar = Krr - Kre*inv(Kee)*Ker

C:\calpoly\arce306\homework\winter2010\hw12Sol.doc

3/8/2010 1:06 PM

0.4646

0.3636

1.556 1.111

1.111 1.556

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

Solution
(2)

q1 = 1, q2 = 0

12 EI / H
12 EI / H 3
+3 EI / H 3

12 EI / H 3
+3 EI / H 3

3 EI / H 3

K 22
K12
K

12 EI / H 3

K11

K 21

q1 = 0, q2 = 1

12 EI / H 3

K11

12 EI / H 3

12 EI / H 3 12 EI / H 3

3 EI / H 3

3EI 12EI
3EI 12EI 30 EI
3 + 3 =

= 2 3 +
=

= 1.111 EI
2

3
H 1
27
H 23
3
24 EI
12EI
= 2
=
= 0.888 EI
3
27
H2
12 EI
24 EI
= 2
=
= 0.888 EI
3
27
H2
1.111 0.888
(ans )
= EI

0.888
0.888

C:\calpoly\arce306\homework\winter2010\hw12Sol.doc

3/8/2010 1:06 PM

12

22

California Polytechnic State University


Winter Quarter 2010

Department of Architectural Engineering


Instructor: Ansgar Neuenhofer

(3)
Structure (a)
EI 11

P =1

M 1 dx

1
= 32 (3.00 + 6.00)
3
= 27.00
EI 22

M1

M 2 dx

1
EI

M2

M 2 dx
3
+

1
= 32 (3.00 + 6.00)
3
= 27.00

1 2
3 (3.00 + 6.00) 2
3
= 54.00
=

P =1

EI 12

27.00 27.00

27.00 54.00 (ans )

Structure (c)
1
1
1
0.52 3 2 + (0.52 + 0.8332 0.5 0.8333) 2 + (0.52 + 0.8332 0.5 0.8333) 4
3
3
3
= 1.556

EI 11 =

EI 22 = EI 11
= 1.556
EI 12 = EI 21
1
1
1
0.52 3 2 + [0.5 (2 0.5 0.8333) + 0.1667 (2 0.8333 0.500)] 2 2 + [0.83333 (2 0.1667 + 0.8333)] 2 2
3
6
6
= 1.111
P =1
=

0.5000

1
EI

1.556 1.111

1.111 1.556 (ans )

0.5000

0.5000

0.5000

0.1667
0.8333
M1

Note:
Moment diagrams are result of indeterminate
analysis (details
not shown).

P =1

0.5000
0.5000

0.5000

0.1667
M2

0.8333

C:\calpoly\arce306\homework\winter2010\hw12Sol.doc

3/8/2010 1:06 PM

You might also like