Sie sind auf Seite 1von 9

MER-516 Finite Element Method:

Homework Set 6
Due on Tuesday, May 15, 2012

Professor McLaughlin

Matthew Lockwood

Matthew Lockwood

MER-516 Finite Element Method HW #6

Contents
Problem 5.1

Problem 5.3

Problem 5.11

Page 2 of 9

Matthew Lockwood

MER-516 Finite Element Method HW #6

Problem 5.1
For the rigid frame shown in Figure P5-1, determine (1) the displacement components and the rotation at
node 2, (2) the support reactions, and (3) the forces in each element. Then check equilibrium at Node 2.
Let E = 30 106 psi, A = 10 in2 , and I = 500 in4 for both elements.
The global stiffness matrix, K is,
0.0036
0.0048

0.0040

0.0036

K = 1000 0.0048

0.0040

0
0

0.0048
0.0064
0.0030
0.0048
0.0064
0.0030
0
0
0

0.0040
0.0030
2.0000
0.0040
0.0030
1.0000
0
0
0

0.0036
0.0048
0.0040
0.0072
0.0000
0.0080
0.0036
0.0048
0.0040

0.0048
0.0064
0.0030
0.0000
0.0128
0.0000
0.0048
0.0064
0.0030

0.0040
0.0030
1.0000
0.0080
0.0000
4.0000
0.0040
0.0030
1.0000

0
0
0
0.0036
0.0048
0.0040
0.0036
0.0048
0.0040

0
0
0
0.0048
0.0064
0.0030
0.0048
0.0064
0.0030

0.0040

0.0030

1.0000

0.0040

0.0030
2.0000

The displacements, , are,



d~0 = 0.027839643652561

0.000055679287305

The support reactions are,



F~ 0 = F1x

F1y

M1

F3x



M3 = 1000 5.0000

6.6899

0
f2y



m02 = 1000 8.3519

0.0046

0
f3y



m03 = 1000 8.3519

F3y

2.7840

5.0000

6.6899

2.7840

The forces in element one are,


 0
f (1) = f1x

0
f1y

m01

0
f2x

2.7840

8.3519

0.0046


0.0000

8.3519

0.0046


2.7840

The forces in element two are,


 0
f (2) = f2x

0
f2y

m02

0
f3x

0.0046

0.0000

Matlab code: Script


1

clear

all ;

close

all ;

clc ;

3 E = 30 E6 ; I = 5 0 0 ; A = 1 0 ; t h e t a 1 = a t a n ( 4 / 3 ) ; t h e t a 2 = 2 p i t h e t a 1 ;
( t h e t a 1 ) ; S2 = s i n ( t h e t a 2 ) ;
L = 6 0 0 ; L2 = 6 0 0 ;
5 c 1 = (AE) /L ; c 2 = (E I ) /L 3 ; c 1 l = (AE) / L2 ; c 2 l = (E I ) /L 3 ;
c 1 = (AE) /L ; c 2 = (E I ) /L 3 ; c 1 l = (AE) / L2 ; c 2 l = (E I ) / L2 3 ;
7
k1 = [ c 1 0 0 c 1 0 0 ;
9 0 12 c 2 6 c 2 L 0 12 c 2 6 c 2 L ;
0 6 c 2 L 4 c 2 L2 0 6 c 2 L 2 c 2 L 2 ;
11 c 1 0 0 c 1 0 0 ;
0 12 c 2 6 c 2 L 0 12 c 2 6 c 2 L ;
13 0 6 c 2 L 2 c 2 L2 0 6 c 2 L 4 c 2 L 2 ] ;

C1 = c o s ( t h e t a 1 ) ;

C2 = c o s ( t h e t a 2 ) ;

S1 = s i n

k2 = [ c 1 l 0 0 c 1 l 0 0 ;
0 12 c 2 l 6 c 2 l L2 0 12 c 2 l 6 c 2 l L2 ;
17
0 6 c 2 l L2 4 c 2 l L2 2 0 6 c 2 l L2 2 c 2 l L2 2 ;
c 1 l 0 0 c 1 l 0 0 ;
19 0 12 c 2 l 6 c 2 l L2 0 12 c 2 l 6 c 2 l L2 ;
0 6 c 2 l L2 2 c 2 l L2 2 0 6 c 2 l L2 4 c 2 l L2 2 ] ;
15

