You are on page 1of 36

UNIVERSIDAD NACIONAL DE

INGENIERÍA
FACULTAD DE INGENIERÍA MECÁNICA

PRIMERA PRÁCTICA CALIFICADA


TENSIÓN UNIAXIAL

ALUMNO: Palacios Sánchez Roberto Antonio


CÓDIGO: 20150458G
CURSO: Cálculo por Elementos Finitos
CÓDIGO DEL CURSO: MC 516 F
PROFESOR: MSc. Ing. Edwin Abregú

Lima, octubre del 2018

1
INDICE

PLANTEAMIENTO DEL PROBLEMA ..................................................................... 3

SOLUCIÓN ..................................................................................................................... 4

DISCRETIZACIÓN: .................................................................................................... 4
DEDUCCIÓN DE LA MATRIZ DE RIGIDEZ LOCAL: ............................................ 5
DEDUCCION DE LA MATRIZ DE RIGIDEZ GLOBAL …………………………...6
FORMACIÓN DE LAS MATRICES DE RIGIDECES: .............................................. 7
FORMACIÓN DE LA MATRIZ DE RIGIDEZ GLOBAL: ......................................... 7
FORMACIÓN DEL VECTOR GLOBAL DE CARGA: .............................................. 8
FORMACIÓN DEL VECTOR GLOBAL NODAL DE CARGA: ............................... 8
ENSAMBLAJE DE LA ECUACIÓN MATRICIAL: .......................................... 8
CÁLCULO DE ESFUERZOS: ..................................................................................... 8
CÁLCULO DEL FACTOR DE SEGURIDAD: ........................................................... 9

MÉTODO DE FORMULACIÓN DIRECTA .............................................................. 9

DIAGRAMA DE FLUJO............................................................................................ 10
CÓDIGO DE MATLAB ............................................................................................. 11
INGRESO DE DATOS DEL ENUNCIADO: ............................................................. 13
MATRICES DE RIGIDECES .................................................................................... 13
MATRICES GLOBALES DE RIGIDECES: .............................................................. 14
FORMACIÓN DE LA MATRIZ DE RIGIDEZ GLOBAL (KG): .............................. 15
SOLUCIÓN DE LA ECUACIÓN MATRICIAL: ...................................................... 15
CÁLCULO DE ESFUERZOS: ................................................................................... 16

METODO DE FORMULACIÓN FUERTE .............................................................. 17

ERROR EN EL MÉTODO ......................................................................................... 35

CONCLUSIONES ........................................................................................................ 36

2
´

PLANTEAMIENTO DEL PROBLEMA

Una placa de acero está sujeta a una carga axial, como se muestra en la Figura
1. Aproxime las deflexiones y esfuerzos promedio a lo largo de la placa. La placa tiene
1/16 plg de espesor y módulo de elasticidad E = 29 x l06 lb / in2. Se pide modelar el
problema usando cuatro elementos y cinco nodos. Además, se pide calcular el esfuerzo
promedio en los elementos respectivos, así mismo calcular el factor de seguridad (FS).

Figura 1

3
SOLUCIÓN
DISCRETIZACIÓN:

4
DEDUCCIÓN DE LA MATRIZ DE RIGIDEZ LOCAL:
Partimos de la ecuación de la energía interna:

1
𝑈 = ∫ 𝜎𝑥 𝜖𝑥 𝑑𝑉
2 𝑉
1 𝑎
𝑈 = ∫ 𝜎𝑥 𝜖𝑥 𝐴𝑑𝑥 Por tener área de sección constante: 𝑑𝑉 = 𝐴𝑑𝑥
2 −𝑎
1 𝑎 Ley de Hook: 𝜎𝑥 = 𝐸𝜖𝑥
𝑈 = ∫ 𝐸𝜖𝑥2 𝐴𝑑𝑥
2 −𝑎
1 𝑎 𝑑𝑢 2 Del campo de deformaciones: 𝜖𝑥 =
𝑑𝑢
𝑈 = ∫ 𝐸𝐴 ( ) 𝑑𝑥 𝑑𝑥
2 −𝑎 𝑑𝑥

