Вы находитесь на странице: 1из 14

Structural Dynamics

HW # 06

04/28/2015

Student ID: 20145189


Name: Rith Makara

CONTENT
Content................................................................................................................................................1
Lists Of Figures And Table................................................................................................................1
Chapter 1 Solution Strategies.........................................................................................................2
1.1 Introduction............................................................................................................................2

1.2 NewmarkS Linear-Acceleration Method..............................................................................2


1.3 MATLAB Calculation............................................................................................................2
1.3.1 General Information....................................................................................................2
1.3.2 Manual For Calculation...............................................................................................3
Chapter 2 Results Of The Final Response Of The Structural System.......................................4
Annex MATLAB Codes..................................................................................................................4
Annex 1.1 Newmark_Linear.m.................................................................................................5
Annex 1.2 Northridge.m............................................................................................................5
Annex 1.3 Data_Input.m.........................................................................................................11
Annex 1.4 Calculation.m.........................................................................................................12

LISTS OF FIGURES AND TABLE


Figure 1 Responses of the Water Tower to the Northridge Earthquake in 1997...............................4
Table 1 Summary of Maximum value of relative responses.............................................................4

Homework #6
by

Rith Makara

CHAPTER 1 SOLUTION STRATEGIES


1.1 Introduction
The problem is to determine the relative responses of the water tower subjected to the
By

Rith Makara

Northridge Earthquake ground motion in 1997, Beverly Hills, USA. The relative responses are:
relative displacement of the tower with respect to the ground, relative velocity and relative
acceleration based on the numerical solution, Newmarks Linear-acceleration method.
1.2 Newmarks Linear-acceleration method
The responses of the structural system can be determined as following:
Displacement Response

6m 3c
m
c
t
+ +k ui+1= p i+1+ 2 [ 6 u i+ 6 u i t+2 u i t 2 ] +
3 ui +2 u i t+
ui
2
t
2
t t
t

Velocity Response

u i+1 =

t
3
u i2 u i + ( ui +1ui )
2
t

Acceleration Response

t 6
u i+1 = ui+1 uiu i t
u
3 i t2
1.3 MATLAB Calculation
1.3.1 General Information
The numerical solution of Newmark is solved in MATLAB software. The results of relative
responses of the structural system are plotted in the figure window and the command windows. In
this calculation, the 4 different files:
newmark_linear.m This file contains the codes to solve the dynamic response of the
structural system based on the Linear-acceleration method. The function is called
newmark_linear(M,C,K,f,dt,Xi,Xdi,Xddi) where: [Annex 1.1]
M Mass of the structure, [kips.sec2/in]
C Damping Coefficient, [kips.sec/in]
K Stiffness of structure, [kips/in]
f Vector of applied force at each time (Ground Motion), [kips]
dt Time Stepping Increment, [sec]

By

Rith Makara

Xi Initial displacement of the structure at t = 0 sec


Xdi Initial velocity of the structure at t = 0 sec
Xddi Initial acceleration of the structure at t = 0 sec
northridge.m This file contains the earthquake records of Northridge, Beverly, USA in
1997. The record is the acceleration of the ground motion. The initial conditions are also
included. The time stepping increment is 0.02 sec. Moreover, the acceleration of ground
motion is stored in the matrix Acc_Ground_Raw. The matrix data is read row by row
and the first value is at 0.02 sec. The initial acceleration at t = 0 is zero. [Annex 1.2]
data_input.m This file contains the structural properties such as mass, stiffness,
damping ratio, damping coefficient, natural frequency [rad/sec], period frequency [sec],
natural frequency [Hz] and it also calls the file containing the Earthquake data
(northridge.m). [Annex 1.3]
calculation.m This file contains the codes to solve the problem by calling the function
of Newmarks Linear-acceleration method. After the it finishes its calculation process, the
results of relative displacement, relative velocity and relative acceleration of the structural
system will be shown in the Command Window of the MATLAB which the first column is
the time in [sec], second column is displacement in [in], third column is velocity in [in/sec]
and the last column is acceleration in [in/sec2]. The graphical responses also appear in the
Figure Window of MATLAB. [Annex 1.4]
1.3.2 Manual for calculation
1

Input the earthquake record (i.e. Acceleration of ground motion) as in northridge.m.

Input the Structural Properties in the data_input.m.

Press F5 or click Run in data_input.m.

The results show in Figure Window and Command Window of MATLAB.

CHAPTER 2 RESULTS OF THE FINAL RESPONSE OF THE


STRUCTURAL SYSTEM
By

Rith Makara

Figure 1 Responses of the Water Tower to the Northridge Earthquake in 1997

Table 1 Summary of Maximum value of relative responses


N

Relative Response

Times [sec]

Max. Value

Displacement, [in]

10.8

-11.31385

Velocity, [in/sec]

10.62

-96.0693

Acceleration, [g]

10.8

2.55812

ANNEX MATLAB CODES


Annex 1.1 newmark_linear.m
%Newmark Linear Acceleration Method
%by Rith Makara
%2015

By

Rith Makara

function [X,Xd,Xdd] = newmark_linear(M,C,K,f,dt,Xi,Xdi,Xddi)


