Anda di halaman 1dari 18

1) INTRODUCTION

This report is about stregth of a composite plate. I tried to analyze a composite plate on MATLAB and ANSYS. This example is taken from a book which name is Mechanics of Composite Materials (2nd Edition) and written by Robert M. JONES. In this example, i tried to find with which Nx value, the composite plate failed. Firstly, i made the MATLAB code and then ANSYS analyze. Finally, i compared the results.

2) MATERIAL PROPERTIES
E1 E2 V12 G12 1 53.78 Gpa 17.93 Gpa 0.25 8.62 Gpa 6.3 x 10^-6 Xt=Xc Yt Yc S 2 1035 Mpa 27.6 Mpa 138 Mpa 41.4 Mpa 20.52 x 10^-6

3) EXAMPLE TAKEN FROM THE BOOK

4) SOLUTION WITH USING MATLAB


4.1) Matlab Codes
clear clc f=0; y=0; step=0; Nx=0; Ny=0; Nxy=0; Mx=0; My=0; Mxy=0; E1=53.78*10^9; E2=17.93*10^9; v12=0.25; G12=8.62*10^9; alpha(1,1)=6.3*10^-6; alpha(2,1)=20.52*10^-6; alpha(3,1)=0; Xt=1035*10^6; Xc=-1035*10^6; Yt=27.6*10^6; Yc=-138*10^6; Ss=41.4*10^6; n=input('how many ply does your composite plate have :'); delT=input('please, write the temperature difference :'); Z=0; for k=1:1:n; t(k)=input('please, write the ply thickness starting from the above one (m) :'); Z=Z+t(k); end for k=1:1:n; q(k)=pi/180*input('please, write the fiber angles starting from above one :'); end T=0; if (rem(n,2)==0); z(n/2+1)=0; for k=(n/2):-1:1; T=T+t(k); z(k)=T; end T=0; for k=(n/2+2):1:(n+1); T=T-t(k-1); z(k)=T;

end else T=t((n+1)/2)/2; z((n+1)/2)=T; for k=((n+1)/2-1):-1:1; T=T+t(k); z(k)=T; end T=-t((n+1)/2)/2; z((n+1)/2+1)=T; for k=((n+1)/2+2):1:(n+1); T=T-t(k-1); z(k)=T; end end A=zeros; B=zeros; D=zeros; NT=zeros; MT=zeros; for k=1:1:n c=cos(q(k)); s=sin(q(k));

S=[(1/E1) (-v12/E1) 0;(-v12/E1) (1/E2) 0;0 0 (1/G12)]; iTrans=[c^2,s^2,-2*s*c;s^2,c^2,2*s*c;s*c,-s*c,(c^2-s^2)]; Q=inv(S); Q11=Q(1,1); Q12=Q(1,2); Q22=Q(2,2); Q66=Q(3,3); Qd11=Q11*c^4+2*(Q12+2*Q66)*s^2*c^2+Q22*s^4; Qd12=(Q11+Q22-4*Q66)*s^2*c^2+Q12*(s^4+c^4); Qd22=Q11*s^4+2*(Q12+2*Q66)*s^2*c^2+Q22*c^4; Qd16=(Q11-Q12-2*Q66)*s*c^3+(Q12-Q22+2*Q66)*s^3*c; Qd26=(Q11-Q12-2*Q66)*s^3*c+(Q12-Q22+2*Q66)*s*c^3; Qd66=(Q11+Q22-2*Q12-2*Q66)*s^2*c^2+Q66*(s^4+c^4); Qd=[Qd11,Qd12,Qd16;Qd12,Qd22,Qd26;Qd16,Qd26,Qd66]; RQ(k,1)=Qd11; RQ(k,2)=Qd12; RQ(k,3)=Qd16; RQ(k,4)=Qd12; RQ(k,5)=Qd22; RQ(k,6)=Qd26; RQ(k,7)=Qd16; RQ(k,8)=Qd26; RQ(k,9)=Qd66; A=A+(Qd*(z(k)-z(k+1))); B=B+(Qd*((z(k))^2-(z(k+1))^2))/2; D=D+(Qd*((z(k))^3-(z(k+1))^3))/3; alphas=iTrans*alpha epsT=alphas*delT; epsT(3,1)=2*epsT(3,1);

