Está en la página 1de 9

UNIVERSIDAD MILITAR NUEVA GRANADA

FACULTAD DE INGENIERÍA
INGENIERÍA MECATRÓNICA
ELEMENTOS FINITOS
CÓDIGOS ESTUDIANTES
1802006
1802623
1802716

Fecha: 10 / 03 / 2018

ELEMENTOS FINITOS – SEGUNDO CORTE


1. Ejercicio 1: Desplazamientos y estrés en Barras 2D

P= 10 KLb
Fig. 1: Barras 2D

a. Matriz de incidencia o conectividad.

Elemento Nodo i Nodo j Angulo


1 1x 1y 2x 2y 0
2 1x 1y 3x 3y 45
3 1x 1y 4x 4y 90
- Códigos matrices particulares
b. Matriz de Rigidez global

c. Desplazamiento de las barras.


U1x = 0 ft
U1y = 0.0068 ft
U2x =0 ft
U2y =0 ft
U3x =0 ft
U3y = 0 ft
U4x = 0 ft
U4y =0 ft

d. Vector de fuerzas de reacción y externas en los nodos (con unidades).

F1x = 0 Lb/ft
F1y = 0 Lb/ft
F2x = 0 Lb/ft
F2y = 0 Lb/ft
F3x = 0 Lb/ft
F3y = -4.1421e+03 Lb/ft
F4x = 0 Lb/ft
F4y = -5.8579e+03 Lb/ft

e. Fuerzas internas en las barras


Fi1 =
0
0
0
0

Fi2 =
0
4142.1 Lbf
0
-4142.1 Lbf

Fi3 =
0
5857.9 Lbf
0
-5857.9 Lbf
f. Estrés en las barras
G1 =
0
0
0
0
G2 =
0
14.3824 Lb ft
0
-14.3824 Lb ft

G3 =
0
20.3398 Lb ft
0
-20.3398 Lb ft

2. Ejercicio 1: Desplazamiento y estrés Barras y resorte 2D

P=25KN
Fig. 2: Barras y resorte 2D

a. Matriz de incidencia o conectividad.

Elemento Nodo i Nodo j Angulo


1 1x 1y 2x 2y 45
2 1x 1y 3x 3y 0
3 1x 1y 4x 4y 135
- Códigos matrices particulares
b. Matriz de Rigidez global

c. Desplazamiento de las barras.


U1x =-4.0476e-04 m
U1y =0.0016 m
U2x = 0 m
U2y = 0 m
U3x = 0 m
U3y = 0 m
U4x = 0 m
U4y = 0 m

d. Vector de fuerzas de reacción y externas en los nodos (con unidades).


F1x =0 N/m
F1y =25000 N/m
F2x =0 N/m
F2y =-12500 N/m
F3x =0 N/m
F3y =-10500 N/m
F4x = 0 N/m
F4y = -2.000 N/m

e. Fuerzas internas en las barras y resorte


Fi1 =
12500 N
12500 N
-12500 N
-12500 N

Fi2 =
-10500 N
10500 N
10500 N
-10500 N

Fi3 =
-2000 N
2000 N
2000 N
-2000 N
f. Estrés en las barras
G1 =
25000000 Nm
25000000 Nm
-25000000 Nm
-25000000 Nm

G2 =
-21000000 Nm
21000000 Nm
21000000 Nm
-21000000 Nm

Anexos
Código ejercicio 1
%Taller 5 Barras 2D
clc
clear all
close all
%Variables
syms P E A L U1x U1y U2x U2y U3x U3y U4x U4y
syms F1x F1y F2x F2y F3x F3y F4x F4y
%Condiciones de frontera
%para simbolico
E=30e3 %Ksi
A=288 %ft^2
L=[10 (10^2+10^2)^(1/2) 10] %FT
TH=[0 45 90]

U2x = 0;
U2y = 0;
U3x = 0;
U3y = 0;
U4x = 0;
U4y = 0;
F1x = 0;%
F1y = 10e3;%

%Matrices Particulares
%LLenado

