# 斯托克斯求解器

斯托克斯求解器是一种数值方法，用于计算由斯托克斯方程支配的慢速、黏性、不可压缩流动的速度场和压力场；在这种流动状态下，黏性力占主导，流动实际上是线性的。斯托克斯求解器支撑着生物流动、颗粒悬浮、纤维动力学和地球动力学地幔对流等雷诺数很小的模拟。

| 关键事实 | 详情 |
|---|---|
| 控制方程 | 动量 \( -\nabla \cdot (\mu (\nabla u + \nabla u^{T})) + \nabla p = f \)，并满足不可压缩性 \( \nabla \cdot u = 0 \)\<sup>[1](https://petsc.org/main/tutorials/physics/guide_to_stokes/)</sup> |
| 适用范围 | 极小的雷诺数，此时黏性项 \( Re^{-1} \Delta u \) 相对于对流项占主导地位；斯托克斯流动是 \( Re = 0 \) 的极限情形\<sup>[2](https://www.wias-berlin.de/people/john/LEHRE/NUMERIK_IV_21_22/num_linear_saddle_prob_3.pdf)</sup><sup> • </sup><sup>[3](https://math.mit.edu/classes/18.086/2006/am65.pdf)</sup> |
| 核心困难 | 不可压缩性约束使该系统成为鞍点问题；速度空间与压力空间必须满足 inf-sup（LBB）条件\<sup>[4](https://webapps.math.uci.edu/~chenlong/226/FEMStokes.pdf)</sup> |
| 稳定单元对 | 泰勒–胡德（Taylor–Hood）\( P_{k}/P_{k-1} \)（k ≥ 2）、MINI单元、克鲁泽–拉维阿尔（Crouzeix–Raviart）非协调单元，以及稳定化等阶单元对\<sup>[4](https://webapps.math.uci.edu/~chenlong/226/FEMStokes.pdf)</sup> |
| 迭代求解 | 乌扎瓦（Uzawa）、舒尔补、增广拉格朗日以及块预条件器在适当设计时，并在给定的系数与离散化假设下，配合谱等价预条件器，可给出与网格无关的收敛\<sup>[5](https://webapps.math.uci.edu/~chenlong/226/MGStokes.pdf)</sup><sup> • </sup><sup>[6](https://epubs.siam.org/doi/10.1137/040606028)</sup> |
| 已演示规模 | 无矩阵 HHG 多重网格求解器已在 147,456 个进程上求解了超过 \( 3.6 \times 10^{12} \) 个未知量的斯托克斯系统；而一次 Blue Gene/Q 运行在多达 786,432 个并行线程上求解了超过 \( 1.1 \times 10^{13} \) 个未知量的更大系统\<sup>[7](https://ar5iv.labs.arxiv.org/html/2010.13513)</sup> |
| 主要替代方法 | 用于颗粒和无界区域的边界积分法；用于时间相关流动的投影法\<sup>[8](https://onlinelibrary.wiley.com/doi/10.1002/fld.4970)</sup><sup> • </sup><sup>[9](https://web.math.princeton.edu/~weinan/papers/cfd1.pdf)</sup> |

## 工作原理

斯托克斯方程描述最简单的不可压缩流动问题：稳态、忽略对流项，留下一个线性系统，其剩余困难在于速度与压力的耦合。<sup>[10](https://link.springer.com/chapter/10.1007/978-3-319-45750-5_4)</sup> 物理上，当雷诺数非常小时近似成立，使黏性项 \( Re^{-1} \Delta u \) 相对于对流项 \( (u \cdot \nabla) u \) 占主导地位，后者可被舍弃。<sup>[2](https://www.wias-berlin.de/people/john/LEHRE/NUMERIK_IV_21_22/num_linear_saddle_prob_3.pdf)</sup>

压力充当拉格朗日乘子，施加无散度约束。<sup>[1](https://petsc.org/main/tutorials/physics/guide_to_stokes/)</sup> 离散后，这产生一个对称但不定的鞍点矩阵，其舒尔补（通过消去块系统的一个块而导出的矩阵）为 \( S = B \cdot A^{-1} \cdot B^{T} \)，它比对称正定系统难解得多，且显式形成代价高昂。<sup>[5](https://webapps.math.uci.edu/~chenlong/226/MGStokes.pdf)</sup>

inf-sup条件，也称为拉德任斯卡娅–巴布什卡–布雷齐（Ladyzhenskaya–Babuška–Brezzi，LBB）条件，是此鞍点系统适定性的要求。<sup>[4](https://webapps.math.uci.edu/~chenlong/226/FEMStokes.pdf)</sup> 离散问题适定当且仅当离散 inf-sup 常数 \( \beta_{h} \) 为正；当 \( \beta_{h} \) 具有不依赖于网格尺寸的正下界时，一个单元对是稳定的。<sup>[11](https://people.tamu.edu/~guermond/M661_FALL_2025/chap53.pdf)</sup> 不稳定单元对会产生虚假压力模态，例如 \( (P_{1}, P_{1}) \) 单元对的棋盘模态 \( p = (1, -1, 1, -1, \ldots) \)。<sup>[4](https://webapps.math.uci.edu/~chenlong/226/FEMStokes.pdf)</sup><sup> • </sup><sup>[11](https://people.tamu.edu/~guermond/M661_FALL_2025/chap53.pdf)</sup>

## 如何实现

标准路线是混合有限元法。弱形式寻求 \( (u, p) \in H_{0}^{1}(\Omega) \times L_{0}^{2}(\Omega) \) 满足 \( (\nabla u, \nabla v) - (\nabla \cdot v, p) = \langle f, v \rangle \) 和 \( -(\nabla \cdot u, q) = 0 \)；在二维或三维有界利普希茨区域上存在唯一解。<sup>[2](https://www.wias-berlin.de/people/john/LEHRE/NUMERIK_IV_21_22/num_linear_saddle_prob_3.pdf)</sup>

**稳定单元对**是关键设计选择。协调的 inf-sup 稳定选择包括 MINI 单元 \( P_{1} + B_{3} / P_{1} \)、具有最优收敛阶的 \( k \geq 2 \) 的泰勒–胡德单元对 \( P_{k}/P_{k-1} \) 和 \( Q_{k}/Q_{k-1} \)，以及非协调的克鲁泽–拉维阿尔单元对，后者逐单元无散度。<sup>[4](https://webapps.math.uci.edu/~chenlong/226/FEMStokes.pdf)</sup> 稳定化等阶方法绕过 inf-sup 条件且无惩罚误差，代价是用户选择的稳定化参数。<sup>[12](https://epubs.siam.org/doi/10.1137/S1064827502407718)</sup><sup> • </sup><sup>[2](https://www.wias-berlin.de/people/john/LEHRE/NUMERIK_IV_21_22/num_linear_saddle_prob_3.pdf)</sup>

**迭代求解**利用鞍点结构。乌扎瓦方法是对舒尔补方程 \( S \cdot p = \tilde{g} \) 的理查森迭代，更新为 \( p^{k+1} = p^{k} + \omega (\tilde{g} - S \cdot p^{k}) \)；非精确变体对 \( A^{-1} \) 使用内层多重网格求解。<sup>[5](https://webapps.math.uci.edu/~chenlong/226/MGStokes.pdf)</sup> 增广拉格朗日方法在速度块上添加 \( r \cdot B^{T} \cdot B \)，使舒尔补近似为缩放单位矩阵，当 \( r \) 很大时特征值为 \( 1/r \) 量级，这可以改善预条件，代价是内层求解更难。<sup>[5](https://webapps.math.uci.edu/~chenlong/226/MGStokes.pdf)</sup> 沃森（Wathen）和西尔维斯特（Silvester）表明，在对拉普拉斯项使用谱等价预条件器时，收敛率与网格尺寸无关。<sup>[6](https://epubs.siam.org/doi/10.1137/040606028)</sup>

## 起源

定常斯托克斯方程的有限元分析由若干1973–1974年的论文塑造。M. 克鲁泽（M. Crouzeix）和 P.-A. 拉维阿尔（P.-A. Raviart）于1973年在 RAIRO 上研究了定常斯托克斯方程的协调与非协调有限元近似，导出了能量范数和 \( L^{2} \) 范数下的最优误差估计。<sup>[13](https://doi.org/10.1051/m2an/197307r300331)</sup> C. 泰勒（C. Taylor）和 P. 胡德（P. Hood）于1973年在 Computers & Fluids 上发表了他们的混合速度–压力单元。<sup>[14](https://doi.org/10.1016/0045-7930%2873%2990027-3)</sup> 伊沃·巴布什卡（Ivo Babuška）于1973年在 Numerische Mathematik 上分析了带拉格朗日乘子的有限元方法<sup>[15](https://doi.org/10.1007/bf01436561)</sup>，而 F. 布雷齐（F. Brezzi）于1974年在 RAIRO Analyse numérique 上给出了鞍点问题的一般存在性、唯一性和逼近理论。<sup>[16](https://doi.org/10.1051/m2an/197408r201291)</sup> M. 贝尔科维耶（M. Bercovier）和 O. 皮罗诺（O. Pironneau）于1979年在 Numerische Mathematik 上利用修改的 inf-sup 条件给出了泰勒–胡德单元的首个误差分析。<sup>[17](https://doi.org/10.1007/bf01399555)</sup> MINI 单元在速度空间中加入逐单元气泡函数 \( \mathrm{span}\{\lambda_{1} \cdot \lambda_{2} \cdot \lambda_{3}\} \)。<sup>[4](https://webapps.math.uci.edu/~chenlong/226/FEMStokes.pdf)</sup>

在求解器方面，阿奇·布兰特（Achi Brandt）的多重网格开发指南于1982年出现在 Lecture Notes in Mathematics 中<sup>[18](https://doi.org/10.1007/bfb0069930)</sup>；托马斯·J. R. 休斯（Thomas J.R. Hughes）、莱奥波尔多·P. 弗兰卡（Leopoldo P. Franca）和马克·巴莱斯特拉（Marc Balestra）于1986年在 Computer Methods in Applied Mechanics and Engineering 上引入了一种稳定的 Petrov–Galerkin 格式，可容纳等阶插值<sup>[19](https://doi.org/10.1016/0045-7825%2886%2990025-3)</sup>；S. P. 万卡（S.P. Vanka）于1986年在同一期刊上为回流流动引入了块隐式多重网格<sup>[20](https://doi.org/10.1016/0045-7825%2886%2990022-8)</sup>；戴维·西尔维斯特和安德鲁·沃森于1994年在 SIAM Journal on Numerical Analysis 上为稳定化斯托克斯系统发展了通用块预条件器<sup>[21](https://doi.org/10.1137/0731070)</sup>；D. 布雷斯（D. Braess）和 R. 萨拉赞（R. Sarazin）于1997年在 Applied Numerical Mathematics 上为斯托克斯问题引入了一种高效光滑器。<sup>[22](https://doi.org/10.1016/s0168-9274%2896%2900059-1)</sup>

## 变体

**边界积分法**将问题的维数从三维降到二维，给出比体积法更小的线性系统，并自然处理无界区域而无需截断。<sup>[8](https://onlinelibrary.wiley.com/doi/10.1002/fld.4970)</sup> 对于受限几何中的刚性粒子，双层势公式导致第二类弗雷德霍姆积分方程，用展开求积（QBX）处理奇异和近奇异层势；采用谱埃瓦尔德方法时，求解器以 \( O(N \log N) \) 时间运行。<sup>[8](https://onlinelibrary.wiley.com/doi/10.1002/fld.4970)</sup>

正则化斯托克斯子方法由里卡多·科尔特斯（Ricardo Cortez）于2001年在 SIAM Journal on Scientific Computing 上提出，通过正则化基本解的叠加求解斯托克斯方程<sup>[23](https://doi.org/10.1137/s106482750038146x)</sup>，是纤维和悬浮问题的常用选择。<sup>[24](https://hal.science/hal-02167899v1/file/2019_ARFM.pdf)</sup> 细长体理论通过斯托克斯子分布将丝状体–流体和丝状体–丝状体相互作用化为丝状体中心线的动力学方程。<sup>[24](https://hal.science/hal-02167899v1/file/2019_ARFM.pdf)</sup>

**浸入边界法**由查尔斯·S. 佩斯金（Charles S. Peskin）在20世纪70年代提出，并于2002年在 Acta Numerica 上由他综述，通过离散狄拉克δ函数将固定笛卡尔网格上的欧拉变量与运动的拉格朗日变量耦合。<sup>[25](https://doi.org/10.1017/s0962492902000077)</sup><sup> • </sup><sup>[26](https://mdpi-res.com/d_attachment/mathematics/mathematics-08-01982/article_deploy/mathematics-08-01982.pdf?version=1604664897)</sup> 金永三（Yongsam Kim）和查尔斯·S. 佩斯金的惩罚变体于2007年发表在 Physics of Fluids，将该方法推广到有质量的弹性边界。<sup>[27](https://doi.org/10.1063/1.2734674)</sup>

## 应用

细胞血流模拟将红细胞的大变形弹性与低雷诺数下的黏性悬浮力学耦合，其中实际上呈线性的流体力学适合广泛的模拟方法；边界积分格式用于细胞尺度计算。<sup>[28](https://www.annualreviews.org/content/journals/10.1146/annurev-fluid-010313-141349)</sup> 纤维悬浮动力学依赖细长体理论和正则化斯托克斯子，切比雪夫基平台可模拟约1000根纤维。<sup>[24](https://hal.science/hal-02167899v1/file/2019_ARFM.pdf)</sup> 在地球动力学中，高对比度变黏度斯托克斯问题模拟地幔对流，真实模拟关键取决于黏度对比和网格分辨率。<sup>[29](http://www.burak.wayne.edu/pubsNew/b04_aksoyluUnlu2013_preprint.pdf)</sup>

## 局限与替代方法

对于时间相关问题，在非结构网格上测试的6800万自由度全耦合预条件斯托克斯求解达到网格无关的 GMRES/CG 收敛，但其吞吐量平均比传统压力校正和速度校正投影法慢5到25倍，因此投影法在该情形下仍更快。<sup>[30](https://people.tamu.edu/~guermond/PUBLICATIONS/creff_guermond_predonc_Stokes_CAMWA_2025.pdf)</sup> 投影法是一般黏性不可压缩流动中最为常用的方法，在 \( Re = O(1) \) 时最佳；在蠕流区域 \( Re \ll 1 \) 中，非局部性最强，快速斯托克斯求解器更受青睐。<sup>[9](https://web.math.princeton.edu/~weinan/papers/cfd1.pdf)</sup>

经过适当预条件的迭代求解器扩展良好。基于本杰明·卡尔·伯根（Benjamin Karl Bergen）和弗兰克·许尔斯曼（Frank Hülsemann）于2004年在 Numerical Linear Algebra with Applications 上提出的分层混合网格框架<sup>[31](https://doi.org/10.1002/nla.382)</sup>，一个无矩阵整体几何多重网格求解器可扩展到147,456个并行进程，并求解超过 \( 3.6 \times 10^{12} \) 个未知量的系统。<sup>[7](https://ar5iv.labs.arxiv.org/html/2010.13513)</sup> 大的黏度对比使离散斯托克斯矩阵病态<sup>[32](http://jupiter.ethz.ch/~pjt/papers/Furuichi2011JCP_StokesSolver.pdf)</sup>；当对比度为 \( \eta_{1}/\eta_{0} = 10^{6} \) 且包含许多夹杂物时，近似块分解求解器会退化并最终失败，而不完全 LDLT（ILDL）预条件仍保持稳健，求解时间在很大程度上与系数拓扑无关。<sup>[33](https://se.copernicus.org/articles/11/2031/2020/)</sup>

## References

1. [Guide to the Stokes Equations using Finite Elements, PETSc documentation](https://petsc.org/main/tutorials/physics/guide_to_stokes/)
2. [Numerical methods for linear saddle point problems, Chapter 3: The Stokes equations (WIAS lecture notes)](https://www.wias-berlin.de/people/john/LEHRE/NUMERIK_IV_21_22/num_linear_saddle_prob_3.pdf)
3. [6.5 The Saddle Point Stokes Problem (Gilbert Strang, MIT 18.086 notes)](https://math.mit.edu/classes/18.086/2006/am65.pdf)
4. [Finite Element Methods for Stokes Equations (Long Chen, UC Irvine lecture notes)](https://webapps.math.uci.edu/~chenlong/226/FEMStokes.pdf)
5. [Fast Solvers for Stokes Equations (Long Chen, UC Irvine lecture notes)](https://webapps.math.uci.edu/~chenlong/226/MGStokes.pdf)
6. [Fast Iterative Solvers for Discrete Stokes Equations (SIAM)](https://epubs.siam.org/doi/10.1137/040606028)
7. [Textbook efficiency: massively parallel matrix-free multigrid for the Stokes system](https://ar5iv.labs.arxiv.org/html/2010.13513)
8. [Highly accurate special quadrature methods for Stokesian particle suspensions in confined geometries](https://onlinelibrary.wiley.com/doi/10.1002/fld.4970)
9. [Numerical Methods for Viscous Incompressible Flows: Some Recent Advances (Weinan E, Princeton)](https://web.math.princeton.edu/~weinan/papers/cfd1.pdf)
10. [The Stokes Equations, chapter in Volker John, Finite Element Methods for Incompressible Flow Problems (Springer SSCM 51, 2016)](https://link.springer.com/chapter/10.1007/978-3-319-45750-5_4)
11. [Part XI, Chapter 53: The Stokes equations (Guermond, Texas A&M course notes)](https://people.tamu.edu/~guermond/M661_FALL_2025/chap53.pdf)
12. [A Taxonomy of Consistently Stabilized Finite Element Methods for the Stokes Problem (Barth, Bochev, Gunzburger, Shadid, SIAM J. Sci. Comput. 2004)](https://epubs.siam.org/doi/10.1137/S1064827502407718)
13. [M. Crouzeix, P.-A. Raviart (1973). Conforming and nonconforming finite element methods for solving the stationary Stokes equations I. Revue française d automatique informatique recherche opérationnelle Mathématique.](https://doi.org/10.1051/m2an/197307r300331)
14. [A numerical solution of the Navier-Stokes equations using the finite element technique (Computers & Fluids, 1973)](https://doi.org/10.1016/0045-7930%2873%2990027-3)
15. [Ivo Babuška (1973). The finite element method with Lagrangian multipliers. Numerische Mathematik.](https://doi.org/10.1007/bf01436561)
16. [F. Brezzi (1974). On the existence, uniqueness and approximation of saddle-point problems arising from lagrangian multipliers. Revue française d automatique informatique recherche opérationnelle Analyse numérique.](https://doi.org/10.1051/m2an/197408r201291)
17. [M. Bercovier, O. Pironneau (1979). Error estimates for finite element method solution of the Stokes problem in the primitive variables. Numerische Mathematik.](https://doi.org/10.1007/bf01399555)
18. [Achi Brandt (1982). Guide to multigrid development. Lecture notes in mathematics.](https://doi.org/10.1007/bfb0069930)
19. [A new finite element formulation for computational fluid dynamics: V. Circumventing the babuška-brezzi condition: a stable Petrov-Galerkin formulation of the stokes problem accommodating equal-order interpolations (Computer Methods in Applied Mechanics and Engineering, 1986)](https://doi.org/10.1016/0045-7825%2886%2990025-3)
20. [Block-implicit multigrid calculation of two-dimensional recirculating flows (Computer Methods in Applied Mechanics and Engineering, 1986)](https://doi.org/10.1016/0045-7825%2886%2990022-8)
21. [David Silvester, Andrew Wathen (1994). Fast Iterative Solution of Stabilised Stokes Systems Part II: Using General Block Preconditioners. SIAM Journal on Numerical Analysis.](https://doi.org/10.1137/0731070)
22. [An efficient smoother for the Stokes problem (Applied Numerical Mathematics, 1997)](https://doi.org/10.1016/s0168-9274%2896%2900059-1)
23. [Ricardo Cortez (2001). The Method of Regularized Stokeslets. SIAM Journal on Scientific Computing.](https://doi.org/10.1137/s106482750038146x)
24. [Dynamics and Deformations of Immersed Flexible Fibers (Annual Review of Fluid Mechanics, 2019)](https://hal.science/hal-02167899v1/file/2019_ARFM.pdf)
25. [Charles S. Peskin (2002). The immersed boundary method. Acta Numerica.](https://doi.org/10.1017/s0962492902000077)
26. [Immersed Boundary Method for Simulating Interfacial Problems (Mathematics, 2020)](https://mdpi-res.com/d_attachment/mathematics/mathematics-08-01982/article_deploy/mathematics-08-01982.pdf?version=1604664897)
27. [Yongsam Kim, Charles S. Peskin (2007). Penalty immersed boundary method for an elastic boundary with mass. Physics of Fluids.](https://doi.org/10.1063/1.2734674)
28. [Numerical Simulation of Flowing Blood Cells (Freund, Annual Review of Fluid Mechanics, 2014)](https://www.annualreviews.org/content/journals/10.1146/annurev-fluid-010313-141349)
29. [Numerical study of the high-contrast Stokes equation and its robust preconditioning (Aksoylu & Unlu)](http://www.burak.wayne.edu/pubsNew/b04_aksoyluUnlu2013_preprint.pdf)
30. [Preconditioning of the generalized Stokes problem arising from the approximation of the time-dependent Navier-Stokes equations (CAMWA, 2025)](https://people.tamu.edu/~guermond/PUBLICATIONS/creff_guermond_predonc_Stokes_CAMWA_2025.pdf)
31. [Benjamin Karl Bergen, Frank Hülsemann (2004). Hierarchical hybrid grids: data structures and core algorithms for multigrid. Numerical Linear Algebra with Applications.](https://doi.org/10.1002/nla.382)
32. [Development of a Stokes flow solver robust to large viscosity jumps using a Schur complement approach with mixed precision arithmetic (Furuichi et al., J. Comput. Phys. 230, 2011)](http://jupiter.ethz.ch/~pjt/papers/Furuichi2011JCP_StokesSolver.pdf)
33. [Pragmatic solvers for 3D Stokes and elasticity problems with heterogeneous coefficients: evaluating modern incomplete LDLT preconditioners (Solid Earth, 2020)](https://se.copernicus.org/articles/11/2031/2020/)

---
*Initially written Sep 29, 2026 · Reviewed: Sep 30, 2026 · Edited: Oct 15, 2026 · Last review: Sep 30, 2026*

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

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/stokes-solver

English original: https://www.edgepedia.org/stokes-solver
