Peters E A J F, Barenbrug Th M A O M
Department of Chemical Engineering, Universiteit van Amsterdam, Nieuwe Achtergracht 166, 1018WV Amsterdam, The Netherlands.
Phys Rev E Stat Nonlin Soft Matter Phys. 2002 Nov;66(5 Pt 2):056701. doi: 10.1103/PhysRevE.66.056701. Epub 2002 Nov 6.
In this paper a method of numerically handling boundary conditions within Brownian dynamics simulations is discussed. The usual naive treatment of identifying reflection or absorption processes by checking for boundary crossings yields O(sqrt[deltat]) discretization errors. The method we propose here yields O(deltat) errors, similar to the case of Brownian dynamics without wall interaction. The main idea is to ensure that the zeroth (in the case of absorption), first, and second moments of the particle's displacement steps are correct up to order deltat. To fulfill this requirement near a wall, one has to include nontrivial corrections, because the stochastic contribution does not average out when the distance to the wall is of the order of the step length. We demonstrate here that the method substantially reduces the discretization error for the simple cases of an absorbing and a reflecting wall. Our method comprises an improvement over earlier methods proposed by Lamm and Schulten [J. Chem. Phys. 78, 2713 (1983)] and Ottinger [J. Chem. Phys. 91, 6455 (1937)]. Their methods heavily depend on full, explicit, analytical expressions for solutions of the diffusion equation near a wall, which they use to make a correction after a stochastic step has been made. Our method only involves the, usually much simpler, lowest moments (up to the second) of the probability density distributions for the displacement of the particle in one time step. This means the method only uses the initial particle position to determine a valid step, and there is no need for corrections afterwards. Because much less information is needed (three moments instead of full probability densities), in many cases information can be stored simply in interpolation functions and there is no need to evaluate complicated analytical expressions at every time step. This makes the method more efficient and easy to generalize to other situations than the relatively simple case of a flat wall. Moreover, because analytic expressions are not needed, other methods to determine the needed moments can be used. This makes our method much more flexible.
本文讨论了一种在布朗动力学模拟中数值处理边界条件的方法。通过检查边界穿越情况来识别反射或吸收过程的常见简单处理方法会产生(O(\sqrt{\Delta t}))的离散化误差。我们在此提出的方法产生(O(\Delta t))的误差,类似于无壁相互作用的布朗动力学情况。主要思想是确保粒子位移步长的零阶(在吸收情况下)、一阶和二阶矩在(\Delta t)阶数上是正确的。为了在壁附近满足这一要求,必须包含非平凡的修正,因为当到壁的距离与步长量级相当时,随机贡献不会平均掉。我们在此证明,对于吸收壁和反射壁的简单情况,该方法显著降低了离散化误差。我们的方法是对Lamm和Schulten [《化学物理杂志》78, 2713 (1983)] 以及Ottinger [《化学物理杂志》91, 6455 (1987)] 提出的早期方法的改进。他们的方法严重依赖于壁附近扩散方程解的完整、显式解析表达式,他们在进行随机步长后使用这些表达式进行修正。我们的方法仅涉及通常简单得多的粒子在一个时间步长内位移概率密度分布的最低阶矩(直至二阶)。这意味着该方法仅使用初始粒子位置来确定有效的步长,之后无需进行修正操作(校正)。由于所需信息少得多(三个矩而不是完整的概率密度),在许多情况下,信息可以简单地存储在插值函数中,无需在每个时间步长评估复杂的解析表达式(复杂的解析公式)(复杂的解析表达式)(复杂分析表达式)(复杂分析公式)。这使得该方法比相对简单的平壁情况更高效且易于推广到其他情况。此外,由于不需要解析表达式,可以使用其他确定所需矩的方法。这使我们的方法更加灵活。