ME402 Week1
ME402 Week1
Week 1
Academic Year
2021-2022
Semester
Spring
Instructor
Associate Prof. Dr. Samet AKAR
E-mail
[email protected]
Room &Phone
LA22- 2331305
Lecture Hours
Monday 11:20-12:10 Wednesday: 11:20-13:10
Office Hour
Monday 15:00-16:30
2
March 1, 2023 Department of Mechanical Engineering
Course Objectives
3
March 1, 2023 Department of Mechanical Engineering
Course Outline
Course Outline
Week Topic(s)
6 Symmetry/Inclined Support
10 ANSYS: Mesh Sensitivity Analysis, CST element, 4 node LQ, 6 node QT, 8 node QQ elements
14 Project presentations
4
March 1, 2023 Department of Mechanical Engineering
Learning Outcomes
5
March 1, 2023 Department of Mechanical Engineering
Course Information
Text Book
References
Homework 4 10 %
Midterm Exam 1 30 %
Final Exam 1 45 %
Term Project 1 15 %
10
March 1, 2023 Department of Mechanical Engineering-ATILIM University
Introduction
The finite element method (FEM), or finite element analysis
(FEA), is based on the idea of building a complicated object with
simple blocks, or, dividing a complicated object into smaller and
manageable pieces.
Application of this simple idea can be found everywhere in
everyday life, as well as in engineering.
11
March 1, 2023 Department of Mechanical Engineering-ATILIM University
Introduction
Example: Approximation of the Circumference of a Circle
Consider the problem of determining the perimeter of a circle of
radius R:
Discretization
Subdomain
Uniform Mesh
(element) Element
Equation
Domain:
Circumference of a circle Non-uniform Mesh
Assembly
o The error estimate for an element (in the uniform mesh) is:
o Let say n ∞
o To Summarize :
o It is shown that the circumference of a circle can be
approximated as closely as we wish by a finite number of
piecewise-linear functions.
o As the number of elements increased, the approximation
improves, i.e. the error of the approximation decreases.
14
March 1, 2023 Department of Mechanical Engineering-ATILIM University
Introduction
15
March 1, 2023 Department of Mechanical Engineering-ATILIM University
Introduction
o With the advances in computer technology and CAD systems,
complex problems can be modeled with relative ease.
o Several alternative configurations can be tried out on a
computer before the first prototype is built.
o All of this suggests that we need to keep pace with these
developments by understanding the basic theory, modeling
techniques, and computational aspects of the finite element
method.
16
March 1, 2023 Department of Mechanical Engineering-ATILIM University
Introduction
17
March 1, 2023 Department of Mechanical Engineering-ATILIM University
Commercial Software
DIANA FEA
VisualFEA
FreeCAD
FEniCS Project
Quickfield
MFEM
March 1, 2023 Department of Mechanical Engineering 18
Summary of My Projects
o Machining Simulations: Orthogonal Cutting
25
March 1, 2023 Department of Mechanical Engineering
Comparison of Finite Element and Exact Solutions
𝑟0 − 𝑟L 𝐿 𝑟0 − 𝑟𝐿
= 𝑟 𝑥 = 𝑟0 − 𝑥
𝑟 𝑥 − 𝑟𝐿 𝐿 − 𝑥 𝐿
𝑟0 − 𝑟𝐿 𝑟 𝑥 = 𝑟0 − 𝑘𝑥
Lets define: 𝑘 =
𝐿
𝐴 𝑥 = 𝜋𝑟 2 = 𝜋 𝑟0 − 𝑘𝑥 2
𝐹 𝐹
𝜎 𝑥 = = 2
𝐴(𝑥) 𝜋 𝑟0 − 𝑘𝑥
𝜎 𝐹 𝐹𝑑𝑥
ε 𝑥 = = 𝑑𝑢 = 𝜀𝑑𝑥 =
𝐸 𝜋 𝑟0 − 𝑘𝑥 2 𝐸 𝜋 𝑟0 − 𝑘𝑥 2 𝐸
The total elongation of tapering bar can be worked out by integrating above
expression between limits x = 0 to x = L
𝐿
𝐹𝑑𝑥 𝐹𝐿
𝑢=න =
0 𝜋 𝑟0 − 𝑘𝑥 2 𝐸 𝜋𝐸𝑟0 (𝑟0 − 𝑘𝐿)
26
March 1, 2023 Department of Mechanical Engineering
Comparison of Finite Element and Exact Solutions
Approximations:
• one-element, finite element model
27
March 1, 2023 Department of Mechanical Engineering
Comparison of Finite Element and Exact Solutions
Approximations:
• Four- element model
28
March 1, 2023 Department of Mechanical Engineering
Comparison of Finite Element and Exact Solutions
29
March 1, 2023 Department of Mechanical Engineering
Various types of finite elements
30
March 1, 2023 Department of Mechanical Engineering
General Steps in the FEA-Structural Problems
o Step 1: Discretize and Select the Element Types
o Step 2: Select a Displacement Function
o Step 3: Define the Strain/Displacement and Stress/Strain
Relationships
o Step 4: Derive the Element Stiffness Matrix and Equations
o Step 5: Assemble the Element Equations to Obtain the Global or
Total Equations and Introduce Boundary Conditions
o Step 6 Solve for the Unknown Degrees of Freedom (or
Generalized Displacements)
o Step 7: Solve for the Element Strains and Stresses
o Step 8: Interpret the Results
31
March 1, 2023 Department of Mechanical Engineering
Linear Spring Element
o One-dimensional linear spring: a spring that obeys Hooke’s
law and resists forces only in the direction of the spring.
o 1 and 2: Nodes
o x: Local axis
o u1 and u2: Local nodal displacements
These nodal displacements are called the degrees of freedom at
each node
How many degrees of freedom do we have at each node? 1
o f1x, f2x: Local nodal forces
o k: Spring Constant or Stiffness
March 1, 2023 Department of Mechanical Engineering 32
Stiffness Matrix
o Stiffness matrix relates the nodal force vector to the nodal
displacement vector
o In a matrix form:
o In a matrix form:
37
March 1, 2023 Department of Mechanical Engineering
Defining derived field variable
o Negative Displacement u1
o The deformation of the spring:
38
March 1, 2023 Department of Mechanical Engineering
Element Stiffness Matrix and Equations
39
March 1, 2023 Department of Mechanical Engineering
Other Steps
o Boundary Conditions
o Homogeneous BCs
o Non-homogeneous BCs
40
March 1, 2023 Department of Mechanical Engineering
Example
o Two-spring assemblage
41
March 1, 2023 Department of Mechanical Engineering
Example-Solution
42
March 1, 2023 Department of Mechanical Engineering
Element Stiffness Matrices-Direct Equilibrium Method
Recall
43
March 1, 2023 Department of Mechanical Engineering
Continuity (Compatibility)
superscripts in parentheses above u refers to the element number to which they are related.
(FBD)
44
March 1, 2023 Department of Mechanical Engineering
Defining derived field variable
𝐹 = 𝑘 𝑢
45
March 1, 2023 Department of Mechanical Engineering
Direct Stiffness Method
o Assembling the Total Stiffness Matrix by Superposition (Direct Stiffness Method)
o We will now consider a more convenient method to obtain global stiffness matrix
46
March 1, 2023 Department of Mechanical Engineering-ATILIM University
Boundary Conditions
47
March 1, 2023 Department of Mechanical Engineering
Homogeneous boundary conditions
o All boundary conditions are such that the displacements are
zero at certain nodes.
48
March 1, 2023 Department of Mechanical Engineering
Nonhomogeneous Boundary Conditions
𝑢1 = 𝛿 𝛿: 𝐾𝑛𝑜𝑤𝑛 𝐷𝑖𝑠𝑝𝑙𝑎𝑐𝑒𝑚𝑒𝑛𝑡
49
March 1, 2023 Department of Mechanical Engineering
Nonhomogeneous Boundary Conditions
where F1x is now a reaction from the support
that has moved an amount δ.
50
March 1, 2023 Department of Mechanical Engineering
Nonhomogeneous Boundary Conditions
o For nonhomogeneous boundary conditions, we must, in general,
transform the terms associated with the known displacements to
the right-side force matrix before solving for the unknown nodal
displacements.
51
March 1, 2023 Department of Mechanical Engineering
Some properties of the stiffness matrix
52
March 1, 2023 Department of Mechanical Engineering
Example
53
March 1, 2023 Department of Mechanical Engineering
Solution
54
March 1, 2023 Department of Mechanical Engineering
Solution
Next we use local element equations to obtain the forces in each element.
Element 1
55
March 1, 2023 Department of Mechanical Engineering
Solution
Element 2
Element 3
56
March 1, 2023 Department of Mechanical Engineering
Example
For the given spring assemblage, obtain
(a) the global stiffness matrix,
(b) the displacements of nodes 2–4
(c) the global nodal forces
and (d) the local element forces.
Assume δ=20.0 mm.
The spring constants are all equal to k=200 kN/m.
57
March 1, 2023 Department of Mechanical Engineering
Solution
o Discretize the domain
58
March 1, 2023 Department of Mechanical Engineering
Solution
Obtain Element Stiffness matrices
59
March 1, 2023 Department of Mechanical Engineering
Solution
Assembly
60
March 1, 2023 Department of Mechanical Engineering
Solution
61
March 1, 2023 Department of Mechanical Engineering
Solution
62
March 1, 2023 Department of Mechanical Engineering
Solution
63
March 1, 2023 Department of Mechanical Engineering
Solution
64
March 1, 2023 Department of Mechanical Engineering