You are on page 1of 4

%SOLUCIN DEL PROBLEMA 6

disp(' SOLUCIN DEL PROBLEMA 6');


disp('******************************************');

disp(' INGRESO DE DATOS');


disp('******************************************');

Lo= input('Ingresar longitud [m] = ');


r=input('Ingresar radio promedio [mm] = ');
d=input('Ingresar distancia de aplicacion [m] = ');
P=input('Ingresar la fuerza vertical [N] = ');
Pr=input('Ingresar la presin manometrica [MPa] = ');
Ey=input('Ingresar el esfuerzo de fluencia [MPa] = ');
FS=input('Ingresar el factor de seguridad [u] = ');

disp(' CLCULOS');
disp('***********************************');

D=2*r;%(mm)
%PRIMERO OPTE POR EMPEZAR POR LA PARTE B POR LA RAZN PRINCIPAL
%DE OBTENER EL ESPESOR(t) PARA HACER LOS CALCULOS DE A

%PROCEDO A HALLAR LOS ESFUERZOS MAXIMOS

%PROCEDO A HALLAR MIS DATOS CON VARIABLES Y VER CUANDO ES MAXIMO


%SEGN LAS EXPRESIONES MATEMATICAS OBTENIDAS
%********************************************
syms L t;
r=0.5*D;
esf1=Pr*r/t; %por teoria de recipiente cilindrico
esf2=Pr*r/(2*t);%por teoria de recipiente cilindrico

%CALCULAMOS LA TORSION

%PRIMERO J=pi/2*(c2^4-c1^4)
c1=r;
c2=c1+t;%en funcion de (t)
J=(pi/2)*((c2)^4-(c1)^4)*(10^-12);%en funcion de (t)%unidades (m^4)%en
funcion de t
T=(P)*d;
esfxy=T*c2*(10^-3)/(J);%funcion de (t) %formula conocida de esfuerzo
transversal
I=J*0.5;%Momento de inercia
%Momento generada por la fuerza P en un punto a distancia L:
M=P*L;% esta en funcion de (L)
%Esfuerzo en un punto a la distancia L
esfuerzo=(M*(c2*10^-3)/I)*10^-6;%en funcion de ("t" y "L")

%CALCULAMOS ESFUERZOS TOTALES (MPa)


esfx=esf2+esfuerzo;%longitudinal
esfy=esf1;%Circunferencial
txy=esfxy*10^-6;
%Segn el crculo de mohr
R=(((esfx-esfy)/2)^2+(txy)^2)^0.5;
esfmax=0.5*(esfx+esfy)+R;
tmax=R;% en el plano

%AL ANALIZAR LAS EXPRESIONES MATEMATICAS OBTENIDAS


%El tmax se da a longitud L
tmaxmaximo=subs(tmax,L,Lo);%en funcion solamente de t

%PROCEDEMOS A RESOLVER LA ECUACION con una sola variable


%SEGUN EL CRITERIO DE FALLA DE MAXIMO ESFUERZO CORTANTE
% 2*FS*R=ESFUERZO DE FLUENCIA
%OBTENEMOS EL ESPESOR
espesores=solve(2*FS*tmaxmaximo==Ey);
espesores=double(espesores);
%OBTENEMOS MUCHOS VALORES DEBIDO A LA EXPRESION CUARTICA t^4 en J
%PROCEDEMOS A ESCOGER EL VALOR REAL MINIMO DE LAS RAICES OBTENIDAS
ppa=[];
for i=1:length(espesores)
if(isreal(espesores(i))==1)
if(espesores(i)>0)
ppa=[ppa espesores(i)];
end
end

end
espesor=min(ppa);

%PARTE A
%************
%Como ya tenemos expresada algebraicamente para cualquier "t" y "L"
%Solo procedemos a reeemplazar datos

%PARA EL PUNTO a

esfxa=subs(esfx,t,espesor);
esfxa=subs(esfxa,L,Lo/2);
esfya=subs(esfy,t,espesor);
esfya=subs(esfya,L,Lo/2);
txya=subs(txy,t,espesor);
tangente2tetaa=abs(txya/((esfxa-esfya)/2));
anguloa=(atan(tangente2tetaa))/2;
tmaxa=subs(tmax,L,Lo/2);
tmaxa=subs(tmaxa,t,espesor);
%Esfuerzos principales para a:
Esfuerzomaximoa=((esfxa+esfya)/2)+tmaxa;
Esfuerzominimoa=((esfxa+esfya)/2)-tmaxa;

%PARA EL PUNTO b

esfxb=subs(esfx,t,espesor);
esfxb=subs(esfxb,L,Lo);
esfyb=subs(esfy,t,espesor);
esfyb=subs(esfyb,L,Lo);
txyb=subs(txy,t,espesor);
tangente2tetab=abs(txyb/((esfxb-esfyb)/2));
angulob=(atan(tangente2tetab))/2;
tmaxb=subs(tmax,L,Lo);
tmaxb=subs(tmaxb,t,espesor);
%Esfuerzos principales para b:
Esfuerzomaximob=((esfxb+esfyb)/2)+tmaxb;
Esfuerzominimob=((esfxb+esfyb)/2)-tmaxb;

%MOSTRAR LOS RESULTADOS

disp(' MOSTRAR RESULTADOS PARTE A');


disp('**************************************');
disp(' Para el punto a :');
disp('Planos principales y esfuerzos principales ');
fprintf('Angulo tetap = %d ()\n',(anguloa*180)/pi);
fprintf('Esfuerzo minimo = %d (MPa)\n',Esfuerzominimoa);
fprintf('Esfuerzo maximo = %d (MPa)\n',Esfuerzomaximoa);

disp(' Para el punto b :');


disp('Planos principales y esfuerzos principales ');
fprintf('Angulo tetap = %d ()\n',(angulob*180)/pi);
fprintf('Esfuerzo minimo = %d (MPa)\n',Esfuerzominimob);
fprintf('Esfuerzo maximo = %d (MPa)\n',Esfuerzomaximob);

disp(' MOSTRAR RESULTADOS PARTE B');


disp('**************************************');
fprintf('Espesor t= %d (mm)\n',espesor);
OBTENIDO:

******************************************

INGRESO DE DATOS

******************************************

Ingresar longitud [m] = 1.5

Ingresar radio promedio [mm] = 225

Ingresar distancia de aplicacion [m] = 0.5

Ingresar la fuerza vertical [N] = 5000

Ingresar la presin manometrica [MPa] = 1.8

Ingresar el esfuerzo de fluencia [MPa] = 18.8

Ingresar el factor de seguridad [u] = 1

CLCULOS

***********************************

MOSTRAR RESULTADOS PARTE A

**************************************

Para el punto a :

Planos principales y esfuerzos principales

Angulo tetap = 2 ()

Esfuerzo minimo = 27 (MPa)

Esfuerzo maximo = 49 (MPa)

Para el punto b :

Planos principales y esfuerzos principales

Angulo tetap = 3 ()

Esfuerzo minimo = 30 (MPa)

Esfuerzo maximo = 49 (MPa)

MOSTRAR RESULTADOS PARTE B

**************************************

Espesor t= 8.350650e+00 (mm)

You might also like