%===================================================================
% M = Mass
% C = Damping
% K = Stiffness
% f = Excitation Force
% dt = Time Stepping Increment
% Xi = Initial Displacement
% Xdi = Initial Velocity
% Xddi = Initial Acceleration
%Calculation
%Displacement Response:
X = (f+(M/dt^2)*(6*Xi+6*Xdi*dt+2*Xddi*dt^2)+
(C/dt)*(3*Xi+2*Xdi*dt+0.5*dt^2*Xddi))/((6*M/dt^2)+(3*C/dt)+K);
%Velocity Response:
Xd = (-dt*0.5*Xddi)+(-2*Xdi)+(3*(X-Xi)/dt);
%Acceleration Response:
Xdd = (6/dt^2)*(X-Xi-Xdi*dt-(dt^2*Xddi/3));

Annex 1.2 northridge.m


%====================================
% Earthquake Data in "Northridge"
%====================================
% by Rith Makara
% 2015
%
% This data is the Acceleration of ground motion.
%
% Note:
%
- The data is read row by row.
%
- The first value is at t = 0.02.
%
- Acceleration at t=0 is zero.
%
- The length unit is in cm must be converted to in.
%
=> 1cm = 1/2.54 in.
%
% Initial Condition
Xi = -0.466/2.54;
% Displacement at t=0, [cm]
Xdi = -2.103/2.54; % Velocity at t=0, [cm/sec]
Xddi = 0; % Acceleration at t=0, [cm/sec2]
% Time Increment
dt = 0.02; % in [sec]
% Acceleration of the ground motion
Acce_Ground_Raw = [
6.631
3.507
-.268
-1.836
-1.490
1.413
-1.058
1.669
-12.282
-3.280
-12.029
-6.913
32.806
23.401
-15.683
-15.219
2.795
-.868
-23.312
-22.668
36.790
12.630
-17.251
-14.937
-23.042
9.566
6.434
-11.687
50.788
56.771
39.988
8.471
-32.509
-2.944
30.007
34.488
-3.467
-12.177
-1.120
-9.885
3.131
28.972
30.817
5.910

By

Rith Makara

1.628

1.105

.426

.239

11.676
6.389
8.594
-3.011
21.762
-13.133
-17.859
14.554
-11.577
.192

11.498
2.310
3.664
14.520
6.732
1.484
-31.123
17.979
20.501
21.992

-.292
-5.904
-15.019
30.337
-37.137
17.164
-19.605
34.052
35.997
24.779

-16.718
9.685
-12.219
39.065
-48.789
31.773
-24.157
26.806
6.747
6.046

-21.194
25.448
-31.603
-19.721
-2.566
-55.401
-34.748
20.347
-23.832
-86.420
-114.914
134.045
-245.879
-237.658
219.397
195.322
-122.258
221.070
-147.465
-15.222
118.130
31.456
-51.019
-62.716
34.407
14.391
-40.444
-46.961
-100.088
-273.764
231.317
270.463
181.198
15.442
66.910
-101.301
30.590
-241.988
-88.293
7.433
-106.134
-66.614
95.167
157.993
-5.619
-45.419
61.016
93.041
-87.235
-78.390
7.921
-21.874
-74.873
101.775
-23.787
-37.818
-74.731
-47.360
44.569
57.925
71.615
-10.430
32.461
-53.647

By

-16.333
.806
-19.700
-9.670
15.854
-38.923
-48.361
7.701
-17.179
-111.259
-51.642
151.540
-319.399
-251.012
241.161
36.985
1.576
106.817
-92.114
9.398
104.211
-74.293
-58.499
-115.771
33.554
8.590
-23.334
-75.950
-146.983
-234.439
265.072
264.361
51.682
-21.986
48.370
-84.217
-24.429
-217.195
-97.396
11.098
-164.682
-7.617
69.473
178.708
-7.166
-80.424
100.168
44.138
-96.663
-77.269
-3.370
-10.216
-71.776
93.464
-11.420
-50.611
-48.095
-66.148
46.268
50.306
73.004
-13.602
55.226
-63.831

Rith Makara

-9.682
-15.054
41.819
24.702
32.333
12.643
-56.144
10.663
-17.810
-149.117
14.999
154.017
-259.345
-262.776
364.465
-31.164
107.674
14.893
-65.983
75.679
92.810
-121.512
-74.379
-173.413
10.266
-33.850
-23.274
-102.980
-210.587
-146.178
324.970
234.916
-26.918
-61.879
11.697
-30.177
-82.942
-100.152
-81.402
19.958
-190.848
38.709
59.580
184.526
14.434
-108.821
121.680
-18.689
-89.461
-56.662
7.442
-5.083
-56.920
78.765
-3.311
-65.949
-19.411
-76.433
41.195
37.321
61.029
-7.481
80.286
-61.064

-30.831
-25.989
33.823
33.988
31.102
29.613
-15.885
8.118
-20.604
-176.432
63.970
136.620
-177.312
-271.101
522.455
-87.099
126.812
-105.565
13.269
105.576
125.016
-114.386
-79.314
-196.697
-22.609
-93.350
-16.422
-124.318
-245.826
-52.684
383.159
199.091
-56.998
-75.936
-16.879
48.332
-131.043
18.533
-24.911
37.354
-194.339
71.243
70.973
155.867
33.735
-132.197
145.655
-57.320
-70.490
-19.798
12.980
-12.053
-27.742
64.789
-.038
-82.923
8.058
-69.868
46.303
-2.527
46.098
1.471
94.228
-51.798

-46.281
-18.055
-23.018
-25.627
21.012
20.582
29.617
-10.295
-33.637
-195.400
75.111
94.194
-164.663
-200.768
592.639
-160.401
114.541
-168.170
113.466
100.364
208.272
-87.929
-78.996
-213.409
-69.772
-118.480
8.492
-140.198
-270.141
28.303
407.198
195.612
-61.628
-69.944
-32.755
86.500
-164.972
77.551
23.556
58.334
-184.484
88.355
87.223
111.171
37.623
-143.777
165.761
-71.721
-60.096
16.526
2.394
-23.855
5.587
54.647
3.549
-97.283
30.059
-48.337
59.866
-41.297
26.979
9.603
92.178
-42.406

24.774
15.471
-.710
-25.844
28.228
5.350
62.503
-18.686
-63.799
-205.543
78.128
23.983
-176.006
57.735
530.561
-160.738
155.548
-188.051
122.523
92.705
319.066
-83.921
-69.738
-204.258
-83.993
-125.363
20.750
-138.212
-283.844
99.574
401.323
249.059
-46.141
-34.505
-55.714
102.673
-188.538
86.274
32.266
65.644
-170.491
95.837
105.349
73.722
27.086
-133.292
172.114
-73.808
-61.262
41.795
-16.398
-35.965
36.743
37.828
4.718
-110.416
39.990
-18.820
70.583
-48.784
9.119
14.239
63.367
-30.351

55.871
42.646
58.469
-10.466
50.301
-14.359
61.005
-3.667
-70.541
-194.262
86.390
-49.854
-204.756
237.388
387.353
-146.940
253.640
-197.387
82.688
103.684
343.108
-97.082
-61.937
-86.420
-64.863
-109.392
8.536
-115.221
-292.593
165.351
344.396
307.808
-9.431
21.057
-84.084
93.390
-213.553
40.527
25.409
58.458
-155.539
104.996
120.794
39.677
10.774
-93.688
160.597
-72.536
-64.301
48.709
-29.278
-53.583
68.662
7.699
-6.515
-113.412
27.175
13.105
74.544
-10.411
-4.685
17.818
8.333
-13.411

27.659
1.175
28.386
-17.184
12.622
-21.573
33.362
-14.729
-71.257
-165.674
110.699
-141.404
-224.208
250.180
257.495
-131.187
295.395
-177.969
21.892
121.915
188.524
-73.189
-53.481
11.763
-9.340
-77.453
-18.186
-99.537
-285.135
203.626
289.029
291.271
16.821
58.035
-103.067
65.670
-228.202
-40.596
12.892
-5.703
-124.959
110.326
134.818
15.792
-13.177
-17.634
132.685
-77.302
-70.576
33.274
-30.490
-67.776
93.249
-20.255
-23.807
-97.492
-12.085
33.744
66.786
48.026
-8.703
21.137
-33.141
4.422

20.774
2.293
13.784
13.678
9.882
18.104
-23.072
-2.622
9.560
-45.875
7.895
-4.182
4.369
-11.129
-10.561
-8.235
24.566
23.386
-15.997
-44.800
-19.079
-26.824
27.115
-9.493
7.069
47.122
-13.413
-5.656
2.494
-5.264
6.986
-13.488
5.685
3.244
-7.340
-11.306
3.088
-8.308
-6.164
17.928
-23.076
32.365
-14.734
-4.695
1.609
-9.828
.753
-3.197
30.105
11.474
-2.897
17.067
8.611
-.766
-1.896
-23.392
-6.178
-2.195
10.485
18.622
-.051
3.277
-14.959
-7.961

By

33.459
-5.840
3.025
16.722
17.492
10.808
-21.149
-.059
2.290
-52.963
5.652
-7.775
.606
-9.060
-16.586
1.271
11.724
29.531
-21.936
-28.386
-31.982
-28.121
31.694
-15.415
5.327
52.994
-16.038
3.352
9.708
-19.046
25.292
-16.487
.745
11.513
-10.280
-10.151
-3.281
2.796
2.227
19.988
-19.565
35.257
-9.056
.790
6.950
-9.083
1.383
-10.752
30.672
7.799
.883
13.705
5.556
4.710
-4.476
-17.858
-9.884
-13.592
7.967
16.044
-6.133
5.452
-18.702
-5.154

Rith Makara

37.094
-14.676
-11.713
13.888
20.481
-1.352
-17.834
5.807
-4.043
-56.927
1.738
-7.935
2.364
4.442
-21.740
10.161
2.455
32.646
-22.169
-9.394
-38.200
-25.884
31.484
-17.369
1.032
49.420
-12.222
12.597
19.609
-27.029
38.371
-14.940
-1.170
21.111
-10.150
-7.873
-13.397
8.327
9.423
14.944
-18.787
27.817
2.447
5.812
7.400
-6.926
-.764
-17.665
26.108
5.826
5.106
6.350
-.432
6.483
-10.337
-14.644
-16.112
-20.310
6.002
12.379
-10.525
5.400
-15.410
-7.571

28.165
-16.569
-24.086
6.899
24.386
-17.203
-14.884
5.645
-9.169
-55.294
-.149
-6.243
8.336
19.164
-20.896
19.944
3.078
32.309
-22.226
6.504
-34.175
-20.359
25.028
-13.856
-2.012
40.585
-10.317
16.007
25.458
-33.042
42.770
-9.203
-1.237
25.368
-6.948
-2.632
-23.568
5.628
13.179
3.461
-15.540
12.522
11.920
5.934
6.230
-6.416
-.961
-20.416
22.642
3.998
9.625
-2.554
-5.992
3.604
-16.911
-14.285
-17.533
-16.533
5.482
9.389
-11.453
4.122
-11.180
-15.521

17.473
-17.083
-21.727
-.500
26.395
-30.768
-12.047
.183
-13.885
-44.673
-1.526
-2.815
12.784
24.206
-13.931
27.640
11.385
32.918
-24.645
12.494
-25.268
-12.924
17.006
-6.312
1.333
30.536
-8.719
10.717
27.675
-39.722
36.878
-3.309
-1.404
25.046
-4.024
1.068
-30.573
-1.019
17.580
-10.766
-7.832
-.700
12.029
-1.381
3.782
-9.407
-.788
-13.781
24.925
1.669
12.662
-9.007
-10.212
-2.020
-21.316
-14.734
-10.791
-9.031
7.745
9.161
-11.329
4.316
-6.644
-18.153

11.476
-14.391
-11.227
-3.254
28.379
-40.290
-3.917
-3.008
-20.152
-25.070
-2.528
1.425
16.074
14.575
-8.571
33.363
15.184
29.184
-33.261
9.157
-19.945
-2.423
10.062
-.484
10.834
22.110
-6.688
2.764
25.839
-41.835
23.530
1.655
-1.678
17.410
-7.153
4.140
-33.965
-7.096
18.362
-23.334
1.235
-5.602
4.033
-10.771
-.536
-12.147
1.409
.112
24.852
-.398
14.202
-8.090
-11.487
-5.083
-25.170
-15.435
.064
-1.530
13.970
8.743
-10.636
3.065
-5.169
-18.318

7.604
-3.513
-1.234
.236
29.027
-38.893
.520
2.704
-28.421
-5.901
-2.205
7.422
10.495
3.102
-8.126
35.554
15.126
17.574
-43.153
2.535
-19.366
8.928
1.911
2.938
23.032
11.978
-6.398
-.593
20.358
-32.211
7.662
5.429
-3.964
6.368
-9.665
4.048
-30.851
-12.021
15.192
-28.730
12.530
-9.119
-4.157
-13.297
-5.901
-9.143
1.783
14.079
22.117
-.813
13.738
-.510
-10.119
-3.162
-28.340
-13.264
7.073
5.368
19.275
6.725
-6.953
.790
-8.754
-17.830

5.453
10.774
6.680
4.495
24.305
-28.943
-.738
9.785
-37.281
6.364
-2.252
8.461
-.998
-5.494
-10.583
32.862
17.608
.780
-48.820
-7.252
-22.580
19.514
-3.846
4.902
35.954
-1.962
-7.935
.303
10.120
-14.059
-5.059
7.765
-2.309
-1.646
-11.893
4.296
-20.420
-11.991
15.148
-27.077
22.805
-12.987
-6.989
-7.609
-9.097
-4.784
1.417
24.855
17.529
-3.379
15.499
6.183
-6.592
-.808
-27.538
-9.207
5.818
9.620
20.349
4.916
-1.298
-5.101
-10.216
-15.005

-11.441
-15.521
22.244
28.826
-8.543
10.950
16.679
-7.209
-1.950
-3.727
-6.181
-7.437
11.944
6.075
-5.863
-7.035
4.664
12.123
4.769
3.536
-29.749
6.738
6.918
-3.254
2.411
-1.633
5.930
20.364
-18.545
-8.832
-1.732
7.953
13.762
.640
-9.676
1.812
-10.592
14.755
9.682
9.192
-1.895
-2.092
-1.831
-4.822
-1.085
-7.937
-7.641
-.570
4.184
-4.369
-2.560
-3.045
9.917
8.456
-.092
-3.093
-6.939
-2.844
8.391
1.446
3.341
1.699
-7.359
4.808

By

-8.546
-10.192
19.856
29.710
-3.495
16.657
12.039
-8.789
-2.915
1.722
-12.429
-28.817
7.320
1.928
-9.150
-4.904
6.881
6.166
4.438
7.726
-23.901
7.659
7.825
-7.949
-3.938
-3.886
4.343
16.018
-23.069
-12.002
1.221
8.500
14.959
2.721
-9.122
.342
-10.586
14.261
12.239
14.218
-1.896
.627
-2.122
-5.307
-2.368
-8.186
-9.028
1.788
2.922
-4.155
-4.019
-2.505
11.180
6.113
-1.151
-3.468
-7.796
-.614
5.807
3.568
4.337
-1.166
-8.288
6.156

Rith Makara

-10.076
-3.770
16.516
21.548
5.116
19.119
2.611
-9.642
-1.084
9.927
-19.446
-30.300
1.880
3.065
-16.090
-1.682
10.045
-.923
2.595
7.359
-16.140
5.545
10.685
-12.241
-8.536
-7.029
8.142
10.587
-22.916
-12.141
1.977
7.578
11.661
5.258
-9.492
-1.018
-8.744
12.575
12.475
13.109
-3.417
1.761
-4.170
-5.526
-3.167
-8.489
-10.692
4.806
3.046
-3.445
-7.045
-3.016
12.217
6.343
-2.042
-4.123
-7.768
1.783
3.404
5.290
4.753
-3.142
-6.800
6.606

-15.259
2.338
13.906
15.936
12.373
20.304
-7.032
-11.185
-1.260
14.754
-25.854
-14.236
4.014
2.607
-22.152
1.429
15.386
-5.078
-.540
2.406
-11.153
4.879
14.416
-14.849
-11.196
-7.216
15.308
5.022
-18.273
-10.267
2.448
7.431
7.424
4.719
-9.109
-1.928
-5.087
10.587
10.738
9.267
-6.979
1.344
-7.110
-6.140
-2.733
-10.402
-8.308
4.967
2.786
-2.425
-7.828
-4.487
10.538
8.107
-3.319
-3.913
-6.957
3.074
.918
7.495
3.827
-3.709
-3.649
8.146

-17.940
5.453
14.269
11.937
17.098
19.024
-14.528
-10.151
-3.852
13.214
-16.961
-1.943
8.678
3.498
-24.069
2.779
17.653
-3.867
-1.867
-2.264
-9.335
3.445
15.178
-12.192
-10.612
-4.383
20.464
3.616
-12.755
-8.929
2.718
9.245
2.709
.777
-9.880
-4.512
-1.650
7.924
7.430
5.405
-8.319
.998
-9.268
-6.047
-3.566
-9.895
-7.951
6.099
4.119
-.596
-6.543
-2.560
10.725
9.389
-5.285
-2.218
-5.732
4.513
-.150
5.414
3.262
-4.581
-1.706
9.681

-16.756
10.616
16.358
3.820
14.110
17.681
-15.262
-6.734
-5.204
8.315
.978
9.550
12.808
5.002
-18.357
4.168
13.287
.989
-1.948
-8.905
-10.016
6.681
10.802
-5.788
-9.554
.652
24.350
3.774
-6.753
-7.055
.810
11.733
-2.083
-4.681
-7.840
-6.984
2.978
6.669
5.690
2.237
-7.827
1.961
-7.277
-4.659
-4.467
-10.788
-4.282
7.315
3.381
-1.302
-5.417
2.455
13.408
6.897
-4.594
-.019
-3.118
7.159
-1.017
5.102
.895
-5.401
-.185
11.555

-18.171
17.386
18.409
-6.632
10.640
18.128
-9.901
-4.901
-7.952
1.750
17.831
13.682
12.217
4.897
-10.864
3.703
11.329
4.511
-3.666
-17.175
-5.229
9.715
6.839
.070
-6.799
5.789
25.053
-3.258
-2.690
-4.616
2.465
12.136
-3.867
-6.965
-3.533
-11.392
6.837
5.837
5.091
2.146
-8.140
2.284
-5.679
-2.863
-6.966
-8.452
-2.033
7.731
-.258
-.749
-4.384
5.206
13.641
3.297
-2.532
-.637
-2.047
8.437
-.174
4.788
-.674
-8.107
1.257
11.881

-18.088
21.217
22.545
-10.167
7.580
18.393
-7.740
-2.558
-5.563
-2.948
12.798
14.023
9.763
-.666
-7.637
2.859
12.173
4.894
-.844
-24.634
1.353
8.180
1.841
3.572
-2.243
8.615
22.791
-13.188
-3.990
-3.484
5.102
12.712
-2.367
-8.655
.411
-12.910
10.521
7.249
5.867
-.839
-6.283
-.287
-4.592
-1.797
-7.812
-8.032
-.925
6.024
-2.704
-.944
-3.221
7.634
11.175
1.523
-1.549
-5.080
-2.569
9.551
.063
2.885
.670
-8.876
3.258
12.853

13.058
-7.789
-2.149
2.755
-5.665
-.968
4.057
6.544
3.948
3.775
4.716
-3.134
-3.902
-7.393
-9.405
-3.085
7.795
-.672
.416
.119
2.534
-3.099
-2.148
-2.653
-1.439
8.326
-2.584
6.922
7.698
-8.556
2.332
-1.680
-3.464
-.087
-.994
-3.889
4.289
.939
1.329
2.200
-3.690
1.288
-.507
.042
2.342
-1.436
-1.952
-.945
2.273
2.095
3.356
5.412
-1.856
-1.275
-6.140
3.869
-2.313
-1.422
3.644
-.860
-.189
1.033
-7.740
-3.576

By

Rith Makara

10.691
-5.966
-3.591
2.109
-3.300
.675
1.209
3.925
4.842
6.073
3.624
-2.370
-4.836
-8.175
-7.569
-2.882
10.533
-4.128
-.341
-.664
1.853
-3.226
-2.364
-3.862
.586
7.529
.560
7.639
6.289
-7.420
.169
-.860
-7.336
1.068
-1.567
-3.489
4.785
-.775
2.908
3.949
-2.104
2.313
-1.788
-.123
3.169
-3.457
-2.135
-2.474
-1.667
.881
2.602
6.530
-1.678
1.774
-3.233
4.380
-2.258
-.968
1.659
-2.336
1.456
.514
-8.042
-2.190

6.612
-4.843
-5.259
-.353
1.026
-.423
-1.432
1.689
5.395
7.441
1.620
-2.860
-4.425
-6.859
-6.230
-3.884
9.431
-6.669
-.547
1.730
-.549
-3.345
-1.972
-5.602
2.911
5.050
1.281
8.112
5.641
-6.318
-.051
.581
-6.713
.696
-.921
-2.030
5.314
-1.442
2.562
3.668
-1.588
2.568
-2.149
.001
4.133
-3.871
-3.111
-3.444
-1.360
-1.556
1.175
5.302
-2.453
2.632
.766
4.782
-3.354
1.898
.903
-4.330
2.443
-.418
-7.278
-.572

2.056
-3.516
-6.740
-5.509
.353
.158
-2.179
1.719
4.746
8.132
-.965
-4.537
-1.732
-7.885
-3.571
-2.567
5.589
-5.746
-.289
3.544
-2.033
-5.155
-1.533
-5.011
3.883
3.728
1.535
6.805
1.052
-4.811
-1.011
2.221
-5.181
1.864
.322
.195
6.319
-2.734
1.163
2.329
-.373
3.006
-3.094
-.238
3.466
-5.964
-4.021
-3.551
-2.252
-2.305
.645
3.082
-3.642
1.839
2.537
4.273
-2.187
4.252
.529
-2.858
5.167
-1.715
-6.079
.765

-.446
-1.710
-6.020
-8.403
-1.494
1.091
-2.783
2.545
2.133
12.654
-2.668
-5.319
-.866
-7.100
-5.011
.333
1.663
-2.255
2.486
4.988
-3.821
-4.129
-2.159
-2.231
1.441
1.183
.860
2.803
-1.332
-1.597
-1.639
2.928
-4.361
2.091
-.014
1.329
5.024
-.235
1.424
-.169
2.035
.627
-.873
1.228
2.598
-7.655
-4.442
-4.140
-3.794
-3.343
1.948
1.329
-4.120
.991
1.433
3.757
-1.335
4.850
-.452
.855
4.589
-1.788
-5.649
1.395

-4.525
.502
-3.737
-9.045
-1.563
3.977
-1.175
2.901
.115
13.017
-3.284
-6.253
-1.553
-7.568
-6.248
1.672
.507
1.118
3.974
4.731
-2.655
-4.584
-2.880
-.475
1.342
-1.288
.173
4.640
-4.122
1.583
-1.576
3.765
-2.939
-.123
-1.094
1.472
4.577
1.639
2.869
-1.148
2.010
2.407
.483
3.156
1.084
-6.003
-2.539
-4.295
-1.335
-1.491
4.540
-1.370
-4.262
-.816
1.145
1.293
-.734
4.427
-1.961
-1.507
3.826
-3.247
-4.412
1.689

-7.021
-.575
.517
-7.638
-1.719
7.244
3.311
4.810
-.176
9.353
-3.361
-6.090
-4.534
-9.026
-5.986
3.722
1.350
2.695
4.472
4.200
-.712
-3.461
-4.536
-1.130
4.228
-2.951
2.970
5.059
-5.431
3.745
-2.616
3.417
-2.327
.225
-3.614
4.477
4.336
1.082
4.636
-1.831
1.764
.838
.019
4.679
.321
-3.839
-2.288
-2.722
1.655
.446
4.626
-1.745
-3.706
-3.391
.848
1.385
.008
3.618
-2.720
-1.321
3.582
-4.222
-5.198
1.317

-8.448
-.850
2.968
-5.869
-1.497
6.088
6.498
5.641
1.112
6.621
-3.132
-4.521
-6.723
-10.218
-4.057
4.141
1.802
1.991
4.802
2.284
-.926
-2.261
-3.532
-2.639
6.683
-4.719
4.858
6.665
-6.052
3.667
-1.694
-.098
-1.140
-.788
-3.237
4.990
2.851
.924
2.489
-2.923
.318
-.372
-.256
4.458
-.812
-1.797
-1.492
1.488
1.264
1.693
3.717
-.781
-2.612
-5.315
1.641
-.324
-.283
4.258
-1.543
-.935
2.182
-5.999
-4.342
.741

.641
6.642
5.561
.538
3.734
-1.294
-4.688
-.907
1.730
1.695
1.091
-.587
4.069
-4.529
2.504
-3.599
-2.335
-1.609
-1.893
-4.251
4.865
.794
-6.014
-1.244
1.901
2.365
1.908
-.945
3.330
.086
.637
1.532
.126
.192
-.292
1.411
5.424
.231
-1.842
-4.199
24.555
-14.421
1.195
13.384
-12.432
.746
3.981
-5.907
-5.848
2.138
.909
2.411
2.238
.729
.983
-5.015
-.214
-2.577
-.084
1.893
4.699
3.099
2.282
-3.623

By

.543
5.417
6.909
-.984
1.980
-1.083
-6.181
1.649
.965
3.145
.644
-.649
2.565
-3.261
2.244
-.539
-2.989
-1.730
-4.079
-1.607
3.808
1.581
-4.851
-.734
1.851
1.156
3.192
-.399
4.481
-1.869
1.693
-1.192
-3.018
-2.484
.078
1.081
5.504
-3.161
-2.306
-7.232
21.432
-10.665
-1.314
15.297
-9.809
-4.301
-1.898
-5.220
-4.371
2.313
-.328
1.889
.906
-.461
2.079
-3.705
2.976
-3.421
-1.698
3.378
4.626
2.650
.879
-4.096

Rith Makara

.955
3.608
8.490
-1.845
1.006
-1.715
-5.977
-1.472
3.309
.315
-.064
-1.715
2.737
-1.252
2.879
2.043
-1.628
-1.196
-4.794
-1.537
.910
1.371
-2.602
2.665
2.032
2.508
2.296
.160
1.762
-1.394
.341
-1.431
-4.182
-1.563
.481
-3.962
4.096
-4.556
-2.517
-10.691
18.299
-2.082
-5.017
16.603
-6.060
-8.354
-6.487
-4.214
-6.059
3.258
.756
1.825
-.062
-.566
3.091
-3.088
3.609
-1.841
-2.015
2.858
4.234
2.804
-.681
-3.658

2.514
2.571
7.237
-1.823
.646
-1.829
-4.376
-6.338
5.030
-1.455
-1.144
-.664
.595
-1.356
4.025
3.096
-2.244
-1.657
-5.704
-2.161
.012
-.749
-.118
2.505
3.414
4.404
-.038
2.720
3.132
-3.079
-.678
-3.829
-3.652
-.257
-2.316
-2.523
4.207
-2.789
-.988
-15.927
15.375
3.586
-7.628
14.360
-3.459
-7.665
-6.874
-4.020
-7.439
4.899
4.526
-1.273
-.678
-2.560
3.981
-3.587
2.221
-2.335
-2.101
2.563
5.398
2.713
-1.838
-4.084

3.681
1.371
5.484
-1.787
.924
-1.715
-5.125
-7.764
3.552
.893
-1.031
.732
-2.746
-.637
4.881
3.616
-2.542
-2.056
-4.748
-.754
-.564
-2.250
.925
1.665
4.449
4.527
-2.614
3.322
2.914
-1.945
.225
-2.974
-2.088
-.301
-1.142
1.120
3.970
-.287
1.921
-11.439
6.654
6.256
-6.303
5.784
-.242
-6.706
-5.491
-3.271
-5.953
6.054
5.150
-3.258
.077
-2.873
5.341
-4.509
.047
-.486
-.240
2.490
4.493
3.143
-1.291
-6.265

3.605
.924
5.017
-.364
.609
-4.181
-5.204
-4.443
.892
1.340
-1.424
4.687
-5.810
1.032
.624
3.563
-2.417
-.530
-3.119
.876
-1.256
-2.495
-.924
.166
4.277
3.585
-1.299
4.146
1.461
-2.344
-.897
-.033
.868
-1.224
-1.553
3.143
3.259
.451
2.819
-.669
-2.744
4.359
-.341
-3.781
2.172
-4.565
-2.129
-3.132
-2.897
4.023
5.405
.637
.818
-2.823
4.240
-5.316
.445
1.082
1.758
2.501
2.306
3.750
-1.281
-8.095

5.314
1.472
3.180
1.083
.376
-4.446
-4.389
-.880
-.012
1.058
-1.083
4.867
-6.068
.375
-1.681
1.309
-1.390
-1.656
-3.597
3.387
-1.167
-4.565
.473
-1.362
2.951
1.130
-.234
4.018
2.023
-2.359
-.824
1.179
1.721
-2.579
-.250
3.459
2.526
-.181
.838
12.077
-11.112
3.062
4.757
-8.819
3.576
-.572
-2.445
-3.395
-1.584
4.031
3.143
2.554
1.977
-1.502
2.141
-3.522
-.806
-.697
.825
3.704
1.023
2.303
-2.312
-7.488

6.707
3.451
1.349
3.192
.008
-4.585
-3.373
1.673
.360
1.571
-1.007
3.591
-5.121
2.107
-2.631
-.366
-1.126
-1.334
-3.978
4.960
-1.977
-6.176
.930
1.442
2.150
.359
-3.177
4.127
1.532
-.698
.996
3.560
2.219
-.638
.516
3.465
.234
.089
-1.127
22.935
-15.413
2.550
10.354
-11.449
3.539
3.594
-5.206
-5.837
1.788
1.302
2.023
2.360
1.490
.100
.046
-2.671
-3.010
.000
2.062
4.117
1.449
1.649
-2.669
-4.692

10

-2.234
-3.311
-3.944
.682
-.255
-1.247
2.701
1.212
-3.994
1.338
.246
-.744
1.780
-.488
1.057
-.250
-4.128
-1.108
-.910
.940
-.808
-2.732
-.954
-2.066
-1.460
10.775
-.633
-1.746
4.930
1.206
1.107
1.110
2.147
3.977
1.219
-3.606
-2.504
-4.329
-.942
.513
-.695
-3.262
2.383
.093
3.217]/2.54;

