- Nonstandard finite difference scheme
-
Nonstandard finite difference schemes is a general set of methods in numerical analysis that gives numerical solutions to differential equations by constructing a discrete model. The general rules for such schemes are not precisely known.[1] [2]
Basic Idea
A finite difference (FD) model of a differential equation (DE) can be formed by simply replacing the derivatives with FD approximations. But this is a naive "translation." If we literally translate from English to Japanese by making a one-to-one correspondence between words, the original meaning is often lost. Similarly the naive FD model of a DE can be very different from the original DE, because the FD model is a difference equation with solutions that may be quite different from solutions of the DE. For a more technical definition see Mickens 2000.[1]
A nonstandard (NS) finite difference model, is a free and more accurate "translation" of a differential equation. For example in a parameter (call it v) in the DE may take take another value u in the NS-FD model.
Example of a Nonstandard Finite Difference Model
As an example let us model the wave equation,
The naive finite difference model, which we now call the standard (S) FD model is found by approximating the derivatives with FD approximations. The central second order FD approximation of the first derivative is
Applying the above FD approximation to f'(x), we can derive the FD approximation for f''(x),
where we have introduced the shortcut dxf(x) = f(x + Δx / 2) − f(x − Δx / 2) for simplicity such that dx2f(x) = f(x + Δx) + f(x − Δx) − 2f(x) which can be check by applying dx on f(x) twice. Approximating both derivatives in the wave equation, leads to the S-FD model,
If you insert the solution ϕ(x,t) = ei(kx − ωt) of the wave equation (with ω / k = v)into the S-FD model you find that
In general because the solution of the FD approximation to the wave equation is not the same as the wave equation itself.
To construct a NS-FD model which has the same solution as the wave equation, put a free parameter, call it u, in place of vΔt / Δx and try to find a value of u which makes ε = 0. It turns out that this value of u is
Thus an exact nonstandard finite difference model of the wave equation is
Further details and extensions of to two and three dimensions as well as to Maxwell's equations can be found in Cole 2002. [2]
References
Categories:
Wikimedia Foundation. 2010.