K1=(E*A/L(1))*[cosd(TH(1))^2 cosd(TH(1))*sind(TH(1)) -cosd(TH(1))^2


-cosd(TH(1))*sind(TH(1));
cosd(TH(1))*sind(TH(1)) sind(TH(1))^2 -cosd(TH(1))*sind(TH(1)) -sind(TH(1))^2;
-cosd(TH(1))^2 -cosd(TH(1))*sind(TH(1)) cosd(TH(1))^2 cosd(TH(1))*sind(TH(1));
-cosd(TH(1))*sind(TH(1)) -sind(TH(1))^2 cosd(TH(1))*sind(TH(1)) sind(TH(1))^2]
K2=(E*A/L(2))*[cosd(TH(3))^2 cosd(TH(3))*sind(TH(3)) -cosd(TH(3))^2
-cosd(TH(3))*sind(TH(3));
cosd(TH(3))*sind(TH(3)) sind(TH(3))^2 -cosd(TH(3))*sind(TH(3)) -sind(TH(3))^2;
-cosd(TH(3))^2 -cosd(TH(3))*sind(TH(3)) cosd(TH(3))^2 cosd(TH(3))*sind(TH(3));
-cosd(TH(3))*sind(TH(3)) -sind(TH(3))^2 cosd(TH(3))*sind(TH(3)) sind(TH(3))^2]
K3=(E*A/L(3))*[cosd(TH(3))^2 cosd(TH(3))*sind(TH(3)) -cosd(TH(3))^2
-cosd(TH(3))*sind(TH(3));
cosd(TH(3))*sind(TH(3)) sind(TH(3))^2 -cosd(TH(3))*sind(TH(3)) -sind(TH(3))^2;
-cosd(TH(3))^2 -cosd(TH(3))*sind(TH(3)) cosd(TH(3))^2 cosd(TH(3))*sind(TH(3));
-cosd(TH(3))*sind(TH(3)) -sind(TH(3))^2 cosd(TH(3))*sind(TH(3)) sind(TH(3))^2]
%inicializacion Matriz Rigidez
K=zeros(8);
%LLenado Matriz de Rigidez Global por E*A/L
for i=1:1:4
for j=1:1:4
K(i,j)=+K1(i,j);
end
end
for i=1:1:4
for j=1:1:4
if i==3
ia=5;
else
ia=i;
end
if i==4
ia=6;
else
ia=i;
end
if j==3
ja=5;
else
ja=j;
end
if j==4
ja=6;
else
ja=j;
end
K(ia,ja)=K(ia,ja)+K2(i,j);

end
end
for i=1:1:4
for j=1:1:4
if i==3
ia=7;
else
ia=i;
end
if i==4
ia=8;
else
ia=i;
end
if j==3
ja=7;
else
ja=j;
end
if j==4
ja=8;
else
ja=j;
end
K(ia,ja)=K(ia,ja)+K3(i,j);

end
end
K
%Matriz DESPLAZAMIENTO
U=[U1x;U1y;U2x;U2y;U3x;U3y;U4x;U4y]
%Matriz FUERZAS
F=[F1x;F1y;F2x;F2y;F3x;F3y;F4x;F4y]

K*U==F

[U1x,U1y,F2x,F2y,F3x,F3y,F4x,F4y]=solve(K*U==F,U1x,U1y,F2x,F2y,F3x,F3y,F4x,F4y);
U1x=double(U1x)
U1y=double(U1y)
F2x=double(F2x)
F2y=double(F2y)
F3x=double(F3x)
F3y=double(F3y)
F4x=double(F4x)
F4y=double(F4y)
%Fuerzas elemnnto
Fi1=double(LinearBarElementForces(K1,[U1x;U1y;U2x;U2y]))
Fi2=double(LinearBarElementForces(K2,[U1x;U1y;U3x;U3y]))
Fi3=double(LinearBarElementForces(K3,[U1x;U1y;U4x;U4y]))
%Vectores estres E([-1/L 1/L])*[U1;U3]
G1=double(LinearBarElementStresses(K1,[U1x;U1y;U2x;U2y],A))
G2=double(LinearBarElementStresses(K2,[U1x;U1y;U3x;U3y],A))
G3=double(LinearBarElementStresses(K3,[U1x;U1y;U4x;U4y],A))

Código ejercicio 2
%Taller 5 Barras y resorte 2D
clc
clear all
close all
%Variables
syms P E A L U1x U1y U2x U2y U3x U3y U4x U4y
syms F1x F1y F2x F2y F3x F3y F4x F4y
%Condiciones de frontera
%para simbolico
E=210e9 %Pa
A= 5e-4 %m^2
L=[5 10 0] %m
TH=[45 0 135]
Kr=2000e3 %N/m
U2x = 0;
U2y = 0;
U3x = 0;
U3y = 0;
U4x = 0;
U4y = 0;
F1x = 0;
F1y = 25e3;%N