-2.679
-.877
-5.118
-.123
-1.527
-1.302
2.825
.023
-3.897
-.522
.520
-.248
2.267
.535
2.302
-.966
-4.001
.484
-1.032
.796
-2.482
-5.424
-1.073
-1.431
-2.511
6.521
.536
-4.115
5.492
2.489
.824
1.218
.697
1.801
.418
-3.611
-1.451
-3.103
-.636
.979
.401
-4.258
2.819
-1.018

-1.709
.191
-2.514
2.122
-2.631
-1.882
1.782
-.316
-.174
-2.278
2.322
.044
2.497
-.113
2.855
.033
-3.437
.440
-1.088
3.241
-1.143
-4.598
-2.326
-2.423
-2.672
3.375
3.732
-5.402
5.321
4.281
-.587
2.586
-1.821
-1.703
-1.537
-3.861
-2.935
-2.327
-.509
.674
-.830
-3.325
2.886
-1.129

.494
.730
.117
5.171
-3.537
-1.739
1.932
.607
.142
-2.657
1.703
.001
4.925
-2.769
3.039
-1.428
-.861
-.619
-.430
3.679
-1.302
-1.799
-1.404
-3.223
-5.090
.892
3.313
-4.491
4.105
5.751
-.930
1.555
-1.930
-3.565
-3.096
-3.530
-2.128
-.650
1.209
.878
-2.854
-3.853
3.155
.220