thermalstrains(1,k)=epsT(1,1); thermalstrains(2,k)=epsT(2,1); thermalstrains(3,k)=epsT(3,1); NT=NT+(Qd*epsT*(z(k)-z(k+1))); MT=MT+(Qd*epsT*((z(k))^2-(z(k+1))^2)/2); end As=inv(A); Bs=(-inv(A))*B; Hs=B*(inv(A)); Ds=D-(B*(inv(A))*B); Ad=As-(Bs*(inv(Ds))*Hs); Bd=Bs*(inv(Ds)); Hd=(-inv(Ds))*Hs; Dd=inv(Ds); while (f==0) | (y==0); step=step+1; Nx=Nx+10; N=[Nx;Ny;Nxy]; M=[Mx;My;Mxy]; Nd=N+NT; Md=M+MT; Strains=[Ad,Bd;Hd,Dd]*[Nd;Md]; strainx0=Strains(1); strainy0=Strains(2); gamaxy0=Strains(3); kx=Strains(4); ky=Strains(5); kxy=Strains(6); for k=1:1:n; if (f==0) | (y==0); c=cos(q(k)); s=sin(q(k)); Trans=[c^2,s^2,2*s*c;s^2,c^2,-2*s*c;-s*c,s*c,(c^2-s^2)];

Stresses=[RQ(k,1),RQ(k,2),RQ(k,3);RQ(k,4),RQ(k,5),RQ(k,6);RQ(k,7),RQ(k,8),RQ( k,9)]*([strainx0;strainy0;gamaxy0][thermalstrains(1,k);thermalstrains(2,k);thermalstrains(3,k)]); str(k,1)=Stresses(1); str(k,2)=Stresses(2); str(k,3)=Stresses(3); NStresses=Trans*Stresses; Nstr(k,1)=NStresses(1);

Nstr(k,2)=NStresses(2); Nstr(k,3)=NStresses(3); holf=(NStresses(1)/Xt)^2(NStresses(1)*NStresses(2))/Xt^2+(NStresses(2)/Yt)^2+(NStresses(3)/Ss)^2; if (k==1) & (f==0) if holf<1 else k f=1; StressX1=Nx/Z; end else end if (k==2) & (y==0) if holf<1 else k y=1; StressX2=Nx/Z; end else end else end end end fprintf('you can see the Nx/t values below when first layer failed and when second layer failed.') StressX1 fprintf('Nx/t For 1st Layer') StressX2 fprintf('Nx/t For 2nd Layer')

When we worked this code, we should answer several questions. These questions are about our composite plate. So, we should respectively write the number of ply, the temprature difference, ply thicknesses and ply angles. You can these questions and their answers below. how many ply does your composite plate have :3 please, write the temperature difference :-111 please, write the ply thickness starting from the above one (m) :0.000127 please, write the ply thickness starting from the above one (m) :0.00127

please, write the ply thickness starting from the above one (m) :0.000127 please, write the fiber angles starting from above one :0 please, write the fiber angles starting from above one :90 please, write the fiber angles starting from above one :0

4.2) Matlab Results When we worked this code, we will take some values. This values written below and you can compare it with the solution which is in the book.

Q = 1.0e+010 * 5.4924 0.4578 0 0.4578 1.8312 0 0 0

0.8620

A = 1.0e+007 * 3.7206 0.6977 0.0000 0.0000 1.3137

0.6977 7.4405 0.0000 0.0000

Ad = 1.0e-007 * 0.2736 -0.0257 -0.0000 -0.0257 0.1368 -0.0000 0.7612

-0.0000 -0.0000

Especially, we work for on which stress value, 1st plate was failed and 2 nd plate was failed. And we know that;

So we will look the

value.