Defino:
Donde:
𝑢 = 𝑁1 𝑢1 + 𝑁2 𝑢2
𝑢1 𝑁1 y 𝑁2 funciones de forma dependientes de 𝜉.
𝑢 = [𝑁1 𝑁2 ] [𝑢 ] = 𝑵𝒖𝒆 1 1
𝑁1 = 2 (1 − 𝜉) y 𝑁2 = 2 (1 + 𝜉)
2
𝑑𝑢 𝑢1 𝑢: Campo de deformaciones dependiente de 𝑥.
= [𝑁1 ′ 𝑁2 ′] [𝑢 ] = 𝑵′𝒖𝒆
𝑑𝜉 2 𝑢1 y 𝑢2 : Deformaciones en los nodos 1 y 2.

Luego:
𝑑𝑥
De la cuadratura de Gauss: −𝑎 < 𝑥 < 𝑎 → −1 < 𝜉 < 1, con 𝑥 = 𝑎𝜉 → 𝑑𝜉 = 𝑎
𝑑𝑢 2
1 𝑎 𝑑𝜉
𝑈 = ∫ 𝐸𝐴 ( ) 𝑑𝑥
2 −𝑎 𝑑𝑥
𝑑𝜉
1 1
𝐸𝐴 𝑑𝑢 2
𝑈 = ∫ 2 ( ) 𝑎𝑑𝜉
2 −1 𝑎 𝑑𝜉
𝐸𝐴 1 ′𝒖𝒆 2
𝑈 = ∫ (𝑵 ) 𝑑𝜉
2𝑎 −1
𝐸𝐴 1 𝒆 𝑻 ′ 𝑇 ′𝒖𝒆
𝑈 = ∫ 𝒖 𝑵 𝑵 𝑑𝜉
2𝑎 −1
1
𝐸𝐴 𝒆 𝑻 𝑇 𝒆
𝑈 = 𝒖 (∫ 𝑵′ 𝑵′𝒖 𝑑𝜉 ) 𝒖𝒆
2𝑎 −1
1
𝐸𝐴 𝒆 𝑻 1
1 1 −2
𝑈 = 𝒖 (∫ [− ] [ ] 𝑑𝜉 ) 𝒖𝒆
2𝑎 −1 2 2 1
2
1 1
𝐸𝐴 𝒆 𝑻 1 −
𝑈 = 𝒖 (∫ [ 4 4] 𝑑𝜉 ) 𝒖𝒆
2𝑎 −1 −
1 1
4 4
𝐸𝐴 𝒆 𝑻 1 −1 𝒆 1 𝐸𝐴 1 −1
𝑈 = 2𝐿 𝒖 [ ] 𝒖 → 𝑈 = 2 𝒖 𝒆 𝑻 𝑲𝒆 𝒖 𝒆 Donde: 𝑲𝒆 = [ ]
−1 1 𝐿 −1 1

5
DEDUCCIÓN DE LA MATRIZ DE RIGIDEZ GLOBAL:
Ahora hagamos el análisis para una barra dividida en n elementos:

La energía total en la barra será igual a la que contribuye cada elemento.


