Professional Documents
Culture Documents
Lect16 FEM Example BasicSteps
Lect16 FEM Example BasicSteps
A Simple Example
The Ritz Method Galerkins Method The Finite-Element Method
Example
Problem Statement
=0 (x) = (x+1) C/m3 =1
x=0
x=1m
120
Example
Differential equation:
Boundary condition:
Solution:
121
Example
A. The Ritz method
Vartiational solution:
Proof:
=0
=0
122
Example
Expand Apply BC:
Functional:
123
Example
B. Galerkins method
Weighted residual: Expansion: Weighting: Solution:
124
Example
C. Another method
1
x=0
4
x=1
Linear interpolation:
Boundary condition:
125
Example
Apply the Ritz method:
Integration:
126
Example
Apply Galerkins method:
Weighting:
Integration by parts:
127
Example
Numerical solution:
128
FEM Definition
The above solution procedure The finite element method
The Ritz variational FEM The Galerkin FEM
129