Partial differential equations - PowerPoint PPT Presentation

1 / 30
About This Presentation
Title:

Partial differential equations

Description:

Partial differential equations – PowerPoint PPT presentation

Number of Views:342
Avg rating:3.0/5.0
Slides: 31
Provided by: tonyc7
Category:

less

Transcript and Presenter's Notes

Title: Partial differential equations


1
Partial differential equations Function depends
on two or more independent variables
This is a very simple one - there are many more
complicated ones
2
Order of the PDE is given by its highest
derivative
is 4th order
is 2nd order
3
Linear PDE is linear in dependent variable, and
all coefficients depend on independent variables
only
Nonlinear PDEs violate these rules
4
PDE 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
5
Can 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

7
Analytic 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
8
Elliptic PDEs Steady-state two-dimensional heat
conduction equation is prototypical elliptic PDE
This is the Laplace equation
This is the Poisson equation
9
Think of a small box
qy, in
qx, in
qx, out
qy, out
At steady state, net change in heat is 0, so
10
Shrink to differential size
Fouriers law of heat conduction
11
Substitute
We will solve with finite differences
12
Discretize 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
14
Now the y derivative
Ti,j1
Ti,j
Ti,j-1
15
Substitute these expressions back into original
elliptic PDE
Assume ?x?y. Can rearrange to get
True for all interior points
16
Need to define values on ALL boundaries -
Dirichlet boundary condition (Neumann BC fix flux
at boundary)
17
Each 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
18
0
25
50
75
10
75
20
75
75
30
60
45
Let i1, j1
19
Fill 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
20
Rewrite equation in Gauss-Seidel form
Use overrelaxation (if desired)
Apply these steps iteratively until T converges
21
Solving our example - the four equations are
22
Rewrite them in Gauss Seidel form
and assume initial values for T
23
Run without overrelaxation
24
End result
31.79
53.39
56.72
38.39
25
What 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
26
Equation becomes
Now consider finite difference for derivative at 0
27
Substitute
Derivative BC now included in equation
28
Irregular domains (funny shapes) What do you do
with a domain like?
29
Different ?x, ?y
?2 ?x
?2 ?y
?1 ?y
?1 ?x
Your book uses ?, ? to scale the ?x, ?y
30
Can develop equations for edge points
Now use a Gauss-Seidel or other matrix approach
Write a Comment
User Comments (0)
About PowerShow.com