𝑈 = 𝑈1 + 𝑈2 + ⋯ + 𝑈𝑛
De la energía interna local:
1 𝑻 1 𝑻 1
𝑈 = 𝒖𝒆𝟏 𝑲𝒆𝟏 𝒖𝒆𝟏 + 𝒖𝒆𝟐 𝑲𝒆𝟐 𝒖𝒆𝟐 + ⋯ + 𝒖𝒆𝒏 𝑻 𝑲𝒆𝒏 𝒖𝒆𝒏
2 2 2
1 𝑢 1 𝑢
𝑈 = [𝑢1 𝑢2 ] [ 𝑘1 −𝑘1 ] [ 1 ] + [𝑢2 𝑢3 ] [ 𝑘2 −𝑘2 ] [ 2 ] + ⋯
2 −𝑘1 𝑘1 𝑢2 2 −𝑘2 𝑘2 𝑢3
1 𝑘 −𝑘 𝑢 𝑛
+ [𝑢𝑛 𝑢𝑛+1 ] [ 𝑛 𝑛
][ ]
2 −𝑘𝑛 𝑘𝑛 𝑢𝑛+1
Acomodando los vectores convenientemente a 𝒖𝒆 = [𝑢1 𝑢2 … 𝑢𝑛 𝑢𝑛+1 ]𝑇
𝑘1 −𝑘1 0 … 0 𝑢1
1 −𝑘1 𝑘1 0 … 0 𝑢2
𝑈= [𝑢1 𝑢2 … 𝑢𝑛 𝑢𝑛+1 ] 0 0 0 … 0 ⋮
2
⋮ ⋮ ⋮ ⋱ 0 𝑢𝑛
{ [ 0 0 0 0 0] [𝑢𝑛+1 ]
0 0 0 … 0 𝑢1
0 𝑘2 −𝑘2 … 0 𝑢2
+ [𝑢1 𝑢2 … 𝑢𝑛 𝑢𝑛+1 ] 0 −𝑘2 𝑘2 … 0 ⋮ +⋯
⋮ ⋮ ⋮ ⋱ 0 𝑢 𝑛
[0 0 0 0 0] [𝑢𝑛+1 ]
0 0 0 0 0 𝑢1
0 ⋱ ⋮ ⋮ ⋮ 𝑢2
+ [𝑢1 𝑢2 … 𝑢𝑛 𝑢𝑛+1 ] 0 … 0 0 0 ⋮
0 … 0 𝑘𝑛 −𝑘𝑛 𝑢𝑛
[0 … 0 −𝑘𝑛 𝑘𝑛 ] [𝑢𝑛+1 ]}
1 𝑻 𝑻 𝑻
𝑈 = {𝒖𝒆 𝑲𝒈𝟏 𝒖𝒆 + 𝒖𝒆 𝑲𝒈𝟐 𝒖𝒆 + ⋯ + 𝒖𝒆 𝑲𝒈𝒏 𝒖𝒆 }
2
1 𝑻
𝑈 = 𝒖𝒆 {𝑲𝒈𝟏 + 𝑲𝒈𝟐 + ⋯ + 𝑲𝒈𝒏 }𝒖𝒆
2
1 𝑻
𝑈 = 𝒖𝒆 𝑲𝑮 𝒖𝒆
2
Donde:
𝑘1 −𝑘1 0 … 0 0 0 0 … 0 0 0 0 0 0
−𝑘1 𝑘1 0 … 0 0 𝑘2 −𝑘2 … 0 0 ⋱ ⋮ ⋮ ⋮
𝑲𝑮 = 0 0 0 … 0 + 0 −𝑘2 𝑘2 … 0 + ⋯+ 0 … 0 0 0
⋮ ⋮ ⋮ ⋱ 0 ⋮ ⋮ ⋮ ⋱ 0 0 … 0 𝑘𝑛 −𝑘𝑛
[ 0 0 0 0 0] [ 0 0 0 0 0 ] [0 … 0 −𝑘𝑛 𝑘𝑛 ]
𝑘1 −𝑘1 0 0 … 0 0
−𝑘1 𝑘1 + 𝑘2 −𝑘2 0 … 0 0
0 −𝑘2 𝑘2 + 𝑘3 −𝑘3 … 0 0
𝑲𝑮 = 0 0 −𝑘3 𝑘3 + 𝑘4 … 0 0
⋮ ⋮ ⋮ ⋮ ⋱ −𝑘𝑛−1 0
0 0 0 0 −𝑘𝑛−1 𝑘𝑛−1 + 𝑘𝑛 −𝑘𝑛
[ 0 0 0 0 0 −𝑘𝑛 𝑘𝑛 ](𝑛+1)×(𝑛+1)

6
FORMACIÓN DE LAS MATRICES DE RIGIDECES:

1
𝐴1 𝐸 1 −1 (5 × 16) (29 × 106 ) 1 −1 29 5 −5
K1 = [ ]= [ ]= × 106 [ ]
𝑙1 −1 1 1 −1 1 16 −5 5
1 1 1 1 1
𝐴2 𝐸 1 −1 (2 × 16) (29 × 106 ) − 29 −
K2 = [ ]= [ 2 2] = × 106 [ 2 2]
𝑙2 −1 1 4 1 1 16 1 1
− −
2 2 2 2
1 1 1 1 1
6 − −
𝐴3 𝐸 1 −1 (2 × ) (29 × 10 )
K3 = [ ]= 16 [ 2 2] = 29 × 106 [ 2 2]
𝑙3 −1 1 4 1 1 16 1 1
− −
2 2 2 2
1 5 5 5 5
6 − −
𝐴4 𝐸 1 −1 (5 × ) (29 × 10 )
K4 = [ ]= 16 [ 2 2] = 29 × 106 [ 2 2]
𝑙4 −1 1 2 5 5 16 5 5
− −
2 2 2 2

