0% found this document useful (0 votes)
81 views3 pages

Matlab Codes For FEM Problems

1. The document describes a final assessment test for a course on Finite Element Method (FEM) in Manufacturing. It involves applying FEM to analyze the deformation of a tapered bar under axial load. 2. The student is asked to find the element stiffness matrix for a 2-element discretization, solve the problem using various element counts, and compare the deflection results to the closed-form solution. 3. The student's code solves the problem for element counts from 2 to 20,000, and finds that the FEM solution matches the closed-form solution to 4 decimal places starting from only 20 elements. More elements do not further improve the accuracy.

Uploaded by

Abid Yusuf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
81 views3 pages

Matlab Codes For FEM Problems

1. The document describes a final assessment test for a course on Finite Element Method (FEM) in Manufacturing. It involves applying FEM to analyze the deformation of a tapered bar under axial load. 2. The student is asked to find the element stiffness matrix for a 2-element discretization, solve the problem using various element counts, and compare the deflection results to the closed-form solution. 3. The student's code solves the problem for element counts from 2 to 20,000, and finds that the FEM solution matches the closed-form solution to 4 decimal places starting from only 20 elements. More elements do not further improve the accuracy.

Uploaded by

Abid Yusuf
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

`

Reg.No: 20MMF0004_______________________

Name : Abid
Yusuf____________________________

Slot : L3-4

SCHOOL OF MECHANICAL ENGINEERING

FINAL ASSESEMENT TEST 2020

COURSE NAME : FEM in Manufacturing SEMESTER : FALL


COURSE CODE : MEE 5001 PROGRAMME : M.Tech (MFG)
MAXIMUM MARKS : 40 DURATION : 90 minutes.

CLASS NUMBER : VL2020210104223 DATE : 09.11.2020 TIME : 10.00 to 11.30 AM

COMPONENT MARKS

1 Algorithm & Code 15

2 Solution and Output 10

3 Viva 15

40
Total

A tapered bar is of circular cross section and is of length “L”. It has a larger diameter of 80
mm and a smaller diameter of 40 mm. The 80 mm diameter side is fixed and a tensile load of “P” is
applied axially at the 40 mm side. The Youngs modulus of the material is “E”. Find

1. Assuming 2 elements show the element stiffness Matrix.


2. Solve the problem using 2, 20, 200, 2,000 and 20,000 elements.
3. Compare the free end deflection solutions using different number of elements with the closed of the
4𝑃𝐿
given problem given by the expression .
𝜋𝐸𝐷𝑑

4. Provide your inferance

X is the last digit of your registration number

Take L = 100 * (X+1) in mm =500mm

P = 10 * (X+1) in kN =50kN
E = 200 GPa

My CODE

% Axial deformation in a tapered bar


L=500;
E=200000;
D=80;
d=40;
Load=50000;
N=2000;
l=L/N;
K= zeros(N+1,N+1);
for i = 1:N
di= D-((D-d)*(2*i-1)/(2*N));
aebyl= (pi*di*di*E)/(4*l);
ki= [aebyl,-aebyl;-aebyl,aebyl];
K(i,i)= K(i,i)+ki(1,1);
K(i,i+1)=K(i,i+1)+ki(1,2);
K(i+1,i)=K(i+1,i)+ki(2,1);
K(i+1,i+1)=K(i+1,i+1)+ki(2,2);
end

for a = 1:N
for k= 1:N
KK(a,k)=K(a+1,k+1);

end

end
P=zeros(N,1);
P(N,1)=P(N,1)+Load
U=KK\P

Solutions:
1: Element Stiffness Matrix for two elements

K=

1.0e+06 *

3.0788 -3.0788 0

-3.0788 4.6496 -1.5708

0 -1.5708 1.5708

2: Output:

No. of Elements Solution Refinement at free end (Deflection)

2 0.0481

20 0.0497
200 0.0497

2000 0.0497

20000 0.0497

3: The closed form of the solution gives the value: 0.049715909

Our Finite Element analysis of this bar has returned an exactly the same solution upto four decimal

(quite accurate) places at 20 elements itself, our study up until 20,000 elements just strengthens our finding.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy