Pdes Iii (Hyperbolic Equations) : Phys 535
Pdes Iii (Hyperbolic Equations) : Phys 535
Pdes Iii (Hyperbolic Equations) : Phys 535
(Hyperbolic Equations)
Phys 535
r. ouyed 1
Recapitulation on PDEs :
2nd order model problems
au xx + bu xy + cu yy + du x + eu y + fu = g
r. ouyed 3
Hyperbolic PDES
r. ouyed 4
The simplest case of a hyperbolic equation is the
one-dimensional first order wave equation:
r. ouyed 5
Even simpler one-dimensional first order wave equation
(a=-1):
r. ouyed 6
The second case of a hyperbolic equation is the
one-dimensional Schrodinger equation:
r. ouyed 7
Hat shaped
initial function
In (c), strong DISSIPATION or DIFFUSION is evident: sharp corners have been smoothed.
t
r. ouyed 9
Practice problem
Constant known as
MESH RATIO
Fourier Analysis
&
Amplification Factors
r. ouyed 12
Substituting into the finite-difference equation/stencil obtained
using an FTCS for the advection equation yields
Largest values of
z occurs for
For , the roots move off the circle (one inside, one outside).
The one outside amounts to an amplification factor greater than
1 and causes instability. r. ouyed 14
There is a simple fix to the instability issue discussed above,
It is known as the
Lax-Wendroff method
r. ouyed 15
r. ouyed 16
Take the Lax-Wendroff stencil, perform the von Neumann
analysis and show that:
r. ouyed 18
More elaboration on the CFL condition
The Complete
Wave equation
r. ouyed 19
Wave equation (Infinite Domain)
Wave equation
Initial Conditions
u ( x,0) = f ( x)
ut ( x,0) = g ( x)
Solution (verify)
x + ct
1 1
u ( x, t ) = [ f ( x " ct ) + f ( x + ct )] + g ( y )dy
2 2c x "!ct
r. ouyed 20
Practice problem
Simplest case:
Initial Conditions
u ( x,0) = exp(! x 2 )
ut ( x,0) = 0
r. ouyed 21
t=.01 t=.1
t=1 t=10
r. ouyed 22
Characteristic curves
x+ct=constant x-ct=constant
t 1 1
x + ct
u ( x, t ) = [ f ( x " ct ) + f ( x + ct )] + ! g ( y )dy
2 2c x "ct
r. ouyed 23
Domain of dependence
x+ct=constant x-ct=constant
t
r. ouyed 24
CFL Condition
x+ct=constant x-ct=constant
t
x h
r. ouyed 25
CFL Condition
x+ct=constant x-ct=constant
t
x h
r. ouyed 26
CFL Condition
Boundary of instability: domain of dependence of PDE is
discrete domain of dependence
x+ct=constant x-ct=constant
t
x h
r. ouyed 27
CFL Condition
x+ct=constant x-ct=constant
k/h=1/c
t
x h
r. ouyed 28
CFL&vonNeumann Stability condition for finite difference schemes
r = cmax dt/dx
Von Neumann
(explicit)
(explicit)
(explicit)
(explicit)
(explicit)
(explicit)
(implicit)
(implicit)
(implicit)
r. ouyed 29
A few words about
NUMERICAL DISSIPATION
(artificial viscosity)
r. ouyed 32
Lax celebrated theorem:
Lax Equivalence Theorem
r. ouyed 33
The Theorem does NOT apply to non-linear systems!
r. ouyed 34
ADVECTION EQUATION
r. ouyed 35
Viscosity
r. ouyed 36
Nonlinear Problem (Burgers equation)
!u !u
= "u (6.21)
!t !x
!u ! ( u2 % !u !E
= " && ## or =" (6.22)
!t !x ' 2 $ !t !x
u2
where E =
2
• u(x,0)=1 0≤x≤2.0
• u(x,0)=0 2.0≤x≤4.0
r. ouyed 37
Burgers equation
• ⑴ The Lax method
• (ⅰ)explicit uin +1 " uin Ein+1 " Ein"1
="
!t 2!x
• (ⅱ) Replace 1 n
u = (ui +1 ! uin!1 )
n
i
2
2
• (ⅲ) 0 (( !t ), ( !x ) )
• FDE:
n +1 1 n n "t
u i = (ui +1 ! ui !1 ) ! ( Ein+1 ! Ein!1 ) or
2 2"x
1 n "t
uin +1 n
= (ui +1 ! ui !1 ) ! [(uin+1 ) 2 ! (uin!1 ) 2 ]
2 4"x
r. ouyed 38
Burgers equation
"t
umax ! 1 (CFL
6.23)
"x
• Stable:
The sharp gradient slowly dissipates and the solution decays to zero
r. ouyed 39
Now let us use the Lax-Wendroff method
n +1 n "t
u i =u !i ( Ein+1 ! Ein!1 )
2"x
("t ) 2 n +1 n n n n n n n
+ 2
((u i + u i )( E i +1 ! Ei !1 ) ! (u i + u i !1 )( Ei ! Ei !1 ))
8("x)
r. ouyed 40
Additional Topics
r. ouyed 41
Any time-dependent scalar, linear PDE with constant coefficients,
on an unbounded space domain admits plane wave solutions:
Second order
wave equation
r. ouyed 42
r. ouyed 43
Discrete approximations to PDE also admit plane wave
solutions (at least if the grid is uniform). As such, they
too have dispersion relations!
r. ouyed 48
Explicit schemes
r. ouyed 49
Explicit schemes … cont.
r. ouyed 50
Implicit
Schemes
r. ouyed 51
End of PDE III (Hyperbolic)
r. ouyed 52
Many thanks for your attention and patience!
r. ouyed 53