FTCS Scheme
   HOME

TheInfoList



OR:

In
numerical analysis Numerical analysis is the study of algorithms that use numerical approximation (as opposed to symbolic manipulations) for the problems of mathematical analysis (as distinguished from discrete mathematics). It is the study of numerical methods ...
, the FTCS (Forward Time Centered Space) method is a
finite difference method In numerical analysis, finite-difference methods (FDM) are a class of numerical techniques for solving differential equations by approximating derivatives with finite differences. Both the spatial domain and time interval (if applicable) are ...
used for numerically solving the heat equation and similar parabolic partial differential equations. 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 equations In mathematics, a hyperbolic partial differential equation of order n is a partial differential equation (PDE) that, roughly speaking, has a well-posed initial value problem for the first n-1 derivatives. More precisely, the Cauchy problem can be ...
, it is unstable unless artificial viscosity is included. The abbreviation FTCS was first used by Patrick Roache.


The method

The FTCS method is based on
central difference A finite difference is a mathematical expression of the form . If a finite difference is divided by , one gets a difference quotient. The approximation of derivatives by finite differences plays a central role in finite difference methods for the ...
in space and the
forward Euler method In mathematics and computational science, the Euler method (also called forward Euler method) is a first-order numerical procedure for solving ordinary differential equations (ODEs) with a given initial value. It is the most basic explicit m ...
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 :\frac = F\left(u, x, t, \frac\right) then, letting u(i \,\Delta x, n\, \Delta t) = u_^\,, the forward Euler method is given by: :\frac = F_^\left(u, x, t, \frac\right) The function F must be discretized spatially with a
central difference A finite difference is a mathematical expression of the form . If a finite difference is divided by , one gets a difference quotient. The approximation of derivatives by finite differences plays a central role in finite difference methods for the ...
scheme. This is an
explicit method Explicit and implicit methods are approaches used in numerical analysis for obtaining numerical approximations to the solutions of time-dependent ordinary and partial differential equations, as is required in computer simulations of physical pro ...
which means that, u_^ can be explicitly computed (no need of solving a system of algebraic equations) if values of u at previous time level (n) 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 Diffusion is the net movement of anything (for example, atoms, ions, molecules, energy) generally from a region of higher concentration to a region of lower concentration. Diffusion is driven by a gradient in Gibbs free energy or chemica ...
problems. As an example, for 1D heat equation, :\frac = \alpha \frac the FTCS scheme is given by: :\frac = \frac \left(u_^ - 2 u_^ + u_^ \right) or, letting r = \frac: :u_^ = u_^ + r \left(u_^ - 2 u_^ + u_^ \right)


Stability

As derived using
von Neumann stability analysis The term ''von'' () is used in German language surnames either as a nobiliary particle indicating a noble patrilineality, or as a simple preposition used by commoners that means ''of'' or ''from''. Nobility directories like the ''Almanach de Go ...
, the FTCS method for the one-dimensional heat equation is
numerically stable In the mathematical subfield of numerical analysis, numerical stability is a generally desirable property of numerical algorithms. The precise definition of stability depends on the context. One is numerical linear algebra and the other is algorit ...
if and only if the following condition is satisfied: : r = \frac \leq \frac. Which is to say that the choice of \Delta x and \Delta t must satisfy the above condition for the FTCS scheme to be stable. A major drawback of the FTCS method is that for problems with large diffusivity \alpha, satisfactory step sizes can be too small to be practical. For
hyperbolic partial differential equations In mathematics, a hyperbolic partial differential equation of order n is a partial differential equation (PDE) that, roughly speaking, has a well-posed initial value problem for the first n-1 derivatives. More precisely, the Cauchy problem can be ...
, the linear test problem is the constant coefficient
advection equation In the field of physics, engineering, and earth sciences, advection is the transport of a substance or quantity by bulk motion of a fluid. The properties of that substance are carried with it. Generally the majority of the advected substance is al ...
, 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 \Delta t results in an unstable scheme.


See also

*
Partial differential equations In mathematics, a partial differential equation (PDE) is an equation which imposes relations between the various partial derivatives of a multivariable function. The function is often thought of as an "unknown" to be solved for, similarly to ...
*
Crank–Nicolson method In numerical analysis, the Crank–Nicolson method is a finite difference method used for numerically solving the heat equation and similar partial differential equations. It is a second-order method in time. It is implicit in time, can be wri ...
*
Finite-difference time-domain method Finite-difference time-domain (FDTD) or Yee's method (named after the Chinese American applied mathematician Kane S. Yee, born 1934) is a numerical analysis technique used for modeling computational electrodynamics (finding approximate solutions t ...


References

{{DEFAULTSORT:Ftcs Scheme Numerical differential equations Computational fluid dynamics