%Matrices Particulares
%LLenado

K1=(E*A/L(1))*[cosd(TH(1))^2 cosd(TH(1))*sind(TH(1)) -cosd(TH(1))^2


-cosd(TH(1))*sind(TH(1));
cosd(TH(1))*sind(TH(1)) sind(TH(1))^2 -cosd(TH(1))*sind(TH(1)) -sind(TH(1))^2;
-cosd(TH(1))^2 -cosd(TH(1))*sind(TH(1)) cosd(TH(1))^2 cosd(TH(1))*sind(TH(1));
-cosd(TH(1))*sind(TH(1)) -sind(TH(1))^2 cosd(TH(1))*sind(TH(1)) sind(TH(1))^2]
K2=(E*A/L(2))*[cosd(TH(3))^2 cosd(TH(3))*sind(TH(3)) -cosd(TH(3))^2
-cosd(TH(3))*sind(TH(3));
cosd(TH(3))*sind(TH(3)) sind(TH(3))^2 -cosd(TH(3))*sind(TH(3)) -sind(TH(3))^2;
-cosd(TH(3))^2 -cosd(TH(3))*sind(TH(3)) cosd(TH(3))^2 cosd(TH(3))*sind(TH(3));
-cosd(TH(3))*sind(TH(3)) -sind(TH(3))^2 cosd(TH(3))*sind(TH(3)) sind(TH(3))^2]
K3=(Kr)*[cosd(TH(3))^2 cosd(TH(3))*sind(TH(3)) -cosd(TH(3))^2
-cosd(TH(3))*sind(TH(3));
cosd(TH(3))*sind(TH(3)) sind(TH(3))^2 -cosd(TH(3))*sind(TH(3)) -sind(TH(3))^2;
-cosd(TH(3))^2 -cosd(TH(3))*sind(TH(3)) cosd(TH(3))^2 cosd(TH(3))*sind(TH(3));
-cosd(TH(3))*sind(TH(3)) -sind(TH(3))^2 cosd(TH(3))*sind(TH(3)) sind(TH(3))^2]

%inicializacion Matriz Rigidez


K=zeros(8);
%LLenado Matriz de Rigidez Global por E*A/L
for i=1:1:4
for j=1:1:4
K(i,j)=+K1(i,j);
end
end
for i=1:1:4
for j=1:1:4
if i==3
ia=5;
else
ia=i;
end
if i==4
ia=6;
else
ia=i;
end
if j==3
ja=5;
else
ja=j;
end
if j==4
ja=6;
else
ja=j;
end
K(ia,ja)=K(ia,ja)+K2(i,j);

end
end
for i=1:1:4
for j=1:1:4
if i==3
ia=7;
else
ia=i;
end
if i==4
ia=8;
else
ia=i;
end
if j==3
ja=7;
else
ja=j;
end
if j==4
ja=8;
else
ja=j;
end
K(ia,ja)=K(ia,ja)+K3(i,j);

end
end
K
%Matriz DESPLAZAMIENTO
U=[U1x;U1y;U2x;U2y;U3x;U3y;U4x;U4y]
%Matriz FUERZAS
F=[F1x;F1y;F2x;F2y;F3x;F3y;F4x;F4y]

K*U==F

[U1x,U1y,F2x,F2y,F3x,F3y,F4x,F4y]=solve(K*U==F,U1x,U1y,F2x,F2y,F3x,F3y,F4x,F4y);
U1x=double(U1x)
U1y=double(U1y)
F2x=double(F2x)
F2y=double(F2y)
F3x=double(F3x)
F3y=double(F3y)
F4x=double(F4x)
F4y=double(F4y)
%Fuerzas elemnnto
Fi1=double(LinearBarElementForces(K1,[U1x;U1y;U2x;U2y]))
Fi2=double(LinearBarElementForces(K2,[U1x;U1y;U3x;U3y]))
Fi3=double(LinearBarElementForces(K3,[U1x;U1y;U4x;U4y]))
%Vectores estres E([-1/L 1/L])*[U1;U3]
G1=double(LinearBarElementStresses(K1,[U1x;U1y;U2x;U2y],A))
G2=double(LinearBarElementStresses(K2,[U1x;U1y;U3x;U3y],A))

También podría gustarte