Professional Documents
Culture Documents
& FINITE ELEMENT METHOD
Variational Approach in FEM
Part I
Prof. Seong Jin Park
Mechanical Engineering, POSTECH
Variational Approach in FEM
In understanding the phenomena occurring in nature, we are used to differential equations based
on basic physical principles in many mechanical engineering problems.
Instead of differential formulation, physical phenomena can be described in terms of
minimization of total energy (or functional) associated with the problem, which is called
variational formulation. FEM can be derived by this variational formulation as long as there
exists a variational principle corresponding to the problem of interest.
Principle of Minimum Total Potential Energy
U V : Total Potential Energy
U : Strain Energy
V : Potential Energy due to external loads (kept constant)
is minimum with respect to the state variables or function variables at the equilibrium state.
*
Note:
This principle can be easily applied to deformation of elastic bodies by identifying the strain
energy and potential energy due to external forces which are assumed to be fixed during the
deformation. The total potential energy can be a function of state variables or a function of
functions, which is called “functional”.
Principle of Minimum Total Potential Energy
For instance,
Note:
It may be noted that there are other variational principles than the Principle of Minimum
Total Potential Energy. In this introductory course, our discussion will be limited to this
principle only.
Example 1: Spring Problem
The deformation of a spring is taken as the simplest example to demonstrate that the variational
formulation yields the same equation as the conservation law, i.e., for equilibrium equation.
k
x i) Equilibrium concept kx p
P ii) Energy concept
1 2
Strain energy: U kx
2
Potential energy: V Px
1 2
Total potential energy: kx Px
2
Minimize with respect to the variable x : 0 kx P
x
Example 2: Tight String Problem
This is the first example of a functional. A tight string with a tension T applied at the end walls is
under a distributed load w(x) as depicted below. Find y(x) for a given w(x)
d dy
i) Equilibrium concept : T w( x ) 0
dx dx
w(x)
ii) Energy concept: 2
x l1 dy
U T dx
Strain energy 0 2
dx
y(x) l
y
Potential energy V wydx
0
1 dy 2
y ( x) T wy dx
l
Total potential energy
dx
0 2
There are many interesting examples of functional. To enhance motivation, one more example is
introduced, namely Brachistochrone problem by Bernoulli 1696.
y 2
dy
B 1
ds dx
t y ( x)
B B
dx : A functional to be minimized.
0 v 0
2 gy
Calculus of Variation
2
I ( x) F ( x, , x , xx )dx (functional) with x
x2
, xx 2
x1 x x
Find (x ) which minimizes I ( ( x ))
y
(x ) : exactsolution
~
: smallvariation
x
Calculus of Variation
~
Consider an approximate solution which has a small variation
(x ) ~
over an exact solution . ( x) ( x) ( x)
The approximate solution is substituted to the functional expression yielding
~
x2 ~ ~ ~
I ( x) F ( x, , x , xx )dx
x1
I ( ) I
x2 F d F d F
Integral by parts yields I
x1
dx
x
dx
xx
( x ) dx
x2 x2
F F
x
x x1
xx x1
x2 F d F d2 F
One more integral by parts gives I x1
dx
x
2
dx
xx
dx
x2 x2
F d F F
x 0
x dx xx xx x1
x1
Calculus of Variation
I 0 for arbitrary implies that
F d F d 2 F
2 0 x1 x x2 Euler‐Lagrange equation
dx x dx xx
And the following set of boundary conditions
F d F
0 or 0 at x x1 and x x2
x dx xx
and
F
0 or x 0 at x x1 and x x2
xx
(Natural B.C.) (Essential B.C.)
Calculus of Variation
Properties of operator
i) The laws of variations of sums, products, and so on are completely analogous
to the corresponding laws of differentiation.
( F G ) F G, ( FG ) (F )G F (G ), δ ( F n ) nF n 1F
ii) interchangeability between and
x2 x2 ~ x2 x2 ~ x2 x2 x2
Fdx Fdx Fdx ( F F )dx Fdx Fdx Fdx
x1 x1 x1 x1 x1 x1 x1
d
iii) interchangeability between and
dx
~
d d d
dx dx dx d d
~ dx dx
d d d
dx dx dx
Example 1 : Tight string problem
1 dy 2
y ( x) T wy dx
l
dx
0 2
Euler‐Lagrange equation: F F
w
y
F F dy d dy
T w T 0
x y x dx dx dx
F F
0
xx y xx
dy
B.C.: T 0 or y 0 at x 0 and x l
dx
Example 2 : Bending beam problem
w(x)
y(x) E: Young’s modulus
y I: Moment of inertia
1 d 2 y 2
y ( x) EI 2 wy dx
l
The total potential energy:
0 2
dx
d2 d2y
Euler‐Lagrange equation: w 2 EI 2 0
dx dx
Example 2 : Bending beam problem
w(x)
dM dV
V, w
dx dx
M M+dM
d2y d3y d4y
EI 2 M , EI 3 V , EI 4 w
V V+dV dx dx dx
dx
Example 3 : Hamilton’s Principle and
Lagrange’s equation in dynamics
Dynamic motion of a rigid body system can be described in several ways.
Newton’s 2nd law of motion is one of them. Other methods are based on energy concept .
Newton’s equation of motions is represented by
F mx
Lagrange’s equation can be written as
d L L
0 with L T V beingLagrangefunction
dt qi qi
(or kinetic potential)
Derive Lagrange’s equation via calculus of variation from Hamilton’s principle.
t2
(T V )dt 0 I (T V )dt
t2
t1 or minimize t1
Which implies that “actual path followed by a dynamic process is such as to make the integral of
(T‐V) a minimum”.
Hamilton’s principle for deformable body can be stated as
(T )dt Ldt 0
t2 t2
t1 t1
F ˆ F ˆ F ˆ F 2 F 2 F 2 F x 2 F y
0 , etc.
x x
y y
where x x x x x x x 2 x x y x
A x dxdy An x ds, A y dxdy An y ds
Boundary Conditions in Variational Principle
It may be noted that a variational principle gives rise to not only Euler‐Lagrange equations
but also boundary conditions associated with the problem. In fact, the functional itself
include the effect of boundary conditions accordingly.
Consider the tight string problem as an example.
w(x)
y(x)
1 dy 2
y ( x) T wy dx
l
dx
0 2
Boundary Conditions in Variational Principle
At this time, we will derive the Euler‐Lagrange equation and the associated boundary
conditions by using the operator to the variation of the functional without referring to the
formulae derived before.
~
y y y ( ~
y ) ( y )
l 1 dy 2
T wy dx Euler‐Lagrange equation
0 2
dx
d dy
l dy dy T w 0, 0 xl
T wy dx dx dx
0
dx dx
l dy d
T y wy dx
0
dx dx Boundary Condition
d dy dy
l
dy
l
T wydx T y 0 T 0 or δy 0 (i.e. y is prescribed) at x 0 and x l
0
dx dx dx 0
dx
Boundary Conditions in Variational Principle
Equivalence
d dy
dx T dx w 0, 0 xl
Solve D.E.
y 0 at x 0 and x l
1 dy 2
y ( x) T wy dx
l
Minimize or
dx
0 2
l dy dy
T wy dx 0 for any δy
0
dx dx
Boundary Conditions in Variational Principle
Now, consider a case where one has to introduce a natural boundary condition at one end of the
string as depicted in the following figure.
x
dy dy
w(x) T T (given downward load)
y dx dx
T
y(x)
dy
If T is prescribed at x=l, the functional should be modified as follows
dx
1 dy 2 dy
y ( x ) T wy dx T
l
y
0 2
dx dx l
It should be noted that the additional term represents the potential energy
due to the external load T dy .
dx
Boundary Conditions in Variational Principle
In this case, the variation of functional becomes slightly different from the previous case to yield the
same Euler‐Lagrange equation with different set of boundary condition as derived below.
l
l d dy dy dy
T w ydx T y T y
0
dx dx dx 0 dx l
l d dy dy dy dy
0 dx dx
T w ydx T
dx
T
dx
l
y T
dx
y
0
0 for any y
which implies that
d dy
dx T dx w 0, 0 xl
dy dy
y 0 at x 0 and T T at x l
dx dx
Boundary Conditions in Variational Principle
It may be noted that the variational formulation includes the natural boundary conditions in the
functional form:
l dy dy dy
T wy dx T y 0 for any δy
0
dx dx dx
Note:
In other words, as long as the total potential energy is correctly found including the effect of natural
boundary conditions, one does not have to worry about the detailed procedure of introducing the
natural boundary condition in the FEM formulation any more. This point is the merit of FEM over
other numerical analysis techniques in dealing with the natural boundary conditions which involve
higher order derivatives than essential boundary conditions.
The tight string problem described above is analogous to other physical problems represented by one‐
dimensional second order differential equation, for instance, one dimensional steady heat conduction
in particular.
Boundary Conditions in Variational Principle
Tight String
l 1 dy l 1 dy l 1 dy
2 2 2
dy dy
y ( x) T wy dx y ( x) T wy dx T y y ( x) T wy dx T y
dx
0 2
0 2 dx dx l
0 2 dx dx 0
d dy
T w 0, 0 xl
dx dx
y y at x 0 y y at x l
y y at x 0 and x l dy dy dy dy
T T at x l T T at x 0
dx dx dx dx
Heat Conduction
l 1 d l 1 d d l 1 d d
2 2 2
d d
k q 0, 0 xl
dx dx at x 0 at x l
at x 0 and x l d d d d
k k at x l k k at x 0
dx dx dx dx