Professional Documents
Culture Documents
Introduction - Euler-Lagrange Equations - Method of Ritz For Minimising Functionals - Weighted Residual Methods - The Finite Element Method
Introduction - Euler-Lagrange Equations - Method of Ritz For Minimising Functionals - Weighted Residual Methods - The Finite Element Method
principles
4.1 Introduction
• Introduction
• Euler-Lagrange equations
• Method of Ritz for minimising functionals
• Weighted residual methods
• The Finite Element Method
Introduction
Variational principles
q 1(t)
L = T – V is the Lagrangian t2
t1
The path actually taken is the
one for which infinitesimal
variations in the path result in q 2 (t)
no change in the action
q1(t)
Introduction
Hamilton’s principal of least action
b
F(x, y , y ' ) dx
a 0
Euler-Lagrange Equations
Functionals
F F x F y F y'
x y y'
F F • y y
0 '
y y'
b • y is the solution to a pde as
dJ F F well as being the function
' dx
d a y y' which minimises F[x,y,y’]
b
F d F • We can therefore solve a
dx
a y dx y' pde by finding the function
dJ F d F which minimises the
0 if 0 corresponding functional
d y dx y'
4.3 Method of Ritz for minimising functionals
• Electrostatic potential u(x,y) inside region D SF p 362
2 u(x, y) f(x, y)
Method of Ritz for minimising functionals
Electrostatic potential problem
Basis set which satisfies boundary conditions
1 (x, y) xy(1 - x)(1 - y)
2 (x, y) x1 (x, y)
0.06
0.04 1
0.02 0.8
1
0 0.6
2
0
0.2 0.4
0.4
0.6 0.2
etc.
0.8
10
Method of Ritz for minimising functionals
Electrostatic potential problem
• Series expansion of solution
N
u(x, y) c i i (x, y)
i 1
•Differentiate wrt cj
J N j j
2 i i c i f j dx dy
c j D
i 1 x x y y
Method of Ritz for minimising functionals
Electrostatic potential problem
• Functional minimised when
J
0
c j
• Linear equations to be solved for ci
Aij.cj = bi
where j j
A ij i i dx dy
D x x y y
b i - f(x, y) i (x, y) dx dy
D
4.4 Weighted residual methods
• For some pde’s no corresponding functional can be found
• An IBVP is specified by
Lu u t x D t 0 PDE
u(x,0) (x) xD IC
u(x, t) f s (x, t) x S BC
Weighted residual methods
Trial solution and residuals
•Trial solution
n
u T (x, t) u s (x, t) c i (t) u i (x) ui(x) are basis functions
i 1
u s (x, t) f s (x, t)
u i (x) 0 x S
1
Definition of local and global
coordinate axes and node numberings
3 2
Local coordinate axes and
node numbers
F1 Ti Ti 1 F2
• Define mesh
• Define local and global node numbering
• Make local/global node mapping
• Compute contributions to functional from each element
• Assemble matrix and solve resulting equations
The finite element method
Example: bar under stress
• Variational principle
• W = U or (U – W) = = 0
x2 x2 2
AE du
Π F2 u 2 F1 u 1 T(x)u(x)dx dx
2 dx
x1 x1
The finite element method
Example: bar under stress
Π(u ) F1 (u 1 1 ) F2 (u 2 2 )
x2 x2 2
AE d(u )
T(x)(u )dx 2 dx dx
x1 x1
x2 x2
dΠ du d
F11 F2 2 T dx AE dx
d dx dx
x1 x1
ui(X) = + Xi
uj(X) = + Xj
•Solve for coefficients i X j
u X -u X u -u
1 i j j i 2
j i
X is the local
X -X X -X
j i j i displacement variable
The finite element method
Example: bar under stress
•Substitute to obtain finite elements