30 Partial Differential Equations 02-11-2022
30 Partial Differential Equations 02-11-2022
If the function u depends on both x and y, then the partial derivative of u with
respect to x at an arbitrary point (x, y) is defined as:
2 u ( x, t )
u xx
x 2
2 u ( x, t )
u xt
x t
Order of the PDE order of the highest order derivative .
4
Partial Differential Equations
T ( x1 , t1 ) T=5.2
t1 T=3.5
x1
Different curves are used Three dimensional plot The axis represent the
for different values of of the function T(x,t) independent variables. The
one of the independent value of the function is
variable
displayed at grid points
7
Examples of PDEs
Important Examples:
– Laplace Equation
– Heat Equation
– Wave Equation
8
Laplace Equation
2u ( x , y , z ) 2u ( x , y , z ) 2u ( x , y , z )
0
x 2
y 2
z 2
9
Heat Equation
u( x, y , z, t ) 2u 2u 2u
2 2 2
t x y z
10
Wave Equation
2u ( x , y , z , t ) 2
u 2
u 2
u
c 2 2 2
2
t 2
x y z
• The function u(x,y,z,t) is used to represent the
displacement at time t of a particle whose position
at rest is (x,y,z).
• The constant ‘c’ represents the propagation speed
of the wave.
11
Classification of PDEs
12
Classification of 2nd order partial differential equations in two variables
Linear Second Order PDEs
Classification
15
Linear Second Order PDE
Examples (Classification)
16
Linear Second Order PDE
Examples (Classification)
2u ( x , t ) u ( x , t )
Heat Equation 0
x 2
t
A , B 0, C 0 B 2 4 AC 0
Heat Equation is Parabolic
______________________________________
2
u ( x , t ) 2
u ( x, t )
Wave Equation c 2
0
x 2
t 2
A c 2 0, B 0, C 1 B 2 4 AC 0
Wave Equation is Hyperbolic
17
Boundary Conditions for PDEs
18
Solution Methods for PDEs
19
Finite element method
is Elliptic if B 2 4 AC 0
22
Laplace Equation
Laplace equation appears in several engineering problems
such as:
– Studying the steady state distribution of heat in a body.
– Studying the steady state distribution of electrical charge
in a body.
T ( x, y ) T ( x, y )
2 2
f ( x, y )
x 2
y 2
A 1, B 0, C 1
B 2 4 AC 4 0 Elliptic
24
Solution Technique
• A grid is used to divide the region of interest.
25
Finite Difference Methods
26
Solution Technique
2 T ( x, y ) Ti 1, j 2Ti , j Ti 1, j
,
x 2
x 2
2 T ( x, y ) Ti , j 1 2Ti , j Ti , j 1
y 2
y 2
2 T ( x, y ) 2 T ( x, y )
0
x 2
y 2
is approximated by :
Ti 1, j 2Ti , j Ti 1, j Ti , j 1 2Ti , j Ti , j 1
0
x 2
y 2
27
Solution Technique
Ti 1, j 2Ti , j Ti 1, j Ti , j 1 2Ti , j Ti , j 1
0
x 2
y 2
Ti 1, j Ti , j Ti 1, j
Ti , j 1
29
Example
Determine the steady state temperature at all points of a
heated sheet of metal. The edges of the sheet are kept at a
constant temperature: 100°C, 50°C, 0°C, and 75°C.
100
75 50
30
Known
To be determined
31
First Equation
Known
T1, 4 100 T2, 4 100 To be determined
T1,3 T2,3
T0,3 75
T1, 2 T2, 2
T0, 2 75
33
Write down balance at each node
4 1 0 1 T1,1 75
1 4 1 0 1 T2,1 0
0 1 4 0 0 1 T 50
3,1
1 0 0 4 1 0 1 T1,2 75
1 0 1 4 1 0 1 T 0
2, 2
1 0 1 4 0 0 1 T3,2 50
1 0 0 4 1 0 T 175
1,3
1 0 1 4 1 T2,3 100
1 0 1 4 3,3
T 150
T11 T21 T31 T12 T22 T32 T13 T23 T33
0 0 0 1 0 0 -4 1 0
0 0 0 0 1 0 1 -4 1 35
Fill the temperature at each grid point
Practice Problem: Use Laplacian Difference Equation to solve for the
temperature of the heated plate as given in the figure below:
120 C
1,2 2,2
50 C 70 C
1,1 2,1
0 C
The Liebmann Method
• Notice that there are a maximum of five unknown terms per line in
Eqns. For larger-sized grids, this means that a significant number of the
terms will be zero. When applied to such sparse systems, full-matrix
elimination methods waste great amounts of computer memory storing
these zeros.
At node (1,1):
T21+T01+T12+T10- 4T11=0
At node (2,1): Ti 1, j Ti 1, j Ti , j 1 Ti , j 1 4Ti , j 0
T31+T11+T22+T20-4T21=0
At node(3,1):
T41+T21+T32 +T30 - 4T31=0
At node (1,2):
T22+T02+T13+T11-4T12=0
At node (2,2):
T32+T12+T23+T21-4T22=0
At node (3,2):
At node (1,3):
T42+T22+T33+T31-4T32=0
T23+T03+T14+T12-4T13
At node (2,3):
T33+T13+T24+T22-4T23=0
At node (3,3):
T43+T23+T34+T32-4T33=0
At node (1,3):
T23+T03+T14+T12-4T13=0-T12+4T13-T23-T03-T14 = 0-T12+4T13-T23-75-100=0
At node (2,3):
T33+T13+T24+T22-4T23=0-T22-T13+4T23-T33-T24 = 0-T22-T13+4T23-T33-100=0
At node (3,3):
T43+T23+T34+T32-4T33=0-T32-T23+4T33-T34-T43 = 0-T32-T23+4T33-100-50=0
Write down balance at each node
For i = 1, j = 1,