ofMDOFStructurebyMode
SuperpositionMethod
usingNewmarksMethod
Carleton University
Mostafa Tazarv
GraduateStudent
Version 1.0
ModalTimeHistoryAnalysisMostafaTazarv
Introduction
Structural dynamic is a mandatory graduate level course for structural/earthquake engineering
student all around the world. One of the most important topics of this course is to solve modal
equations of motion of a Multi Degree of Freedom (MDOF) structure by a numerical method
such as Nemarks method and Wilson- method. Modal response should be assembled to
obtain each DOF response. Applied load can be a base excitation earthquake or time-dependent
loads on stories.
Here, I will introduce a MATLAB function which can do a time history analysis of an n-DOF
structure with a certain Number of Modes (nom). Then, I will show how to use this function with
two examples one excited by half-cycle harmonic on two stories and another excited by Elcentro
earthquake.
2|P a g e
ModalTimeHistoryAnalysisMostafaTazarv
function [disp,EF]=NM(n,nom,dt,F,ft,M,K,zet,omega2,phi)
% INPUTS:
% n:
% nom:
% dt:
% F:
% ft:
% M:
% K:
% zet:
e.g. [phi,omega2]=eig(K,M);
% EF:
Aslongasthesizeofstiffnessmatrixandmassmatrixareequal,therewillbenorestrictiononthis
function.
3|P a g e
ModalTimeHistoryAnalysisMostafaTazarv
k2
k 2 + k3
0
k3
k3
0
...
...
0
2.0 - 1.0
- 1.0 1.5 - 0.5
0 - 0.50 1.0
0
0 - 0.5
K = 109
0
0
0
0
0
0
0
0
0
0
0
0
0
m1
0
0
, M =
0
...
kn
0
0
m2
0
0
- 0.5
0
- 0.5
0
0
1.0 - 0.5
- 0.5 1.0
0
- 0.5
1.0 - 0.5
- 0.5
1.0
- 0.5
0
0
... ...
... mn
0
0
0
0
0
0
( N / m)
0
0
- 0.5
0.5
6
M = 10
0
0
0
0
0
0
8
0
0
8
0
0
0
0
0
0
0
0
(kg = N .s 2 / m)
0
0
Derived mass and stiffness matrixes can be used as inputs of eigen-problem and modal analysis.
For this section, only 2 modes are desired. Then, eigenvalues and eigenvectors have been
calculated. Figure 2 illustrates modal shape of first two modes normalized to mass.
4|P a g e
ModalTimeHistoryAnalysisMostafaTazarv
Figure 2- Mode Shapes of First Two Modes of Shear Building (Normalized to Mass)
3
= 10
- 0.0264
- 0.0518
- 0.0994
- 0.1403
- 0.1720
- 0.1923
- 0.2062
- 0.2132
- 0.0727
- 0.1280
- 0.1776
- 0.1423
- 0.0391
0.0828
0.1849
0.2429
4.1408
0
0
29.8429
NOTE:
5|P a g e
ModalTim
meHistoryAn
nalysisMostafaTaazarv
As
meentioned
before,
t
to
solve
equation
of
mootion
of
each
2
T
Y&&n + 2 nnY&n + n Yn = n .F . f (t ) , load shoulld be in the form of
.
. Here,
mode,
m
is a
Figure 33 Decomposin
ng of Loads in
nto Two Comp
ponents (dt for f(t) is 0.005 sec)
s
6|P a g e
ModalTimeHistoryAnalysisMostafaTazarv
Figure 5- Elastic Force Time history of Some Stories considering Two Modes
7|P a g e
ModalTimeHistoryAnalysisMostafaTazarv
Node 3
Node 4
Node 5
Ux(r1)
Uy(r2)
Ux(r3)
Uy(r4)
Ux(r5)
Uy(r6)
Ux(r7)
Uy(r8)
122.3242
0
0
0
0
0
0
0
0
122.3242
0
0
0
0
0
0
0
0
122.324159
0
0
0
0
0
0
0
0
122.3242
0
0
0
0
0
0
0
0
122.3242
0
0
0
0
0
0
0
0
122.3242
0
0
0
0
0
0
0
0
122.3242
0
0
0
0
0
0
0
0
122.3242
8|P a g e
ModalTimeHistoryAnalysisMostafaTazarv
Table 2- Condensed Stiffness Matrix without P- Effect 8 8 (Unit: N, mm)
Node 2
Node 3
Node 4
Node 5
Ux(r1)
Uy(r2)
Ux(r3)
Uy(r4)
Ux(r5)
Uy(r6)
Ux(r7)
Uy(r8)
15333.84
15317.5
-15323.8
-15314.9
-0.32002
-2.90886
0.556449
0.32002
15317.5
58655.22
-15319.4
-15323.4
0.184047
1.672916
-0.32002
-0.18405
-15323.8
-15319.4
58655.22
15317.92
-43333.1
1.672916
-0.32002
-0.18405
-15314.9
-15323.4
15317.92
15329.35
-1.67292
-7.65064
2.90886
1.672916
-0.32002
0.184047
-43333.1
-1.67292
58655.22
-15317.9
-15323.8
15319.41
-2.90886
1.672916
1.672916
-7.65064
-15317.9
15329.35
15314.92
-15323.4
0.556449
-0.32002
-0.32002
2.90886
-15323.8
15314.92
15333.84
-15317.5
0.32002
-0.18405
-0.18405
1.672916
15319.41
-15323.4
-15317.5
58655.22
Mode1
Mode2
Mode7
Mode8
0.723607
-30.639
-3.42432
4.09675
-1.00044
0.484086
-1.00004
-0.25215
4.35E-05
-0.00632
-0.00081
-2.6451
1.366837
1.877068
-2.19516
-0.40269
-0.27623
-31.6572
-4.4256
-4.09384
0.999798
-0.48417
1.000152
0.252098
0.998295
1.000088
-0.99981
1.000012
-1
1.000012
-1
0.334075
-32.4779
4.254245
-4.09407
-0.99977
-0.48415
-1.00015
0.252112
0.665804
33.45968
-3.25315
-4.09688
-1.00031
-0.4841
-1.00001
0.252139
-3.02E-05
-0.00607
0.000737
-2.6453
-1.36677
1.877095
2.195148
-0.40269
19.586
0
79.014
Sym.
0
0
204.44
0
0
0 1.3905e + 005
2
(rad/s)
0
0 2.046e + 005
0
0
0
0
0
0
0 4.7739e + 005
0
0
0
0
0
0 6.5069e + 005
0
0
0
0
0
0
0 9.4734e + 005
Dynamic properties are shown above. First 4 mode shapes are also plotted in figure 7. We
will use only first 3 mode shapes and natural frequencies since we want to use only these
modes.
9|P a g e
ModalTimeHistoryAnalysisMostafaTazarv
. 111
1200 11111111
10|P a g e
ModalTimeHistoryAnalysisMostafaTazarv
Recall NM Function:
function [disp,EF]=NM(8,3,0.02,F,ft,M,K,5,omega2,phi)
Responses are plotted in Figure 9 for node 3 in X-direction with 5% damping ratio.
Reference:
1.
2.
3.
11|P a g e