You are on page 1of 11

Cairo University

Faculty of Engineering
Aerospace Department
Fourth Year

Structure Vibration
Report #( 1 ) on: Modal Analysis I SDOF Systems

Submitted To: Dr. Ahmed Rashed

Name : Abdelrhman Hussien Nassif


BN:

Sec:

Date: 23/10/2013

Table of Contents

Abstract....................................................................................................... 3
Introduction ................................................................................................ 4
Problem Solutions ....................................................................................... 5
Problem 2 ................................................................................................ 5
Problem 6 ................................................................................................ 6
Problem 7 ................................................................................................ 7
Problem 8 ................................................................................................ 8
Appendix ..................................................................................................... 9
Free Response Code ................................................................................ 9
Forced Response Code .......................................................................... 10

Abstract
The vibration of aircraft structure is the response of some components of
the frame to the external forces in various degrees of freedom. Well deal
with two types of responses in this report (free and forced response) in
context of solving some problems using MATLAB.

Introduction
The structure response is defined as the way of its behave due to external
disturbances. The free response is concerned with boundary conditions
disturbances and forces for the forced response.

Problem Solutions
Problem 2

Problem 6

Problem 7

Problem 8

Appendix
Free Response Code

function [x] = SDOF_Viscous_Free_Response(w_n, zeta, x0, x_dot_0, t)


wd=w_n*sqrt(1-zeta^2);
for i=1:length(t)
x(i)=exp(- zeta*w_n*t(i))*(x0*cos(wd*t(i))+((zeta*w_n*x0+x_dot_0)/wd)*sin(wd*t(i)));
end
end

clc
clear all
close all
t=0:0.1:10;
wn=2;
x0=1;
x_dot_0=0;
zeta=[0,0.1,0.2,0.4,1/sqrt(2),1,2];
color=['r','b','c','g','m','y','k'];
for j=1:length(zeta)
[x] = SDOF_Viscous_Free_Response(wn, zeta(j), x0, x_dot_0, t);
zetastr{j}=num2str(zeta(j));
plot(t,x,color(j));
xlabel('Time (sec)')
ylabel('Respone')
title('Free Response')
legend(zetastr)
hold on
end

Forced Response Code


function [f,x,css,dss,ctr,dtr] = SDOF_Viscous_Harmonic_Response_mul_m(F0, Omega,w_n, zeta, t, ignoreTransient)
%r = Omega/w_n;
wd = w_n*sqrt(1-zeta^2);
m = 1;
r = Omega./w_n;
for j=1:length(r)
for i=1:length(t)
css(i) = -2*zeta*r(j)*F0/(m*w_n^2*((1-r(j)^2)^2 + (2*zeta*r(j))^2));
dss(i) = (F0/(m*w_n^2*((1-r(j)^2)^2 + (2*zeta*r(j))^2)))*(1-r(j)^2);
ctr(i) = (F0/(m*w_n^2*((1-r(j)^2)^2 + (2*zeta*r(j))^2)))*r(j)*exp(-2*zeta*w_n*t(i))*(2*zeta);
dtr(i) = (F0/(m*w_n^2*((1-r(j)^2)^2 + (2*zeta*r(j))^2)))*r(j)*exp(-2*zeta*w_n*t(i))*((w_n/wd)*(2*(zeta^2)-1*r(j)^2));
x(i) = css(i)*cos(Omega(j)*t(i))+dss(i)*sin(Omega(j)*t(i))+ctr(i)*cos(wd*t(i))+dtr(i)*sin(wd*t(i));
f(i) = F0*sin(Omega(j)*t(i));
if ignoreTransient == 1
x(i) = css(i)*cos(Omega(j)*t(i))+dss(i)*sin(Omega(j)*t(i));
else if ignoreTransient == 11
xst(i) = css(i)*cos(Omega(j)*t(i))+dss(i)*sin(Omega(j)*t(i))+ctr(i)*cos(wd*t(i))+dtr(i)*sin(wd*t(i));
xss(i) = css(i)*cos(Omega(j)*t(i))+dss(i)*sin(Omega(j)*t(i));
end
end
end
if ignoreTransient == 11
subplot(5,2,2*j);
[AX,H1,H2]=plotyy(t,xss,t,f);
set(AX(1),'YLim',[-2 2])
set(AX(1),'YTick',[-2:1:2])
set(AX(2),'YLim',[-1 1])
set(AX(2),'YTick',[-1:0.5:1])
set(get(AX(1),'Ylabel'),'String','Force')
set(get(AX(2),'Ylabel'),'String','Response')
xlabel('Time (sec)')
title('Steady')
subplot(5,2,2*j-1);
[AX,H1,H2]=plotyy(t,xst,t,f);
set(AX(1),'YLim',[-2 2])
set(AX(1),'YTick',[-2:1:2])
set(AX(2),'YLim',[-1 1])
set(AX(2),'YTick',[-1:0.5:1])
set(get(AX(1),'Ylabel'),'String','Force')
set(get(AX(2),'Ylabel'),'String','Response')
xlabel('Time (sec)')
title('Steady + Transient')
else if ignoreTransient == 1
subplot(5,1,j);
[AX,H1,H2]=plotyy(t,x,t,f);
set(AX(1),'YLim',[-2 2])
set(AX(1),'YTick',[-2:1:2])
set(AX(2),'YLim',[-1 1])
set(AX(2),'YTick',[-1:0.5:1])
set(get(AX(1),'Ylabel'),'String','Force')
set(get(AX(2),'Ylabel'),'String','Response')
xlabel('Time (sec)')
else
subplot(5,1,j);
[AX,H1,H2]=plotyy(t,x,t,f);
set(AX(1),'YLim',[-10 10])
set(AX(1),'YTick',[-10:5:10])
set(AX(2),'YLim',[-1 1])
set(AX(2),'YTick',[-1:0.5:1])
set(get(AX(1),'Ylabel'),'String','Force')
set(get(AX(2),'Ylabel'),'String','Response')
xlabel('Time (sec)')
end
end
end

10

clc
clear all
close all
w_n=2;
F0=1;
ignoreTransient=11;
%%
Problem 6 %%
r=[0.5,0.9,1,1.1,2]; %
t=[0:0.1:100];
% zeta=0;
% Omega=w_n.*r;
%%
Problem 7 & 8 %%
zeta=0.1; %Problem 7
% zeta=0.3; %Problem 8
Omega=[0.5*w_n*sqrt(1-zeta^2),w_n*sqrt(1-(2*zeta^2)),w_n*sqrt(1zeta^2),1.1*w_n*sqrt(1-zeta^2),2*w_n*sqrt(1-zeta^2)];
%%
[x,f,a,b,c,d]=SDOF_Viscous_Harmonic_Response_mul_m(F0,Omega,w_
n, zeta, t, ignoreTransient);

11