You are on page 1of 5

EXERCISE 2

Maximum Stress Theory


clc
clear all
close all

Vf = 0.6;
Vm = 1-Vf;

Xt = 1400e6;
Yt = 35e6;
Sh = 35e6;

syms sy;

theta = 35;
T = transformation( theta );

sigma_XY = [0;sy;0];

sigma_LT = T*sigma_XY; % Max Stress Theory

s1x = sigma_LT(1,1);
s2x = sigma_LT(2,1);
s3x = sigma_LT(3,1);

ultimate = [Xt;Yt;Sh];

s1 = abs(vpa(solve(s1x==ultimate(1,1),sy),2));
s2 = abs(vpa(solve(s2x==ultimate(2,1),sy),2));
s3 = abs(vpa(solve(s3x==ultimate(3,1),sy),2));

s4 = min(s1,s2);
sxx = min(s3,s4);

Result
Minimum = 52160170.8828125

Maximum Strain Theory


clc
clear all
close all

Vf = 0.6;
Vm = 1-Vf;

Xt = 1400e6;
Yt = 35e6;
Sh = 35e6;

Ef=74e9;
Em=4.5e9;
vf=0.25;
vm=0.4;
Gf=30e9;
Gm=1.6e9;

syms sy;

theta = 35;
T = transformation( theta );
E1 = longMod( Ef,Vf,Em,Vm );
E2 = transMod( Ef,Vf,Em,Vm );
v12 = poisson_ratio( Vf,vf,Vm,vm );
G12 = shearMod( Gf,Gm,Vf,Vm );
S = compliance( E1,E2,G12,v12 );

sigma_XY = [0;sy;0];

strain_LT = S*T*sigma_XY % Max Stress Theory


s1x = strain_LT(1,1);
s2x = strain_LT(2,1);
s3x = strain_LT(3,1);

ultimate = [(Xt/E1);(Yt/E2);(Sh/G12)];

s1 = abs(vpa(solve(s1x==ultimate(1,1),sy),2))
s2 = abs(vpa(solve(s2x==ultimate(2,1),sy),2));
s3 = abs(vpa(solve(s3x==ultimate(3,1),sy),2));
s4 = min(s1,s2);
sxx = min(s3,s4)

Result
minimum = 53991386.453125
EXERCISE 3 (Kevlar/Epoxy)

Max Stress Theory


clc
clear all
close all

Xt = 1400e6;
Yt = 15e6;
Sh = 35e6;

syms sx;
for theta = 1:1:89
T = transformation( theta );
sigma_XY = [sx;0;0];
sigma_LT =T*sigma_XY;
s1x = sigma_LT(1,1);
s2x = sigma_LT(2,1);
s3x = sigma_LT(3,1);
ultimate = [Xt;Yt;Sh];

s1 = vpa(solve(s1x==ultimate(1,1),sx),2);
s2 = vpa(solve(s2x==ultimate(2,1),sx),2);
s3 = vpa(solve(s3x==ultimate(3,1),sx),2);

s4 = min(abs(s1),abs(s2));
sxx = min(abs(s3),abs(s4));
theta;
hold on;
title('Max Stress vs Theta');
plot(theta,sxx,'--x');
xlabel('Theta (deg)');
ylabel('Max Stress (Pa)');
grid on
hold off;
end
Max Strain Theory:
clc
clear all
close all

Vf = 0.6;
Vm = 0.4;

Xt=1400e6;
Yt=15e6;
Sh=35e6;

Ef=130e9;
Em=4.5e9;
vf=0.4;
vm=0.4;
Gf=12000e9;
Gm=1.6e9;

syms sx;
E1 = longMod( Ef,Vf,Em,Vm );
E2 = transMod( Ef,Vf,Em,Vm );
v12 = poisson_ratio( Vf,vf,Vm,vm );
G12 = shearMod( Gf,Gm,Vf,Vm );

theta = 0;

for theta =1:1:89;


T = transformation( theta );
S = compliance( E1,E2,G12,v12 );

sigma_XY = [sx;0;0];
strain_LT = S*T*sigma_XY;

s1x = strain_LT(1,1);
s2x = strain_LT(2,1);
s3x = strain_LT(3,1);

ultimate = [(Xt/E1);(Yt/E2);(Sh/G12)];

s1 = abs(vpa(solve(s1x==ultimate(1,1),sx),5));
s2 = abs(vpa(solve(s2x==ultimate(2,1),sx),5));
s3 = abs(vpa(solve(s3x==ultimate(3,1),sx),5));
s4 = min(s1,s2);
sxx = min(s3,s4)
hold on
title('Max strain vs Theta');
plot(theta,sxx,'--x');
xlabel('Theta (deg)');
ylabel('Max Stress (Pa)');
hold off
end

You might also like