Project1

2
The Code: function [Em,Ef,Vf,alpha_m,alpha_f,poi_m,poi_f,Gm,Gf]=comp osite(E1,E2,alpha_1,alpha_2,poi_12,poi_21,G12) %Given Em=input('The modulus of Elasticity of matrix = '); Ef=input('The modulus of Elasticity of fiber = '); Vf=input('Volume ratio of fiber = '); alpha_m=input('Thermal expansion coeff. of matrix = '); alpha_f=input('Thermal expansion coeff. of fiber = '); poi_m=input('Poisson ratio of matrix = '); poi_f=input('Poisson ratio of fiber = '); Gm=input('The modulus of rigidity of matrix = '); Gf=input('The modulus of rigidity of fiber = '); %the lamina of composite material consist of fillament of fibers and matrix (Resin) % we get the properties in dir-1 (which is the direction of fibers) & % dir-2 (which is perpendicular on fibers) Vm=1-Vf; %volume ratio of matrix E1=Vm*Em+Vf*Ef %modulus of Elasticity in dir-1 E2=(Em*Ef)/(Vf*Em+Vm*Ef) %modulus of Elasticity in dir-2 alpha_1=(1/E1)*(Ef*Vf*alpha_f+Em*Vm*alpha_m) %thermal expansion coeff in dir 1 alpha_2=alpha_f*Vf+alpha_m*Vm %thermal expansion coeff in dir 2 poi_12=poi_f*Vf+poi_m*Vm %poisson's ratio in plan-12 poi_21=poi_12 %poisson's ratio in plan-21 G12=(Gm)/(Vm+Vf*(Gm/Gf)) %modulus of rigidity in plan-12

Transcript of Project1

Page 1: Project1

The Code:

function

[Em,Ef,Vf,alpha_m,alpha_f,poi_m,poi_f,Gm,Gf]=comp

osite(E1,E2,alpha_1,alpha_2,poi_12,poi_21,G12)

%Given

Em=input('The modulus of Elasticity of matrix =

');

Ef=input('The modulus of Elasticity of fiber =

');

Vf=input('Volume ratio of fiber = ');

alpha_m=input('Thermal expansion coeff. of matrix

= ');

alpha_f=input('Thermal expansion coeff. of fiber

= ');

poi_m=input('Poisson ratio of matrix = ');

poi_f=input('Poisson ratio of fiber = ');

Gm=input('The modulus of rigidity of matrix = ');

Gf=input('The modulus of rigidity of fiber = ');

%the lamina of composite material consist of

fillament of fibers and matrix (Resin)

% we get the properties in dir-1 (which is the

direction of fibers) &

% dir-2 (which is perpendicular on fibers)

Vm=1-Vf; %volume ratio of matrix

E1=Vm*Em+Vf*Ef %modulus of

Elasticity in dir-1

E2=(Em*Ef)/(Vf*Em+Vm*Ef) %modulus of

Elasticity in dir-2

alpha_1=(1/E1)*(Ef*Vf*alpha_f+Em*Vm*alpha_m)

%thermal expansion coeff in dir 1

alpha_2=alpha_f*Vf+alpha_m*Vm

%thermal expansion coeff in dir 2

poi_12=poi_f*Vf+poi_m*Vm %poisson's

ratio in plan-12

poi_21=poi_12 %poisson's

ratio in plan-21

G12=(Gm)/(Vm+Vf*(Gm/Gf)) %modulus

of rigidity in plan-12

Page 2: Project1

The Test

1. Inputs:

The modulus of Elasticity of matrix = 3.4

The modulus of Elasticity of fiber = 72.0

Volume ratio of fiber = 0.55

Thermal expansion coeff. of matrix = 30.0E-6

Thermal expansion coeff. of fiber = 5.4e-6

Poisson ratio of matrix = 0.38

Poisson ratio of fiber = 0.21

The modulus of rigidity of matrix = 1.23188

The modulus of rigidity of fiber = 29.7521

2. Output

E1 = 41.1300

E2 = 7.1433

α1= 6.3151e-006

α2= 1.6470e-005

ν12= 0.2865

ν21= 0.2865

G12= 2.6056

3. Comparing with the data from CADEC

All values are the same except

α2= 1.45921E-005 (which has a small error)

G12= 3.758