Professional Documents
Culture Documents
the Finite Element
Method Part 1: Introduction
by
Sergio Preidikman Orientation
Solving a Problem by Finite Element Analysis
Especialización en Estructuras
Facultad de Ingeniería Civil Mathematical Models in One Dimension
Universidad del Cauca Two‐point boundary‐value problems
Popayán, Cauca, Colombia A Model Problem
22 de enero al 9 de febrero de 2018 01/25/2018 2
UNICAUCA 2018 by Sergio Preidikman
Orientation Orientation
• The finite element method is a general technique for • The finite element method involves four basic steps:
constructing approximate solutions to boundary-value
1. The weak or variational formulation of the problem;
problems (BVPs).
2. The construction of piecewise polynomial trial
• The method involves dividing the domain of the solution
functions;
into a finite number of simple subdomains, the finite
elements, and using variational concepts to construct an 3. The computation of the stiffness matrix and the
approximation of the solution over the collection of solution of the discrete system; and
finite elements.
4. The estimation of accuracy in the final Ritz
• Because of the generality and richness of the ideas approximation.
underlying the method, it has been used with remarkable
success in solving a wide range of problems in virtually
all areas of engineering and mathematical physics.
01/25/2018 UNICAUCA 2018 by Sergio Preidikman 3 01/25/2018 UNICAUCA 2018 by Sergio Preidikman 4
Orientation Orientation
• To explain the basic approach of the FEM, consider a • It is straightforward to write a heat balance equation for
plate with a hole, as shown in the next figure, for which each point in the plate.
we wish to find the temperature distribution.
• However, the solution of the resulting partial differential
equation (PDE) for a complicated geometry, such as an
engine block, is impossible by classical methods like
separation of variables.
• Numerical methods such as finite difference methods
Plate with a hole. (FDM) are also quite awkward for arbitrary shapes;
software developers have not marketed finite difference
programs that can deal with the complicated geometries
that are commonplace in engineering.
Orientation Orientation
• Similarly, stress analysis requires the solution of partial
differential equations that are very difficult to solve by Triangular Finite Element.
analytical methods except for very simple shapes, such
as rectangles, and engineering problems seldom have
such simple shapes.
Part 1.1: Solving a Problem by
Finite Element Analysis (FEA)
Postprocessing Postprocessing
What is at fault?
Are error
estimates
small?
No Revise the
finite element Generate and
Part 1.2: Two‐point boundary‐
Physical understanding discretization.
or FEA modeling?
Does mesh
revision do
little to alter Yes
solve equations of
the finite element
model.
value problems
FEA results? STOP
No
Yes
Postprocess:
Are FEA results free of obvious errors, such as disagreement with boundary conditions Display computed
intended? results for
Are FEA results physically reasonable? examination.
Do FEA results agree well enough with predictions and approximations obtained by
other means?
01/25/2018 UNICAUCA 2018 by Sergio Preidikman 41
problem: of study
Heat transfer
u
Temperature
a
Thermal
c
Surface
f
Heat
Q
Heat
conductance convection generation
d d
a x u x c x u x f x , 0 x l
T – T∞ kA APβ f Q
Flow through Fluid head Permeability 0 Infiltration Point source
dx dx porous medium ϕ μ f Q
Flow through Pressure Pipe resistance 0 Point source
u 0 u0 , pipes
Flow of
P
Velocity
1/R
Viscosity 0
0
Pressure gradient
Q
Shear stress
u l ul .
viscous fluids vx μ –dP/dx σxz
Elastic cables Displacement Tension 0 Transverse force Point force
u T f P
here u0 and ul are given constants, and f(x) (on the right- Elastic bars Displacement
u
Axial stiffness
EA
0 Axial force
f
Point force
P
hand side), a(x) and c(x) are given “smooth” functions. Torsion of bars Angle of twist
θ
Shear stiffness
GJ
0 0 Torque
T
Electrostatics Electric potential Dielectric 0 Charge density Electric flux
constant
ϕ ε ρ E
d d
a x u x c x u x f x 0 for 0 x l
dx dx
01/25/2018 UNICAUCA 2018 by Sergio Preidikman 43 01/25/2018 UNICAUCA 2018 by Sergio Preidikman 44
Model Boundary Value Problem Two-point BVP 4th order DE
k thermal conductance;
d2 d2
convective film conductance; 2
b x 2
u x f x, 0 x l
dx dx
p perimeter;
u 0 u0 ,
P pressure or force;
d
T ambient temperature of the surrounding fluid medium; u x 0 ,
128 h
dx x 0
R with being the viscosity, h the length, and d the diameter of the pipe;
d4 d2
E Young's modulus;
b x u x Ml ,
dx 2 x l
A area of the cross section;
d d2
J polar moment of inertia. b x 2
u x Fl .
dx dx x l
d d
a x u x c x u x f x 0 for 0 x l
dx dx
01/25/2018 UNICAUCA 2018 by Sergio Preidikman 45 01/25/2018 UNICAUCA 2018 by Sergio Preidikman 46
A Model Problem
• We begin by considering the problem of finding a
function u x , 0 x 1, which satisfies the following
differential equation (DE) and boundary conditions
(BCs):
d2
u x 2, 0 x 1,
Part 1.3: A Model Problem dx 2
(1)
u 0 0,
u 1 0.
01/25/2018 UNICAUCA 2018 by Sergio Preidikman 48
A Model Problem A Model Problem
• The data of the problem consist of all the information • The data in our model problem are “smooth”; for
given in advance: example, the right-hand side = 2 and the coefficients are
– the domain of the solution (in this case, the domain is differentiable infinitely many times.
simply the unit interval 0 x 1), • As a consequence of this smoothness, there exists a
– the “nonhomogeneous part” of the differential unique function u x which satisfies the differential
equation (represented by the given constant (= 2) on equation at every point in the domain as well as the
the right-hand side), boundary conditions.
– the coefficient of the second derivative of u x (in • In this particular example, it is a rather simple task to
this case this is the constant +1), determine the exact solution to (1):
x x
– and the boundary values we demand the solution d2 d d
attain (in this case, zero at x 0 and at x 1). 0 d 2 u d 0 2d dx u x dx u x x0 2 x
01/25/2018 UNICAUCA 2018 by Sergio Preidikman 49 01/25/2018 UNICAUCA 2018 by Sergio Preidikman 50
1 4 x2 x
u x x2 x (2)
1 1
Maple: u x U x 1 2 x U x 1 2 x
2 2 12 x
01/25/2018 UNICAUCA 2018 by Sergio Preidikman 61 01/25/2018 UNICAUCA 2018 by Sergio Preidikman 62
d d
y ( x) y (0) y x x 0 u ( x) u (0) u x x x 1 2
dx x 0 dx x 0
d d
y (0) 0 y ( x ) y x x, 0 x 1 2 (8) u (0) 0 u ( x) u x x x 1 2, 1 2 x 1
dx x 0
dx x 0
(10)
01/25/2018 UNICAUCA 2018 by Sergio Preidikman 63 01/25/2018 UNICAUCA 2018 by Sergio Preidikman 64
A Model Problem A Model Problem
• 1 2 x 1 cont.: • Hence, finally we get
@ x 1 u ( x) 0 1
u x x, 0 x 1 2
2
d (12)
u (1) u x 1 1 1 2 1
u x x ,
1
1 2 x 1
dx x 0 2 2
d d
0 u x 1 2 u x 1 2 (11)
dx x 0 dx x 0 0 12 1
x
1 1 1
x x
1 4 2 2 2
01/25/2018 UNICAUCA 2018 by Sergio Preidikman 65 01/25/2018 UNICAUCA 2018 by Sergio Preidikman 66
b b
du dv
In particular, if t 1 for all t [a, b] then there exists uv a vdx u dx fundamental theorem
b
G t dt G x b a
b b
dv du
u dx uv a vdx
b
a
a
dx a
dx
The point G(x) is called the mean value of G(t) on [a, b].
01/25/2018 UNICAUCA 2018 by Sergio Preidikman 69 01/25/2018 UNICAUCA 2018 by Sergio Preidikman 70