Problem 5.1 continued on next page. . .

Page 3 of 9

Matthew Lockwood

MER-516 Finite Element Method HW #6

Problem 5.1 (continued)

21
T1 = [ C1 S1 0 0 0 0 ;
S1 C1 0 0 0 0 ;
0 0 1 0 0 0;
25
0 0 0 C1 S1 0 ;
0 0 0 S1 C1 0 ;
27
0 0 0 0 0 1];
23

29 T2 = [ C2 S2 0 0 0 0 ;
S2 C2 0 0 0 0 ;
31
0 0 1 0 0 0;
0 0 0 C2 S2 0 ;
33
0 0 0 S2 C2 0 ;
0 0 0 0 0 1];
35
K1 = [ AC1 2 + ( ( 1 2 I ) /L 2 ) S1 2 (A((12 I )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) C2 S2 A S2 2 + ( ( 1 2 I ) /L 2 ) C22 ( ( 6 I ) /L ) C2 (A((12 I ) /L 2 ) ) C2 S2 (A S2 2 + ( ( 1 2 I ) /L 2 ) C2
2 ) ( ( 6 I ) /L ) C2 ;
51 0 0 0 ((6 I ) /L ) S2 ( ( 6 I ) /L ) C2 4 I ( ( 6 I ) /L ) S2 ((6 I ) /L ) C2 2 I ;
0 0 0 (AC2 2 + ( ( 1 2 I ) /L 2 ) S2 2 ) (A((12 I ) /L 2 ) ) C2 S2 ( ( 6 I ) /L ) S2 AC2 2 + ( ( 1 2 I ) /L 2 ) S2 2 (A((12 I ) /L 2 ) ) C2
S2 ( ( 6 I ) /L ) S2 ;
53 0 0 0 (A((12 I ) /L 2 ) ) C2 S2 (A S2 2 + ( ( 1 2 I ) /L 2 ) C2 2 ) ((6 I ) /L ) C2 (A((12 I ) /L 2 ) ) C2 S2 A S2 2 + ( ( 1 2 I ) /L 2 )
C22 ((6 I ) /L ) C2 ;
0 0 0 ((6 I ) /L ) S2 ( ( 6 I ) /L ) C2 2 I ( ( 6 I ) /L ) S2 ((6 I ) /L ) C2 4 I ] ;
55
K = K1 + K2
57 Fd = [ 1 0 0 0 0 ; 0 ; 0 ] ;
Kd = 1 0 0 0 [ 0 . 0 0 7 2
0.0000
0.0080;
59
0.0000
0.0128
0.0000
0.0080
0.0000
4.0000];
61 f o r m a t l o n g ;
Dd = ( L/E) Fd / Kd
63 f o r m a t s h o r t ;
D = [ 0 ; 0 ; 0 ; 0.027839643652561; 0 ; 0.000055679287305; 0 ; 0 ; 0 ] ;
65
Kf = [ 0 . 0 0 3 6
0.0048
0.0040
0.0036
0.0048
0.0040
0
0
0;
67
0.0048
0.0064
0.0030
0.0048
0.0064
0.0030
0
0
0;
0.0040
0.0030
2.0000
0.0040
0.0030
1.0000
0
0
0;
69
0
0
0
0.0036
0.0048
0.0040
0.0036
0.0048
0.0040;
0
0
0
0.0048
0.0064
0.0030
0.0048
0.0064
0.0030;
71
0
0
0
0.0040
0.0030
1.0000
0.0040
0.0030
2.0000];
73 F = ( ( E/L ) Kf 1 0 0 0 D)
d1 = [ 0 ; 0 ; 0 ; 0 . 0 2 7 8 3 9 6 4 3 6 5 2 5 6 1 ; 0 ; 0 . 0 0 0 0 5 5 6 7 9 2 8 7 3 0 5 ] ;
75 d2 = [ 0 . 0 2 7 8 3 9 6 4 3 6 5 2 5 6 1 ; 0 ; 0 . 0 0 0 0 5 5 6 7 9 2 8 7 3 0 5 ; 0 ; 0 ; 0 ] ;
f 1 = ( k1 T1 d1 )
77 f 2 = ( k2 T2 d2 )

Page 4 of 9

Matthew Lockwood

MER-516 Finite Element Method HW #6

Problem 5.3
For the rigid stairway frame shown in Figure P5-3, determine (1) the displacements at node 2, (2) the
support reacions, and (3) the local nodal forces acting on each element. Draw the bending moment diagram
for the whole frame. Remember that the angle between elements 1 and 2 is preserved as deformation takes
places. What size A36 steel channel section would be needed to keep the allowable bending stress less than
two-thirds of the yield stress? (For A36 steel, the yield stress is 36,000 psi.)
The channel section required to keep the allowable bending stress less than two-thirds of the yield
stress is 6 8.2 based on Mmax = 106,900 lbin.
The global stiffness matrix, K is,

The displacements at nodes 2 and 3, d~2,3 , are,



d~0 = 0

0.4030

0.0066

0.0000

0.4030

0.0066

The support reactions are,


F~ 0 = F1x

F1y

M1

F4x

F4y



M4 = 100, 000 0

0.0202

1.0756

0.0202

0
f2y



m02 = 100, 000 0

0.0202

1.0755

0.0202

0
f3x

0
f3y

1.0756

The forces in element one are,


 0
f (1) = f1x

0
f1y

m01

0
f2x


0.3790

The forces in element two are,


 0
f (2) = f2x

0
f2y

m02



m03 = 10, 000 0

3.6937

0.0202

0.3790

0.0202

3.6937

The forces in element three are,


 0
f (3) = f3x

0
f3y

m03

0
f4x

0
f4y



m04 = 100, 000 0

Problem 5.3 continued on next page. . .


1.0755

Page 5 of 9

Matthew Lockwood

MER-516 Finite Element Method HW #6

Problem 5.3 (continued)

Matlab code: Script


1

clear

all ;

close

all ;

clc ;

3 E = 29 E6 ; I = 1 3 . 1 ; A = 2 . 4 ; t h e t a 1 = 0 ; t h e t a 2 = 2 p i a t a n ( 1 ) ; C1 = c o s ( t h e t a 1 ) ;
) ; S2 = s i n ( t h e t a 2 ) ;
L = 7 2 ; L2 = ( 4 / 3 ) s q r t ( 2 ) 7 2 ;
5 c 1 = (AE) /L ; c 2 = (E I ) /L 3 ; c 1 l = (AE) / L2 ; c 2 l = (E I ) /L 3 ;
c 1 = (AE) /L ; c 2 = (E I ) /L 3 ; c 1 l = (AE) / L2 ; c 2 l = (E I ) / L2 3 ;
7
k1 = [ c 1 0 0 c 1 0 0 ;
9 0 12 c 2 6 c 2 L 0 12 c 2 6 c 2 L ;
0 6 c 2 L 4 c 2 L2 0 6 c 2 L 2 c 2 L 2 ;
11 c 1 0 0 c 1 0 0 ;
0 12 c 2 6 c 2 L 0 12 c 2 6 c 2 L ;
13 0 6 c 2 L 2 c 2 L2 0 6 c 2 L 4 c 2 L 2 ] ;

