














































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!















































PDE solvers
Example: transient heat equation
1
1 2
1
n i n i
n i
n i
n i^
−
+^
Explicit and implicit schemes
-^
-^
-^
Mixed schemes
-^
-^
-^
-^
implicit
licit
t^
exp
,
θ
θ^
(^
)^
(^
1 ) 1
1
(^11) 2
1
1 2
1
2
2
) (^1) (^
−
−
+^
−
Δ Δ
−
Δ Δ
−^
n i
n i
n i
n i n i
n i
n i
n i^
u
u
u tk x
u u
u tk x
u
u
Advancing explicit systems
(^
)
2
2
1 2 3
1 1 2 1 3 1 1
1 2 2 1 2 1
1
1 2
with
form
matrix
scheme
updating
scheme
explicit
tk x
b tk x
a
u u u u b a
a b a
a b a
b a
u u u u
u tk x
u tk x
u tk x
u
u u
u tk x
u
u
n n n n m
n n n n m
n i
n i
n i
n i
n i n i
n i
n i
n i
−
−
Explicit vs Implicit
-^
-^
-^
n
n
n
n
u
u A
u A
u
=
⋅
⋅ = +
1 1 :
scheme
implicit
:
scheme
explicit
Analysis of numerical schemes
Consistency
-^
-^
-^
Consistency: example
(^
)
(^
)^
lim
ion
Approximat
in
Laplacian
, 2 1 1 2 , 0
, 4 , 3 , 2 , 1 , 4 , 3 , 2 , 1
1
1
,^2
−
→Δ
−
−
xxxx
i i
i
xx
x
xxxx
xxx
xx
x
i
xxxx
xxx
xx
x
i
i i
i xx
u x u u u x u
u x u x u x
ux
x u x x u u
u x u x u x
ux
x u x x u u
u u
u u x
Accuracy: example
(^
)
(^
)
accurate
order
Second
error of term
Leading
series
Taylor
ion
Approximat
in
Laplacian
, 2
, 2 1 1 2 ,
1
1
,^2
−
−
xxxx
xxxx
i i
i
xx
i i
i xx
u x
u x u u u x u
u u
u u x
Stability
-^
-^
-^
Convergence
-^
-^
-^
Lax equivalence theorem
-^