Академический Документы
Профессиональный Документы
Культура Документы
Aerospace Engineering
Aeroelasticity Assignment 1
The mass matrix and the stiffness matrix are calculated as per shown in the previous page.
The eigenvalue problem can be defined as:
K M 0
2
where the natural frequencies and the shape vectors can be solved. Letting
eigenvalue problem becomes:
, the
K M 0
2
K M
2 I 0
where I is the identity matrix. The eigenvalue problem is solved using matlab, using the below
function and by varying the size of the matrices (nxn).
n = 9;
%changing the n value; min 4
format short
M = zeros(n);
K = zeros(n);
bf = zeros(n,1);
phi = 0;
for i = 1:n
for j = 1:n
M(i,j) = 1620/(i*j*(i+1)*(i+2)*(j+1)*(j+2))*(i*j/(i+j+5)2*(i+j+i*j)/(i+j+4)+(i+2)*(j+2)/(i+j+3))810/(i*j*(i+1)*(i+2)*(j+1)*(j+2))*(i*j/(i+j+7)2*(i+j+i*j)/(i+j+6)+(i+2)*(j+2)/(i+j+5))+120/(i*j*(i+1)*(i+2)*(j+1)*(j+
2))*((1/3)^(i+j+2)*(2+2*i/3)*(2+2*j/3)+(2/3)^(i+j+2)*(2+i/3)*(2+j/3));
K(i,j) = ((1.8*10^7)/(3^3))*(2/(i+j-1)-6/(i+j)+6/(i+j+1)1/(i+j+2)-2/(i+j+3)+1/(i+j+4));
end
end
[X,Ws] = eig(K,M)
w = sqrt(Ws)
t = 1;
for y= 0:0.01:3
phi=0;
for i=1:n
phi= (X(i,4)*(((y/3)^(i+1))*(2+ii*(y/3))/i/(i+2)/(i+1)))+phi; %%changing X(i,2) for 2nd modeshape,
X(i,3) for 3rd modeshape etc
end
modeshape(t,2)=phi;
modeshape(t,1)=y;
t=t+1;
end
plot(modeshape(:,1), modeshape(:,2));
xlabel('y')
ylabel('displacement')
For n = 4:
=
1.0e+003 *
0.1038
0 0.5350
0 1.4461
= 103.8rads-1,
0 3.3452
=535rads-1,
=1446.1rad-1,
In Summary: when n = 4,
n=4
103.82
535
1446.1
3345.2
= 3345.2rad-1
When n = 5:
w=
0.1038
0 0.5346
0 1.3469
0 3.3450
=103.8rads-1,
n=4
n=5
0 5.6457
=534.6rads-1,
103.82
103.82
535
534.62
=1346.9rads-1,
1446.1
1346.9
=3345rads-1
3345.2
3345
When n = 6
w=
1.0e+003 *
0.1038
0 0.5346
0 1.3440
0 2.9893
0 5.6453
=103.8rads-1,
0 9.0868
=534.6rads-1,
=1344rads-1,
n=4
n=5
n=6
103.82
103.82
103.82
535
534.62
534.62
1446.1
1346.9
1344
3345.2
3345
2898.3
= 2898.3rads-1
When n = 7
w=
1.0e+004 *
0.0104
0 0.0535
0 0.1340
0 0.2979
0 0.4770
0 0.9087
=104rads-1,
=535rads-1,
0 1.4747
=1340rads-1,
n=4
n=5
n=6
n=7
103.82
103.82
103.82
104
535
534.62
534.62
535
1446.1
1346.9
1344
1340
3345.2
3345
2898.3
2979
= 2979rads-1
When n =8
w=
1.0e+004 *
0.0104
0 0.0535
0 0.1340
0 0.2957
0 0.4743
0 0.6934
0 1.4746
=104rads-1,
=535rads-1,
0 2.0794
=1340rads-1,
= 2957rads-1
n=4
n=5
n=6
n=7
n=8
103.82
103.82
103.82
104
105
535
534.62
534.62
535
535
1446.1
1346.9
1344
1340
1340
3345.2
3345
2898.3
2979
2957
n=9
w=
1.0e+004 *
0.0104
0 0.0535
0 0.1340
0 0.2955
0 0.4696
0 0.6890
0 1.0900
0 2.0787
=104rads-1,
=535rads-1,
0 2.9946
=1340rads-1,
= 2955rads-1
n=4
n=5
n=6
n=7
n=8
n=9
103.82
103.82
103.82
104
105
105
535
534.62
534.62
535
535
535
1446.1
1346.9
1344
1340
1340
1340
3345.2
3345
2898.3
2979
2957
2955
1.2193e+003
6.3401e+003 -11.7819e+003
1.4424e+003
5.8223e+006
6.9491e+006
3.1270e+006 -16.2041e+006
1st natural
frequency
2nd natural
frequency
3rd natural
frequency
4th natural
frequency
Eigenvector
Eigenvector
Eigenvector
Eigenvector
5.6630e+006
1.0827e+006 -14.8735e+006
First modeshape
2nd modeshape
3rd Modeshape
4th Modeshape