FTCS scheme
In numerical analysis, the FTCS (Forward-Time Central-Space) method is a finite difference method used for numerically solving the heat equation and similar parabolic partial differential equations.[1] It is a first-order method in time, explicit in time, and is conditionally stable when applied to the heat equation. When used as a method for advection equations, or more generally hyperbolic partial differential equation, it is unstable unless artificial viscosity is included. The abbreviation FTCS was first used by Patrick Roache.[2][3]
The method
The FTCS method is based on central difference in space and the forward Euler method in time, giving first-order convergence in time and second-order convergence in space. For example, in one dimension, if the partial differential equation is
then, letting , the forward Euler method is given by:
The function must be discretized spatially with a central difference scheme. This is an explicit method which means that, can be explicitly computed (no need of solving a system of algebraic equations) if values of at previous time level are known. FTCS method is computationally inexpensive since the method is explicit.
Illustration: one-dimensional heat equation
The FTCS method is often applied to diffusion problems. As an example, for 1D heat equation,
the FTCS scheme is given by:
or, letting :
Stability
The FTCS method, for one-dimensional equations, is numerically stable if and only if the following condition is satisfied:
The time step is subjected to the restriction given by the above stability condition. A major drawback of the method is for problems with large diffusivity the time step restriction can be too severe.
For hyperbolic partial differential equations, the linear test problem is the constant coefficient advection equation, as opposed to the heat equation (or diffusion equation), which is the correct choice for a parabolic differential equation. It is well known that for these hyperbolic problems, any choice of results in an unstable scheme.[4]
See also
References
- ↑ John C. Tannehill; Dale A. Anderson; Richard H. Pletcher (1997). Computational Fluid Mechanics and Heat Transfer (2nd ed.). Taylor & Francis. ISBN 1-56032-046-X.
- ↑ Patrick J. Roache (1972). Computational Fluid Dynamics (1st ed.). Hermosa. ISBN 0-913478-05-9.
- ↑ Patrick J. Roache (1998). Computational Fluid Dynamics (2nd ed.). Hermosa. ISBN 0-913478-09-1.
- ↑ LeVeque, Randall (2002). Finite Volume Methods for Hyperbolic Problems. Cambridge University Press. ISBN 0-521-00924-3.
|