Professional Documents
Culture Documents
Lecture 9 - Hyperbolic - Partial Differential Equation
Lecture 9 - Hyperbolic - Partial Differential Equation
Lecture 9 - Hyperbolic - Partial Differential Equation
Stability
Stability
Using the Von-Neumann stability analysis, the FTBS scheme is
stable if c > 0 and c < 1
(1.c.) (forward time forward space scheme) or (FTFS scheme)
Consistent
lim T .E 0
t 0
x 0
Stability
FTFS scheme
Boundary conditions
At x=0 → u=1
Calculate the numerical solution in space domain from x=0 to =1.
take (∆𝑡 = 1/2∆x )
a) Using FTCS-scheme
L
x 1 / 6 & t 1/2x 1/12
imax 1
C 1
X=0 X=1/6 X=2/6 X=1
i=1 i=2 i=3 i=4 i=5 i=6 i=7
t 0 n=1 1 1 1/2 0 0 0 0
t 1 / 12 n=2 1 1.25 1 1/4 0 0 0
t 1/ 6 n=3 1 1.25 1.5 3/4 1/8 0 0
b) Using FTFS-scheme C 1
L
x 1 / 6 & t 1/2x 1/12
imax 1
C 1
X=0 X=1/6 X=2/6 X=1
i=1 i=2 i=3 i=4 i=5 i=6 i=7
t 0 n=1 1 1 1/2 0 0 0 0
t 1 / 12 n=2 1 1.5 1 0 0 0 0
t 1/ 6 n=3 1 2 2 0 0 0 0
c) Using FTBS-scheme C 1
L
x 1 / 6 & t 1/2x 1/12
imax 1
C 1
X=0 X=1/6 X=2/6 X=1
i=1 i=2 i=3 i=4 i=5 i=6 i=7
t 0 n=1 1 1 1/2 0 0 0 0
t 1 / 12 n=2 1 1 1 1/2 0 0 0
t 1/ 6 n=3 1 1 1 1 1/2 0 0