Está en la página 1de 4

Ejercicio Deber 5

nod=9; nr=3;
RES=[ 1 1 1 1;
2 1 1 1;
3 1 1 1];
[CG,ngl]=cg(nod,nr,RES)
GEN=[1 1 4 2 1 1 1;
4 4 7 2 1 1 1;
7 4 5 1 2 3 3;
8 5 6 1 2 3 3];
[NI,NJ]=gn_portico(GEN);
NUDOS=[1 0 0 2 3 0 3;
2 3 0 2 3 0 3;
3 7 0 2 3 0 3];
[X,Y]=glinea_portico(NUDOS);
dibujo (X,Y,NI,NJ); grid on; hold on
[VC]=vc(NI,NJ,CG);
[L,seno,coseno]=longitud (X,Y,NI,NJ);
njc=0;F=[3 3 0 0];datos=0;
nmc=4;Fm=[7 3 1 0 0;
8 3 1 0 0;
9 3 1 0 0;
10 3 1 0 0];
[Q,Q2]=cargas(njc,nmc,ngl,L,seno,coseno,CG,VC,F,Fm,datos)
SECCION=[1 0.30 0.30 2 1;
4 0.30 0.30 2 1;
7 0.25 0.40 1 2;
8 0.25 0.40 1 2];
[ELEM]=gelem_portico(SECCION)
E=15100*sqrt(210);
[K]=krigidez(ngl,ELEM,L,seno,coseno,VC,E);
q=K\Q
[FF]=fuerzas(ngl,ELEM,L,seno,coseno,VC,E,q,Q2)

Resultado.
CG =

0 0 0
0 0 0
0 0 0
1 2 3
4 5 6
7 8 9
10 11 12
13 14 15
16 17 18

ngl =
18

Q =

0
-4.5000
-2.2500
0
-10.5000
-1.7500
0
-6.0000
4.0000
0
-4.5000
-2.2500
0
-10.5000
-1.7500
0
-6.0000
4.0000

Q2 =

0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 4.5000 2.2500 0 4.5000 -2.2500
0 6.0000 4.0000 0 6.0000 -4.0000
0 4.5000 2.2500 0 4.5000 -2.2500
0 6.0000 4.0000 0 6.0000 -4.0000

ELEM =

0.3000 0.3000
0.3000 0.3000
0.3000 0.3000
0.3000 0.3000
0.3000 0.3000
0.3000 0.3000
0.2500 0.4000
0.2500 0.4000
0.2500 0.4000
0.2500 0.4000

q =

-0.0010
-0.0012
-0.0023
-0.0009
-0.0035
-0.0017
-0.0008
-0.0017
0.0058
-0.0031
-0.0018
-0.0035
-0.0032
-0.0053
-0.0028
-0.0034
-0.0025
0.0092

FF =

7.8146 -0.2812 -0.3089 -7.8146 0.2812 -0.5347


23.0526 -0.2247 -0.2514 -23.0526 0.2247 -0.4227
11.1328 0.5059 0.4728 -11.1328 -0.5059 1.0449
3.7735 -0.6882 -0.9730 -3.7735 0.6882 -1.0917
11.7576 -0.5773 -0.8141 -11.7576 0.5773 -0.9179
5.4688 1.2656 1.7324 -5.4688 -1.2656 2.0643
-0.4070 4.0411 1.5077 0.4070 4.9589 -2.8845
-0.7596 6.3360 4.1213 0.7596 5.6640 -2.7773
0.6882 3.7735 1.0917 -0.6882 5.2265 -3.2711
1.2656 6.5312 4.1890 -1.2656 5.4688 -2.0643

También podría gustarte