Académique Documents
Professionnel Documents
Culture Documents
Homework
Consider the Single Degree of Freedom model with viscous damping shown in Figure 1 and
subjected to an external harmonic force shown in Figure 2.
We want to determine the response of this system to this excitation by the Newmarks
Constant Average Acceleration Method (Noniterative Formulation), implemented by a computer program in Matlab Language.
m=100 Kg
k=150 N/m
c=20 Ns/m
Figure 1
A.2 Plot:
t
P(t)=p*cos(omega*t)
p=1000 N
omega=4 rad/s
Figure 2
Homework
Consider the Single Degree of Freedom model with viscous damping shown in Figure 3 and
subjected to an horizontal earthquake excitation shown in Figure 4: the earthquake record
used is the 2002 Gilroy record.
We want to determine the response of this system to this excitation by the Newmarks
Constant Average Acceleration Method (Noniterative Formulation), implemented by a computer program in Matlab Language.
m=100 Kg
k=150 N/m
c=20 Ns/m
Figure 3
B.2 Plot:
ag/g
- the time history of relative displacement and velocity and total acceleration
-0.4
40
t
Gilroy: ag in units of g, 3997 steps, dt=0.01
Figure 4
Homework
%Kg
%N/m
%Ns/m
mass
linear spring coefficient
linear dashpot damping coefficient
%s
%s
%
%
%rad/s
%N
forcing frequency
force amplitude
for i=1:N
omega=2;
p=1000;
P(i)=p*cos(omega*t(i));
end
Homework
Homework
dudd(i)=a1*du(i)-a2*ud(i)-a3*udd(i);
%STATE OF MOTION AT TIME STEP i+1
u(i+1)=u(i)+du(i);
ud(i+1)=ud(i)+dud(i);
udd(i+1)=udd(i)+dudd(i);
end
Homework
%PEAK VALUES
umax=max(abs(u))
udmax=max(abs(ud))
uddmax=max(abs(udd))
%PLOTS
%DISPLACEMENT TIME HISTORY
figure
plot(t,u);
xlabel('time [s]');
ylabel('Displacement[m]');
%VELOCITY TIME HISTORY
figure
plot(t,ud);
xlabel('time [s]');
ylabel('Velocity [m/s]');
%ACCELERATION TIME HISTORY
figure
plot(t,udd);
xlabel('time [s]');
ylabel('Acceleration [m/s^2]');
Homework
Homework
umax =
6.2312
udmax =
11.127
uddmax =
19.392
Homework
8
6
Displacement [m]
4
2
0
-2
-4
-6
-8
10
15
20
25
time [s]
30
35
40
45
50
Homework
15
Velocity [m/s]
10
5
0
-5
-10
-15
10
15
20
25
time [s]
30
35
40
45
50
Homework
20
15
Acceleration [m/s2]
10
5
0
-5
-10
-15
-20
0
10
15
20
25
time [s]
30
35
40
45
50
Homework
1000
fs [N]
500
-500
-1000
-6
-4
-2
0
2
Displacement [m]
Homework
300
200
fd [N]
100
0
-100
-200
-300
-6
-4
-2
0
2
Displacement [m]
Homework
1000
f = fs + fd [N]
500
-500
-1000
-6
-4
-2
0
2
Displacement [m]
Homework
%Kg
%N/m
%Ns/m
mass
linear spring coefficient
linear dashpot damping coefficient
%m/s^2
%s
%s
%
%
for i=1:N
P(i)=-m*ag(i);
end
Homework
Homework
dudd(i)=a1*du(i)-a2*ud(i)-a3*udd(i);
%STATE OF MOTION AT TIME STEP i+1
u(i+1)=u(i)+du(i);
ud(i+1)=ud(i)+dud(i);
udd(i+1)=udd(i)+dudd(i);
end
Homework
%PEAK VALUES
umax=max(abs(u))
udmax=max(abs(ud))
uddtmax=max(abs(udd+ag))
%PLOTS
%RELATIVE DISPLACEMENT TIME HISTORY
figure
plot(t,u);
xlabel('time [s]');
ylabel(Relative Displacement[m]');
%RELATIVE VELOCITY TIME HISTORY
figure
plot(t,ud);
xlabel('time [s]');
ylabel(Relative Velocity [m/s]');
%TOTAL ACCELERATION TIME HISTORY
figure
plot(t,udd+ag);
xlabel('time [s]');
ylabel(Total Acceleration [m/s^2]');
Homework
Homework
Consider the Single Degree of Freedom model with a non-linear spring and a non-linear
dashpot shown in Figure 1 and subjected to an external harmonic force shown in Figure 2.
We want to determine the response of this system to this excitation by the Newmarks
Constant Average Acceleration Method (Iterative Formulation: Pseudo-Force Method), implemented by a computer program in Matlab Language.
m=100 Kg
c2=20 Ns^2/m^2
k5=20 N/m^5
n=2
Figure 1
A.2 Plot:
t
P(t)=p*cos(omega*t)
p=1000 N
omega=4 rad/s
Figure 2
Homework
Consider the Single Degree of Freedom model with a non-linear spring and a non-linear
dashpot shown in Figure 3 and subjected to an horizontal earthquake excitation shown in
Figure 4: the earthquake record used is the 2002 Gilroy record.
We want to determine the response of this system to this excitation by the Newmarks
Constant Average Acceleration Method (Iterative Formulation: Pseudo-Force Method), implemented by a computer program in Matlab Language.
m=100 Kg
c2=20 Ns^2/m^2
k5=20 N/m^5
n=2
Figure 3
0.4
B.2 Plot:
ag/g
- the time history of relative displacement and velocity and total acceleration
-0.4
40
t
Gilroy: ag in units of g, 3997 steps, dt=0.01
Figure 4