FORMACIÓN DE LA MATRIZ DE RIGIDEZ GLOBAL:

5 −5 0 0
29 −5 5 0 0
K G1 = × 106 ( )
16 0 0 0 0
0 0 0 0

0 0 0 0
29 0 0.5 −0.5 0 Luego:
K G2 = × 106 ( )
16 0 −0.5 0.5 0
𝐾𝐺 = 𝐾𝐺1 + 𝐾𝐺2 + 𝐾𝐺3 + 𝐾𝐺4
0 0 0 0
5 −5 0 0
29 6 −5 6 −1 0 )
0 0 0 0 𝐾𝐺 = × 10 (
16 0 −1 3.5 −2.5
29 0 0.5 −0.5 0 0 0 −2.5 2.5
K G3 = × 106 ( )
16 0 −0.5 0.5 0
0 0 0 0

0 0 0 0
29 0 0 0 0
K G4 = × 106 ( )
16 0 0 2.5 −2.5
0 0 −2.5 2.5

7
FORMACIÓN DEL VECTOR GLOBAL DE CARGA:
𝑓1 𝑅
𝑓2 + 𝑓3 0
𝑓𝐺 = [ ]=[ ] 𝑙𝑏
𝑓4 0
𝑓5 800

FORMACIÓN DEL VECTOR NODAL DE CARGA:


𝑄1 0
𝑄 𝑞
𝑞𝐺 = [ 2 ] = [ 2 ] 𝑝𝑢𝑙𝑔
𝑄4 𝑞4
𝑄5 𝑞5

ENSAMBLAJE DE LA ECUACIÓN MATRICIAL:


[𝐹] = [𝐾𝐺 ][𝑞𝐺 ]
𝑅 5 −5 0 0 0
0 29 −5 6 −1 0 𝑞
[ ]= × 106 [ ] [ 2 ] … (𝑖)
0 16 0 −1 3.5 −2.5 𝑞4
800 0 0 −2.5 2.5 𝑞5
0 6 −1 0 𝑞2
29
[ 0 ]= × 10 [−1 3.5 −2.5] [𝑞4 ]
6
16
800 0 −2.5 2.5 𝑞5
Resolviendo el sistema:
𝑞2 0.8828
𝑞
[ 4 ] = [5.2966] × 10−4 𝑝𝑢𝑙𝑔
𝑞5 7.0621
De la ecuación matricial (𝑖):
29
𝑅 = − ( × 106 ) 5𝑞2
16
29
𝑅 = − ( × 106 ) (5)(0.8828 × 10−4 )
16
𝑅 = −800 𝑙𝑏

CÁLCULO DE ESFUERZOS:
𝐸
𝜎𝑖 = (𝑞 − 𝑞𝑖 )
𝑙𝑖 𝑖+1
𝐸 29 × 106
𝜎1 = (𝑞2 − 𝑞1 ) = (0.8828 − 0) × 10−4 = 2.56 𝑘𝑠𝑖
𝑙1 1
𝐸 29 × 106
𝜎2 = (𝑞3 − 𝑞2 ) = (5.2966 − 0.8828) × 10−4 = 3.2 𝑘𝑠𝑖
𝑙2 1
𝐸 29 × 106
𝜎3 = (𝑞4 − 𝑞3 ) = (5.2966 − 0.8828) × 10−4 = 3.2 𝑘𝑠𝑖
𝑙3 1
𝐸 29 × 106
𝜎4 = (𝑞5 − 𝑞4 ) = (7.0621 − 5.2966) × 10−4 = 2.56 𝑘𝑠𝑖
𝑙4 1

8
CÁLCULO DEL FACTOR DE SEGURIDAD:

𝜎𝐹 = 36 𝑘𝑠𝑖 esfuerzo de fluencia del acero.


El mayor esfuerzo en los elementos calculado anteriormente es el 𝜎2 = 3.2 𝑘𝑠𝑖.
El factor de seguridad será:
36
𝐹𝑆 = = 11.25 > 1
3.2
Lo cual indica que la placa soporta fácilmente la carga a la que está sometida.

MÉTODO DE FORMULACIÓN DIRECTA

Usando el software MATLAB, se logró simular los desplazamientos globales, a través


del código que se muestra a continuación y que es compatible al siguiente gráfico:

9
Diagrama de Flujo
Inicio

Coordenadas de la placa: [l_p]


Coordenada inicial del agujero: [l_ho]
Coordenada final del agujero: [l_hf]
Espesor: e
Modulo de Young: E
Carga: F

[ 𝑙 ] = [𝑙1 𝑙2 𝑙3 𝑙4 ]
[ ℎ ] = [𝑘1 𝑘2 𝑘3 𝑘4 ]
[𝑓] = [ 0 0 800]
[𝑞] = [ 𝑞1 𝑞2 𝑞3 ]
[𝐾𝑔] = 𝑧𝑒𝑟𝑜𝑠(4)

Para i=1 hasta 4

(ℎ𝑖 ∗ 𝑒) ∗ 𝐸 1 −1
[𝑘𝑖] = [ ]
𝑙𝑖 −1 1
𝑧𝑒𝑟𝑜𝑠(4)
𝑧𝑒𝑟𝑜𝑠(𝑖: 𝑖 + 1; 𝑖: 𝑖 + 1) = [𝑘𝑖]
[𝑘𝑔𝑖] = 𝑧𝑒𝑟𝑜𝑠
[𝐾𝑔] = [𝐾𝑔] + [𝑘𝑔𝑖]

Para i=1 hasta 4

[𝑘𝑖]
[𝑘𝑔𝑖]
[𝐾𝑔]

[𝑞(0)] = 0
[𝑓(0)] = −800
[𝑞] = 𝑖𝑛𝑣[𝑘𝑔] ∗ [𝑓]

10
1

Para i=1 hasta 4

𝐸 ∗ (𝑞𝑖+1 − 𝑞𝑖 )
𝑆(𝑖) =
𝑙𝑖

[𝑞]
[𝑆]
𝑅

fin

Código de Matlab
%PROBLEMAMEF
clear all;
clc;
%INGRESO DE DATOS
l_p=input('\nIngrese coordenadas de la placa [plg]: ');
l_ho=input('\nIngrese coordenada inicial del agujero [plg]: ');
l_hf=input('\nIngrese coordenada final del agujero [plg]: ');
e=input('\nIngrese espesor [plg]: ');
young=input('\nIngrese módulo de Young [psi]: ');
carga=input('\nIngrese carga [lb]: ');
%FORMACIÓN DEMATRICES LONGITUD [l] Y ALTURA [h]
l_1=l_ho(1);
l_2=l_hf(1)-l_ho(1);
l_3=l_hf(1)-l_ho(1);
l_4=l_p(1)-l_hf(1);
l=[l_1 l_2 l_3 l_4]
h_1=l_p(2);
h_2=l_ho(2);
h_3=l_p(2)-l_hf(2);
h_4=l_p(2);
h=[h_1 h_2 h_3 h_4]
%FORMANDO MATRICES DE RIGIDEZ
mat=[1 -1; -1 1];
for(i=1:4)
A(i)=h(i)*e; %FORMA LAS ARÉAS Y LAS INGRESA EN EL VECTOR [A]
for(j=1:4)
k(j,i)=((young*A(i))/l(i))*mat(j); %FORMA LA FILA [Ki]
end
end
%DEVUELVE MATRIZ DE 4X4
k

11
%CONVIERTE CADA FILA DE [K] EN MATRIZ 2X2
k1=reshape(k(:,1),[2,2]); fprintf('\n\nk1=\n');disp(k1);
k2=reshape(k(:,2)+k(:,3),[2,2]);fprintf('k2=\n');disp(k2);
k3=reshape(k(:,2)+k(:,3),[2,2]);fprintf('k3=\n');disp(k3);
k4=reshape(k(:,4),[2,2]);fprintf('k4=\n');disp(k4);

%FORMANDO MATRICES DE RIGIDECES LOCALES


mat_ceros=zeros(4);
mat_ceros(1:2,1:2)=k1;
kg1=mat_ceros
mat_ceros=zeros(4);
mat_ceros(2:3,2:3)=k2;
kg2=mat_ceros
mat_ceros=zeros(4);
mat_ceros(2:3,2:3)=k3;
kg3=mat_ceros
mat_ceros=zeros(4);
mat_ceros(3:4,3:4)=k4;
kg4=mat_ceros
%MATRIZ DE RIGIDEZ GLOBAL
Kg=kg1+kg2+kg4
%ECUACIÓN DE EQUILIBRIO R + carga = 0
R=-carga;
%VECTOR DE CARGA
F=zeros(4,1);
F(1,1)=R;
F(4,1)=carga; fprintf('Fg=\n');disp(F);
%VECTOR NODAL DE CARGA
fprintf('Q = \n\tQ1\n\tQ2\n\tQ3\n\tQ4\n\tQ5\n\n');
%SOLUCION DE LA ECUACIÓN
fprintf('Resolviendo la ecuación matricial [Fg]=[Kg][Qg]');
q=inv(Kg(2:4,2:4))*F(2:4); %q ES LA MATRIZ REDUCIDA
Q(1)=0; Q(2)=q(1); Q(3)=q(2); Q(4)=q(2); Q(5)=q(3); %SE FORMA Q DE q
fprintf('\n\nLa reacción en el apoyo es: \n\nR = %d lb', R);
fprintf('\n\nLos desplazamientos "Q" de los elementos 1, 2, 3, y 4
son:\n');
for(i=1:5)
fprintf('\nQ%d = %.4e plg\n',i, Q(i));
end
%CÁLCULO DE ESFUERZOS:
fprintf('\n\nLos esfuerzos "S" en los elementos 1, 2, 3, y 4 son:\n');
for(i=1:4)
esf(i)=0.001*(young/l(i))*(Q(i+1)-Q(i));
end
esf(3)=esf(2);
for(i=1:4)
fprintf('\nS%d = %.4f ksi\n',i, esf(i));
end

12
Ingreso de datos del enunciado:

Después de la compilación:

Matrices de rigideces

13
Matrices globales de rigideces:

14
Formación de la matriz de rigidez global (Kg):

Solución de la ecuación matricial:

15
Cálculo de esfuerzos:

16
METODO DE FORMULACIÓN FUERTE
Usando el software ANSYS, se logró simular los desplazamientos globales, a través de
la simulación que se presenta a continuación:
Iniciamos el programa haciendo click donde se indica:

17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
ERROR EN EL MÉTODO

Comparando las deformaciones máximas tanto en el método de formulación directa


como en el método de formulación fuerte, se estima el error por:
|706,21𝜇𝑚 − 707.37𝜇𝑚|
%𝑒 =
706.21𝜇𝑚
%𝑒 = 0.164%

35
CONCLUSIONES

1. Se concluye principalmente que independientemente del campo de deformaciones


que se tome, las deformaciones locales son invariantes.
2. Se concluye que el método de formulación directa, en este problema tiene error
cero, dado que la cantidad de elementos es pequeña.
3. Se concluye que, a diferencia del método de formulación directa, el método de
formulación fuerte presenta un error en las deformaciones, esto es por la calidad
de mallado que se configura.
4. Se concluye que tanto por el método de formulación directa y el de formulación
fuerte, el error en los esfuerzos presenta un error cero, lo cual nos da un mayor
grado de confiabilidad.
5. Se concluye que el método de elementos finitos tiene alto grado de confiabilidad,
estimado gracias al error que resulta muy bajo o cero.
6. Se concluye que el software Ansys, puede proporcionarnos soluciones bastante
precisas, a cuestas del costo computacional. Es decir, es necesario un margen de
error sobre el cual trabajar el costo computacional para un optimo desempeño
tanto en las soluciones obtenidas como en el tiempo que conlleva obtenerlas.

36

You might also like