Está en la página 1de 12

UNIVERSIDAD ALAS PERUANAS

FACULTAD DE INGENIERIAS Y ARQUITECTURA

ESCUELA PROFESIONAL DE INGENIERIA CIVIL

CALCULO POR METODO MATRICIAL – MATLAB –


SAP2000
Presentado por:
Russel Keler Llanqui Balvin

DOCENTE: Ing. Huacre Vila Jean M.

Ayacucho, Abril
2019.
PORTICO POR METODO MATRICIAL - MATLAB

DATOS:

PRIMERA CARPETA DE FUNCIÒN:

1:

function [C,L,cs,sn] =axibend_C( x1,x2,y1,y2)


%C matriz de equilibrio
%L Longitud de la barra
%cs coseno
%sn Seno
%x1,x2,y1,y2 coordenadas
L=sqrt((x2-x1)^2+(y2-y1)^2);
cs=(x2-x1)/L;
sn=(y2-y1)/L;
R=(x2-x1)/(L*L)
S=(y2-y1)/(L*L)
C=[-S -S -cs
R R -sn
1 0 0
S S cs
-R -R sn
0 1 0];

End

SEGUNDA CARPETA DE FUNCIÒN:

2:

clc
clear all
close all
% Matriz de incidencia

a=[ 1 2 3 4 5 6
4 5 6 7 8 9
10 11 12 7 8 9 ]

% Vector de orden

aa= [ 1 2 3
4 5 6
7 8 9]

% Calcular la matriz de equilibrio de cada barra


[C1,L1,cs1,sn1] =axibend_C( 0,0,0,5);
[C2,L2,cs2,sn2] =axibend_C( 0,5,5,5);
[C3,L3,cs3,sn3] =axibend_C( 5,5,0,5);

C1
C2
C3

% Matriz de equilibrio de la estructura


C=zeros(12,9);
C(a(1,:)',aa(1,:))=C(a(1,:)',aa(1,:))+C1;
C(a(2,:)',aa(2,:))=C(a(2,:)',aa(2,:))+C2;
C(a(3,:)',aa(3,:))=C(a(3,:)',aa(3,:))+C3;
disp('matriz de equilibrio de la estructura')
C

% Vector de cargas de la estructura

Q= zeros(12,1);
disp('Vector de Cargas')
Q(4,1)=5

% Vector de cargas de la estructura


QL= zeros(12,1);

QL(5,1)=2.5;
QL(8,1)=2.5;

% Estrategia reductiva
disp('matriz de equilibrio reducida')
r=[1,2,11];

C(r,:)=[]

disp('Vector de cargas reducida')

Q(r,:)=[]
disp('Vector de cargas locales')
QL(r,:)=[]

disp('Vector de cargas reducida final')


RF=Q-QL
% La soluciòn
disp('FUERZAS INTERNAS')

F=inv(C)*RF

disp('REACCIONES')

Px=5;
Py=5;
eta=2.5;
xi=L2-eta;
P=-Px*sn2+Py*cs2;
T=Px*cs2+Py*sn2;
R1=-Py

R2=(Px*eta-Py*L1)/L2

R11=Py-R2

SOLUCION DEL EJERCICIO MATRICIAL

Matlab

a=

1 2 3 4 5 6

4 5 6 7 8 9

10 11 12 7 8 9

aa =

1 2 3

4 5 6

7 8 9

C1 =

-1 -1 0

0 0 -1

1 0 0

1 1 0

0 0 1

0 1 0
C2 =

0 0 -1

1 1 0

1 0 0

0 0 1

-1 -1 0

0 1 0

C3 =

-1 -1 0

0 0 -1

1 0 0

1 1 0

0 0 1

0 1 0

matriz de equilibrio de la estructura

C=

-1 -1 0 0 0 0 0 0 0

0 0 -1 0 0 0 0 0 0

1 0 0 0 0 0 0 0 0

1 1 0 0 0 -1 0 0 0

0 0 1 1 1 0 0 0 0

0 1 0 1 0 0 0 0 0

0 0 0 0 0 1 1 1 0

0 0 0 -1 -1 0 0 0 1

0 0 0 0 1 0 0 1 0

0 0 0 0 0 0 -1 -1 0

0 0 0 0 0 0 0 0 -1

0 0 0 0 0 0 1 0 0
Vector de Cargas

Q=

matriz de equilibrio reducida

C=

1 0 0 0 0 0 0 0 0

1 1 0 0 0 -1 0 0 0

0 0 1 1 1 0 0 0 0

0 1 0 1 0 0 0 0 0

0 0 0 0 0 1 1 1 0

0 0 0 -1 -1 0 0 0 1

0 0 0 0 1 0 0 1 0

0 0 0 0 0 0 -1 -1 0

0 0 0 0 0 0 1 0 0
Vector de cargas reducida

Q=

Vector de cargas locales

QL =

2.5000

2.5000

Vector de cargas reducida final

RF =

5.0000

-2.5000

0
0

-2.5000

FUERZAS INTERNAS

F=

5.0000

2.5000

-5.0000

-7.5000

REACCIONES

R1 =

-5

R2 =

-2.5000

R11 =

7.5000
ANEXO
GRAFICAS DE LA DEFORMACION DE UN PORTICO - SAP2000

PLANTEAMIENTO

REACCIONES
DEFORMACIONES

FUERZAS CORTANTES
MOMENTO

También podría gustarte