Está en la página 1de 13

UNIVERSIDAD NACIONAL DE

INGENIERÍA
FACULTAD DE INGENIERÍA
MECÁNICA
CALCULO DE ELEMENTOS FINITOS
(MC516)
INFORME DE LABORATORIO N. °05
VIGAS

ALUMNOS:
 INCHICAQUI GONZALES, DANIEL ENRIQUE (20172656F)
PROFESOR:
 RAMOS ALVAREZ NAIN MAXIMO

SECCIÓN:
 “H”
FECHA DE ENTREGA DEL INFORME PREVIO:
 01/02/2021
LABORATORIO DE PROCESOS DE MANUFACTURA II (MC214)

ÍNDICE

CAPÍTULO 1: DIAGRAMA ............................................................................................................... 2

CAPITULO 2: DIGITACIÓN Y EJECUCIÓN ........................................................................................ 3

CAPITULO 3: RESULTADOS EN ANSYS ........................................................................................... 7

LAS FUERZAS DE REACCIÓN EN LOS APOYOS .......................................................................... 8


ESFUERZOS MÁXIMOS EN CADA ELEMENTO FINITO (𝛔X) ......................................................... 9
LAS PENDIENTES DE LA DEFORMADA EN (X=0) Y EN (X=1000)............................................... 10
LA DEFORMADA DE LA VIGA ................................................................................................... 11
CAPITULO 4: CONCLUSIONES DEL TRABAJO ............................................................................... 12

1
LABORATORIO DE PROCESOS DE MANUFACTURA II (MC214)

CAPÍTULO 1: DIAGRAMA

2
LABORATORIO DE PROCESOS DE MANUFACTURA II (MC214)

CAPITULO 2: DIGITACIÓN Y EJECUCIÓN

Problem9.m

%......................................................%
%MATLAB codes for finite element analysis
%problem9.m
%antonio ferreira
%clear memory
clc
%E: modulus of elasticity
%I: second moment of area
%L: length of bar
E=210000; I=3142200; EI=E*I;
%generation of coordinates and connectivities
numberElements=2;
nodeCoordinates=[0 0;700 0;1000 0];
...nodeCoordinates=linspace(0,1,numberElements+1)';
xx=nodeCoordinates;
L=max(nodeCoordinates);
xx=nodeCoordinates(:,1);
for i=1:numberElements
elementNodes(i,1)=i;
elementNodes(i,2)=i+1;
end
numberNodes=size(nodeCoordinates,1);
%force vector
...force(1)=0;
...force(2)=0;
...force(3)=0;
...force(5)=0;
...force(7)=0;
...P=-200000;
f1(2)=-200000;
...force(9)=0;

%for structure:
%displacements: displacements vector
%force: force vector
%stiffness: stiffness matrix
%GDof: global number of degrees of freedom
GDof=2*numberNodes;
U=zeros(GDof,1);

3
LABORATORIO DE PROCESOS DE MANUFACTURA II (MC214)

%stiffness matrix and force vector


[stiffness,force]=...
formStiffnessBernoulliBeam(GDof, numberElements,...
elementNodes,numberNodes,xx,EI,P,L);

%boundary conditions and solution


%clamped-clamped
%fixedNodeU=[1 2*numberElements+1]';
%fixedNodeV=[2 2*numberElements+2]';
%simply supported-simply supported
fixedNodeU=[1 2*numberElements+1]'; fixedNodeV=[]';
%clamped at x=0
%fixedNodeU=[1]'; fixedNodeV=[2]';

prescribedDof=[fixedNodeU;fixedNodeV];
%solution
displacements=solution(GDof,prescribedDof,stiffness,forc
e);

%output displacement/reactions
outputDisplacementsReactions(displacements,stiffness,...
GDof,prescribedDof)

%drawing deformed shape


U=displacements(1:2:2*numberNodes);
plot(nodeCoordinates,U,'')

formStiffnessBeernoulliBeam.m

%.....................................................%
function [stiffness,force]=...
formStiffnessBeernoulliBeam(GDof,numberElements,...
elementNodes,numberNodes,xx,EI,P,L);

