# 平衡分子动力学

平衡分子动力学（EMD）是一种模拟方法：分子体系在固定的热力学条件下运行，直至达到热平衡，随后通过分析轨迹提取平衡态的结构、热力学与输运性质。扩散系数、径向分布函数、结构因子、黏度与自由能均可出自同一次运行，因为分析是对标准轨迹的后处理步骤，而非对运动方程本身的修改。<sup>[1](https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=925953)</sup>这与非平衡分子动力学（NEMD）形成对照——后者每一种输运性质都需要单独进行一次扰动模拟。<sup>[1](https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=925953)</sup>

| 关键事实 | 细节 |
|---|---|
| 一条轨迹，多种性质 | EMD通过后处理获得输运系数，因此一次模拟可产出多种性质；NEMD则每种性质需要一次模拟<sup>[1](https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=925953)</sup> |
| Green–Kubo路线 | 输运系数等于相应通量或流之平衡自相关函数的时间积分<sup>[1](https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=925953)</sup> |
| 推荐的系综顺序 | 对液体：先NPT至密度平衡，再在平均密度下跑NVT，最后用NVE做生产运行<sup>[1](https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=925953)</sup> |
| 恒温器选择很关键 | 强耦合的速度随机化恒温器（Andersen、Langevin）会抑制扩散；全局施加的速度标度方案则能保留扩散<sup>[2](https://pubs.acs.org/doi/abs/10.1021/ct400109a)</sup> |
| 有限尺寸修正 | \( D_{0} = D_{\mathrm{PBC}} + 2.837297\,k_{\mathrm{B}}T/(6\pi\eta L) \) 用于修正边长为 \( L \) 的立方盒子中的自扩散<sup>[3](https://doi.org/10.1021/jp0477147)</sup> |
| 黏度对尺寸稳健 | 剪切黏度整体上不呈现 \( L^{-1} \) 的有限尺寸标度，与自扩散不同<sup>[4](https://ar5iv.labs.arxiv.org/html/1807.08063)</sup> |
| 黏度适用范围 | EMD最适合黏度约低于 2 × 10⁻² Pa·s 的流体，在接近 5 × 10⁻² Pa·s 时亦有成功应用<sup>[1](https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=925953)</sup> |

## 工作原理

时间平均代替系综平均。平衡态可观测量的计算方式为时间平均 \( O_{\mathrm{time}} = \lim_{T \to \infty} (1/T) \int_{0}^{T} O(t)\,\mathrm{d}t \)，对遍历系统而言它等于系综平均。<sup>[5](https://www.lammps.org/tutorials/sor13/SoR_07-Common_Equilibrium_Calculations.pdf)</sup>结构量可直接得到：径向分布函数 \( g(r) \) 与静态结构因子 \( S(k) = (1/N)\langle \rho_{k} \cdot \rho_{-k} \rangle \)，二者由 \( S(k) = 1 + 4\pi\rho \int (\sin(k \cdot r)/(k \cdot r))(g(r)-1)r^{2}\,\mathrm{d}r \) 相联系。<sup>[5](https://www.lammps.org/tutorials/sor13/SoR_07-Common_Equilibrium_Calculations.pdf)</sup>

输运系数通过Green–Kubo关系来自平衡涨落，该关系将系数 \( \alpha \) 表达为 \( \alpha = \int_{0}^{\infty} \mathbb{E}_{\pi}[R(x_{t})S(x_{0})]\,\mathrm{d}t \)，即某个类通量变量与自身相关函数的时间积分。<sup>[6](https://arxiv.org/html/2605.10507)</sup>对自扩散，\( D = (1/3) \int_{0}^{\infty} \langle v_{j}(t) \cdot v_{j}(0) \rangle\,\mathrm{d}t \)；对剪切黏度，\( \eta = (V/k_{\mathrm{B}}T) \int_{0}^{\infty} \langle p_{\alpha\beta}(t) \cdot p_{\alpha\beta}(0) \rangle\,\mathrm{d}t \)。<sup>[4](https://ar5iv.labs.arxiv.org/html/1807.08063)</sup><sup> • </sup><sup>[5](https://www.lammps.org/tutorials/sor13/SoR_07-Common_Equilibrium_Calculations.pdf)</sup>积分形式，或称Einstein形式，则改用累积位移（Helfand矩）。<sup>[5](https://www.lammps.org/tutorials/sor13/SoR_07-Common_Equilibrium_Calculations.pdf)</sup>这正是未受扰动的平衡轨迹竟能给出输运系数的原因：线性响应把宏观耗散与自发的微观涨落联系起来。<sup>[1](https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=925953)</sup>

## 操作步骤

典型工作流程分为四个阶段。第一，体系搭建：选择力场、构建盒子，并用Verlet类方案积分牛顿方程；GROMACS默认采用蛙跳积分器，需要精确的温度与压力耦合时可选用速度Verlet。<sup>[7](https://manual.gromacs.org/documentation/current/reference-manual/algorithms/molecular-dynamics.html)</sup>第二，平衡：对液体，在目标温度与压力下运行NPT直至密度稳定，然后在NPT平均密度下运行NVT。<sup>[1](https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=925953)</sup>第三，在NVE下做生产运行，以避免恒压器与恒温器对动力学的扭曲。<sup>[1](https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=925953)</sup>第四，分析保存的轨迹。

**恒温器的选择**决定输运系数是否可信。速度随机化算法（Andersen、Langevin）在强耦合下（时间常数 0.1 与 1 ps）会显著降低 \( D \) 并增大 \( \eta \)。<sup>[1](https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=925953)</sup>全局施加的速度标度方案（Berendsen、随机速度重标度、Nosé–Hoover）给出的输运性质与NVE在统计上无法区分<sup>[2](https://pubs.acs.org/doi/abs/10.1021/ct400109a)</sup>，但Berendsen恒温器会抑制动能涨落、不能产生正确的正则系综，因此GROMACS不建议在新模拟中使用它。<sup>[7](https://manual.gromacs.org/documentation/current/reference-manual/algorithms/molecular-dynamics.html)</sup>若将速度标度恒温器耦合到局部动能（对水采用massive Nosé–Hoover），对动力学的阻尼与速度随机化相当。<sup>[2](https://pubs.acs.org/doi/abs/10.1021/ct400109a)</sup>

## 起源

计算机的平衡态采样先于动力学：Nicholas Metropolis及其同事于1953年发表在《The Journal of Chemical Physics》上的Metropolis Monte Carlo方法，在没有真实动力学的情况下采样平衡构型。<sup>[8](https://doi.org/10.1063/1.1699114)</sup>B. J. Alder与T. E. Wainwright于1957年在《The Journal of Chemical Physics》上报告了32–500个硬球的分子动力学，用周期性边界条件精确求解经典运动方程，并发现了硬球体系中的一级相变<sup>[9](https://doi.org/10.1063/1.1743957)</sup>；他们1959年发表在同一期刊的论文将这一通用方法系统化。<sup>[10](https://doi.org/10.1063/1.1730376)</sup>统计力学工具在理论上出现得更早：Melville S. Green 1954年关于流体中不可逆过程的工作奠定了Green–Kubo关系的基础<sup>[11](https://doi.org/10.1063/1.1740082)</sup>，Eugene Helfand 1960年的论文给出了从正则系综耗散获得输运系数的Einstein形式路线。<sup>[12](https://doi.org/10.1103/physrev.119.1)</sup>正则温度控制后来由Glenn J. Martyna、Michael L. Klein与Mark Tuckerman（1992）通过Nosé–Hoover链加以形式化。<sup>[13](https://doi.org/10.1063/1.463940)</sup>

## 变体

**增强采样变体**将平衡采样扩展到自由能与稀有事件。自适应伞形采样可自洽地确定非Boltzmann偏置，由Mihaly Mezei于1987年提出<sup>[14](https://doi.org/10.1016/0021-9991%2887%2990054-4)</sup>，并由Christian Bartels与Martin Karplus于1998年应用于势能。<sup>[15](https://doi.org/10.1021/jp972280j)</sup>副本交换分子动力学由Yuji Sugita与Yuko Okamoto于1999年为蛋白质折叠提出，在不同温度（例如300–700 K）下运行多个副本并周期性交换。<sup>[16](https://doi.org/10.1016/s0009-2614%2899%2901123-9)</sup>元动力学由Alessandro Laio与Michele Parrinello于2002年提出，通过用历史依赖的偏置填充自由能极小值来逃离它们<sup>[17](https://doi.org/10.1073/pnas.202427399)</sup>；井 tempered 元动力学由Alessandro Barducci、Giovanni Bussi与Michele Parrinello于2008年报告，它平滑地降低高斯沉积速率，从而可控制收敛性与误差。<sup>[18](https://doi.org/10.1103/physrevlett.100.020603)</sup>

## 应用

EMD输运计算对液体与电解质已是常规操作。LAMMPS的OCTP插件基于Einstein关系即时计算剪切与体积黏度、径向分布函数、热导率以及自扩散与Maxwell–Stefan扩散系数。<sup>[19](https://omoultosethtudelft.github.io/web/assets/publications/46.Celebi_MS_2020_47_831.pdf)</sup>Li₇P₃S₁₁等固态电解质中的离子输运，则在相同的平衡方案下用机器学习原子间势研究。<sup>[20](https://pubs.aip.org/aip/aml/article/4/3/036108/3399728/Full-stack-quantification-of-variability-in)</sup>

## 局限与替代方案

**轨迹长度与体系尺寸**决定了精度下限。时间平均的统计误差按 \( \sqrt{\tau_{a}/\tau} \) 标度，其中 \( \tau_{a} \) 是该性质的相关时间。<sup>[21](https://fy.chalmers.se/~tfsgw/CompPhys/lectures/MD_LectureNotes_181111.pdf)</sup>Green–Kubo估计所需轨迹至少比计算平衡性质所需的轨迹长一个数量级，且统计误差会随时间积分累积，使收敛性难以验证。<sup>[22](https://iris.unimore.it/retrieve/5dab3f21-93c9-4468-9fef-90948033d404/064111_1_5.0249677.pdf)</sup>对黏度而言，应力分量应每5至10 fs保存一次，并对累积积分进行拟合与外推。<sup>[1](https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=925953)</sup>

自扩散带有按 \( L^{-1} \) 标度的系统性有限尺寸误差，可用 \( D_{0} = D_{\mathrm{PBC}} + 2.837297\,k_{\mathrm{B}}T/(6\pi\eta L) \) 修正。<sup>[3](https://doi.org/10.1021/jp0477147)</sup>对约2000个TIP3P水分子，未修正值约偏低10%。<sup>[3](https://doi.org/10.1021/jp0477147)</sup>只要分子数不少于250，该修正对非球形分子同样成立。<sup>[19](https://omoultosethtudelft.github.io/web/assets/publications/46.Celebi_MS_2020_47_831.pdf)</sup>剪切黏度不呈现这种 \( L^{-1} \) 标度，不过小体系会表现出振荡性尺寸效应，在超过约1024个Lennard-Jones粒子后变得可忽略。<sup>[4](https://ar5iv.labs.arxiv.org/html/1807.08063)</sup>

**与NEMD相比**，EMD胜在经济性（一条轨迹，多个系数），但在长相关时间下信噪比很差；NEMD可通过加大驱动力来放大响应，代价是可能引入非线性效应，且更易受有限尺寸误差影响。<sup>[22](https://iris.unimore.it/retrieve/5dab3f21-93c9-4468-9fef-90948033d404/064111_1_5.0249677.pdf)</sup>EMD对高黏度流体也力有不逮，此时更宜用NEMD。<sup>[1](https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=925953)</sup>增强采样方法解决的是自由能计算中采样不足与遍历性破缺的问题，而非输运。机器学习原子间势改变了基础格局：它们以接近经典力场的成本达到接近DFT的精度，且不同于固定拓扑的力场，能够模拟键的断裂与形成。<sup>[23](https://link.springer.com/article/10.1007/s11831-026-10505-x)</sup>对采用Allegro势的Li₇P₃S₁₁，MD采样不确定度压过了模型误差，因此即使使用现代势，轨迹长度仍是瓶颈。<sup>[20](https://pubs.aip.org/aip/aml/article/4/3/036108/3399728/Full-stack-quantification-of-variability-in)</sup>

## References

1. [Best Practices for Computing Transport Properties 1. Self-Diffusivity and Viscosity from Equilibrium Molecular Dynamics](https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=925953)
2. [Effects of Temperature Control Algorithms on Transport Properties and Kinetics in Molecular Dynamics Simulations](https://pubs.acs.org/doi/abs/10.1021/ct400109a)
3. [In-Chul Yeh, Gerhard Hummer (2004). System-Size Dependence of Diffusion Coefficients and Viscosities from Molecular Dynamics Simulations with Periodic Boundary Conditions. The Journal of Physical Chemistry B.](https://doi.org/10.1021/jp0477147)
4. [Nature of Intrinsic Uncertainties in Equilibrium Molecular Dynamics Estimation of Shear Viscosity for Simple and Complex Fluids](https://ar5iv.labs.arxiv.org/html/1807.08063)
5. [Common Equilibrium Calculations, Computational Rheology via LAMMPS (85th Meeting of the Society of Rheology, 2013)](https://www.lammps.org/tutorials/sor13/SoR_07-Common_Equilibrium_Calculations.pdf)
6. [Mathematical analysis and numerical methods for the computation of transport coefficients in molecular dynamics](https://arxiv.org/html/2605.10507)
7. [Molecular Dynamics, GROMACS documentation (current)](https://manual.gromacs.org/documentation/current/reference-manual/algorithms/molecular-dynamics.html)
8. [Nicholas Metropolis and colleagues (1953). Equation of State Calculations by Fast Computing Machines. The Journal of Chemical Physics.](https://doi.org/10.1063/1.1699114)
9. [B. J. Alder, T. E. Wainwright (1957). Phase Transition for a Hard Sphere System. The Journal of Chemical Physics.](https://doi.org/10.1063/1.1743957)
10. [B. J. Alder, T. E. Wainwright (1959). Studies in Molecular Dynamics. I. General Method. The Journal of Chemical Physics.](https://doi.org/10.1063/1.1730376)
11. [Melville S. Green (1954). Markoff Random Processes and the Statistical Mechanics of Time-Dependent Phenomena. II. Irreversible Processes in Fluids. The Journal of Chemical Physics.](https://doi.org/10.1063/1.1740082)
12. [Eugene Helfand (1960). Transport Coefficients from Dissipation in a Canonical Ensemble. Physical Review.](https://doi.org/10.1103/physrev.119.1)
13. [Glenn J. Martyna, Michael L. Klein, Mark Tuckerman (1992). Nosé–Hoover chains: The canonical ensemble via continuous dynamics. The Journal of Chemical Physics.](https://doi.org/10.1063/1.463940)
14. [Adaptive umbrella sampling: Self-consistent determination of the non-Boltzmann bias (Journal of Computational Physics, 1987)](https://doi.org/10.1016/0021-9991%2887%2990054-4)
15. [Christian Bartels, Martin Karplus (1998). Probability Distributions for Complex Systems: Adaptive Umbrella Sampling of the Potential Energy. The Journal of Physical Chemistry B.](https://doi.org/10.1021/jp972280j)
16. [Replica-exchange molecular dynamics method for protein folding (Chemical Physics Letters, 1999)](https://doi.org/10.1016/s0009-2614%2899%2901123-9)
17. [Alessandro Laio, Michele Parrinello (2002). Escaping free-energy minima. Proceedings of the National Academy of Sciences.](https://doi.org/10.1073/pnas.202427399)
18. [Alessandro Barducci, Giovanni Bussi, Michele Parrinello (2008). Well-Tempered Metadynamics: A Smoothly Converging and Tunable Free-Energy Method. Physical Review Letters.](https://doi.org/10.1103/physrevlett.100.020603)
19. [Finite-size effects of diffusion coefficients computed from molecular dynamics: a review](https://omoultosethtudelft.github.io/web/assets/publications/46.Celebi_MS_2020_47_831.pdf)
20. [Full-stack quantification of variability in predicting ion transport properties using machine-learned interatomic potentials (APL Machine Learning)](https://pubs.aip.org/aip/aml/article/4/3/036108/3399728/Full-stack-quantification-of-variability-in)
21. [Molecular Dynamics Lecture Notes (Chalmers)](https://fy.chalmers.se/~tfsgw/CompPhys/lectures/MD_LectureNotes_181111.pdf)
22. [Transport coefficients from equilibrium molecular dynamics (Green-Kubo / spectral methods review)](https://iris.unimore.it/retrieve/5dab3f21-93c9-4468-9fef-90948033d404/064111_1_5.0249677.pdf)
23. [Machine Learning-Enhanced Molecular Dynamics: Current State, Challenges and Perspectives (Archives of Computational Methods in Engineering)](https://link.springer.com/article/10.1007/s11831-026-10505-x)

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

Topic: 物质世界与数学 › 物理学 › 物质与辐射物理学 › Atomic and molecular physics

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/equilibrium-molecular-dynamics

English original: https://www.edgepedia.org/equilibrium-molecular-dynamics
