# 时间步进

时间步进是一种数值技术，它将含时微分方程的解从一个时间层推进到下一个时间层，在相隔一个步长 \( h \) 的离散时间点上产生一系列近似值 \( y_n \approx y(t_n) \)。这是求解常微分方程（ODE）初值问题的标准方法，也是在空间离散之后求解偏微分方程（PDE）所产生的半离散系统的标准方法。<sup>[1](https://unige.ch/~hairer/preprints/pcam-ode.pdf)</sup> 其输出不是一个闭式公式，而是一张近似解值表，其中每个值都由先前的值通过代数更新规则计算得出。<sup>[1](https://unige.ch/~hairer/preprints/pcam-ode.pdf)</sup>

| 关键事实 | 说明 |
|---|---|
| 产生什么 | 一个序列 \( y_n \)，通过递归更新计算，逼近解在相继时刻的值<sup>[1](https://unige.ch/~hairer/preprints/pcam-ode.pdf)</sup> |
| 前向欧拉 | \( y_{n+1} = y_n + h f(t_n, y_n) \)；一阶，显式<sup>[1](https://unige.ch/~hairer/preprints/pcam-ode.pdf)</sup> |
| 经典RK4 | 每步四个阶段，组合为 \( u_{n+1} = u_n + \tfrac{1}{6}(k_1 + 2k_2 + 2k_3 + k_4) \)；四阶<sup>[2](https://www.emse.fr/~bonnefoy/Public/MetNum-EMSE.pdf)</sup> |
| 隐式主力方法 | 后向欧拉与克兰克–尼科尔森（梯形法则，\( \theta = 1/2 \)）每步需要求解方程，但具有A-稳定性<sup>[3](https://jschoeberl.github.io/IntroSC/ODEs/firstmethods.html)</sup><sup> • </sup><sup>[4](https://dumux.org/docs/doxygen/master/benchmark-timestepping-methods.html)</sup> |
| BDF方法 | \( k \) 阶隐式多步格式，当 \( k > 6 \) 时不稳定；是刚性问题的标准选择<sup>[1](https://unige.ch/~hairer/preprints/pcam-ode.pdf)</sup> |
| 第二达尔奎斯特屏障 | A-稳定的线性多步法阶数不能超过2<sup>[5](http://www.scholarpedia.org/article/Linear_multistep_method)</sup> |
| 自适应控制 | 嵌入式对估计局部误差并按 \( \tilde{h} = h \, (\mathrm{tol}/\|\ell_n\|)^{1/(p+1)} \) 重新缩放步长，附带一个小于1的安全因子<sup>[6](https://drreynolds.github.io/files/viasm-2025-tutorial.pdf)</sup> |

## 工作原理

对时间进行离散化，将微分方程 \( y' = f(t, y) \) 转化为一个递推关系：每一步用解值和斜率值的代数组合代替导数。从积分形式 \( y(t_{n+1}) = y(t_n) + \int_{t_n}^{t_{n+1}} f \, dt \) 推导更新公式，可以使方法族的结构一目了然：左矩形法则给出前向欧拉，右矩形法则给出后向欧拉，梯形法则给出克兰克–尼科尔森。<sup>[3](https://jschoeberl.github.io/IntroSC/ODEs/firstmethods.html)</sup> 若新值仅通过已知量出现，则方法是显式的；若新值出现在 \( f \) 内部，则方法是隐式的，此时每一步都需要求解一个（通常非线性的）方程组，一般使用牛顿法。<sup>[3](https://jschoeberl.github.io/IntroSC/ODEs/firstmethods.html)</sup>

精度以阶数衡量。若从精确解出发一步的局部误差不超过 \( C \cdot h^{p+1} \)，则方法具有 \( p \) 阶；\( O(1/h) \) 步的误差随后累积为全局误差 \( O(h^p) \)。<sup>[1](https://unige.ch/~hairer/preprints/pcam-ode.pdf)</sup> 收敛性理论闭合了这一循环：达尔奎斯特等价定理指出，相容的线性多步法收敛当且仅当它是稳定的；拉克丝–里奇迈尔等价定理对适定的线性初值问题给出了类似结论。<sup>[7](https://bpb-us-w2.wpmucdn.com/sites.brown.edu/dist/1/376/files/2022/04/Chapter-3-Review-of-Time-Stepping-Algorithms-for-ODEs.pdf)</sup><sup> • </sup><sup>[8](https://djps.github.io/docs/numericalmethods/part3/odes/)</sup>

稳定性在测试方程 \( y' = \lambda y \)（\( \mathrm{Re}(\lambda) < 0 \)）上进行分析：若稳定性函数为 \( R(z) \) 的方法在整个左半平面上满足 \( |R(z)| \le 1 \)，则它是A-稳定的。前向欧拉的 \( R(z) = 1 + z \)，不是A-稳定的；后向欧拉的 \( R(z) = (1-z)^{-1} \)，是A-稳定的。<sup>[9](https://www.csc.univie.ac.at/files/Numerical_methods_for_differential_equations_W2015/main_1.pdf)</sup> 当稳定性依赖于 \( h \)（可能还依赖于空间网格）时，格式是条件稳定的；当任意 \( h \) 都安全时，是无条件稳定的。<sup>[2](https://www.emse.fr/~bonnefoy/Public/MetNum-EMSE.pdf)</sup>

刚性是一种实际的不匹配：保持显式方法稳定所需的步长远小于准确表示解所需的步长。<sup>[6](https://drreynolds.github.io/files/viasm-2025-tutorial.pdf)</sup> 对于热方程，显式欧拉强制 \( h = O(\Delta x^2) \)，这一限制通常被认为非常苛刻；半隐式格式以每步求解一个大型稀疏线性系统为代价消除了这一限制。<sup>[10](https://link.springer.com/article/10.1186/s40323-016-0063-y)</sup> 对于双曲型问题，显式步长受最细网格片或最快波速的限制，即CFL型约束。<sup>[11](https://excalibur-neptune.github.io/Documents/_static/TN-03_AReviewTimeSteppingTechniquesPreconditioningHyperbolicAnisotropicEllipticProblem.pdf)</sup> 屏障限制了隐式多步法：A-稳定性迫使阶数 \( r \le 2 \)，<sup>[5](http://www.scholarpedia.org/article/Linear_multistep_method)</sup> 而 \( k \le 6 \) 阶的BDF方法是A(α)-稳定的，但当 \( k > 6 \) 时变得不稳定。<sup>[5](http://www.scholarpedia.org/article/Linear_multistep_method)</sup> 对于A-稳定的龙格–库塔方法，不存在这样的阶数屏障。<sup>[1](https://unige.ch/~hairer/preprints/pcam-ode.pdf)</sup>

## 如何实施

θ族 \( y_{n+1} = y_n + h\big[(1-\theta) f(t_n, y_n) + \theta f(t_{n+1}, y_{n+1})\big] \) 涵盖了基本的单步格式：\( \theta = 0 \) 给出显式欧拉，\( \theta = 1 \) 给出后向欧拉，\( \theta = 1/2 \) 给出克兰克–尼科尔森。<sup>[7](https://bpb-us-w2.wpmucdn.com/sites.brown.edu/dist/1/376/files/2022/04/Chapter-3-Review-of-Time-Stepping-Algorithms-for-ODEs.pdf)</sup> 一个 \( s \) 级龙格–库塔方法计算 \( s \) 个斜率 \( k_i = f(t_n + c_i \cdot h,\; u_n + h \sum_j a_{i,j} \cdot k_j) \)；它是显式的，当且仅当 \( a_{i,j} \) 为严格下三角，即对 \( j \ge i \) 有 \( a_{i,j} = 0 \)。<sup>[8](https://djps.github.io/docs/numericalmethods/part3/odes/)</sup> 经典四阶方法使用

\[ k_1 = h f(t_n, u_n), \quad k_2 = h f(t_n + \tfrac{h}{2}, u_n + \tfrac{k_1}{2}), \quad k_3 = h f(t_n + \tfrac{h}{2}, u_n + \tfrac{k_2}{2}), \quad k_4 = h f(t_n + h, u_n + k_3), \]

\[ u_{n+1} = u_n + \tfrac{1}{6}(k_1 + 2 k_2 + 2 k_3 + k_4). \]

每步需要四次斜率计算。<sup>[2](https://www.emse.fr/~bonnefoy/Public/MetNum-EMSE.pdf)</sup> 在隐式多步格式中，BDF2写作 \( (3u^{n+1} - 4u^n + u^{n-1})/(2h) = f(t^{n+1}, u^{n+1}) \)，兼具二阶精度与强稳定性。<sup>[2](https://www.emse.fr/~bonnefoy/Public/MetNum-EMSE.pdf)</sup> 阶数限制约束着设计：\( s \) 级显式RK方法的阶数不能超过 \( s \)，隐式RK方法的阶数不能超过 \( 2s \)。<sup>[8](https://djps.github.io/docs/numericalmethods/part3/odes/)</sup>

格式的选择遵循刚性诊断。刚性方程需要隐式方法，为效率起见推荐刚性稳定的BDF格式；对于非刚性问题，最高8阶的显式龙格–库塔方法和最高12阶的亚当斯型多步方法最为常用。<sup>[7](https://bpb-us-w2.wpmucdn.com/sites.brown.edu/dist/1/376/files/2022/04/Chapter-3-Review-of-Time-Stepping-Algorithms-for-ODEs.pdf)</sup><sup> • </sup><sup>[1](https://unige.ch/~hairer/preprints/pcam-ode.pdf)</sup> 由于显式方法受稳定性限制，实践者常选取恰好满足线性稳定性的步长；隐式方法通常不受稳定性限制。<sup>[6](https://drreynolds.github.io/files/viasm-2025-tutorial.pdf)</sup>

自适应控制的工作方式是每步估计局部截断误差，若误差足够小则接受该步，否则以新步长重新计算。<sup>[12](https://drreynolds.github.io/files/atpesc-2022-tutorial.pdf)</sup> 嵌入式龙格–库塔对增加一组 \( b \) 系数，复用已存储的阶段向量 \( k_i \) 产生一个低阶解；差值 \( \|y_{n+1} - \tilde{y}_{n+1}\| \) 估计误差，控制器按 \( \tilde{h} = h_n (\mathrm{tol}/\|\ell_n\|)^{1/(p+1)} \) 更新步长，附带一个小于1的安全因子。<sup>[6](https://drreynolds.github.io/files/viasm-2025-tutorial.pdf)</sup> 5阶和8阶的多尔曼德–普林斯族嵌入式对是此用途的标准选择。<sup>[1](https://unige.ch/~hairer/preprints/pcam-ode.pdf)</sup> 对于PDE，直线法将问题约化为ODE或DAE系统，通用软件包可对其求解：SUNDIALS提供用于初值问题的CVODE、用于线性隐式、分裂和多速率（MRIStep）积分的ARKODE，以及用于DAE的IDA；PETSc的TS模块提供统一的隐式、显式和IMEX接口。<sup>[12](https://drreynolds.github.io/files/atpesc-2022-tutorial.pdf)</sup>

## 起源

时间步进的发展建立在少量论文之上。C. F. 柯蒂斯与J. O. 赫希菲尔德1952年发表于《美国国家科学院院刊》的论文《刚性方程的积分》，与刚性微分方程及用于求解它们的BDF方法相关联。<sup>[13](https://doi.org/10.1073/pnas.38.3.235)</sup> 格蒙德·G. 达尔奎斯特1963年发表于《BIT数值数学》的论文《线性多步法的一个特殊稳定性问题》，与A-稳定性概念及第二达尔奎斯特屏障相关联。<sup>[14](https://doi.org/10.1007/bf01963532)</sup> 大卫·A. 波普1963年发表于《ACM通讯》的论文介绍了一种用于积分ODE的早期指数方法。<sup>[15](https://doi.org/10.1145/366707.367592)</sup> G. 万纳、E. 海尔雷尔与S. P. 诺尔塞特1978年发表于《BIT数值数学》的论文发展了阶星理论，该理论阐明了隐式龙格–库塔方法中阶数与稳定性如何相互作用。<sup>[16](https://doi.org/10.1007/bf01932026)</sup> 马利斯·霍赫布鲁克、克里斯蒂安·卢比希与胡贝特·塞尔霍费尔1998年发表于《SIAM科学计算杂志》的论文处理了大型系统的指数积分器，<sup>[17](https://doi.org/10.1137/s1064827595295337)</sup> S. M. 考克斯与P. C. 马修斯2002年发表于《计算物理杂志》的论文引入了ETDRK4指数时间差分格式。<sup>[18](https://doi.org/10.1006/jcph.2002.6995)</sup> J. C. 布彻1996年发表于《应用数值数学》的综述回顾了龙格–库塔方法的发展。<sup>[19](https://doi.org/10.1016/0168-9274%2895%2900108-5)</sup> 在时间并行积分方面，V. A. 多布雷夫及其同事在2017年《SIAM科学计算杂志》的论文中发展了MGRIT的两层收敛理论，<sup>[20](https://doi.org/10.1137/16m1074096)</sup> 亚历克斯·C. 菲什、丹尼尔·R. 雷诺兹与史蒂文·B. 罗伯茨在2023年的一篇arXiv论文中提出了隐显多速率无穷小阶段重启方法，<sup>[21](https://doi.org/10.48550/arxiv.2301.00865)</sup> 马丁·J. 甘德与蒂博·吕内于2024年出版了工业与应用数学学会（SIAM）专著《时间并行时间积分》。<sup>[22](https://doi.org/10.1137/1.9781611978025)</sup>

## 变体

几何积分器保持结构。辛欧拉方法以交错方式更新动量和位置；标准的分子动力学积分器是辛的，分子模拟器使用辛方法超过二十年之后，辛性才进入数值分析。<sup>[1](https://unige.ch/~hairer/preprints/pcam-ode.pdf)</sup> 对于可分哈密顿量 \( H(q,p) = T(p) + V(q) \)，Strang分裂退化为施特尔默–韦尔莱方法，李–特罗特分裂退化为两种辛欧拉变体；辛映射的复合仍是辛的，在长时间内给出有界的能量误差。<sup>[23](https://www.cambridge.org/core/services/aop-cambridge-core/content/view/2C1BD434F8D2052E593A755351B3ACA3/S0962492923000077a.pdf/splitting_methods_for_differential_equations.pdf)</sup>

指数积分器精确求解线性部分：\( y_{n+1} = y_n + h\, \varphi(h \cdot J_n) \cdot f_n \) 对 \( f(y) = J \cdot y + c \) 是精确的。<sup>[1](https://unige.ch/~hairer/preprints/pcam-ode.pdf)</sup> IMEX格式隐式处理刚性项、显式处理非刚性项；将显式与隐式龙格–库塔方法组合得到IMEX ARK方法，而在SDIRK方法中，每个阶段的求解复用同一个矩阵，各对角元均为同一个值 \( \gamma \)。<sup>[24](https://clima.github.io/ClimaTimeSteppers.jl/stable/algorithm_formulations/ode_solvers/)</sup><sup> • </sup><sup>[11](https://excalibur-neptune.github.io/Documents/_static/TN-03_AReviewTimeSteppingTechniquesPreconditioningHyperbolicAnisotropicEllipticProblem.pdf)</sup> 诸如MRIStep的多速率方法以不同步长积分快、慢分量。<sup>[12](https://drreynolds.github.io/files/atpesc-2022-tutorial.pdf)</sup>

## 应用

分子动力学运行于辛积分器之上，其长时间能量行为正是设计的关键所在。<sup>[1](https://unige.ch/~hairer/preprints/pcam-ode.pdf)</sup> 刚性化学计算正是催生BDF方法的问题类别。<sup>[5](http://www.scholarpedia.org/article/Linear_multistep_method)</sup> 在流体力学中，绕圆柱的不可压缩纳维–斯托克斯流动的直接数值模拟已在通用时间步进框架内用高阶刚性稳定分裂格式得到演示。<sup>[25](https://users.cs.utah.edu/~kirby/Publications/Kirby-53.pdf)</sup> 气候模拟使用诸如ClimaTimeSteppers的专用软件栈，其中IMEX欧拉将倾向项分裂为显式和隐式部分，作为成本与稳定性之间的折衷。<sup>[24](https://clima.github.io/ClimaTimeSteppers.jl/stable/algorithm_formulations/ode_solvers/)</sup> 在分布式内存高性能计算中，通常首选显式求解器，因为它们避免了隐式求解的全局通信。<sup>[26](https://openresearchsoftware.metajnl.com/articles/10.5334/jors.598)</sup>

## 局限与替代方案

已知的失效模式包括降阶：应用于刚性问题的隐式龙格–库塔方法，其观测阶数可能降至阶段阶或阶段阶加1。<sup>[1](https://unige.ch/~hairer/preprints/pcam-ode.pdf)</sup> 多步法相对于龙格–库塔方法带有内存开销，这在百亿亿次计算中是一个问题，而且没有隐式多步法既是A-稳定的又高于二阶。<sup>[11](https://excalibur-neptune.github.io/Documents/_static/TN-03_AReviewTimeSteppingTechniquesPreconditioningHyperbolicAnisotropicEllipticProblem.pdf)</sup> IMEX分裂并不总能划分得泾渭分明：刚性与非刚性部分之间的界限并不总是清晰，格式的显式部分可能仍受刚性影响，严格的容差可能迫使完全隐式处理。<sup>[11](https://excalibur-neptune.github.io/Documents/_static/TN-03_AReviewTimeSteppingTechniquesPreconditioningHyperbolicAnisotropicEllipticProblem.pdf)</sup> 时空方法同时离散空间和时间，以克服先离散空间所带来的限制，是一种新兴且快速增长的替代方案。<sup>[27](https://publications.mfo.de/bitstream/handle/mfo/3934/OWR_2022_06.pdf?isAllowed=y&sequence=4)</sup> 时间并行方法构成另一类替代方案，分为打靶型、波形松弛、时空多重网格和直接时间并行方法，其中MGRIT在包裹现有顺序步进器的同时，对线性抛物型问题报告了高达50倍的加速。<sup>[28](https://www.cambridge.org/core/journals/acta-numerica/article/time-parallelization-for-hyperbolic-and-parabolic-problems/E580B25A44766E6729A65D7AF05B1198)</sup><sup> • </sup><sup>[29](https://www.osti.gov/servlets/purl/1236132)</sup>

## References

1. [Numerical solution of ordinary differential equations (PCAM chapter, Hairer & Lubich)](https://unige.ch/~hairer/preprints/pcam-ode.pdf)
2. [Numerical Methods for solving ODEs and PDEs (EMSE course notes)](https://www.emse.fr/~bonnefoy/Public/MetNum-EMSE.pdf)
3. [Some simple time-stepping methods (Schöberl, TU Wien)](https://jschoeberl.github.io/IntroSC/ODEs/firstmethods.html)
4. [DuMux: Benchmark Time-Stepping Methods](https://dumux.org/docs/doxygen/master/benchmark-timestepping-methods.html)
5. [Linear multistep method (Scholarpedia, Hairer/Lubich/Wanner)](http://www.scholarpedia.org/article/Linear_multistep_method)
6. [Runge–Kutta Implementation, Adaptive and Multirate Time Integration (Reynolds, 2025 tutorial)](https://drreynolds.github.io/files/viasm-2025-tutorial.pdf)
7. [Review of Time-Stepping Algorithms for ODEs (Brown University course notes)](https://bpb-us-w2.wpmucdn.com/sites.brown.edu/dist/1/376/files/2022/04/Chapter-3-Review-of-Time-Stepping-Algorithms-for-ODEs.pdf)
8. [Finite Difference Methods for Differential Equations (ODEs and RK schemes)](https://djps.github.io/docs/numericalmethods/part3/odes/)
9. [Numerical Methods for the Solution of Differential Equations (University of Vienna)](https://www.csc.univie.ac.at/files/Numerical_methods_for_differential_equations_W2015/main_1.pdf)
10. [Efficient solvers for time-dependent problems: IMEX, LATIN, PARAEXP, PARAREAL (Springer review)](https://link.springer.com/article/10.1186/s40323-016-0063-y)
11. [A Review of Time Stepping Techniques and Preconditioning for Hyperbolic Problems](https://excalibur-neptune.github.io/Documents/_static/TN-03_AReviewTimeSteppingTechniquesPreconditioningHyperbolicAnisotropicEllipticProblem.pdf)
12. [Time Integration with SUNDIALS (ATPESC 2022 tutorial)](https://drreynolds.github.io/files/atpesc-2022-tutorial.pdf)
13. [C. F. Curtiss, J. O. Hirschfelder (1952). Integration of Stiff Equations. Proceedings of the National Academy of Sciences.](https://doi.org/10.1073/pnas.38.3.235)
14. [Germund G. Dahlquist (1963). A special stability problem for linear multistep methods. BIT Numerical Mathematics.](https://doi.org/10.1007/bf01963532)
15. [David A. Pope (1963). An exponential method of numerical integration of ordinary differential equations. Communications of the ACM.](https://doi.org/10.1145/366707.367592)
16. [G. Wanner, E. Hairer, S. P. Nørsett (1978). Order stars and stability theorems. BIT Numerical Mathematics.](https://doi.org/10.1007/bf01932026)
17. [Marlis Hochbruck, Christian Lubich, Hubert Selhofer (1998). Exponential Integrators for Large Systems of Differential Equations. SIAM Journal on Scientific Computing.](https://doi.org/10.1137/s1064827595295337)
18. [S.M. Cox, P.C. Matthews (2002). Exponential Time Differencing for Stiff Systems. Journal of Computational Physics.](https://doi.org/10.1006/jcph.2002.6995)
19. [A history of Runge-Kutta methods (Applied Numerical Mathematics, 1996)](https://doi.org/10.1016/0168-9274%2895%2900108-5)
20. [V. A. Dobrev and colleagues (2017). Two-Level Convergence Theory for Multigrid Reduction in Time (MGRIT). SIAM Journal on Scientific Computing.](https://doi.org/10.1137/16m1074096)
21. [Fish, Alex C., Reynolds, Daniel R., Roberts, Steven B. (2023). Implicit-Explicit Multirate Infinitesimal Stage-Restart Methods. arXiv (Cornell University).](https://doi.org/10.48550/arxiv.2301.00865)
22. [Martin J. Gander, Thibaut Lunet (2024). Time Parallel Time Integration. Society for Industrial and Applied Mathematics eBooks.](https://doi.org/10.1137/1.9781611978025)
23. [Splitting methods for differential equations (Acta Numerica review)](https://www.cambridge.org/core/services/aop-cambridge-core/content/view/2C1BD434F8D2052E593A755351B3ACA3/S0962492923000077a.pdf/splitting_methods_for_differential_equations.pdf)
24. [ODE Solvers · ClimaTimeSteppers.jl documentation](https://clima.github.io/ClimaTimeSteppers.jl/stable/algorithm_formulations/ode_solvers/)
25. [A Generic Framework for Time-Stepping PDEs (Kirby et al.)](https://users.cs.utah.edu/~kirby/Publications/Kirby-53.pdf)
26. [Integrating Odeint Time Stepping into OpenFPM (JOSS/JORS)](https://openresearchsoftware.metajnl.com/articles/10.5334/jors.598)
27. [Space-Time Methods for Time-Dependent PDEs (Oberwolfach Workshop Report, 2022)](https://publications.mfo.de/bitstream/handle/mfo/3934/OWR_2022_06.pdf?isAllowed=y&sequence=4)
28. [Time parallelization for hyperbolic and parabolic problems (Acta Numerica)](https://www.cambridge.org/core/journals/acta-numerica/article/time-parallelization-for-hyperbolic-and-parabolic-problems/E580B25A44766E6729A65D7AF05B1198)
29. [Multigrid Reduction in Time for Nonlinear Parabolic Problems (OSTI report)](https://www.osti.gov/servlets/purl/1236132)

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

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

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/time-stepping

English original: https://www.edgepedia.org/time-stepping
