Professional Documents
Culture Documents
%Condition #2
%MM=[2;0;0]; %in*lb/in
%NN=[0;0;0]; %lb/in
%{
This Block was added so the Q_bar function
Could be referenced if needed
E1 = 19.2e6; %psi
E2 = 1.56e6; %psi
G12 = 0.82e6; %psi
v12 = 0.24;
%A = 23; %degrees. Must use sind / cosd funtions
%Theta = 23;
S11 = 1/E1;
S12 = -v12/E1;
S22 = 1/E2;
S66 = 1/G12;
Q = inv(S);
t = inv(T);
Q_bar = T\Q*R*T/R;
S_bar = inv(Q_bar);
%
clc
if pass == 1
disp('[45,-45,45], with FORCE applied')
Orient = [45,-45,45];
MM=[0;0;0];
NN=[35;0;0]; %lb/in
elseif pass == 2
disp('[45,-45,45], with MOMENT applied')
Orient = [45,-45,45];
MM=[2;0;0]; %in*lb/in
NN=[0;0;0]; %lb/in
elseif pass == 3
Orient = [0,45,90,-45,-45,90,45,0];
disp('[0,45,90,-45,-45,90,45,0], with MOMENT applied')
MM=[2;0;0]; %in*lb/in
NN=[0;0;0]; %lb/in
elseif pass == 4
disp('[0,45,90,-45,-45,90,45,0], with FORCE applied')
Orient = [0,45,90,-45,-45,90,45,0];
MM=[0;0;0]; %in*lb/in
NN=[35;0;0]; %lb/in
end
N = length(Orient);
thick =0.005; % in
t = N * thick;
z = -t/2 : thick : t/2;
Aij_vect = zeros(1,N);
Bij_vect = zeros(1,N);
Dij_vect = zeros(1,N);
Qb=Qbar(Orient(k));
Aij_vect(k) = Qb(i,j).*(z(k+1)-z(k));
Bij_vect(k) = Qb(i,j).*((z(k+1)).^2-(z(k)).^2);
Dij_vect(k) = Qb(i,j).*((z(k+1)).^3-(z(k)).^3);
end
Aij(i,j) = sum(Aij_vect);
Bij(i,j) = sum(Bij_vect)/2;
Dij(i,j) = sum(Dij_vect)/3;
end
end
Aij
Bij
Dij
Astar = inv(Aij);
Bstar = -inv(Aij)*Bij;
Dstar = Dij-(Bij/Aij*Bij);
Hstar = Bij/Aij;
Aprime = Astar-(Bstar/Dstar*Hstar);
Bprime = Bstar/Dstar;
Dprime = inv(Dstar);
Hprime = -Dstar\Hstar;
Kappa = Dstar\MM-Dstar\Hstar*NN
Eps_o = Bstar/Dstar*MM+(Astar-Bstar/Dstar*Hstar)*NN
stress = [];
LayerZ = zeros(1,N*2);
for i = 0:N-1
LayerZ(2*i+2) = z(i+2);
LayerZ(2*i+1) = z(i+1);
tempx = Qbar(Orient(i+1))*(Eps_o+z(i+1)*(Kappa));
tempy = Qbar(Orient(i+1))*(Eps_o+z(i+2)*(Kappa));
stress = [stress,tempx,tempy];
end
LayerZ;
stress
sigmaX = stress(1,:);
sigmaY = stress(2,:);
Gamma = stress(3,:);
hold on
figure(pass)
plot(sigmaX, LayerZ,'g--')
axis ij
xlabel('psi');
ylabel('z (in)');
title('Stresses on Laminate');
hold on
figure(pass)
plot(sigmaY,LayerZ,'k')
axis ij
xlabel('psi');
ylabel('z (in)');
figure(pass)
plot(Gamma,LayerZ,'r--');
axis ij
xlabel('psi');
ylabel('z (in)');
legend ('SigmaX','Sigma Y','Gamma XY');
pause(2);
if pass < 4
clf;
end
end
%{
----------------------------------------------
OUTPUT:
Aij =
1.0e+004 *
Bij =
0 0 0
0 0 0
0 0 0
Dij =
Kappa =
0
0
0
Eps_o =
1.0e-003 *
0.8288
-0.5940
-0.0690
stress =
1.0e+003 *
Aij =
1.0e+004 *
Bij =
0 0 0
0 0 0
0 0 0
Dij =
Kappa =
3.0336
-1.3025
-1.4129
Eps_o =
0
0
0
stress =
1.0e+004 *
Aij =
1.0e+005 *
Bij =
1.0e-012 *
0 -0.0071 0
-0.0071 0.1705 0
0 0 0.0142
Dij =
0.0304
-0.0069
-0.0137
Eps_o =
1.0e-020 *
-0.1533
0.4652
0.1668
stress =
1.0e+004 *
Columns 1 through 6
Columns 7 through 12
Columns 13 through 16
Aij =
1.0e+005 *
Bij =
1.0e-012 *
0 -0.0071 0
-0.0071 0.1705 0
0 0 0.0142
Dij =
1.0e-018 *
-0.0268
0.3018
-0.1605
Eps_o =
1.0e-003 *
0.1153
-0.0343
0.0000
stress =
1.0e+003 *
Columns 1 through 6
Columns 7 through 12
Columns 13 through 16
%}
In the [-45/45/-45]T laminate, notice the [B] matrix is 0 in every element. This is to be
expected due to the symmetry of the laminate. For this laminate, when a force is applied along
the x-axis, the majority of the stress exists along the x-axis, as expected. There is also a
significant amount of shear on the middle layer of the lamina. When a moment is applied to this
laminate, the stress along the x and y axes are similar even though the moment is only applied
on the x-axis. This is due to the direction of each layer within the laminate. Because the matrix
will be aligned with each layer within the laminate, theses matrices with support a stress at an
angle along the direction of the matrix, which means a stress will exist along the laminate that is
a different direction than the applied moment.
The [0/45/90/-45/-45/90/45/0]T laminate differs significantly from the previous one due to
the complexity of the arrangement. When a moment is applied along the x-axis, the greatest
stress occurs along the x-axis at the outer edge of the laminate where the orientation of the
layer is 0. This is a reasonable result because you would assume that the greatest stress would
occur as far away from the neutral axis as possible (Stress increases as |z| increases). Because
the orientation of this layer is parallel with the axis the moment is being applied on, it is also
expected that most of the stress would be along the x-axis. When A force along the x-axis is
applied, most of the stress is again along the x-axis on the outer layer of the laminate, while
shear, and stress along the y-axis also exist. It is important to note the significant discontinuities
of the outputted stress and shear. The existence of these discontinuities show that these values
will contain significant error at the interface of each layer.