force=zeros(GDof,1);
stiffness=zeros(GDof);
%calculation of the system stiffness matrix
%and force vector
for e=1:numberElements
%elementDof: element degrees of freedom (Dof)
indice=elementNodes(e,:);
elementDof=[2*(indice(1)-1)+1 2*(indice(2)-1)...
2*(indice(2)-1)+1 2*(indice(2)-1)+2];

4
LABORATORIO DE PROCESOS DE MANUFACTURA II (MC214)

%ndof=length(indice);
%length of element
LElem=xx(indice(2))-xx(indice(1));
ll=LElem;
k1=EI/(LElem)^3*[12 6*LElem -12 6*LElem;
6*LElem 4*LElem^2 -6*LElem 2*LElem^2;
-12 -6*LElem 12 -6*LElem;
6*LElem 2*LElem^2 -6*LElem 4*LElem^2];

...f1=[P*LElem/2 P*LElem*LElem/12 P*LElem/2 ...


... -P*LElem*LElem/12]';
% PARA MOMENTO FLECTOR PURO EN LA VIGA
if e==2
P=-200;
L=1;
f1=P*[6*LElem*(LElem-L) L*(L^2-4*LElem*L)
6*LElem*(LElem-L) L*LElem*(3*LElem-2*L)]';
else
P=0;
L=1;
f1=P*[6*LElem*(LElem-L) L*(L^2-4*LElem*L)
6*LElem*(LElem-L) L*LElem*(3*LElem-2*L)]';
end

%equivalent force vector


force(elementDof)=force(elementDof)+f1;

%stiffness matrix
stiffness(elementDof,elementDof)=...
stiffness(elementDof,elementDof)+k1;
end

outputDisplacementsReactions.m

function outputDisplacementsReactions...
(displacements, stiffness, GDof, prescribedDof)
%output of displacements and reactions in
%tabular form

%GDof: total number of degress of freedom of


%the problem

%displacements
disp('Displacements')
%displacements = displacements1
jj = 1:GDof; format short g
[jj' displacements]

5
LABORATORIO DE PROCESOS DE MANUFACTURA II (MC214)

%reactions
F = stiffness*displacements;
reactions = F(prescribedDof);
disp('reactions')
format short g
[prescribedDof reactions]

Solution.m

function displacements = solution(GDof,...


prescribedDof, stiffness, force)

activeDof = setdiff([1:GDof]',...
[prescribedDof]);

U = stiffness(activeDof, activeDof )\force(activeDof);


displacements = zeros(GDof,1);
displacements(activeDof) = U;

6
LABORATORIO DE PROCESOS DE MANUFACTURA II (MC214)

CAPITULO 3: RESULTADOS EN ANSYS

7
LABORATORIO DE PROCESOS DE MANUFACTURA II (MC214)

LAS FUERZAS DE REACCIÓN EN LOS APOYOS

8
LABORATORIO DE PROCESOS DE MANUFACTURA II (MC214)

ESFUERZOS MÁXIMOS EN CADA ELEMENTO FINITO (𝛔X)

9
LABORATORIO DE PROCESOS DE MANUFACTURA II (MC214)

LAS PENDIENTES DE LA DEFORMADA EN (X=0) Y EN (X=1000)

10
LABORATORIO DE PROCESOS DE MANUFACTURA II (MC214)

LA DEFORMADA DE LA VIGA

11
LABORATORIO DE PROCESOS DE MANUFACTURA II (MC214)

CAPITULO 4: CONCLUSIONES DEL TRABAJO

1. El método de cálculo de elementos finitos reduce el tiempo que nos demoramos

en hallar la respuesta

2. Se observa que los resultados no concuerdan al 100% pero si el comportamiento

de los gráficos

3. El método puede predecir qué zonas sufren mayor esfuerzo, que nos servirá para

utilizar el esfuerzo de diseño adecuado

4. Se trabajó la viga como sólido y como una fibra para obtener diferentes gráficos

12

También podría gustarte