Finite Difference Method
Finite Difference Method
() ()
2 3 3
1 ( 𝑥 −2 ) 1 ( 𝑥 − 2) 1 ( 𝑥 − 2)
𝑓 ( 𝑥 ) =ln ( 2 ) + +−1 +2 +⋯
2 1! 2 2! 2 3!
Using Maclaurin series
• Consistency: For a method to be consistent, the truncation
error must become zero when the mesh spacing ∆t→0
and/or ∆x→0
• Stability: A numerical solution method is said to be stable
if it does not magnify the errors that appear in the course
of numerical solution process. The most widely used
approach to studying stability of numerical schemes is the
von Neumann's method.
• Convergence: A numerical method is said to be
convergent if the solution of the discretized equations
tends to the exact solution of the differential equation as
the grid spacing tends to zero. If the method is stable and
if all approximations used in the discretization process are
consistent, we usually find that the solution does converge
to a grid-independent solution.
EXAMPLE OF NUMERICAL ANALYSIS IN
HEAT TRANSFER
We now wish to analyze the more general case of two-dimensional heat flow. For
steady state heat conduction with no heat generation, the Laplace equation
applies.
[ ][ ] [ ]
− 4 1 10 𝑇1 − 600
1− 4 0 1 𝑇2
= − 600
10−41 𝑇3 − 200
0 1 1− 4 𝑇4 − 200