Académique Documents
Professionnel Documents
Culture Documents
Vista Lateral
Vista Superior
2. MATERIALES
Vigas
Columnas
Tensores
Vista Superior
Vista Lateral
4. SUBRUTINAS DE PROGRAMACIN
dx= p2(1)-p1(1);
dy= p2(2)-p1(2);
dz= p2(3)-p1(3);
L=sqrt(dx^2+dy^2+dz^2);
cx=dx/L;
cy=dy/L;
cz=dz/L;
raiz=sqrt(cx^2+cy^2);
C= [0 -cz 0
0 0 -1
cz 0 0];
end
%Construcion de la matriz TAEsp
TAEsp=[C zeros(3,3)
zeros(3,3) C ];
end
Ra= A*E/L;
K= [Ra 0 0 -Ra 0 0
0 0 0 0 0 0
0 0 0 0 0 0
-Ra 0 0 Ra 0 0
0 0 0 0 0 0
0 0 0 0 0 0];
end
dx= p2(1)-p1(1);
dy= p2(2)-p1(2);
dz= p2(3)-p1(3);
L=sqrt(dx^2+dy^2+dz^2);
cx=dx/L;
cy=dy/L;
cz=dz/L;
raiz=sqrt(cx^2+cy^2);
C= [0 -cz 0
0 0 -1
cz 0 0 ];
end
fi=Fi*pi/180;
if fi>0
Cfi=[1 0 0
0 cos(fi) -sin(fi)
0 sin(fi) cos(fi)];
C=C*Cfi;
end
%Construcion de la matriz TME
TMEsp=[C zeros(3,3) zeros(3,3) zeros(3,3)
zeros(3,3) C zeros(3,3) zeros(3,3)
zeros(3,3) zeros(3,3) C zeros(3,3)
zeros(3,3) zeros(3,3) zeros(3,3) C];
end
K= [Ra 0 0 0 0 0 -Ra 0 0 0 0 0
0 tz 0 0 0 bz 0 -tz 0 0 0 bz
0 0 ty 0 -by 0 0 0 -ty 0 -by 0
0 0 0 kt 0 0 0 0 0 -kt 0 0
0 0 -by 0 ky 0 0 0 by 0 ay 0
0 bz 0 0 0 kz 0 -bz 0 0 0 az
-Ra 0 0 0 0 0 Ra 0 0 0 0 0
0 -tz 0 0 0 -bz 0 tz 0 0 0 -bz
0 0 -ty 0 by 0 0 0 ty 0 by 0
0 0 0 -kt 0 0 0 0 0 kt 0 0
0 0 -by 0 ay 0 0 0 by 0 ky 0
0 bz 0 0 0 az 0 -bz 0 0 0 kz];
end
ng = length(Lee);
for i = 1:ng
ii = Lee(i);
if ii > 0
if ii <= ngdl
SAEP(ii) = SAEP(ii) + AEP(i);
end
end
end
end
5. CODIFICACIN PRINCIPAL
%% Materiales
fc=240;
miu=0.2;
Ec=135000*fc^.5;%T/m2
G=Ec/2/(1+miu);
Ea=2.04*10^7;
%% Propiedad de la viga T
Iz=0.094266667;
Iy=0.46440000;
Ix=0.05051200;
A= 1.080;
P1=[20 0 5];
R=20;
P3=[R*cosd(30) R*sind(30) 5];
L=1/2*sqrt((P1(1)-P3(1))^2+(P1(2)-P3(2))^2+(P1(3)-P3(3))^2);
% Vigas
%[K]=M_KMEsp(A, Ix, Iy, Iz, L, E, G)
% Columna
%[K]=M_KMEsp(A, Ix, Iy, Iz, L, E, G)
[kc]=M_KMEsp(Ac, Ixc, Iyc, Izc, 5, Ec, G);
%Tensores
%[K] =M_KAEsp(A, L, E)
[kt] =M_KAEsp(At, Lt, Ea);
%% Matriz de trasformacion
R2= 20;
R1= R2/sind(90)*sind(75);
P1=[R2*cosd(0) R2*sind(0) 5];
P2=[R1*cosd(15) R1*sind(15) 5];
P3=[R2*cosd(30) R2*sind(30) 5];
P4=[R1*cosd(45) R1*sind(45) 5];
P5=[R2*cosd(60) R2*sind(60) 5];
P6=[R1*cosd(75) R1*sind(75) 5];
P7=[R2*cosd(90) R2*sind(90) 5];
P8=[R2*cosd(30) R2*sind(30) 0];
P9=[R2*cosd(30) R2*sind(30) 10];
P10=[R2*cosd(60) R2*sind(60) 0];
P11=[R2*cosd(60) R2*sind(60) 10];
% Vigas
% [TMEsp]=MT_MEsp(p1, p2, Fi)
[T1]=MT_MEsp(P1, P2, 0);
[T2]=MT_MEsp(P2, P3, 0);
[T3]=MT_MEsp(P3, P4, 0);
[T4]=MT_MEsp(P4, P5, 0);
[T5]=MT_MEsp(P5, P6, 0);
[T6]=MT_MEsp(P6, P7, 0);
% Columnas
% [TMEsp]=MT_MEsp(p1, p2, Fi)
[T7]=MT_MEsp(P8, P3, 0);
T8=T7;
T9=T7;
T10=T7;
% Tensor
%[TAEsp] =MT_AEsp(p1, p2)
[T11]=MT_AEsp(P2, P9);
[T12]=MT_AEsp(P9, P4);
[T13]=MT_AEsp(P4, P11);
[T14]=MT_AEsp(P11, P6);
%% Vector de ensamblaje
lee1=[49:51 1:3 4:9];
lee2=[4:9 10:15];
lee3=[10:15 16:21];
lee4=[16:21 22:27];
lee5=[22:27 28:33];
lee6=[28:33 52:54 34:36];
lee7=[55:60 10:15];
lee8=[10:15 37:42];
lee9=[61:66 22:27];
lee10=[22:27 43:48];
lee11=[4:6 37:39];
lee12=[37:39 16:18];
lee13=[16:18 43:45];
lee14=[43:45 28:30];
%% Ensamblaje
% [S]=Ens(lee,K,S,ngdl)
ngdl=48;
S=zeros(ngdl);
[S]=Ens(lee1,K1,S,ngdl);
[S]=Ens(lee2,K2,S,ngdl);
[S]=Ens(lee3,K3,S,ngdl);
[S]=Ens(lee4,K4,S,ngdl);
[S]=Ens(lee5,K5,S,ngdl);
[S]=Ens(lee6,K6,S,ngdl);
[S]=Ens(lee7,K7,S,ngdl);
[S]=Ens(lee8,K8,S,ngdl);
[S]=Ens(lee9,K9,S,ngdl);
[S]=Ens(lee10,K10,S,ngdl);
[S]=Ens(lee11,K11,S,ngdl);
[S]=Ens(lee12,K12,S,ngdl);
[S]=Ens(lee13,K13,S,ngdl);
[S]=Ens(lee14,K14,S,ngdl);
%Dato
w=4.25; %T/m
Fx=0;
Fy=w*L/2;
Fz=0;
Mx=0;
My=0;
Mz=w*L^2/12;
%% Ensamblaje SAEP
SAEP=zeros(ngdl,1);
[SAEP]=Ens_SAEP(lee1,AEP1,SAEP,ngdl);
[SAEP]=Ens_SAEP(lee2,AEP2,SAEP,ngdl);
[SAEP]=Ens_SAEP(lee3,AEP3,SAEP,ngdl);
[SAEP]=Ens_SAEP(lee4,AEP4,SAEP,ngdl);
[SAEP]=Ens_SAEP(lee5,AEP5,SAEP,ngdl);
[SAEP]=Ens_SAEP(lee6,AEP6,SAEP,ngdl);
av=[a1 a2 a3 a4 a5 a6];
ac=[a7 a8 a9 a10];
at=[a11 a12 a13 a14 ];
A1=T1*a1;
A2=T2*a2;
A3=T3*a3;
A4=T4*a4;
A5=T5*a5;
A6=T6*a6;
A7=T7*a7;
A8=T8*a8;
A9=T9*a9;
A10=T10*a10;
A11=T11*a11;
A12=T12*a12;
A13=T13*a13;
A14=T14*a14;
PR=zeros(66,1);
[PR]=Ens_SAEP(lee1,A1,PR,66);
[PR]=Ens_SAEP(lee2,A2,PR,66);
[PR]=Ens_SAEP(lee3,A3,PR,66);
[PR]=Ens_SAEP(lee4,A4,PR,66);
[PR]=Ens_SAEP(lee5,A5,PR,66);
[PR]=Ens_SAEP(lee6,A6,PR,66);
[PR]=Ens_SAEP(lee7,A7,PR,66);
[PR]=Ens_SAEP(lee8,A8,PR,66);
[PR]=Ens_SAEP(lee9,A9,PR,66);
[PR]=Ens_SAEP(lee10,A10,PR,66);
[PR]=Ens_SAEP(lee11,A11,PR,66);
[PR]=Ens_SAEP(lee12,A12,PR,66);
[PR]=Ens_SAEP(lee13,A13,PR,66);
[PR]=Ens_SAEP(lee14,A14,PR,66
6. CLCULO DE INERCIA
7. RESULTADOS
PR = 33. 5,44009282066327e-15
34. -1,39730135347708e-14
1. 7,52831006775852e-14 35. -1,09681016974460e-14
2. 7,29890656409253e-15 36. -1,24344978758018e-14
3. 2,44249065417534e-14 37. 4,66293670342566e-15
4. 2,82759926584220e-15 38. 7,21644966006352e-16
5. 1,09634523681734e-15 39. 8,22952817003397e-15
6. -1,61884394778156e-14 40. -2,66453525910038e-15
7. 1,20792265079217e-13 41. -8,88178419700125e-15
8. 4,61852778244065e-14 42. -1,38777878078145e-17
9. 1,54321000422897e-14 43. 2,49106291150270e-15
10. 1,15463194561016e-14 44. 3,40005801291454e-16
11. 1,59872115546023e-14 45. -6,20337115009306e-15
12. 0 46. 0
13. 1,90958360235527e-14 47. -4,44089209850063e-15
14. -4,35207425653061e-14 48. -2,08166817117217e-17
15. -1,67435509901281e-14 49. -2,05024398190230
16. 3,28556626350007e-15 50. 8,06976382475551
17. -2,10144401879830e-14 51. 19,2365520000574
18. -4,14321355002301e-14 52. 8,06976382475554
19. 3,90798504668055e-14 53. -2,05024398190231
20. -7,10542735760100e-15 54. 19,2365520000573
21. -3,41948691584548e-14 55. -3,60266804293947
22. -1,90958360235527e-14 56. -2,41685179991377
23. 2,26485497023532e-14 57. 46,7623045010854
24. 6,39488462184090e-14 58. 3,96081781033810
25. 3,19744231092045e-14 59. -5,90972833447453
26. -1,33226762955019e-15 60. -0,0130869589442834
27. 4,71844785465692e-15 61. -2,41685179991377
28. -1,14908083048704e-14 62. -3,60266804293947
29. 1,21951060361170e-14 63. 46,7623045010854
30. -3,05588887528074e-14 64. 5,90972833447453
31. 1,77635683940025e-15 65. -3,96081781033810
32. -2,84217094304040e-14 66. 0,0130869589442834
8. MODELACIN EN SAP Y RESULTADOS DEL PROGRAMA
9. DIAGRAMA DE MOMENTOS