Numerical Solutions of the Diffusion Equation
摘要
In this chapter, we solve the diffusion equation numerically by means of finite-difference methods (FDMs). For such purpose, the basic relations of the FDM are derived, and the diffusion equation is discretized. Emphasis is placed on the correct discretization of the boundary and initial conditions, even if a Dirac delta is included.