# 傅里叶谱方法

傅里叶谱方法通过将解展开为傅里叶级数，并对级数系数进行运算来计算导数，而不是在局部网格上对值作差分，从而求解偏微分方程。该方法适用于周期区域上的问题；当解光滑时，近似误差可以随模态数呈指数下降，因此它受到重视。

| 关键事实 | 详情 |
|---|---|
| 核心运算 | 微分将每个傅里叶系数乘以 \( ik \)；导数中不出现网格间距<sup>[1](https://labs.acme.byu.edu/Volume4/SpectralMethod2/SpectralMethod2.html)</sup> |
| 收敛性 | 对解析解，误差按 \( c^{-N} \) 衰减，而有限差分为 \( N^{-p} \)<sup>[2](https://tobydriscoll.net/fd-spectral-notes/smim/smoothness.html)</sup> |
| 变换成本 | FFT 以 \( O(N \log N) \) 次运算计算所需变换，而不是 \( O(N^2) \)<sup>[3](https://experimentationlab.berkeley.edu/sites/default/files/NLD/References/11-Fourier_Transform_Spectral_Methods.pdf)</sup> |
| 去混叠 | 二次非线性通常通过去掉谱的最高三分之一（2/3 规则）来处理<sup>[4](https://www.math.umd.edu/~tadmor/references/files/Bardos&Tadmor%202-3%20dealiasing%20NumerMath2014.pdf)</sup> |
| 主要限制 | 傅里叶基假定周期性；非周期方向需要多项式基或延拓技术<sup>[5](https://infoscience.epfl.ch/bitstreams/98ca9587-feba-4141-aa82-83c1e0577fc2/download)</sup> |
| 经典失效 | 即使仅一个点处有不连续，收敛性也会降至一阶，并产生吉布斯振荡<sup>[6](https://www.cfm.brown.edu/people/sg/GibbsChapter.pdf)</sup> |
| 现代扩展 | 傅里叶神经算子在傅里叶空间中直接学习偏微分方程求解器，据报道比传统求解器快达三个数量级<sup>[7](https://doi.org/10.48550/arxiv.2010.08895)</sup> |

## 工作原理

谱方法将解展开在全局支撑的基函数中；对于周期问题，基是在长度为 \( L \) 的区域上、基波数为 \( \alpha = 2\pi/L \) 的傅里叶级数。<sup>[8](https://www.mech.kth.se/%7Eardeshir/courses/literature/Notes_Spectral_Methods.pdf)</sup> 由于基函数是全局的，任意点处的计算值都依赖于整个区域的信息，这与使用局部多项式插值的有限差分方法形成对比。<sup>[9](http://scholarpedia.org/article/Spectral_methods)</sup>

把微积分变成代数的机制是傅里叶模态的导数。对 \( e^{ikx} \) 求导得到 \( ik \, e^{ikx} \)，因此在系数空间中，求导就是乘以 \( ik \)。有限差分或有限元在节点上用差分代替 \( u_{xx} \)，而谱方法则精确地对近似函数求导；其中没有 \( \Delta x \)。<sup>[10](https://www.math.purdue.edu/~shen7/sp_intro12/book.pdf)</sup>

两种表述并存。在伽辽金（谱）形式中，残差被投影到与展开所用的相同的基函数上。在配点（伪谱）形式中，非线性项在网格点上求值，导数在插值函数上计算。奥萨格在1972年对两者进行比较，发现尽管伪谱方法中包含了混叠项，两种近似给出的误差相似。<sup>[11](https://doi.org/10.1002/sapm1972513253)</sup>

用教科书的话说，误差像 \( c^{-N} \) 那样下降，而不是 \( N^{-p} \)，但这只在被近似函数在包含该区间的某个区域内解析时成立；光滑性降低只会使傅里叶系数呈代数衰减。<sup>[2](https://tobydriscoll.net/fd-spectral-notes/smim/smoothness.html)</sup>

## 如何实施

典型工作流程如下<sup>[1](https://labs.acme.byu.edu/Volume4/SpectralMethod2/SpectralMethod2.html)</sup>：

1. 选择 \( N \) 个点的均匀网格和一个截断；以间距 \( h \) 采样将可表示的波数限制为 \( |k| \le \pi/h \)。<sup>[2](https://tobydriscoll.net/fd-spectral-notes/smim/smoothness.html)</sup>
2. 应用正向 FFT 以获得解的傅里叶系数。
3. 将每个系数乘以 \( ik \) 以进行微分。采样后奈奎斯特模态的导数是不明确的，因此该模态通常被置零。<sup>[1](https://labs.acme.byu.edu/Volume4/SpectralMethod2/SpectralMethod2.html)</sup>
4. 用逆 FFT 在物理空间中计算非线性项，并在需要时去混叠（见下文）。
5. 在时间上推进，通常采用龙格–库塔格式或半隐式组合。

FFT 使该方法变得经济。它以 \( O(N \log N) \) 次运算计算离散傅里叶变换，而不是 \( O(N^2) \)；当 \( N = 10^6 \) 时，在微秒周期机器上，这大约是30秒与2周CPU时间之差。<sup>[3](https://experimentationlab.berkeley.edu/sites/default/files/NLD/References/11-Fourier_Transform_Spectral_Methods.pdf)</sup>

## 起源

该方法的使能算法是快速傅里叶变换，由詹姆斯·W·库利（James W. Cooley）和约翰·W·图基（John W. Tukey）于1965年在《计算数学》（Mathematics of Computation）中描述；他们的算法以少于 \( 2N \log_2 N \) 次运算得到有限傅里叶变换，且不需要比输入数组更多的存储。<sup>[12](https://doi.org/10.1090/s0025-5718-1965-0178586-1)</sup>

史蒂文·A·奥萨格（Steven A. Orszag）1970年在《大气科学杂志》（Journal of the Atmospheric Sciences）上的论文将变换方法应用于涡度方程的谱形式<sup>[13](https://doi.org/10.1175/1520-0469%281970%29027<0890:tmftco>2.0.co;2)</sup>；他1971年在《应用数学研究》（Studies in Applied Mathematics）上的论文发展了用变换方法进行伽辽金（谱）表示，以模拟盒状几何中的不可压缩流动，并为更复杂的动力学相互作用和几何引入了一类伪谱近似。<sup>[14](https://doi.org/10.1002/sapm1971504293)</sup> 本特·福恩伯格（Bengt Fornberg）1975年在《SIAM数值分析杂志》（SIAM Journal on Numerical Analysis）上的论文发展了一种积分双曲方程的傅里叶方法<sup>[15](https://doi.org/10.1137/0712040)</sup>；大卫·戈特利布（David Gottlieb）、史蒂文·A·奥萨格和伊莱·特克尔（Eli Turkel）于1981年在《计算数学》上分析了变系数问题的伪谱方法和有限差分方法的稳定性。<sup>[16](https://doi.org/10.1090/s0025-5718-1981-0628696-6)</sup>

## 变体

当在配点网格上计算非线性乘积时，就会产生混叠：已分辨模态的乘积会产生超出截断的波数，这些波数折返回来并污染计算。对于二次非线性，2/3 伪谱傅里叶方法将谱的最高三分之一（模态 \( |k| > 2N/3 \)）置零，并且常常是保持二次能量平衡、避免混叠误差的首选方法。<sup>[4](https://www.math.umd.edu/~tadmor/references/files/Bardos&Tadmor%202-3%20dealiasing%20NumerMath2014.pdf)</sup><sup> • </sup><sup>[22](https://kth-nek5000.github.io/kthNekBook/_md/spectral/pseudo.html)</sup> 一种等价的实现是 3/2 规则，其中在非线性乘法之前将物理网格细化 \( M = 3N/2 \) 倍。<sup>[8](https://www.mech.kth.se/%7Eardeshir/courses/literature/Notes_Spectral_Methods.pdf)</sup>

谱傅里叶方法是 \( L^2 \) 稳定的，但伪谱方法由于混叠误差的放大而只是弱稳定；通过 2/3 平滑可以重新获得强的 \( L^2 \) 稳定性。<sup>[4](https://www.math.umd.edu/~tadmor/references/files/Bardos&Tadmor%202-3%20dealiasing%20NumerMath2014.pdf)</sup>

傅里叶神经算子（FNO）由李宗毅（Zongyi Li）及其同事于2020年在arXiv上报告，它直接在傅里叶空间中参数化神经算子的积分核，学习函数空间之间的映射，从而对一整族偏微分方程建模，而不是仅对一个实例建模。<sup>[7](https://doi.org/10.48550/arxiv.2010.08895)</sup> 据报道，它是第一种能够以零样本超分辨率对湍流建模的机器学习方法，比传统偏微分方程求解器快达三个数量级。<sup>[7](https://doi.org/10.48550/arxiv.2010.08895)</sup> 后续工作对变换进行了因式分解：因式分解傅里叶神经算子在层间共享核算子，并在空间维度上对其进行因式分解，将参数量从1亿减少到100万，并将纳维–斯托克斯基准上的归一化均方误差从15.56%降至2.29%。<sup>[17](https://ml4physicalsciences.github.io/2021/files/NeurIPS_ML4PS_2021_139.pdf)</sup>

## 应用

湍流模拟是经典应用：纳维–斯托克斯方程的直接数值模拟通常用伪谱求解器运行，使用去混叠、四阶龙格–库塔时间推进与隐式扩散耦合，以及低于1的CFL数（数值稳定性的时间步长限制）。<sup>[18](https://proceedings.neurips.cc/paper_files/paper/2025/file/9555307c4c4675a3222024f6e2055586-Paper-Conference.pdf)</sup> 福恩伯格1987年在《地球物理学》（Geophysics）上发表的针对弹性波方程的伪谱方法与有限差分的比较，是伪谱方法相对于局部方法的早期定量基准。<sup>[19](https://doi.org/10.1190/1.1442319)</sup>

## 局限与替代方法

傅里叶基假定周期性，这在三角函数情形中是自动的；多项式近似与它的区别在于需要对数值解施加边界条件。<sup>[5](https://infoscience.epfl.ch/bitstreams/98ca9587-feba-4141-aa82-83c1e0577fc2/download)</sup> 对于有界非周期区域，常用的基函数是 \( [-1, 1] \) 上的切比雪夫或勒让德多项式；拉盖尔多项式用于半有界区域，埃尔米特函数用于无界区域。<sup>[9](http://scholarpedia.org/article/Spectral_methods)</sup>

即使函数仅在一点处有不连续，傅里叶方法的收敛率也会退化为一阶，并在不连续附近产生虚假振荡，即吉布斯现象。<sup>[6](https://www.cfm.brown.edu/people/sg/GibbsChapter.pdf)</sup> 若不加处理，吉布斯振荡与近似解的非线性混合可能使格式不稳定，计算出的解看起来只有一阶精度。<sup>[5](https://infoscience.epfl.ch/bitstreams/98ca9587-feba-4141-aa82-83c1e0577fc2/download)</sup> 滤波可以缓解但不能完全消除吉布斯现象；完全消除需要在不同的基中重新展开，例如盖根鲍尔重投影方法。<sup>[6](https://www.cfm.brown.edu/people/sg/GibbsChapter.pdf)</sup>

对于无粘伯格斯流，只要解保持光滑，谱近似和 2/3 伪谱近似都以谱精度收敛，但在激波形成之后，两者都必然产生虚假振荡。<sup>[4](https://www.math.umd.edu/~tadmor/references/files/Bardos&Tadmor%202-3%20dealiasing%20NumerMath2014.pdf)</sup> 时间步长限制也有约束：由于导数算子将模态 \( k \) 放大 \( ik \) 倍，高波数是刚性的，显式格式面临 CFL 型限制。<sup>[20](https://www.cambridge.org/core/journals/acta-numerica/article/abs/review-of-pseudospectral-methods-for-solving-partial-differential-equations/E921CA187B5F35E0BEF9ACAA285C083B)</sup>

有限差分用诸如 \( (u(x+h) - u(x-h))/2h \) 的局部表达式近似导数，并且通常被设计为仅对低阶多项式精确<sup>[20](https://www.cambridge.org/core/journals/acta-numerica/article/abs/review-of-pseudospectral-methods-for-solving-partial-differential-equations/E921CA187B5F35E0BEF9ACAA285C083B)</sup>，而谱方法呈指数收敛，在需要非常高的空间分辨率或长时间积分时更可取。<sup>[9](http://scholarpedia.org/article/Spectral_methods)</sup> 对于不连续解，这一优势缩小：不连续解的高阶近似会受到吉布斯现象的影响，尽管谱方法保持矩的谱收敛，而伴随一致的格式（如间断伽辽金有限元）可实现高阶收敛。<sup>[21](https://epubs.siam.org/doi/10.1137/140992758)</sup>

## References

1. [Spectral 2: Pseudospectral Method, ACME Labs](https://labs.acme.byu.edu/Volume4/SpectralMethod2/SpectralMethod2.html)
2. [6.4. Convergence rates, FD and Spectral methods for PDE (Toby Driscoll)](https://tobydriscoll.net/fd-spectral-notes/smim/smoothness.html)
3. [Numerical Recipes chapter: Fourier Transform Spectral Methods](https://experimentationlab.berkeley.edu/sites/default/files/NLD/References/11-Fourier_Transform_Spectral_Methods.pdf)
4. [Stability and convergence of Fourier methods for nonlinear evolution equations (Bardos & Tadmor, Numerische Mathematik)](https://www.math.umd.edu/~tadmor/references/files/Bardos&Tadmor%202-3%20dealiasing%20NumerMath2014.pdf)
5. [Spectral Methods for Hyperbolic Problems (Gottlieb & Hesthaven review)](https://infoscience.epfl.ch/bitstreams/98ca9587-feba-4141-aa82-83c1e0577fc2/download)
6. [The Resolution of the Gibbs Phenomenon for Fourier Spectral Methods (Gottlieb & Shu)](https://www.cfm.brown.edu/people/sg/GibbsChapter.pdf)
7. [Li, Zongyi and colleagues (2020). Fourier Neural Operator for Parametric Partial Differential Equations. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2010.08895)
8. [An Introduction to Spectral Methods (KTH lecture notes)](https://www.mech.kth.se/%7Eardeshir/courses/literature/Notes_Spectral_Methods.pdf)
9. [Spectral methods - Scholarpedia](http://scholarpedia.org/article/Spectral_methods)
10. [Spectral and High-Order Methods with Applications (Shen, Tang, Wang)](https://www.math.purdue.edu/~shen7/sp_intro12/book.pdf)
11. [Steven A. Orszag (1972). Comparison of Pseudospectral and Spectral Approximation. Studies in Applied Mathematics.](https://doi.org/10.1002/sapm1972513253)
12. [James W. Cooley, John W. Tukey (1965). An algorithm for the machine calculation of complex Fourier series. Mathematics of Computation.](https://doi.org/10.1090/s0025-5718-1965-0178586-1)
13. [Transform Method for the Calculation of Vector-Coupled Sums: Application to the Spectral Form of the Vorticity Equation (Journal of the Atmospheric Sciences, 1970)](https://doi.org/10.1175/1520-0469%281970%29027<0890:tmftco>2.0.co;2)
14. [Steven A. Orszag (1971). Numerical Simulation of Incompressible Flows Within Simple Boundaries. I. Galerkin (Spectral) Representations. Studies in Applied Mathematics.](https://doi.org/10.1002/sapm1971504293)
15. [Bengt Fornberg (1975). On a Fourier Method for the Integration of Hyperbolic Equations. SIAM Journal on Numerical Analysis.](https://doi.org/10.1137/0712040)
16. [David Gottlieb, Steven A. Orszag, Eli Turkel (1981). Stability of pseudospectral and finite-difference methods for variable coefficient problems. Mathematics of Computation.](https://doi.org/10.1090/s0025-5718-1981-0628696-6)
17. [Factorized Fourier Neural Operators (F-FNO)](https://ml4physicalsciences.github.io/2021/files/NeurIPS_ML4PS_2021_139.pdf)
18. [EddyFormer: Accelerated Neural Simulations of Three-Dimensional Turbulence at Scale](https://proceedings.neurips.cc/paper_files/paper/2025/file/9555307c4c4675a3222024f6e2055586-Paper-Conference.pdf)
19. [Bengt Fornberg (1987). The pseudospectral method; comparisons with finite differences for the elastic wave equation. Geophysics.](https://doi.org/10.1190/1.1442319)
20. [A review of pseudospectral methods for solving partial differential equations (Fornberg, Acta Numerica 1994)](https://www.cambridge.org/core/journals/acta-numerica/article/abs/review-of-pseudospectral-methods-for-solving-partial-differential-equations/E921CA187B5F35E0BEF9ACAA285C083B)
21. [Accuracy of High Order and Spectral Methods for Hyperbolic Conservation Laws with Discontinuous Solutions](https://epubs.siam.org/doi/10.1137/140992758)
22. [kth-nek5000.github.io](https://kth-nek5000.github.io/kthNekBook/_md/spectral/pseudo.html)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 数学分析与数学模型 › Numerical analysis and computation › Spectral and collocation methods

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/fourier-spectral-method

English original: https://www.edgepedia.org/fourier-spectral-method