When T = 0 oC and 1st layer was failed. Solution of MATLAB

= 2.0742e+008
Solution on the book

= 209.3 Mpa
When T = 0 oC and 2nd layer was failed. Solution of MATLAB

= 3.7021e+007
Solution on the book

= 36.68 Mpa

When T = -111oC and 1st layer was failed. Solution of MATLAB

= 4.7238e+007
Solution on the book

= 43.37 Mpa
When T = -111oC and 2nd layer was failed. Solution of MATLAB

= 2.3891e+007
Solution on the book

= 23.44 Mpa

5) SOLUTION WITH USING ANSYS


Main Menu Preferences Structural - OK

Main Menu Preprocessor Modeling Create Areas Rectangle by Dimension Then, enter the plate X1, X2 and Y1, Y2 values.

Main Menu Preprocessor Element Type Add/Edit/Delete Click Add and select Shell 4node181

Main Menu Preprocessor Element Type Add/Edit/Delete Click options and select all layers to storage of layer data

Main Menu Preprocessor Material Properties Material Models Structural Linear Elastic Orthotropic Write the values

Main Menu Preprocessor Material Properties Material Models Structural Thermal Expansion Secant Coefficient Orthotropic Write the values

Main Menu Preprocessor Sections Shell Lay up Add/Edit Enter layers and write theirs thicknesses and angles

Main Menu Preprocessor Sections Shell Lay up Plot Section

Main Menu Preprocessor Meshing Mesh Tool Click Mesh and Pick All Then, select All Elements and click Refine, select 3 and click OK

Main Menu Preprocessor Loads Settings Uniform Temp - enter 21

Main Menu Preprocessor Loads Define Loads Apply Structural Displacement On Nodes OK select ALL DOF and enter 0

Main Menu Preprocessor Loads Define Loads Apply Structural Pressure On Lines select right and left lines of plate enter the Nx value which is 71990

Main Menu Solution Solve Current LS Main Menu General Postproc Plot Results Deformed Shape

Main Menu General Postproc Plot Results Contour Plot Nodal Solution Stress XComponent of Stress

There is SMX=39.1 Mpa and we know this value is 43.37 Mpa on the book.

This solution takes the results when the 1st layer was failed. So if we want to find when the 2nd layer was failed, what is the SMX value for 2nd layer we should go back and change the pressure which is equal to Nx value. And we should enter there 36410. Then we will find the values which is below.

We want to find SMX value for 2nd layer so we will enter the Layer,2 to the ansys command window and click ok.

There is SMX=22.5 Mpa and we know this value is 23.44 Mpa on the book.

These values are for T=-111oC. If we want to find the values for T=0oC, we should make these again.

6) COMPARISON OF THE RESULTS

Nx/t Value Coming Nx/t Value Coming From the Book From the MATLAB T=-111, for 1st Layer T=-111, for 2nd Layer T=-0, for 1st Layer T=-0, for 2nd Layer 43.37 Mpa 23.44 Mpa 209.3 Mpa 36.68 Mpa 47.24 Mpa 23.89 Mpa 207.42 Mpa 37.02 Mpa

Nx/t Value Coming From the ANSYS 39.10 Mpa 22.50 Mpa

I found the errors to use the result on the book being TRUE VALUE.

Nx/t Value Coming Nx/t Value Coming From the Book From the MATLAB T=-111, for 1st Layer T=-111, for 2nd Layer T=-0, for 1st Layer T=-0, for 2nd Layer 43.37 Mpa 23.44 Mpa 209.30 Mpa 36.68 Mpa 47.24 Mpa 23.89 Mpa 207.42 Mpa 37.02 Mpa

ERROR 8.92% 1.92% 0.90% 0.93%

Nx/t Value Coming Nx/t Value Coming From the Book From the ANSYS T=-111, for 1st Layer T=-111, for 2nd Layer 43.37 Mpa 23.44 Mpa 39.10 Mpa 22.50 Mpa

ERROR 9.84% 4.01%

Anda mungkin juga menyukai