2.668
-.809
.323
4.740
-1.547
-.584
3.208
1.333
.571
-1.953
2.699
.530
3.490
-4.014
3.023
-.560
1.139
.182
-.558
2.105
-.819
-2.232
-1.010
-2.872
-3.585
4.504
2.971
-.590
2.625
6.239
-.212
1.911
-2.274
-1.069
-2.051
-4.107
-.758
.200
.318
-.064
-3.932
-2.297
2.011
1.364

3.251
-2.279
.006
2.671
-.657
.420
.978
-.085
.499
-.520
2.554
-.382
1.447
-3.743
2.835
.321
1.039
.079
.107
1.078
-.191
-1.673
-1.058
-2.432
4.608
6.884
2.875
4.799
1.117
4.226
1.692
1.125
-2.146
1.238
-2.201
-2.600
-1.044
.731
-.142
-.993
-3.534
-.784
1.594
2.051

-.134
-2.829
.447
2.181
-1.990
.792
.416
-1.271
.388
-.791
1.643
.595
.366
-.597
.646
.434
1.048
-.377
.601
-1.020
-.581
-.075
-2.580
-2.927
9.101
4.460
2.983
5.746
1.427
1.133
2.019
1.400
1.121
1.461
-2.544
-2.970
-1.137
1.707
.088
-1.273
-2.915
1.047
2.842
3.077

