Session 01
Session 01
[DE ZG513]
BITS Pilani
Pilani|Dubai|Goa|Hyderabad Lecture 1 – Course Handout + Introduction lecture
Credentials
PhD, IIT Madras
(Experimental mechanics)
Course
Experience
Mechanics of materials,
Digital Image Correlation,
Computer vision, Deep
learning, Photogrammetry,
Material testing, Crystal
Handout
deformation studies,
Analysis of Auxetic
structures and materials
3
What is FEM?
4
5
6
What is FEM?
FEM is a numerical method used
to obtain an approximate solution
to differential equations
7
To obtain an approximate solution, we assume a function called trial
function to be solution of the governing differential equation
True solution
to GDE, 𝑢
GDE of the
given problem
along with BC
Approximate solution
to GDE, 𝑢ො
8
Recall: Solution of the algebraic equation 𝑥 2 + 2𝑥 + 1 = 0
Solution is 𝑥 = −1
9
10
11
Approximate method 1
12
Approximate method 2
13
Approximate method 3
14
Approximate method 4
16
What is FEM?
Computing Perimeter of a Circle of unit Diameter
17
Possible Sources of Error in FEM
18
Where does FEM fit in the Product Cycle ?
Design and Manufacturing
Computer- Computer-
Aided automated drafting
Design and documentation
FEM
product design
drafting
concept engineering
quality production
production
control scheduling
19
FEM ? or FEA ?
22
Aerospace Engineering Automobile Engineering
23
What are the advantages?
24
Can readily handle complex geometry:
• The heart and power of the FEM.
Can handle complex analysis types:
• Vibration
• Transients
• Nonlinear
• Heat transfer
• Coupled (Thermal + Structural)
• Fluids
• Wear
25
Can handle complex loading:
• Node-based loading (point loads).
• Element-based loading (pressure, thermal, inertial forces).
• Time or frequency dependent loading.
26
Can handle bodies comprised of non-homogeneous materials:
• Every element in the model could be assigned a different set
of material properties.
27
Special material effects are handled:
• Temperature dependent properties.
• Plasticity
• Creep
• Swelling
• Freezing / Melting
28
Brief History
29
FEM | Brief History
❑ Hrenikoff, 1941 – “framework method”
❑ Courant, 1943: “piecewise polynomial interpolation”
❑ Turner, 1956: Derived stiffness matrices for truss, beam, etc. (Stiffness and
Deflection Analysis of Complex Structures)
❑ Clough, 1960: Coined the term “finite element” (The Finite Element Method in
Plane Stress Analysis)
❑ Zienkiewicz and Cheung, 1965: “Finite Element in the Solution of Field
Problems,”
❑ Zienkiewicz, 1968: “The Isoparametric Finite Element System-A New Concept in
Finite Element Analysis
30
FEM Pioneers
• O. C. Zienkiewicz
• R. L. Taylor
• K. J. Bathe
• J. H. Argyris
• E. Wilson
• J. T. Oden
• T. J. R. Hughes
• R. H. Gallagher
31
There are many software available
Ansys
Matlab
We learn those techniques in this course
DUNE
OpenFoam
32
About this course
33
Credit Model 1 – 1 – 2
35
Approximation methods
ⅆ𝑢
𝐴𝐸 ቤ = 𝑃 Neumann / Natural / Force BC
ⅆ𝑥 𝑥=𝐿
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Analogy of solution to an
algebraic equation
Recall: Solution of the algebraic equation 𝑥 2 + 2𝑥 + 1 = 0
Solution is 𝑥 = −1
𝑑2 𝑢 𝑑𝑢
GDE: 𝐴𝐸 2 +𝑞 𝑥 =0 BC: 𝑢 𝑥 ȁ𝑥=0 = 0 𝐴𝐸 ቚ =𝑃
𝑑𝑥 𝑑𝑥 𝑥=𝐿
ⅆ2 𝑢
Integrating GDE, we get, න 𝐴𝐸 ⅆ𝑥 2 + 𝑞 𝑥 ⅆ𝑥 = 0
ⅆ𝑢
𝐴𝐸 + න 𝑞 𝑥 ⅆ𝑥 = 𝐶1
ⅆ𝑥
1
𝑢 𝑥 = 𝐶 𝑥 + 𝐶2 − ඵ 𝑞 𝑥 ⅆ𝑥
𝐴𝐸 1
Apply BC to solve for 𝐶1 and 𝐶2
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Is analytical solution always
possible?
𝑑2 𝑢 𝑑𝑢
GDE: 𝐴𝐸 2 +𝑞 𝑥 =0 BC: 𝑢 𝑥 ȁ𝑥=0 = 0 𝐴𝐸 ቚ =𝑃
𝑑𝑥 𝑑𝑥 𝑥=𝐿
True solution
to GDE, 𝑢
GDE of the
given problem
along with BC
Approximate solution
to GDE, 𝑢ො
In general, 𝑢ො = 𝑐0 ϕ0 + 𝑐1 ϕ1 + 𝑐2 ϕ2 + 𝑐3 ϕ3 + 𝑐4 ϕ4 +…+𝑐𝑛 ϕ𝑛
Assume 𝑢ො = 𝑐0 ϕ0 + 𝑐1 ϕ1 + 𝑐2 ϕ2 + 𝑐3 ϕ3 + 𝑐4 ϕ4 +…+𝑐𝑛 ϕ𝑛
𝑑2 𝑢 𝑑𝑢
GDE: 𝐴𝐸 2 +𝑞 𝑥 =0 BC: 𝑢 𝑥 ȁ𝑥=0 = 0 𝐴𝐸 ቚ =𝑃=0
𝑑𝑥 𝑑𝑥 𝑥=𝐿
For the given problem, body load 𝑞 𝑥 is a constant load per unit length 𝑞0
𝑑2 𝑢 𝑑𝑢
GDE: 𝐴𝐸 2 + 𝑞0 = 0 BC: 𝑢 𝑥 ȁ𝑥=0 = 0 𝐴𝐸 ቚ =𝑃=0
𝑑𝑥 𝑑𝑥 𝑥=𝐿
𝑑2 𝑢 𝑑𝑢
GDE: 𝐴𝐸 2 + 𝑞0 = 0 BC: 𝑢 𝑥 ȁ𝑥=0 = 0 𝐴𝐸 ቚ =𝑃=0
𝑑𝑥 𝑑𝑥 𝑥=𝐿
𝑅𝑑 = 𝐴𝐸 2𝑐2 + 𝑞0
𝑑2 𝑢 𝑑𝑢
GDE: 𝐴𝐸 2 + 𝑞0 = 0 BC: 𝑢 𝑥 ȁ𝑥=0 = 0 𝐴𝐸 ቚ =𝑃=0
𝑑𝑥 𝑑𝑥 𝑥=𝐿
𝑑2 𝑢 𝑑𝑢
GDE: 𝐴𝐸 2 + 𝑞0 = 0 BC: 𝑢 𝑥 ȁ𝑥=0 = 0 𝐴𝐸 ቚ =𝑃=0
𝑑𝑥 𝑑𝑥 𝑥=𝐿
ⅆ 2 𝑢ො −𝑞0
=
ⅆ𝑥 2 𝐴𝐸
𝑑2𝑢
ෝ −𝑞0
Therefore, 𝐴𝐸 2 + 𝑞0 = 𝐴𝐸. + 𝑞0 = 0
𝑑𝑥 𝐴𝐸
𝑑𝑣(𝑥)
BC: ቚ = 0 (zero shear stress) 𝑣(𝑥)ȁ𝑥=𝐿 = 0 (no slip)
𝑑𝑥 𝑥=0
Trial function, 𝑣ො = 𝑐0 + 𝑐1 𝑥 + 𝑐2 𝑥 2 𝑣ො = 𝑐2 (𝑥 2 − 𝐿2 )
Applying BC, we get, 𝑐1 = 0 and 𝑐0 = −𝑐2 𝐿2
Domain residue, 𝑅𝑑 = 2μ𝑐2 + 𝜌𝑔 cos 𝜃
−𝜌𝑔 cos 𝜃
Setting domain residue to zero, 𝑐2 =
2μ
−𝜌𝑔 cos 𝜃 2
𝑣ො = (𝑥 − 𝐿2 )
2μ
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Example 3
Cantilever beam under udl
𝑑4𝑤
GDE: 𝐸𝐼 4 − 𝑞0 = 0
𝑑𝑥
𝑑𝑤 𝑑2 𝑤 𝑑3 𝑤
BC: 𝑤ȁ𝑥=0 = 0, ቚ = 0, ቚ = 0, ቚ =0
𝑑𝑥 𝑥=0 𝑑𝑥 2 𝑥=𝐿 𝑑𝑥 3 𝑥=𝐿
ෝ = 𝑐0 + 𝑐1 𝑥 + 𝑐2 𝑥 2 + 𝑐3 𝑥 3 + 𝑐4 𝑥 4
Trial function, 𝑤
Apply BC ෝ ȁ𝑥=0 = 0 implies 𝑐0 = 0
𝑤
ෝ
𝑑𝑤
and ቚ =0
𝑑𝑥 𝑥=0
→ 𝑐1 + 2𝑐2 𝑥 + 3𝑐3 𝑥 2 + 4𝑐4 𝑥 3 ȁ𝑥=0 = 0
→ 𝑐1 + 2𝑐2 0 + 3𝑐3 0 + 4𝑐4 (0) = 0
→ 𝑐1 = 0
Trial function becomes 𝑤 ෝ = 𝑐2 𝑥 2 + 𝑐3 𝑥 3 + 𝑐4 𝑥 4
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Example 3
ෝ = 𝑐0 + 𝑐1 𝑥 + 𝑐2 𝑥 2 + 𝑐3 𝑥 3 + 𝑐4 𝑥 4
Trial function, 𝑤
𝑑2 𝑤
ෝ 𝑑3 𝑤
ෝ
ቚ =0 ቚ =0
𝑑𝑥 2 𝑥=𝐿 𝑑𝑥 3 𝑥=𝐿
→ 2𝑐2 + 6𝑐3 𝑥 + 12𝑐4 𝑥 2 ȁ𝑥=𝐿 = 0 → 6𝑐3 + 24𝑐4 𝑥ȁ𝑥=𝐿 = 0
→ 2𝑐2 + 6𝑐3 𝐿 + 12𝑐4 𝐿2 = 0 → 6𝑐3 + 24𝑐4 𝐿 = 0
→ 𝑐2 = −3𝑐3 𝐿 − 6𝑐4 𝐿2 → 𝑐3 = −4𝑐4 𝐿
ෝ = 𝑐0 + 𝑐1 𝑥 + 𝑐2 𝑥 2 + 𝑐3 𝑥 3 + 𝑐4 𝑥 4
Trial function, 𝑤
ෝ = 0 + 0 𝑥 + −3𝑐3 𝐿 − 6𝑐4 𝐿2 𝑥 2 −4𝑐4 𝐿 𝑥 3 +𝑐4 𝑥 4
𝑤
ෝ = −3𝑐3 𝐿𝑥 2 − 6𝑐4 𝐿2 𝑥 2 −4𝑐4 𝐿 𝑥 3 +𝑐4 𝑥 4
𝑤
ෝ = −3(−4𝑐4 𝐿)𝐿𝑥 2 + 𝑐4 (𝑥 4 − 6𝑥 2 𝐿2 − 4𝐿𝑥 3 )
𝑤
ෝ = 𝑐4 (𝑥 4 + 12𝑥 2 𝐿2 − 6𝑥 2 𝐿2 − 4𝐿𝑥 3 )
𝑤
ෝ = 𝑐4 (𝑥 4 + 6𝑥 2 𝐿2 − 4𝐿𝑥 3 )
𝑤
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Example 3
Cantilever beam under udl
𝑑4𝑤
GDE: 𝐸𝐼 4 − 𝑞0 = 0
𝑑𝑥
𝑑𝑤 𝑑2 𝑤 𝑑3 𝑤
BC: 𝑤ȁ𝑥=0 = 0, ቚ = 0, ቚ = 0, ቚ =0
𝑑𝑥 𝑥=0 𝑑𝑥 2 𝑥=𝐿 𝑑𝑥 3 𝑥=𝐿
𝑞0
𝑤(𝑥)
ෝ = (𝑥 4 + 6𝐿2 𝑥 2 − 4𝐿𝑥 3 )
24𝐸𝐼
It can be seen that this solution tallies with the exact solution
because the domain residue is zero over the entire domain
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Summary
In Approximation method,
• We assume a trial function as solution, and it has some
unknown coefficients
• Trial function must follow certain rules
• Select it such that the boundary residual is zero already
• Substitute it in the governing differential equation
• Finally, minimize the domain residual or make it to zero (if
possible) to obtain unknown parameters in the trial function
• If the domain residual reduces to a one parameter solution,
find the unknown by setting the domain residual to zero
• In this case, domain residual is zero at all points in the domain
What if there is more than one parameter in the domain residual
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
Exemplar problem
𝑑 𝑑𝑢
GDE: − 𝑥 +𝑢 =0 for 0<𝑥<1
𝑑𝑥 𝑑𝑥
𝑑𝑢
BC: 𝑢 0 =1 𝑥 ቚ =0
𝑑𝑥 𝑥=1
Trial function 𝑢ො = 1 + 𝑐1 𝑥 2 − 2𝑥 + 𝑐2 𝑥 3 − 3𝑥
Substitute u in the GDE with 𝑢ො
𝑑 ෝ
𝑑𝑢
− 𝑥 + 𝑢ො =
𝑑𝑥 𝑑𝑥
ⅆ
− 𝑐1 2𝑥 2 − 2𝑥 + 𝑐2 (3𝑥 3 −3𝑥) + [1 + 𝑐1 𝑥 2 − 2𝑥 + 𝑐2 𝑥 3 − 3𝑥 ]
ⅆ𝑥
= − 𝑐1 4𝑥 − 2 + 𝑐2 (9𝑥 2 −3) + 1 + 𝑐1 𝑥 2 − 2𝑥 + 𝑐2 𝑥 3 − 3𝑥
= 𝑐2 𝑥 3 + (𝑐1 − 9𝑐2 )𝑥 2 − 6𝑐1 + 3𝑐2 𝑥 + (1 + 2𝑐1 + 3𝑐2 )
Can we make this domain residual zero at all points in the domain?
ⅆ ⅆ𝑢ො
− 𝑥 + 𝑢ො
ⅆ𝑥 ⅆ𝑥
= 𝑐2 𝑥 3 + (𝑐1 − 9𝑐2 )𝑥 2 − 6𝑐1 + 3𝑐2 𝑥 + (1 + 2𝑐1 + 3𝑐2 )
To make this zero at all points in the zero, all the four terms
in the above domain residual must be zero
𝑐2 = 0
𝑐1 − 9𝑐2 = 0 A viable alternative is
6𝑐1 + 3𝑐2 = 0 weighted residual method
1 + 2𝑐1 + 3𝑐2 = 0
The above relations are inconsistent; hence, there is no
solution to the equations
BITS Pilani, Deemed to be University under Section 3 of UGC Act, 1956
BITS Pilani
Pilani | Dubai | Goa | Hyderabad
Thank You