Escolar Documentos
Profissional Documentos
Cultura Documentos
Scott Small
Scott Small
Outline
Overview of Dierential Equations The Galerkin Method The Finite Element Method
Scott Small
Outline
Overview of Dierential Equations The Galerkin Method The Finite Element Method
Scott Small
Scott Small
Heat Equation: Governs distribution of heat u 2u 2u (x, y , t) 2 (x, y , t) 2 (x, y , t) = f (x, y , t) t x y Burgers Equation: Used for trac ow u u (x, t) + u(x, t) (x, t) = 0 t x Beam Equation: Used in elasticity of materials u 4u (x, t) + 4 (x, t) = 0 t x
Scott Small Introduction to Galerkin and Finite Element Methods
An exact solution to a dierential equation is a function that, when substituted into the dierential equation, results in a true statement. A numerical solution to a dierential equation is an approximation to an exact solution.
Scott Small
Outline
Overview of Dierential Equations The Galerkin Method The Finite Element Method
Scott Small
The Galerkin Method is very popular for nding numerical solutions to dierential equations.
The idea is to approximate the solution to a dierential equation by very nice and simple functions.
Scott Small
Identify the dierential equation to solve, along with its domain and boundary conditions. Identify the vector space in which to look for a solution, called the solution space. Rewrite the dierential equation in a special way, know as the weak formulation. Decide what type of functions are to be used to approximate the solution. Rewrite the weak formulation to reect these approximating functions. Solve the resulting weak formulation for an approximate solution.
Scott Small
We will use Helmholtzs Equation in one dimension (an ODE). u (x) 3u(x) = cos(x) for x [0, 2] u(0) = 0 u (2) = 1
Scott Small
Based upon the given dierential equation and domain, we use for our solution space the set of all smooth functions with domain [0, 2] that are 0 for x = 0. We will call this vector space V .
Note that we want the solution of the dierential equation to come from this set. (But it also should satisfy the condition u (2) = 1.)
Scott Small
u (x)v (x)dx
0 2 0
3u(x)v (x)dx
=
0 2
v (2) +
0 2
= =
0
Scott Small
Consider {x, x 2 , x 3 }. We use we use this as a basis for our approximating subspace.
Let V3 = span{x, x 2 , x 3 }. We will also let u3 denote our approximate solution (in V3 ). As such, there exists {i }, i = 1, 2, 3 such that u3 (x) = 1 x + 2 x 2 + 3 x 3
Scott Small
To approximate the solution, we replace our solution space V with our approximating solution space V3 . The weak formulation becomes:
2 2
=
0 2
for all v3 V3 .
Scott Small
u3 (x) =
i=1
i x i and u3 (x) =
i=1
i ix i1
This gives us
2 2
[
0 i=1
i ix
i1
]v3 (x) 3[
i=1
i x i ]v3 (x)dx =
2
Scott Small
[i
i=1 0
ix i1 v3 (x) 3x i v3 (x)dx] =
0
Since this still holds for all v3 V3 , we get three equations by picking three choices for v3 V3 : x, x 2 , and x 3 (the basis for our approximation space V3 ).
Scott Small
[i
i=1 3 2 0
ix i1 3x i xdx] =
0 2
cos(x)x dx + 2 cos(x)x 2 dx + 4
0 2
[i
i=1 3 0 2
[i
i=1
cos(x)x 3 dx + 8
Scott Small
61 82 11.23 = 2.402448 81 8.5333332 83 = 4.154008 11.21 82 + 2.7428573 = 7.865929 Solving gives u3 (x) = .350567x .402926x 2 + .261104x 3 .
Scott Small
Scott Small
Outline
Overview of Dierential Equations The Galerkin Method The Finite Element Method
Scott Small
The Finite Element Method is a Galerkin Method that uses piecewise functions to approximate the solution of a dierential equation. We divide the domain into geometric regions called elements. We then form an approximate solution on each of these elements.
Scott Small
As an example, consider Poissons Equation in 2 variables: 2u 2u (x, y ) 2 (x, y ) = y 2 sin(xy ) + x 2 sin(xy ) x 2 y u(0, y ) = 0 u(x, 0) = 0 u(2, y ) = sin(2y ) u(x, 2) = sin(2x) The solution is given by u(x, y ) = sin(xy ).
Scott Small
Scott Small
Exact Solution
Scott Small
Scott Small
Scott Small
Scott Small
Scott Small
Scott Small
Scott Small
References
Atkinson Kendall, Han Weimin. Theoretical Numerical Analysis A Functional Analysis Framework. Springer: New York. 2005. Evans Lawrence C. Partial Dierential Equations. AMS: Providence. 1998. Quarteroni Alo, Sacco Riccardo, Saleri Fausto. Numerical Mathematics. Springer-Verlag: New York. 2000.
Scott Small