Smart Structures - Project # 1

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

AER 494

Smart Structures

Project # 1

Coding fiber and matrix properties to get lamina properties (Using MATLAB). Solving problem 4.3 with code and compare the results with CADEC Software.

Matlab Code %Inputs: Em, Ef, neu_m, neu_f, Gm, Gf, Vm, Vf, alpha_m, alpha_f %Outputs: E1, E2, neu_12, neu_21, G12, alpha_1, alpha_2 % ---------- Inputs ---------- % disp('Inputs: Em, Ef, neu_m, neu_f, Gm, Gf, Vm, Vf, alpha_m, alpha_f'); Em=input(' Please enter E matrix = '); Ef=input(' Please enter E fiber = '); neu_m=input(' Please enter NEU matrix = '); neu_f=input(' Please enter NEU fiber = '); Gm=input(' Please enter G matrix = '); Gf=input(' Please enter G fiber = '); Vm=input(' Please enter Matrix Volume Ratio = '); Vf=input(' Please enter Fiber Volume Ratio = '); alpha_m=input(' Please enter Matrix Thermal Expansion Coeff. = '); alpha_f=input(' Please enter Fiber Thermal Expansion Coeff. = '); % ---------- Relations ---------- % E1=(Vm*Em)+(Vf*Ef); E2=(Em*Ef)/((Vf*Em)+(Vm*Ef)); neu_12=(Vf*neu_f)+(Vm*neu_m); neu_21=(E2/E1)*neu_12; G12=Gm/(Vm+((Vf*Gm)/Gf)); alpha_1=((alpha_f*Ef*Vf)+(alpha_m*Em*Vm))/E1; alpha_2=((1+neu_f)*alpha_f*Vf)+((1+neu_m)*alpha_m*Vm)(alpha_1*neu_12); % ---------- Outputs ---------- % disp(' '); disp('Outputs: E1, E2, neu_12, neu_21, G12, alpha_1, alpha_2'); disp('E1 = ');disp(E1); disp('E2 = ');disp(E2); disp('Neu_12 = ');disp(neu_12);

disp('Neu_21 = ');disp(neu_21); disp('G12 = ');disp(G12); disp('alpha_1 = ');disp(alpha_1); disp('alpha_2 = ');disp(alpha_2);

Matlab Results Fiber: Carbon, Matrix: Epoxy Inputs: Em, Ef, neu_m, neu_f, Gm, Gf, Vm, Vf. (alpha_m & alpha_f are not available in problem and in Chapter 2 tables) Please enter E matrix = 3.3e9 Please enter E fiber = 379e9 Please enter NEU matrix = 0.35 Please enter NEU fiber = 0.22 Please enter G matrix = (3.3e9)/2.7 Please enter G fiber = (379e9)/2.44 Please enter Matrix Volume Ratio = 0.3 Please enter Fiber Volume Ratio = 0.7 Please enter Matrix Thermal Expansion Coeff. = 0 Please enter Fiber Thermal Expansion Coeff. = 0 ************************************************************ Outputs: E1, E2, neu_12, neu_21, G12, alpha_1, alpha_2

E1 = 2.6629e+011

E2 = 1.0781e+010

Neu_12 = 0.2590

Neu_21 = 0.0105

G12 = 4.0006e+009

alpha_1 = 0

alpha_2 = 0

Comparing with Cadec Software, the results were the same.

You might also like