-2.622
-3.379
.537
1.721
-2.451
2.972
1.901
-2.588
1.767
.912
-.319
2.539
-1.355
1.374
.649
-.957
-.666
.850
-.553
-1.034
-1.245
-.695
-3.456
-1.337
11.657
.450
1.766
5.640
.703
1.982
1.365
2.470
3.701
.788
-2.903
-3.043
-4.237
-.894
-.048
-.480
-3.531
2.926
1.425

Annex 1.3 data_input.m


%==================================
%Input Data
%==================================
%Homework #6
%by Rith Makara

By

Rith Makara

11

%2015
% Structural Properties:
M = 1;
% Mass of the Structure in [kips.s^2/in]
K = 100;
% Structure Stiffness in [kips/in]
Xi = 0.02;
% Damping Ratio
C = Xi*2*sqrt(K*M); % Damping Coefficient in [kips.s/in]
Wn = sqrt(K/M);
% Natural Frequency in [rad/sec]
Tn = 2*pi/Wn;
% Period Frequency in [sec]
fn = Wn/(2*pi);
% Natural Frequency in [Hz]
% Calling the Earthquake Data
northridge
% Calling the Calculation
calculation

Annex 1.4 calculation.m


clc
%===========================================
% Calculation Sheet
%===========================================
% by Rith Makara
% 2015
%
% This calculation sheet will output the responses due to ground motion.
% It also plots each responses.
%
% Call the Input Data File
% data_input
% Size of Acceleration matrix raw data of Ground Motion
[m n] = size(Acce_Ground_Raw);
% Turn the Acce_Ground_Raw matrix into a vector of Acceleration of Ground
% Motion
Acce_Ground = zeros(m*n,1);
for i = 1:m
for j = 1:n
Acce_Ground((i-1)*n+j,1) = Acce_Ground((i-1)*n+j,1) +
Acce_Ground_Raw(i,j);
end
end
% 1. Calculation
Response = zeros(m*n,4);
for i = 1:m*n
Response(i,1) = i*dt;
if i == 1
[Response(i,2),Response(i,3),Response(i,4)] = newmark_linear(M,C,K,M*Acce_Ground(i,1),dt,Xi,Xdi,Xddi);
else
[Response(i,2),Response(i,3),Response(i,4)] = newmark_linear(M,C,K,M*Acce_Ground(i,1),dt,Response(i-1,2),Response(i-1,3),Response(i-1,4));
end
end
Response
% 2. Plot The Response of the Structure
% 2.1 Relative Displacement Response, U [in
figure

By

Rith Makara

12

subplot(3,1,1)
plot(Response(1:m*n,1),Response(1:m*n,2))
title('Relative Displacement')
xlabel('Time, [sec]')
ylabel('Displacement, [in]')
axis([0,Response(m*n,1),max(abs(Response(1:m*n,2)))*1.5,max(abs(Response(1:m*n,2)))*1.5])
% 2.2 Relative Velocity Response, V [in/sec]
subplot(3,1,2)
plot(Response(1:m*n,1),Response(1:m*n,3))
title('Relative Velocity')
xlabel('Time, [sec]')
ylabel('Velocity, [in/sec]')
axis([0,Response(m*n,1),max(abs(Response(1:m*n,3)))*1.5,max(abs(Response(1:m*n,3)))*1.5])
% 2.3 Relative Acceleration Response, A [in/sec2]
subplot(3,1,3)
plot(Response(1:m*n,1),Response(1:m*n,4))
title('Relative Acceleration')
xlabel('Time, [sec]')
ylabel('Acceleration, [in]')
axis([0,Response(m*n,1),max(abs(Response(1:m*n,4)))*1.5,max(abs(Response(1:m*n,4)))*1.5])

By

Rith Makara

13

Вам также может понравиться