Title: Partial differential equations
1Partial differential equations Function depends
on two or more independent variables
This is a very simple one - there are many more
complicated ones
2Order of the PDE is given by its highest
derivative
is 4th order
is 2nd order
3Linear PDE is linear in dependent variable, and
all coefficients depend on independent variables
only
Nonlinear PDEs violate these rules
4PDE that often appears in engineering is second
order, linear PDE General form
A, B, C are functions of x and y D is function of
x,y,u and and
5Can use values of coefficients A,B,C to
characterize the PDE
6- Why categorize?
- Different methods to solve different types
- Different types describe different engineering
problems - Elliptic - steady state
- Parabolic - propagation
- Hyperbolic - vibrations
7Analytic solutions - there arent many Often can
use analytic tools to get idea of behavior of a
PDE, especially as parameters are
changed Important for limiting cases
8Elliptic PDEs Steady-state two-dimensional heat
conduction equation is prototypical elliptic PDE
This is the Laplace equation
This is the Poisson equation
9Think of a small box
qy, in
qx, in
qx, out
qy, out
At steady state, net change in heat is 0, so
10Shrink to differential size
Fouriers law of heat conduction
11Substitute
We will solve with finite differences
12Discretize PDE so that we have a mesh of grid
points with boundary conditions
Index for y is j
Index for x is i
13 Use finite differences for the derivatives
Ti-1,j
Ti1,j
Ti,j
14Now the y derivative
Ti,j1
Ti,j
Ti,j-1
15Substitute these expressions back into original
elliptic PDE
Assume ?x?y. Can rearrange to get
True for all interior points
16Need to define values on ALL boundaries -
Dirichlet boundary condition (Neumann BC fix flux
at boundary)
17Each interior point has an equation - for 9 x 9
interior points - 81 equations Adds up
quickly Example 4 x 4 grid - 2 x 2 interior
points
180
25
50
75
10
75
20
75
75
30
60
45
Let i1, j1
19Fill in the matrix
Generally, we get a sparse matrix (big,
too) Technique most often used is Gauss-Seidel or
some variation of it - matrix is always
diagonally dominant - also called Liebmanns rule
20Rewrite equation in Gauss-Seidel form
Use overrelaxation (if desired)
Apply these steps iteratively until T converges
21Solving our example - the four equations are
22Rewrite them in Gauss Seidel form
and assume initial values for T
23Run without overrelaxation
24End result
31.79
53.39
56.72
38.39
25What about derivative (flux) boundary
conditions I.E. if we insulate one side of the
plate, is 0 there
Create an imaginary point outside boundary
T0,j1
T-1,j
T1,j
T0,j
T0,j-1
26Equation becomes
Now consider finite difference for derivative at 0
27Substitute
Derivative BC now included in equation
28Irregular domains (funny shapes) What do you do
with a domain like?
29Different ?x, ?y
?2 ?x
?2 ?y
?1 ?y
?1 ?x
Your book uses ?, ? to scale the ?x, ?y
30Can develop equations for edge points
Now use a Gauss-Seidel or other matrix approach