C2 = c o s ( t h e t a 2 ) ;

S1 = s i n ( t h e t a 1

k2 = [ c 1 l 0 0 c 1 l 0 0 ;
0 12 c 2 l 6 c 2 l L2 0 12 c 2 l 6 c 2 l L2 ;
17
0 6 c 2 l L2 4 c 2 l L2 2 0 6 c 2 l L2 2 c 2 l L2 2 ;
c 1 l 0 0 c 1 l 0 0 ;
19 0 12 c 2 l 6 c 2 l L2 0 12 c 2 l 6 c 2 l L2 ;
0 6 c 2 l L2 2 c 2 l L2 2 0 6 c 2 l L2 4 c 2 l L2 2 ] ;
21
T1 = [ C1 S1 0 0 0 0 ;
23
S1 C1 0 0 0 0 ;
0 0 1 0 0 0;
25
0 0 0 C1 S1 0 ;
0 0 0 S1 C1 0 ;
27
0 0 0 0 0 1];
15

29 T2 = [ C2 S2 0 0 0 0 ;
S2 C2 0 0 0 0 ;
31
0 0 1 0 0 0;
0 0 0 C2 S2 0 ;
33
0 0 0 S2 C2 0 ;
0 0 0 0 0 1];
35
K1 = [ AC1 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
79
0.2171
0.8746
80.1893
0.6387
0.6341
0.2171
81
0.6341
0.6387
0.2171
0.2171
0.2171
13.8946
83 Dd = ( ( L/E) Fd / Kd)

0.6387
0.6341
0.2171
3.0387
0.6341
0.2171

Problem 5.3 continued on next page. . .

0.6341
0.6387
0.2171
0.6341
0.6690
0.8746

0.2171;
0.2171;
13.8946;
0.2171;
0.8746;
80.1893];

Page 6 of 9

Matthew Lockwood

D = [0;

0;

0;

MER-516 Finite Element Method HW #6

0.4030

0;

0.0066

0.0000

0.4030;

0.0066;

0;

0;

Problem 5.3 (continued)

0];

85
Kf = [ 2 . 4 0 0 0
87

89

0;
0.0303

1.0917
0

93
95
97

0
1.0917
0;
52.4000
0;
0

2.4000

0.0303

1.0917

1.0917

26.2000

0
0
0
0;
0
0
0
0
1.0917;
0
0
0
0
0
52.4000];
F = ( ( E/L ) Kf D)
d1 = [ 0 ; 0 ; 0 ; 0 ;
0.4030 ;
0.0066];
d2 = [ 0 ;
0.4030;
0.0066;
0.0000;
0.4030;
d3 = [ 0 . 0 0 0 0 ;
0.4030;
0.0066; 0; 0; 0 ] ;
f 1 = ( k1 T1 d1 )
f 2 = ( k2 T2 d2 )
f 3 = ( k1 T1 d3 )
0

91

2.4000

2.4000

0.0303

1.0917

0.0303

1.0917

26.2000

1.0917

0.0066];

Page 7 of 9

Matthew Lockwood

MER-516 Finite Element Method HW #6

Problem 5.11
For the rigid frame shown in Figure P5-11, determine the displacements and rotations of the nodes, the
element forces, and the reactions. The values of E, A, and I to be used are listed next to each figure.
I exploited symmetry to solve this problem. The given structure is symmetric along the y-axis at
node 2. The applied force is halved; Fapplied = -10,000 N. The global stiffness matrix for the two node system
is, K is,

0.0109
0.0143 0.0003 0.0109 0.0143 0.0003
0.0143
0.0193
0.0002 0.0143 0.0193 0.0002

0.0012
0.0003 0.0002 0.0006
0.0003 0.0002
K=

0.0109 0.0143 0.0003


0.0109
0.0143
0.0003

0.0143 0.0193 0.0002 0.0143


0.0193 0.0002
0.0003 0.0002
0.0006
0.0003 0.0002 0.0012
The displacements, , are,

d~0 = 0

0.00003720

The forces are,



F~ 0 = F1x

F1y

M1

F2x

F2y



23 = 10, 000 0.7464

1.0027

0.0112

0.7464

1.0027


0.0112

0
f2x

0
f2y



m02 = 10, 000 1.2500

0.0045

0.0112

1.2500

0.0045


0.0112

The element forces are,


 0
f (1) = f1x

0
f1y

m01

Matlab code: Script


clear

all ;

close

all ;

clc ;

2
4

E = 70 E9 ; I = 3E4; A = 3E2;
c 1 = (AE) /L ; c 2 = (E I ) /L 3 ;

theta1 = atan ( 4 / 3 ) ;

C1 = c o s ( t h e t a 1 ) ;

S1 = s i n ( t h e t a 1 ) ;

L = 5;

k1 = [ c 1 0 0 c 1 0 0 ;
0 12 c 2 6 c 2 L 0 12 c 2 6 c 2 L ;
0 6 c 2 L 4 c 2 L2 0 6 c 2 L 2 c 2 L 2 ;
c 1 0 0 c 1 0 0 ;
10 0 12 c 2 6 c 2 L 0 12 c 2 6 c 2 L ;
0 6 c 2 L 2 c 2 L2 0 6 c 2 L 4 c 2 L 2 ] ;
12
T1 = [ C1 S1 0 0 0 0 ;
14
S1 C1 0 0 0 0 ;
0 0 1 0 0 0;
16
0 0 0 C1 S1 0 ;
0 0 0 S1 C1 0 ;
18
0 0 0 0 0 1];
6
8

20 K1 = [ AC1 2 + ( ( 1 2 I ) /L 2 ) S1 2 (A((12 I ) /L 2 ) ) C1 S1 ((6 I ) /L ) S1 (AC1 2 + ( ( 1 2 I ) /L 2 ) S1 2 ) (A((12 I ) /L 2 ) )


C1 S1 ((6 I ) /L ) S1 ;
(A((12 I ) /L 2 ) ) C1 S1 A S1 2 + ( ( 1 2 I ) /L 2 ) C12 ( ( 6 I ) /L ) C1 (A((12 I ) /L 2 ) ) C1 S1 (A S1 2 + ( ( 1 2 I ) /L 2 ) C1 2 )
( ( 6 I ) /L ) C1 ;
22 ((6 I ) /L ) S1 ( ( 6 I ) /L ) C1 4 I ( ( 6 I ) /L ) S1 ((6 I ) /L ) C1 2 I ;
(AC1 2 + ( ( 1 2 I ) /L 2 ) S1 2 ) (A((12 I ) /L 2 ) ) C1 S1 ( ( 6 I ) /L ) S1 AC1 2 + ( ( 1 2 I ) /L 2 ) S1 2 (A((12 I ) /L 2 ) ) C1 S1
( ( 6 I ) /L ) S1 ;
24 (A((12 I ) /L 2 ) ) C1 S1 (A S1 2 + ( ( 1 2 I ) /L 2 ) C1 2 ) ((6 I ) /L ) C1 (A((12 I ) /L 2 ) ) C1 S1 A S1 2 + ( ( 1 2 I ) /L 2 ) C12
((6 I ) /L ) C1 ;
((6 I ) /L ) S1 ( ( 6 I ) /L ) C1 2 I ( ( 6 I ) /L ) S1 ((6 I ) /L ) C1 4 I ]
26
Dd = 1 0 0 0 0 / ( (E/L ) A S1 2 + ( ( 1 2 I ) /L 2 ) C1 2 ) ;
28 D = [ 0 ; 0 ; 0 ; 0 ; Dd ; 0 ]
Kf = [ AC1 2 + ( ( 1 2 I ) /L 2 ) S1 2 (A((12 I ) /L 2 ) ) C1 S1 ((6 I ) /L ) S1 (AC1 2 + ( ( 1 2 I ) /L 2 ) S1 2 ) (A((12 I ) /L 2 ) )
C1 S1 ((6 I ) /L ) S1 ;
30 (A((12 I ) /L 2 ) ) C1 S1 A S1 2 + ( ( 1 2 I ) /L 2 ) C12 ( ( 6 I ) /L ) C1 (A((12 I ) /L 2 ) ) C1 S1 (A S1 2 + ( ( 1 2 I ) /L 2 ) C1 2 )
( ( 6 I ) /L ) C1 ;
((6 I ) /L ) S1 ( ( 6 I ) /L ) C1 4 I ( ( 6 I ) /L ) S1 ((6 I ) /L ) C1 2 I ;
32 (AC1 2 + ( ( 1 2 I ) /L 2 ) S1 2 ) (A((12 I ) /L 2 ) ) C1 S1 ( ( 6 I ) /L ) S1 AC1 2 + ( ( 1 2 I ) /L 2 ) S1 2 (A((12 I ) /L 2 ) ) C1 S1
( ( 6 I ) /L ) S1 ;

Problem 5.11 continued on next page. . .

Page 8 of 9

Matthew Lockwood

((6 I ) /L ) S1

( ( 6 I ) /L ) C1 2 I

MER-516 Finite Element Method HW #6

( ( 6 I ) /L ) S1

Problem 5.11 (continued)

((6 I ) /L ) C1 4 I ] ;

34
36

F = ( ( E/L ) Kf D)
f 1 = ( k1 T1D)

Page 9 of 9

Das könnte Ihnen auch gefallen