Namespaces
Variants
Actions

Trigonometric pseudo-spectral methods

From Encyclopedia of Mathematics
Revision as of 16:54, 7 February 2011 by 127.0.0.1 (talk) (Importing text file)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Trigonometric pseudo-spectral methods, and spectral methods in general, are methods for solving differential and integral equations using trigonometric functions as the basis.

Suppose the boundary value problem is to be solved for on the interval , where is a differential operator in and is some given smooth function (cf. also Boundary value problem, ordinary differential equations). Also, must satisfy given boundary conditions and .

As in most numerical methods, an approximate solution, , is sought which is the sum of basis functions, , , in the form , where the coefficients are the finite set of unknowns for the approximate solution. A "residual equation" , formed by plugging the approximate solution into the differential equation and subtracting the right-hand side, , is then minimized over the interval to find the coefficients. The difference between methods boils down to the choice of basis and how is minimized. The basis functions should be easy to compute, be complete or represent the class of desired functions in a highly accurate manner, and be orthogonal (cf. also Complete system of functions; Orthogonal system). In spectral methods, trigonometric functions and their relatives as well as other orthogonal polynomials are used.

If the basis functions are trigonometric functions such as sines or cosines, the method is said to be a Fourier spectral method. If, instead, Chebyshev polynomials are used, the method is a Chebyshev spectral method.

The method of mean weighted residuals is used to minimize and find the unknowns coefficients . An inner product and weight function are defined, as well as test functions such that for and . This yields equations for the unknowns. Pseudo-spectral methods, including Fourier pseudo-spectral and Chebyshev pseudo-spectral methods, have Dirac delta-functions (cf. also Dirac distribution) as their test functions: , where are interpolation or collocation points. The residual equation becomes for .

The Galerkin method uses the basis functions as the test functions. If is linear, the following matrix equation can be formed: , where and . An alternative Galerkin formulation can be found by transforming the residual equation into spectral space and setting for . In using Gauss–Jacobi integration to evaluate the inner products of the Galerkin method, the integrands are interpolated at the zeros of the st basis function. By using the same set of points as collocation points for a pseudo-spectral method, the two methods are made equivalent. Problems can be cast in either grid-point or spectral coefficient representation. For trigonometric bases, this result allows the complexity of computation to be reduced in many problems through the use of fast transforms.

A main difference between spectral and other methods, such as finite difference or finite element methods, is that in the latter the domain is divided into smaller subdomains in which local basis functions of low order are used. With the basis functions frozen, more accuracy is gained by decreasing the size of the subdomains. In spectral methods, the domain is not subdivided, but global basis functions of high order are used. Accuracy is gained by increasing the number and order of the basis functions.

The lower-order methods produce algebraic systems which can be represented as sparse matrices. Spectral methods usually produce full matrices. The solution then involves finding the inverse. Through the use of orthogonality and fast transforms, full matrix inversion can usually be accomplished with a complexity similar to the sparse matrices.

Boundary conditions are handled in a reasonably straightforward manner. Sometimes the boundary conditions are satisfied automatically, such as with periodicity and a Fourier method. With other types of conditions, an extra equation may be added to the system to satisfy it, or the basis functions may be modified to automatically satisfy the conditions.

The attractiveness of spectral methods is that they have a greater than algebraic convergence rate for smooth solutions. A simple finite difference approximation has a convergence , where and is an integer; double the number of points in the interval and the error goes down by a factor . The convergence rate of spectral methods is , sometimes called exponential, infinite or spectral, stemming from the fact that convergence of a trigonometric series is geometric. If the solution is not smooth, however, spectral methods will have an algebraic convergence linked to the continuity of the solution.

Rapid convergence allows fewer unknowns to be used, but more computational processing per unknown. Hence spectral methods are particularly attractive for problem/computer matches in which memory and not computing power is the critical factor.

Multi-dimensional problems are handled by tensor-product basis functions, which are basis functions that are products of -dimensional basis functions. Other orthogonal polynomials can be used in pseudo-spectral methods, such as Legendre and Hermite and spherical harmonics for spherical geometries.

A disadvantage of spectral methods is that only relatively simple domains and boundaries can be handled. Spectral element methods, a combination of spectral and finite element methods, have in many cases overcome this difficulty. Another difficulty is that spectral methods are, in general, more complicated to code and require more analysis to be done prior to coding than simpler methods.

Aliasing is a phenomenon in which modes of degree higher than in the expansion are interpreted as modes that are within the range of the expansion. This occurs in, say, a problem with quadratic non-linearity where twice the range is created. If the coefficients near the upper limit are sufficiently large in magnitude, there may be a significant error associated with aliased modes. For a Fourier pseudo-spectral method, the coefficient is interpreted as a coefficient . By zeroing the upper of the coefficients, the quadratic nonlinearity will only fill a range from to . This will only produce aliasing errors for modes to , but these are to be zeroed anyway. This "2 / 3" rule removes errors for one-dimensional problems with quadratic non-linearity. It is debatable, however, whether in a "well-resolved" simulation there is need to address aliasing errors.

References

[a1] J.P. Boyd, "Chebyshev and Fourier spectral methods" , Dover (2000) (pdf version: http://www-personal.engin.umich.edu/~jpboyd/book_spectral2000.html)
[a2] D. Gottlieb, S.A. Orszag, "Numerical analysis of spectral methods: Theory and applications" , SIAM (1977)
[a3] C. Canuto, M.Y. Hussaini, A. Quarteroni, T.A. Zang, "Spectral methods in fluid dynamics" , Springer (1987)
[a4] D. Gottlieb, M.Y. Hussaini, S.A. Orszag, "Theory and application of spectral methods" R.G. Voigt (ed.) D. Gottlieb (ed.) M.Y. Hussaini (ed.) , Spectral Methods for Partial Differential Equations , SIAM (1984)
[a5] B. Fornberg, "A practical guide to pseudospectral methods" , Cambridge Monographs Appl. Comput. Math. , 1 , Cambridge Univ. Press (1996)
How to Cite This Entry:
Trigonometric pseudo-spectral methods. Encyclopedia of Mathematics. URL: http://encyclopediaofmath.org/index.php?title=Trigonometric_pseudo-spectral_methods&oldid=50082
This article was adapted from an original article by Richard B. Pelz (originator), which appeared in Encyclopedia of Mathematics - ISBN 1402006098. See original article