원시데이터 수집 시스템
선정목록으로

Brownian Dynamics of charged particles in a constant magnetic field

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (10) 아라미드(17) 스펀본드 부직포

기본 정보

저자
  1. Hou, L. J.
  2. Mišković, Z. L.
  3. Piel, A.
  4. Shukla P.K
DOI
10.48550/arxiv.0904.2849
저널
arXiv (Cornell University)
발행년도
2022
발행기관
Cornell University
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.48550/arxiv.0904.2849
토픽
Electrostatics and Colloid Interactions
OpenAlex ID
W6891777375

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(10) 아라미드, (17) 스펀본드 부직포
R&D 측면
분석·모델링
확신도
0.60
근거 용어
Brownian Dynamics, polymer solutions, colloidal suspensions, numerical algorithms, Langevin equation
판단 근거
이 논문은 자기장 내 전하 입자의 브라운 운동을 시뮬레이션하는 수치 알고리즘을 다루며, 고분자 용액(polymer solutions) 및 콜로이드 현탁액 연구에 응용될 수 있음을 명시하고 있습니다.
R&D 활용 포인트
고분자 컴파운드(23) 배합 시 입자 간의 상호작용이나 분산 안정성을 예측하기 위한 분자 동역학(MD) 및 브라운 동역학(BD) 시뮬레이션 모델링 기법으로 활용 가능합니다.
평가 입력
본문 57,550자 중 30,032자 발췌

초록

Numerical algorithms are proposed for simulating the Brownian dynamics of charged particles in an external magnetic field, taking into account the Brownian motion of charged particles, damping effect and the effect of magnetic field self-consistently. Performance of these algorithms is tested in terms of their accuracy and long-time stability by using a three-dimensional Brownian oscillator model with constant magnetic field. Step-by-step recipes for implementing these algorithms are given in detail. It is expected that these algorithms can be directly used to study particle dynamics in various dispersed systems in the presence of a magnetic field, including polymer solutions, colloidal suspensions and, particularly complex (dusty) plasmas. The proposed algorithms can also be used as thermostat in the usual molecular dynamics simulation in the presence of magnetic field.

본문 57,550자

본문 펼치기
## Brownian Dynamics of charged particles in a constant magnetic field L. J. Hou, <sup>1, ∗</sup> Z. L. Miˇskovi´c, <sup>2</sup> A. Piel, <sup>1</sup> and P. K. Shukla <sup>3</sup> _1IEAP,_ _Christian-Albrechts_ _Universit¨at,_ _D-24118_ _Kiel,_ _Germany_ _2Department_ _of_ _Applied_ _Mathematics,_ _University_ _of_ _Waterloo,_ _Waterloo,_ _Ontario,_ _Canada_ _N2L_ _3G1_ _3Institut f¨ur Theoretische Physik IV, Ruhr-Universit¨at Bochum, D-44780, Germany_ ## Abstract Numerical algorithms are proposed for simulating the Brownian dynamics of charged particles in an external magnetic field, taking into account the Brownian motion of charged particles, damping effect and the effect of magnetic field self-consistently. Performance of these algorithms is tested in terms of their accuracy and long-time stability by using a three-dimensional Brownian oscillator model with constant magnetic field. Step-by-step recipes for implementing these algorithms are given in detail. It is expected that these algorithms can be directly used to study particle dynamics in various dispersed systems in the presence of a magnetic field, including polymer solutions, colloidal suspensions and, particularly complex (dusty) plasmas. The proposed algorithms can also be used as thermostat in the usual molecular dynamics simulation in the presence of magnetic field. PACS numbers: 52.40.Hf, 52.25.Vy, 05.40.-a ∗Electronic address: [ljhouwang@gmail.com](mailto:ljhouwang@gmail.com) I. INTRODUCTION Brownian Dynamics (BD) simulation method for many-body systems of particles immersed in a liquid, gaseous or plasma medium [1, 2, 3, 4, 5, 6, 7, 8] can be regarded as a generalization of the usual Molecular Dynamics (MD) method for many-body systems in free space. While the MD method is based on Newton’s equations of motion, the BD method is based on their generalization in the form of Langevin equation and its integral [8]: d (1) dt <sup>v</sup> <sup>=</sup> <sup>−γv +</sup> m <sup>1</sup> <sup>F + A(t),</sup> d dt <sup>r</sup> <sup>=</sup> <sup>v</sup> where, as usual, m, v and r are, respectively, the mass, velocity and position of a Brownian par ticle, whereas F is a systematic (deterministic) force coming from external fields and/or from inter-particle interactions within the system. What is different from Newton’s equations is the ap pearances of dynamical friction, −γv, and random, or Brownian acceleration, A(t). These two force components represent two complementing effects of a single, sub-scale phenomenon: nu merous, frequent collisions of the Brownian particle with molecules in the surrounding medium. While the friction represents an average effect of these collisions, the random acceleration repre sents fluctuations due to discreteness of collisions with molecules, and is generally assumed to be a delta-correlated Gaussian white noise. The friction and random acceleration are related through a fluctuation-dissipation theorem which includes the ambient temperature, therefore guaranteeing that a Brownian particle can ultimately reach thermal equilibrium within the medium [8]. The Langevin equations, Eq. (1), can be numerically integrated in a manner similar to New ton’s equations in the MD simulation, which gives rise to several algorithms for performing BD simulation, such as the Euler-like [1], Beeman-like [2, 6], Verlet-like [3], and Gear-like Predictor Corrector (PC) methods [15], as well as a wide class of Runge-Kutta-like algorithms (see, e.g., [4, 5]). All those methods were used successfully to study problems in various dispersed sys tems, such as polymer solutions [9], colloidal suspensions [10] and, in particular, complex (dusty) plasmas [11, 12, 13, 14, 15, 16]. Recently, there has been a growing interest in studying the dynamics of dust particles and dust clouds in both unmagnetized [17, 18] and magnetized dusty [19, 20, 21, 22] plasmas. The topics studied so far include, besides Brownian motion of a dust particle in an unmagnetized plasma [18], also the gyromotion of a single dust particle and rotations [19] of dust clouds [20, 21, 22] and clusters [23, 24, 25, 26] in a magnetized plasma. There have also been several theoretical proposals for studying waves and collective dynamics [27] in such magnetized plasma systems, in which dust particles are fully magnetized [28, 29, 30, 31, 32]. However, exploring those proposals in the laboratory does not seem to be quite feasible as yet, due to many constrains [28, 29, 30, 32]. Therefore, it is desirable to have algorithms for numerical experiments that can validate the existing theories, on one hand, and that can serve as a guide for future laboratory experiments, on the other hand. Since there are no such algorithms, to the best of our knowledge, we propose here a few new BD algorithms, which treat an external magnetic field in the simulation in a manner consistent with the Langevin dynamics, Eq. (1). The manuscript is organized in the following fashion. In Sec. II, we present the general for mula for a BD simulation with a constant magnetic field. Detailed implementations to the Euler-, Beeman- and Gear-like methods are given, respectively, in Sections III, IV, and V. Concluding remarks are contained in Sec. VII. II. GENERAL FORMULA FOR BD SIMULATIONS The dynamics of a charged Brownian particle in a constant external magnetic field B is de scribed by introducing the Lorentz force in the Langevin equation [7, 8] dtd <sup>v</sup> <sup>=</sup> <sup>−γv +</sup> m <sup>1</sup> m <sup>1</sup> <sup>F +</sup> mc <sup>Q</sup> mc <sup>Q</sup> <sup>v × B + A(t),</sup> d (2) dt <sup>r</sup> <sup>=</sup> <sup>v,</sup> where Q is the charge on the particle and c is the speed of light in vacuum. As usual, certain assumptions must be made about the deterministic force F in order to con struct a meaningful algorithm for a many-particle simulation from the above equation. A common approach [1, 2, 3, 6] is to assume that F is only an explicit function of time t. Thus, a Taylor series of F or, equivalently the deterministic acceleration, a ≡ F/m, can be written as 2! <sup>1</sup> <sup>a¨(0)t2 +</sup> 3! <sup>1</sup> ...a (0)t3 + · · · + n1 a(t) = a(0) + a˙ (0)t + 2! <sup>1</sup> (3) n1! <sup>a(n)(0)tn + · · ·</sup> <sup>,</sup> where a <sup>(n)</sup> represents the nth-order time derivative of a. There are various ways to derive formulas for conducting a BD simulation from the Langevin equation, Eq. (2), based on the above Taylor series. We shall adopt the strategy outlined in Refs. [1, 2, 3, 6], and more recently implemented in Refs. [7, 8], as it is simple and straightforward, especially for readers with some simulation background but without much background, or interest in stochastic calculus. The Langevin equations, Eq. (2), may be integrated analytically in a short time, based on an adopted truncation rule for the series in Eq. (3), thereby giving an updating formula for a BD simulation. (We note that detailed technique for integrating the Langevin equation is particularly well described in Refs. [7, 8].) The resultant formulas are actually expressions for the two random variables, v(t) and r(t), which, under the assumptions that the Brownian acceleration in Eq. (2) is a Gaussian white noise and that γ is constant, turn out to be normally distributed random variables, according to the _normal linear transform theorem_ [7, 8]. Therefore, the Cartesian components of the velocity v = {vx, vy, vz} and position r = {x, y, z} vectors for a Brownian particle can be expressed in terms of their respective means and variances vα(t) = mean{vα(t)} + α �var{vα(t)} N <sup>v</sup> α <sup>(0</sup> var{α(t)} N <sup>r</sup> α <sup>(0, 1),</sup> (4) <sup>r</sup> α <sup>(0, 1),</sup> <sup>v</sup> α(t) = mean{α(t)} + α �var{α(t)} N <sup>r</sup> where α takes values x, y and z, and N(0, 1) is a shorthand notation for the standard normal ran dom variable having zero mean and unit variance, the so-called _unit normal_ [7, 8]. The superscripts x attached to the components of random vectors N <sup>v</sup> = {N <sup>v</sup> x <sup>, N</sup> y <sup>v</sup> <sup>v</sup> y <sup>v, N</sup> <sup>v</sup> z <sup>v</sup> x z <sup>}</sup> <sup>and</sup> <sup>Nr</sup> <sup>=</sup> <sup>{N</sup> <sup>r</sup> x <sup>, N</sup> y <sup>r</sup> <sup>r</sup> y <sup>r, N</sup> <sup>r</sup> z <sup>r</sup> z <sup>},</sup> appearing in Eq. (4), indicate that those two sets of unit normals are associated, respectively, with the velocity and position of the Brownian particle. We note that the Cartesian components of the vector N <sup>v</sup> are mutually independent, as are the components of the vector N <sup>r</sup>, but the vectors N <sup>v</sup> and N <sup>r</sup> are correlated, as will be shown below. We should emphasize the importance of Eq. (4) because it provides a general updating formula for the BD simulation and also enables substantial simplifications in the subsequent design of our algorithm. Now, solving the stochastic differential equation, Eq. (2), and obtaining the two random variables v(t) and r(t), is simply reduced to determining the two sets of deterministic quantities, the means and variances of v(t) and r(t), as well as their covariances, assuming an appropriate truncation scheme for the deterministic acceleration, Eq. (3). To simplify the notation, in the following we shall denote the velocity and position means, respectively, by ⟨vα⟩≡ mean{vα} and ⟨α⟩≡ mean{α}, and we shall use standard deviations σ instead of variances. A. Variances and covariances We begin with variances and covariances because they do not depend on the form of determin istic acceleration, a(t). It should be noted that random increments in the velocity do not depend explicitly on the magnetic field and are therefore isotropic. The corresponding variances are then given by var{vx} = var{vy} = var{vz} = var{v} = σv <sup>2, where</sup> σv = kBT (5) m <sup>(1 −</sup> <sup>e−2γt),</sup> with kB being the Boltzmann constant and T the temperature of the medium. [It should be noted that in an equilibrium between the Brownian particle and the medium, T is also the kinetic tem perature of the Brownian particle. However, Brownian particles may have kinetic temperature that is different from T, which opens a possibility of simulating non-equilibrium processes by using the BD]. However, random displacements of the position do depend explicitly on the magnetic field and therefore are non-isotropic. Let us assume B = {0, 0, B} and define Ω= QB/(cm) to be ⊥ the gyrofrequency of a Brownian charged dust particle. Then, we have var{x} = var{y} = σ <sup>2</sup> ⊥ the gyrofrequency of a Brownian charged dust particle. Then, we have var{x} = var{y} = σ <sup>2</sup> and var{z} = σ∥ <sup>2,</sup> <sup>where</sup> <sup>σ⊥</sup> <sup>and</sup> <sup>σ∥</sup> <sup>are,</sup> <sup>respectively,</sup> <sup>standard</sup> <sup>deviations</sup> <sup>of</sup> <sup>the</sup> <sup>position</sup> <sup>in</sup> <sup>the</sup> ∥ <sup>2,</sup> <sup>where</sup> <sup>σ⊥</sup> <sup>and</sup> <sup>σ∥</sup> <sup>are,</sup> <sup>respectively,</sup> <sup>standard</sup> <sup>deviations</sup> <sup>of</sup> <sup>the</sup> <sup>position</sup> <sup>in</sup> <sup>the</sup> directions perpendicular and parallel to the external magnetic field [7, 8]. In particular, we find γ <sup>2</sup> �γ <sup>2</sup> + Ω + <sup>1 −</sup> <sup>e−2γt</sup> γt <sup>e−γt</sup> 2γt , γ <sup>2</sup> + Ω <sup>2</sup> 1 γt 1 + <sup>1 −</sup> <sup>e−2γt</sup> <sup>e−2γt</sup> 2γ <sup>2</sup> 2γt - γ <sup>2</sup> + Ω σ⊥ = t γ <sup>2</sup> + Ω <sup>2</sup> 2kT m 1 − e <sup>−γt</sup> (cos Ωt − <sup>Ω</sup> γ <sup>sin Ωt)</sup> γt 2kT - mγt �1 − 2 <sup>1 −</sup> γt <sup>e−γt</sup> . (6) σ∥ = t 2γt Furthermore, we have (6 × 5)/2 covariances [7, 8], most of which are zeros. The non-zero covariances are cov{vx, x}, cov{vy, y}, cov{vx, y}, cov{vy, x} and cov{vz, z} [7, 8] (here, we use the definition cov{X, Y } = ⟨XY ⟩−⟨X⟩⟨Y ⟩ for the covariance of two random variables, X and Y ). In particular, we obtain [7, 8] , 1 + e <sup>−2γt</sup> - 2e <sup>−γt</sup> cos Ωt - K ≡ cov{x, vx} = cov{y, vy} = t <sup>kT</sup> m 1 γt γ <sup>2</sup> γ <sup>2</sup> + Ω <sup>2</sup> , γΩ γ <sup>2</sup> + Ω <sup>2</sup> 1 − e <sup>−2γt</sup> - 2e <sup>−γt γ</sup> Ω <sup>sin Ωt</sup> H ≡ cov{y, vx} = −cov{x, vy} = t <sup>kT</sup> m 1 γt L ≡ cov{vz, z} = tmγt <sup>kT</sup> �1 − 2e <sup>−γt</sup> + e <sup>−2γt�</sup> . (7) We note that, when B → 0, i.e., Ω → 0, one has H → 0 and K → L, so that σ⊥ → σ∥, recovering the results for systems without magnetic field [8]. B. Mean values Given the expression for a(t) in terms its Taylor series in Eq. (3), one can obtain the means ⟨v⟩ = {⟨vx⟩, ⟨vy⟩, ⟨vz⟩} and ⟨r⟩ = {⟨x⟩, ⟨y⟩, ⟨z⟩} in a number of ways by integrating Eq. (2). For simplicity, we follow here Lemons’ methodology [7, 8], in which Eq. (2) is reduced to a set of deterministic (ordinary) differential equations by taking expectation values of both sides ⟨v⟩ dt = −γ⟨v⟩ + a(t) + mc <sup>Q</sup> d⟨v⟩ (8) mc <sup>Q</sup> <sup>⟨v⟩× B,</sup> d⟨r⟩ dt = ⟨v⟩, and using the fact that the Brownian acceleration A(t) is a Gaussian white noise with mean 0. Equation (8) can be integrated analytically by assuming that initial conditions r0, v0, a0, ˙a0, ¨a0, <sup>...</sup> a 0, . . ., a <sup>(</sup> 0 <sup>n)</sup> <sup>(</sup> 0 <sup>n), are known at t = 0.</sup> <sup>One ends up with</sup> 0 ⟨r⟩ = r0 + I1 · v0t + I2 · a0t <sup>2</sup> + I3 · ˙a0t <sup>3</sup> + · · · + In · a <sup>(n−2)</sup> 0 <sup>(n−2)</sup> t <sup>n</sup> + · · ·, 0 ⟨v⟩ = I0 · v0 + I1 · a0t + I2 · ˙a0t <sup>2</sup> + I3 · ¨a0t <sup>3</sup> + · · · + In · a <sup>(n−1)</sup> 0 (9) <sup>(n−1)</sup> t <sup>n</sup> + · · · . With the assumption B = {0, 0, B}, the matrices In are given by cn bn 0 In =   −bn cn 0 0 0 dn , (10) where b0 = e <sup>−γt</sup> sin Ωt c0 = e <sup>−γt</sup> cos Ωt d0 = e <sup>−γt</sup>, (11) for n = 0, and Ωγ bn = γ <sup>2</sup> + Ω <sup>2</sup> γ <sup>2</sup> cn = γ <sup>2</sup> + Ω <sup>2</sup> 1 (n − 1)!γt 1 (n − 1)!γt 1 − (n − 1)!cn−1 − Ω <sup>γ</sup> <sup>(n −</sup> <sup>1)!bn−1</sup> 1 − (n − 1)!cn−1 + <sup>Ω</sup> γ <sup>(n −</sup> <sup>1)!bn−1</sup> 1 dn = (n − 1)!γt <sup>[1 −</sup> <sup>(n −</sup> <sup>1)!dn−1],</sup> (12) for n ≥ 1. It is interesting to note that the coefficients satisfy very simple recursive relations d dt <sup>(bntn) = bn−1tn−1,</sup> d dt <sup>(cntn) = cn−1tn−1,</sup> d dt <sup>(dntn) = dn−1tn−1.</sup> (13) A special yet important case would be that of B = 0, i.e. Ω= 0, and consequently bn = 0 and cn = dn, so that In becomes a diagonal matrix with the diagonal elements being dn and, Eq. (9) reads as [15] 0 ⟨r⟩B=0 = r0 + d1v0t + d2a0t <sup>2</sup> + d3 ˙a0t <sup>3</sup> + · · · + dna <sup>(n−2)</sup> 0 <sup>(n−2)</sup> t <sup>n</sup> + · · ·, 0 ⟨v⟩B=0 = d0v0 + d1a0t + d2 ˙a0t <sup>2</sup> + d3¨a0t <sup>3</sup> + · · · + dna <sup>(n−1)</sup> 0 (14) <sup>(n−1)</sup> t <sup>n</sup> + · · · . Further, when γ → 0, cn and dn reduce to the usual coefficients of a Taylor series. C. General updating formula With the variances, covariances and means known, the updating formula for a BD simulation can be further written in a compact form as [7, 8] v(t) = ⟨v⟩ + σvN1(0, 1), (15) r(t) = ⟨r⟩ + I · N1(0, 1) + J · N2(0, 1), where σv  (16) K σv I =   σv - <sup>H</sup> σHv 0 σKv 0 0 0 σLv and 0 �σ⊥ <sup>2</sup> 0 ⊥ <sup>2</sup> <sup>−</sup> <sup>K</sup> σv <sup>22</sup> σv <sup>2</sup> <sup>K</sup> σv <sup>22</sup> <sup>−</sup> <sup>H</sup> <sup>2</sup> 0 σv <sup>2</sup> <sup>2</sup> 0 0 σv <sup>2</sup> <sup>2</sup> �σ⊥ <sup>2</sup> ⊥ <sup>2</sup> <sup>−</sup> <sup>K</sup> σv <sup>22</sup> 0 0 �σ∥ <sup>2</sup> vectors N1(0, 1) and N2(0, 1), σv <sup>2</sup> <sup>K</sup> σv <sup>22</sup> <sup>−</sup> <sup>H</sup> <sup>2</sup> σv <sup>2</sup> <sup>2</sup> σv <sup>2</sup> ∥ <sup>−</sup> <sup>L2</sup> J =     . (17) having statistically independent The unit normal vectors N1(0, 1) and N2(0, 1), besides each having statistically independent Cartesian components, are also by design statistically independent from each other, and may be generated by the Box-Muller method [33] on a computer. As expected, when B = 0, I and J become diagonal matrices with their diagonal elements being L/σv and �σ∥ <sup>2</sup> ∥ <sup>2</sup> <sup>−</sup> <sup>L2/σv2, respectively, in which case Eqs. (15) become</sup> vB=0(t) = ⟨v⟩ + σvN1(0, 1), rB=0(t) = ⟨r⟩ + σ <sup>L</sup> v σv <sup>2</sup> N1(0, 1) + σ <sup>2</sup> <sup>2</sup> ∥ <sup>−</sup> <sup>L</sup> σv <sup>22</sup> N2(0, 1). (18) It is worthwhile to point out that the updating formulae, Eqs. (15) and (18), can be actually interpreted as a two-step algorithm: first, one calculates the means of the velocity and position at time t, and secondly, one adds explicitly random displacements (ERDs) of velocity and position. This is very important in the sense that the first step is nothing more than solving deterministic Newton’s equations with damping, so in principle many algorithms suitable for the MD simulation (for example, the Verlet, Beeman and even multi-step PC algorithms [6, 34]) can be used here. On the other hand, the second step is independent of the first one, and can always be performed at the end of the time step as a correction to the previous step. However, Eqs. (9) and (14) are still not very suitable for computer simulations, because they involve high-order derivatives of acceleration, which are not directly accessible in simulations. Further assumptions must be made about a(t), and different ways of handling that issue then result in different simulation methods, such as the Euler-like, Beeman-like, Verlet-like and Gear like methods. III. EULER-LIKE METHOD In the Euler-like method [1], it is assumed that F = F(0), or a = a(0) = constant in the time interval [0, t]. Under this assumption, the velocity and position means are, respectively, given by ⟨r⟩EL = r0 + I1 · v0t + I2 · a0t <sup>2</sup>, (19) ⟨v⟩EL = I0 · v0 + I1 · a0t, where the subscript EL in Eq. (19) is added to indicate reference to the Euler-like method. The special case of zero magnetic field can be simplified to [1] ⟨r⟩EL,B=0 = r0 + d1v0t + d2a0t <sup>2</sup>, (20) ⟨v⟩EL,B=0 = d0v0 + d1a0t. The procedure for implementing the simulation by using Euler-like method is as follows: (a) Evaluate Eq. (19) [or Eq. (20) in the case of zero magnetic field] for the means of velocity and displacement, given the initial conditions v0, r0 and a0 at t = 0. (b) Generate two independent random vectors, N1(0, 1) and N2(0, 1), which follow the standard normal distribution (this may be usually done by using the Box-Muller method [33]), and sub stitute them into Eq. (15) [or Eq. (18) in the case of zero magnetic field], along with the means obtained in the first step. (c) After the above two steps, a force evaluation is done, which will provide an initial condition for a0, along with the updated position and velocity, to be used in the next step. IV. THE BEEMAN-LIKE METHOD In the Beeman-like method [2, 6], one has ⟨r⟩BL = r0 + I1 · v0t + I2 · a0t <sup>2</sup> + I3 · ˙a0t <sup>3</sup>, ⟨v⟩BL = I0 · v0 + I1 · a0t + I2 · ˙a0t <sup>2</sup> + I3 · ¨a0t <sup>3</sup> . (21) Note that, according to the Beeman algorithm [2, 6], terms through first order in t, i.e., a(t) = a0 + ˙a0t, are kept in the expression for ⟨r⟩BL, and terms through second order in t, i.e., a(t) = 2! <sup>1</sup> <sup>¨a0t2, are kept in ⟨v⟩BL.</sup> a0 + ˙a0t + 2! <sup>1</sup> However, the above expressions are not yet suitable for a one-step simulation method [34], as they contain derivatives of the acceleration, which have to be replaced by a finite difference for mula in terms of a(0), a(−t) and a(t). Thus, we obtain the schemes of the Beeman-like algorithm [2, 6], ⟨r⟩BL = r0 + Ia · v0t + Ib · a0t <sup>2</sup> + Ic · a−tt <sup>2</sup>, (22) (23) ⟨v⟩BL = Id · v0 + Ie · att + If - a0t + Ig · a−tt, where at ≡ a(t), a−t ≡ a(−t), and Ia = I1, Ib = I2 + I3, Ic = −I3 Id = I0, Ie = I2 − I0I3/I1, If = I1 − I2 + 2I0I3/I1, Ig = −I0I3/I1. [Note that, here, matrix operations should be understood as direct element operations, e.g., (I0I3)ij = I0,ijI3,ij.] In the special case of zero magnetic field, Eqs. (23) and (22) can be simplified to [2] with ⟨r⟩BL,B=0 = r(0) + cav(0)t + cba(0)t <sup>2</sup> + cca(−t)t <sup>2</sup>, (24) (25) ⟨v⟩BL,B=0 = cdv(0) + cea(t)t + cf a(0)t + cga(−t)t, ca = d1, cb = d2 + d3, cc = −d3 cd = d0, ce = d2 − d0d3/d1, cf = d1 − d2 + 2d0d3/d1, cg = −d0d3/d1. Implementation of the Beeman-like method is also based on Eq. (15), and the detailed simula tion procedure is listed in the following: (a) Evaluate Eq. (22) [or Eq.(24)] for the mean of displacement, given the initial conditions v0, r0 and a0 at t = 0, and a(−t) at time −t. (b) Evaluate a new deterministic acceleration a(t) based on the new position obtained in the pre vious step. (c) Evaluate Eq. (23) [or Eq.(25)] for the mean of velocity, given the initial conditions v0 and a0 at t = 0, and a(−t) at time −t, as well as the newly obtained acceleration a(t) in the previous step. [Note that, if one uses a periodic boundary condition, it should be applied before this step.] (d) Generate two independent random vectors, N1(0, 1) and N2(0, 1), which follow the standard normal distribution, and substitute them into Eq. (15) along with the means obtained in the steps (a) and (c). (e) Apply periodic boundary condition again if using it. As one can see, the difference compared to the Euler-like method, is that here one has to do the force evaluation after the position update, but before the velocity update, in every time step, and one has to store the force value of the last step to be used for a(−t). In addition, one needs to apply the periodic boundary condition twice. Let us note that the Verlet-like method [3] was based on similar assumptions for a(t) as the Beeman-like method, and it was proven [2] that the Verlet-like method is numerically equivalent to the Beeman-like method in the position, while the latter seems to have a better accuracy in the velocity. Therefore, extensions of the Verlet-like method are not presented here. V. GEAR-LIKE PREDICTOR-CORRECTOR METHOD A Gear-like Predictor-Corrector (PC) method for BD [15] can be constructed in a direct analogy with the Gear method for MD simulations. Our Gear-like method also includes three stages, namely, predicting, force evaluating, and correcting [6, 34], as in the MD simulation, but the difference here is that one has to add explicit random displacements of velocity and position by using Eq. (15) at the end of time step to complete the BD simulation. The basic procedure goes as follows. A. Predicting In the predicting stage, one has ⟨r⟩ <sup>P</sup> = r0 + I1 · v0t + I2 · a0t <sup>2</sup> + I3 · ˙a0t <sup>3</sup> + I4 · ¨a0t <sup>4</sup> + I5 · <sup>...</sup> a 0t <sup>5</sup>, ⟨v⟩ <sup>P</sup> = I0 · v0 + I1 · a0t + I2 · ˙a0t <sup>2</sup> + I3 · ¨a0t <sup>3</sup> + I4 · <sup>...</sup> a 0t <sup>4</sup>, 2! <sup>1</sup> <sup>a¨0t2 +</sup> 3! <sup>1</sup> ...a 0t3, a <sup>P</sup> = a0 + a˙ 0t + 2! <sup>1</sup> ˙a <sup>P</sup> = ˙a0 + ¨a0t + <sup>1</sup> <sup>1</sup> ...a 0t2, 2! 2! a¨ <sup>P</sup> = ¨a0 + <sup>...</sup> a 0t, ...a P = ...a 0, (26) where the superscript P indicates that these are quantities in the predicting stage. For simplicity, we have dropped in the above all derivatives of a(t) higher than the third order, but we note that extensions to higher orders are quite straightforward. One notices in Eq. (26) that we have used Eq. (9) for the means of position and velocity, instead of using Taylor series for position and velocity which usually provide a basis for implementing the Gear method in the MD simulation [6, 34]. In the case of zero magnetic field, one simply needs to replace the means of velocity and position given by Eq. (14), instead of Eq. (9). The rest of the algorithm (derivatives of the force) is essentially the same as in the MD. B. Force evaluating In the next step, the predicted position r <sup>P</sup> (t) is used to obtain a new force, or deterministic ac celeration a(t), and a difference between the predicted acceleration a <sup>P</sup> (t) and the new acceleration a(t) is calculated as ∆a ≡ a(t) − a <sup>P</sup> (t). (27) It can be seen that this step is exactly the same as the one normally used for the Gear method in MD [6, 34]. C. Correcting In the correcting stage, the above difference term is further used to correct all predicted posi tions and their ”derivatives”, thus giving ⟨r⟩ <sup>C</sup> = ⟨r⟩ <sup>P</sup> + 2α0I2 · ∆R, ⟨v⟩ <sup>C</sup> t = ⟨v⟩ <sup>P</sup> t + α1I1 · ∆R, a <sup>C</sup> t <sup>2</sup> <sup>C</sup> t <sup>2</sup> = <sup>aP</sup> <sup>t2</sup> 2! 2! <sup>C</sup> t <sup>3</sup> = <sup>˙aP</sup> <sup>t3</sup> 3! 3! <sup>C</sup> t <sup>4</sup> = <sup>¨aP</sup> <sup>t4</sup> 4! 4! a <sup>C</sup> t <sup>2</sup> ˙a <sup>C</sup> t <sup>3</sup> <sup>P</sup> <sup>t2</sup> + α2∆R, 2! <sup>P</sup> <sup>t3</sup> + α3∆R, 3! ¨a <sup>C</sup> t <sup>4</sup> = <sup>¨aP</sup> <sup>t4</sup> + α4∆R, ...a C4!t5 ...a4! P t5 = 5! ...a4! P t5 + α5∆R, (28) 5! where (29) ∆R ≡ <sup>∆</sup> 2! <sup>at2</sup> <sup>,</sup> and the coefficients αi are given in the Table I. Note that the table is simply a reproduction of those appearing in Refs. [6, 34], and is given here for completeness. By using parameters in different columns of that table, one can achieve 3rd-, 4th-, and 5th-order (or 4-, 5- and 6-value) [6, 34] Gear-like algorithms for the BD simulation. Note that the first two equations in Eq. (28) are slightly different from those in the MD in order to restore the damping effect on deterministic acceleration, and to maintain consistence with the corresponding terms in Eq. (9) [or the first two equations in Eq. (26)] as well. In the case of zero magnetic field, one simply replaces I0 and I1 in Eq. (28) by d0 and d1, respectively. TABLE I: Coefficients used in correcting stage of Gear-like PC method. Note that the table is simply a reproduction of those appearing in Refs. [6, 34]. αi 3th-order 4th-order 5th-order α0 1/6 19/120 3/16 α1 5/6 3/4 251/360 α2 1 1 1 α3 1/3 1/2 11/18 α4 0 1/12 1/6 α5 0 0 1/60 D. Adding explicitly random displacements (ERDs) To complete the BD simulation, we have to use the updating formula, Eq. (15), to add ERDs of the velocity and position. It should be noted that now the corrected value ⟨r⟩ <sup>C</sup> and ⟨v⟩ <sup>C</sup> must be used, respectively, in the places of ⟨r⟩ and ⟨v⟩ in Eq. (15). We summarize the basic steps for implementing the Gear-like PC method: (a) Eq. (26) is used to calculate predicted values of the position, velocity, acceleration and its derivatives, given the initial conditions, r0, v0, a0, ˙a0, ¨a0 and <sup>...</sup> a 0, at t = 0. Note that, for the very first few steps of the simulation, ˙a0, ¨a0 and <sup>...</sup> a 0 are undefined. The simplest way to get around this issue is to simply set all of them to zero at the very first step, and their values then will be updated during subsequent iterations. A better way would be to start the simulation by using a Runge-Kutta procedure for the first few steps [34]. However, neither of these alternatives will have any significant effects on the results in real many-particle simulations. (b) Evaluate new acceleration a(t) by using the predicted position ⟨r⟩ <sup>P</sup>, and calculate its differ ence with the predicted value a <sup>P</sup> (t) by using Eq. (27). [Note that, if one uses periodic boundary condition, it should be applied before the force evaluation.] (c) Correct the predicted values of the position, velocity, acceleration and its derivatives by using Eq. (28). (d) Generate two independent random vectors, N1(0, 1) and N2(0, 1), which follow the standard normal distribution, and substitute them into Eq. (15) together with the corrected values ⟨r⟩ <sup>C</sup> and ⟨v⟩ <sup>C</sup> . (e) Apply periodic boundary condition again if using it. The above is a basic procedure for using the Gear-like PC method for the BD. One might have noticed that the formulas, as well as the simulation procedure, are quite similar to those used in the Gear method for the MD based on Newton’s equations [6, 34], apart from our use of Eqs. (26) and (29) to express the velocity and position, as well as the addition of ERDs at the end of every time step. Also, when B = 0 and γ → 0, the Gear-like method goes over to the Gear method for MD simulation. VI. TESTING THE ALGORITHMS In the above we have developed numerical algorithms for simulating Brownian dynamics of charged particles in an external magnetic field. But how accurate are they in describing the actual Brownian motion? To answer this question, we present in this section some simple computational examples as testing cases and compare the performances of different algorithms presented above. For simplicity, we shall occasionally denote the Euler-like, Beeman-like, Verlet-like and Gear-like methods by EL, BL, VL, and GL, respectively. As the simplest test cases, one could adopt comparison of the numerical results with the ana lytical results for some simple model problems, such as the classical harmonic oscillator, which had been used extensively to test algorithms for the MD simulation (see for example Ref. [34] and [35] for nice reviews). We follow here the same logic and employ the model of a three dimensional (3D) Brownian-harmonic-oscillator (BHO) in an external magnetic field [40], for which the Langevin equation (2) is reduced to dvx 0 <sup>2x + Ωvy</sup> <sup>+ Ax(t),</sup> 0 dt = −γvx − ω <sup>2</sup> dvy dt = −γvy − ω0 <sup>2</sup> dvy 0 <sup>2y −</sup> <sup>Ωvx + Ay(t),</sup> dvz 0 <sup>2z + Az(t).</sup> (30) z 0 dt = −γvz - ω <sup>2</sup> Since the magnetic field is in the z direction of the Cartesian coordinate system, two independent processes take place. In the z direction, the magnetic field does not have any effect on Brownian motion, so the Brownian particle behaves like a one-dimensional stochastically-damped harmonic oscillator [8, 36], while in the directions perpendicular to the magnetic field, i.e., in the xy plane, 0.5 1 0.5 0 −0.5 −1 1 0.5 Analytical Mean position Mean velocity <u>Numerical</u> 1 0.5 0 −0.5 −1 0.5 1 0 0 0.5 0 −0.5 0 −1 −0.5 −0.5 y −1 −0.5 x vy −0.5 −0.5 vx −0.5 FIG. 1: (Color online) Mean position (left) and mean velocity (right) of a Brownian oscillator in magnetic field during 200 time units, with γ = 0.02, ω0 = 1/√ 2, Ω= 0.5 and ∆t = 0.02. Initial conditions are x0 = 1.0, y0 = 0, z0 = 1.0 and vx0 = vy0 = vz0 = 0. Solid lines are the result of analytical solutions [40], and circles are the numerical results calculated by using the GL-5 method. Brownian motion is much more complicated because of the coupling between the motions in the x and y directions via magnetic field. It is curious to note that, although the analytical solution for a BHO without magnetic field had been known for well over a half of the century [36], the problem of BHO in an external magnetic field has been solved analytically only very recently by Jim´enez-Aquino _et al._ [40]. Of course, the dynamics a BHO in magnetic field can be also traced by using the above de scribed numerical methods. It is important to realize that, although the physical model for a BHO in magnetic field, Eq. (30), involves a very simple deterministic acceleration which depends on the particle’s position, it nevertheless provides a good test for our assumption that this acceleration depends on time only, and to examine the effects of various truncation schemes for the Taylor series representation of this acceleration, i. e., Eq. (3). The results of our numerical simulations of the BHO in a magnetic filed will be compared with the corresponding explicit analytical solutions, for which we refer the reader to the original reference [40]. By doing so, one can evaluate the accuracy and performance of the numerical methods and validate the assumptions made in their derivation. The results will serve as a basic reference for future simulations of more complicated systems, such as magnetized dusty plasmas [35]. 200 150 100 50 1 <sup>0</sup> Mean position Analytical Mean velocity <u>Numerical</u> 200 150 100 50 0.5 <sup>0</sup> 0.5 0 0 0.5 0 0.5 −0.5 0 −0.5 −1 −0.5 y −1 −0.5 x vy −0.5 vx −0.5 FIG. 2: (Color online) Components of the mean position (left) and mean velocity (right) in the xy plane of a Brownian oscillator in magnetic field during 200 time units, with γ = 0.02, ω0 = 1/√ 2, Ω= 0.5 and ∆t = 0.02. Initial conditions are the same as in fig. 1. Solid lines are the result of analytical solutions [40], and circles are the numerical results calculated by using the GL-5 method. Dashed lines are projections of the analytical results on the xy plane. According to the above discussion, and particularly referring to Eq. (15), the task of a BD simulation is simply to predict the position r(t) and velocity v(t) of a Brownian particle at time t, given the set of initial conditions at time 0. Since r(t) and v(t) can be obtained numerically in two-steps, first, by calculating the means of the velocity and position at time t and, second, by adding the ERDs of velocity and position, the performance of a BD simulation will be examined by testing the accuracy of both steps. We begin by testing the first step, i.e., calculating the means. A. Inaccuracy in calculating the means Without any loss of generality, here and in the subsequent simulations we set kBT = 1, m = 1 2/2, and choose the initial conditions to be x0 = 1.0, y0 = 0, z0 = 1.0 and vx0 = and ω0 = √ vy0 = vz0 = 0. We first present in Fig. 1 examples of full 3D trajectories of the mean position and velocity for a BHO in 200 time units, with γ = 0.02, Ω= 0.5 and the time step size ∆t = 0.02. Solid lines are the results of the analytical solutions [Eqs. (B23)-(B34) in [40]], while the circles are numerical 5 0 −5 2 0 −2 5 0 x vx −5 2 0 GL−5 GL−4 GL−3 BL EL −2 0.2 0 −0.2 0 50 100 150 200 t FIG. 3: (Color online) Deviations of the mean x (solid lines) and mean vx (dashed lines) values from the analytical solutions [40] using different methods (from top to bottom: GL-5, GL-4, GL-3, BL and EL), with γ = 0.02, ω0 = 1/√ 2, Ω= 0.5 and ∆t = 0.02. Initial conditions are the same as in Fig. 1. Note the magnitudes of the errors. results calculated by using the GL-5 method. One might be particularly interested in the motion in the directions perpendicular to the magnetic field, which is shown in Fig. 2 as the time evolutions of the mean position and the mean velocity in the xy plane. We have found that details in the trajectory patterns strongly depend on the initial conditions and on the values of ω0 and Ω, but the general tendency in trajectories is the same. Without Brownian acceleration, the initial energy of the oscillator would be sooner or later consumed by the damping, and the oscillator would come to rest at x = y = z = 0 after long enough time. One sees from Figs. 1 and 2 that the numerical results agree very well with the analytical solutions. Good visual agreements were also found with numerical results of the GL-4, GL-3 and BL. However, quantitatively, they are quite different, as is shown in the following. 5 0 −5 5 0 −5 1 0 −1 4 0 −4 0.2 0 −0.2 <u>GL−5</u> <u>GL−4</u> <u>GL−3</u> <u>BL</u> EL z vz 0 50 100 150 200 t FIG. 4: (Color online) Deviations of the mean z (solid lines) and mean vz (dashed lines) from the analytical solutions [40] using different methods (from top to bottom: GL-5, GL-4, GL-3, BL and EL) in 200 time units, with γ = 0.02, ω0 = 1/√ Note the magnitude of the errors. 2, Ω= 0.5 and ∆t = 0.02. Initial conditions are the same as in Fig. 1. Figures 3 and 4 display deviations (differences) of the numerical results for the means of the position and velocity from the corresponding analytical results [40] in 200 time units, under the same conditions as in Fig. 1. Only deviations in the x and z directions are shown in Figs. 3 and 4, respectively, as those in the y direction are essentially the same as those for x, apart from a phase shift. The oscillatory patterns of deviations in the position and velocity approximately resemble those of the full solutions in Fig. 1, but they have much smaller amplitudes. One can observe the differences in magnitude of deviations for different methods, with the GL-5 method having the smallest deviations and therefore highest accuracy in both the x and z directions, while the EL method exhibits the largest deviations, as can be expected from our previous comparisons of these methods. It should also be noted that the performance of these methods is different in the x −2 10 −4 10 −6 10 −8 10 EL BL GL−3 GL−4 GL−5 −10 10 −1 0 10 10 Ω FIG. 5: (Color online) The largest deviation in the position (x-component) from the corresponding ana lytical solution [40] in the first 20 time units versus Ω, showing the dependence of inaccuracy of different methods on the magnetic field, with ω0 = 1/√ 2, γ = 0.02 and ∆t = 0.02. and z directions. One sees generally higher accuracy in the z direction for the Gear-like methods, while the BL and EL methods have similar accuracies in the two directions. This indicates that the presence of the magnetic field also affects the accuracy of the computation. A more detailed analysis of the dependence of the accuracy on the magnitude of magnetic field is shown in Fig. 5, where the largest deviations of the position in the x direction from the corresponding analytical solution [40] are recorded in the first 20 time units (which is a convention for the measure of accuracy [6, 34]) and are plotted versus Ω for different methods. One observes that, with the increase of the magnetic field intensity, the largest deviation of the EL method remains almost constant, while that of the BL method initially stays constant, but drops slightly when Ω - 1.0. The tendency observed in the Gear-like methods is the opposite. The initially excellent accuracy deteriorates with increasing magnetic field. The one with the highest accuracy, i.e., the GL-5 method is affected the most, as is shown. A similar scaling rule applies to simulations with other time steps and damping rates, as discussed next. We make comparisons involving different time steps because that is always a key issue in both 100 10−3 10−6 10−9 γ =0.01 γ =0.1 γ =1.0 10−12 10−2 10−1 GL−3 GL−4 GL−5 EL <u>BL</u> 10−2 10−1 ∆ t 10−2 10−1 FIG. 6: (Color online) The largest deviation in the position (z-component) from the corresponding analytical solution [40] in the first 20 time units versus time step size ∆t, with ω0 = 1/√ methods and different γ values. 2 and Ω= 0, for different the MD and BD simulations. Fig. 6 shows the largest deviations (defined by the largest deviation in the first 20 units) of the position in the z direction versus the size ∆t of the time step for different methods and different friction coefficients γ. This figure is plotted in a double logarithmic scale, and the curves are nearly straight lines. The slope of these lines is called the _apparent order_ [34], illustrating the dependence of the error on the time step size. Namely, if the error is found to be proportional to ∆t <sup>p</sup>, then the exponent p is the _apparent order_ . It is found that for very small γ, for example γ = 0.01, as shown in Fig. 6, the apparent orders are pEL ≈ 1, pBL ≈ 2, pGL−3 ≈ 3.5, pGL−4 ≈ 4.2 and pGL−5 ≈ 4.6, respectively for the Euler-like, Beeman-like, 3rd-, 4th-, and 5th order Gear-like methods. These values are very close to those from the MD simulations where damping is absent [34], which proves the consistency of our computation. When γ increases, the absolute value of the error for Euler-like and Beeman-like methods decreases, while pEL and pBL remain almost unchanged. On the other hand, pGL−3, pGL−4 and pGL−5 slightly decrease with increasing γ. For example, for γ = 1, as shown in Fig. 6, the Gear-like methods have the worst performance in accuracy: their apparent orders become now pGL−3 ≈ 3.1, pGL−4 ≈ 3.9 and pGL−5 ≈ 4.0), but the magnitudes of their errors are still much smaller than those of the Beeman-like and Euler-like methods. All the above tests show that the numerical methods, especially the Gear-like methods and Beeman-like method, can describe the mean values of the movement of a BHO with sufficiently 2 2 0 −2 2 Position Analytical Velocity <u>Numerical</u> 2 0 −2 2 2 0 0 0 −2 −2 0 −2 y −2 x vy −2 −2 vx −2 FIG. 7: (Color online) Position (left) and velocity (right) of a Brownian oscillator in a magnetic field during 200 time units, with γ = 0.02, ω0 = 1/√ 2, Ω= 0.5 and ∆t = 0.02. Initial conditions are the same as in Fig. 1. Solid lines are the result of analytical solutions [40], and circles are the numerical results calculated by using the GL-5 method. high accuracy. B. Total inaccuracy The tests carried out in this sub-section are similar to those in the previous one, but with the addition of the ERDs in both the position and velocity. We first show in Fig. 7 full trajectories of the BHO in 200 time units, under the same condition as in Fig. 1. Again, solid lines show results of the analytical solutions [40], while circles are the numerical results calculated by using the GL-5 method. Motion of the BHO in the xy plane under the influence of magnetic field is shown in Fig. 8. One observes in both figures that the numerical results of the GL-5 method again agree very well with the analytical results. Before giving a more quantitative analysis of the full deviations including the ERDs by using different methods, we comment on the accuracy in variances and covariances, Eqs. (6) and (7), which will help to better understand the deviations in full trajectories. In deriving Eqs. (6) and (7), we used the assumption that the deterministic force is an explicit function of time only, and we truncated the Taylor series representation for that force. However, in many realistic problems 200 150 100 50 0 2 Position Analytical Velocity <u>Numerical</u> 200 150 100 50 −2 0 2 1 0 −1 −2 2 0 0 2 0 −2 −2 −2 −2 y x vy −2 −2 vx FIG. 8: (Color online) The xy components of the position (left) and velocity (right) of a Brownian oscillator in a magnetic field during 200 time units, with γ = 0.02, ω0 = 1/√2, Ω= 0.5 and ∆t = 0.02. Initial conditions are the same as in Fig. 1. Solid lines are the result of analytical solutions [40], and circles are the numerical results calculated by using the GL-5 method. Dashed lines are projections of the analytical results on the xy plane. and in the models such as the BHO, the deterministic force depends explicitly on the particle position only. While we have seen in the previous sub-section that this assumption can provide a sufficiently accurate description of the means of the position and velocity for a BHO, a question remains as to how does this assumption affect the calculation of variances and covariances, i.e. the explicitly random part of displacements. This is addressed in Fig. 9 which depicts relative deviations of the variances and covariances computed by the GL-5 method from the corresponding analytical results [Eqs. (26)-(34) in [40]] versus the time step size ∆t for γ = 0.02 and Ω= 0.5. (Note that, in the specific case of zero magnetic field, the analytical results of [40] are identical to those of Refs. [8, 36].) All deviations are seen to increase in Fig. 9 with increasing ∆t. In the log-log scale, all results form a cluster of parallel straight lines with a slope of about 2.5, indicating an apparent order of approximately 2.5. Judging by both the magnitude of deviations and by the apparent order, the accuracy for variances and covariances displayed in Fig. 9 is much lower than the accuracy for the means shown in Fig. 6. One would expect that the total accuracy of an algorithm will be largely determined by the accuracy of that part of the algorithm which has the lowest accuracy. −2 10 −3 10 −4 10 −5 10 <u>σ⊥/σ⊥,e − 1</u> σ||/σ||,e − 1 σv/σv,e − 1 cov{x,vx}/cov{x,vx}e − 1 cov{y,vx}/cov{y,vx}e − 1 −6 10 −2 −1 10 ∆ t 10 FIG. 9: (Color online) Deviations of variances and covariances from the corresponding analytical solutions √ [40] versus the time step size ∆t, for ω0 = 1/ 2, γ = 0.02 and Ω= 0.5. As before, we next carry out simulations over certain periods and record full deviations (means plus ERDs) of the position and velocity from the corresponding analytical results [40]. All results are assembled in Fig. 10 for different methods in 200 time units, with ∆t = 0.02, γ = 0.02 and Ω= 0.5. One sees that, for all Gear-like methods the amplitude of the full deviation is about 10 <sup>−4</sup>, which coincides with the corresponding deviation of cov{x, vx} shown in Fig. 9. This indicates that, for the Gear-like methods, the errors in calculation come mainly from the evaluation of variances and covariances, that is, from the addition of the ERDs. On the other hand, for the Beeman-like method and particularly for the Euler-like method, the magnitudes of the full deviations are larger than those of the deviations of variances and covariances shown in Fig. 9. This implies that the errors introduced by addition of the ERDs might have been amplified during the calculation of the means. All in all, the dramatic differences in deviations in the x and z directions seen between different methods in Figs. 3, 4 and 5 have disappeared when ERDs are added. 4 2 0 −2 4 2 0 −2 −4 2 0 −2 1 0 −1 0.5 GL−5 <u>GL−4</u> GL−3 <u>BL</u> EL x ~~v~~ <u>x</u> 0 −0.5 0 50 100 150 t <u>z</u> ~~<u>v</u>~~ z 0 50 100 150 200 t FIG. 10: (Color online) Deviations of x and vx (left), and z and vz (right) from the corresponding analytical solutions [40] using different methods (from top to bottom: GL-5, GL-4, GL-3, BL and EL) in 200 time units, with γ = 0.02, ω0 = 1/√ Note the magnitude of the errors. 2, Ω= 0.5 and ∆t = 0.02. Initial conditions are the same as in Fig. 1. From now on, we shall examine mostly the behavior of simulations by monitoring the quantity E(t) = v <sup>2</sup> (t) + ω0 <sup>2r2(t),</sup> (31) where v <sup>2</sup> = vx <sup>2</sup> y <sup>2</sup> <sup>+</sup> <sup>v</sup> z <sup>2</sup> x <sup>2</sup> <sup>+</sup> <sup>v</sup> y <sup>2</sup> z <sup>2</sup> <sup>and</sup> <sup>r2</sup> <sup>=</sup> <sup>x2</sup> <sup>+</sup> <sup>y2</sup> <sup>+</sup> <sup>z2,</sup> <sup>which</sup> <sup>is</sup> <sup>defined</sup> <sup>to</sup> <sup>be</sup> <sup>proportional</sup> <sup>to</sup> <sup>the</sup> total energy of the Brownian oscillator at time t and, as such, it contains inaccuracies in both the position and velocity. Note that, because of coupling with the medium through damping and Brownian acceleration, this energy is no longer a conserved quantity. In order to examine the energy conservation performance of our numerical methods, we normalize E(t) by its “exact” counterpart Ee(t), which is simply obtained from Eq. (31) by substituting the explicit analytical expressions for the position and velocity [40]. The resultant ratio E(t)/Ee(t) should be then a conserved quantity in a simulation with the expected value of unity. Figure 11 displays the relative deviation of energy from its exact counterpart [40], i.e., E(t)/Ee(t) − 1, calculated by using different methods for several damping rates, with ∆t = 0.02 and Ω= 0.5. To check the long time stability of these methods, a longer time scale of 1000 time units is adopted here. One sees that, for the Gear-like methods, the amplitude of deviation is quite 4 2 0 4 2 0 4 2 0 2 0 2 1 <u>GL−5</u> <u>GL−4</u> <u>GL−3</u> <u>BL</u> EL ~~<u>γ</u>~~ ~~<u>=0.01</u>~~ ~~<u>γ</u>~~ ~~<u>=0.1</u>~~ ~~<u>γ</u>~~ ~~<u>=1.0</u>~~ 0 0 500 0 500 t 0 500 1000 FIG. 11: Deviations of the total energy from its exact counterpart [40], i.e., E(t)/Ee(t) - 1, using different methods (from top to bottom: GL-5, GL-4, GL-3, BL and EL) for different damping rates γ in 1000 time units, with ω0 = 1/√ 2, Ω= 0.5 and ∆t = 0.02. Initial conditions are the same as in Fig. 1. Note the magnitude of the errors. similar to that of the position and velocity in Fig. 10. Also, the amplitude does not change ap preciably with the damping rate, although the frequency of the noise changes dramatically as the collision frequency, i.e., the damping rate, increases from γ = 0.01 to 1.0. However, the situation for the Beeman-like and Euler-like methods is quite different. For the former, the amplitude of the deviation is approximately one order higher than that of the Gear-like methods at γ = 0.01, but it decreases dramatically when γ increases, and reaches almost the same level as that of the Gear-like methods at about γ = 1.0. For the latter, the amplitude of the deviation is about 1 at γ = 0.01, and is therefore comparable to the value of energy itself, indicating that this method is not stable under these conditions. However, it also decreases with increasing damping rate. So, it is obvious that finite damping γ actually stabilizes Beeman-like and Euler-like methods. This is not surprising at all, because the damping could also diminish errors inherited from a previous step during simulation. Indeed, previous studies [38] have demonstrated a possibility of stabilizing the 100 10−2 10−4 <u>γ</u> <u>=0.01</u> <u>γ</u> <u>=0.1</u> γ <u>=1.0</u> GL−5 GL−4 GL−3 BL <u>EL</u> 10−2 10−1 10−2 10−1 ∆ t 10−2 10−1 FIG. 12: (Color online) Largest deviation in total energy from its exact counterpart [40] in 1000 time units versus ∆t with ω0 = 1/√ 2 and Ω= 0.5 for different methods and different γ values. Initial conditions are the same as those in Fig. 1. MD simulation by introducing a small, but finite damping. A more quantitative analysis of these results is shown in Fig. 12, in which the largest deviations in energy during 1000 time units are plotted versus the time step size ∆t for different γ values. One can see that the deviation of the Euler-like method is always the highest, but it decreases with increasing γ. Its magnitude suggests that this method should only be used for simulating systems with damping rate larger than 1.0 and with very small time steps. As for the Gear-like methods, judging from the magnitude of deviations and the apparent order of around 2.5, their accuracy has reached the limit determined by the accuracy of deviations in variances and covariances shown in Fig. 9. Therefore, their deviations in the energy remain very close to each other, and they are nearly independent of γ. The performance of the Beeman-like method is in between the Euler-like and Gear-like methods for very small γ, but it reaches the same level as the Gear-like methods for large damping rates, such as γ = 1.0. VII. CONCLUSIONS We have presented several new algorithms for studying Brownian dynamics of charged particles in an external magnetic field. All these methods were tested by comparison with the available analytical results for a three-dimensional, Brownian-harmonic-oscillator model in the presence of an external magnetic field [40]. It was found that the Gear-like method generally has the best performance in terms of accuracy, long time stability, and energy drift in a wide range of damping rates, and especially in the low-damping limit. Therefore, the Gear-like method should be highly recommended when studying systems with very low-damping and/or when using the BD method as a thermostat [37] in a MD simulation. The Beeman-like method can also cover a wide range of damping rates with reasonably good accuracy and with negligible energy drift. It should be recommended for simulating systems with intermediate damping rates. The Euler-like method, as can be expected, has the poorest performance and can be used with confidence only in simulating over-damped systems, such as colloidal suspensions and/or polymeric fluids. Further detailed tests based on applications to magnetized complex plasmas will be presented elsewhere [39]. We note that, besides applications in plasma physics, our numerical method could be also of interest in numerical studies of some stochastic processes in statistical physics [40, 41, 42, 43, 44], since we have actually tested here the recently developed analytical model for a Brownian harmonic-oscillator in the presence of a magnetic field. Acknowledgments L.J.H. acknowledges support from Alexander von Humboldt Foundation. Work at CAU is supported by DFG within SFB-TR24/A2. Z.L.M. acknowledges support from NSERC. [1] D. L. Ermak, J. Chem. Phys. 62 (1975) 4189; D. L. Ermak, and H. Buckholz, J. Comput. Phys. 35, 169 (1980). [2] M. P. Allen, Mol. Phys. 40, 1073 (1980); 47, 599 (1982). [3] W. F. van Gunsteren, and H. J. C. Berendsen, Mol. Phys. 45, 637 (1982). [4] A. C. Bra´nka, and D. M. Heyes, Phys. Rev. E 58, 2611 (1998); 60, 2381 (1999). [5] S. A. Chin, Nucl. Phys. B 9, 498 (1989); Phys. Rev. A 42, 6991 (1990); Phys. Rev. E 73, 026705 (2006). [6] M. P. Allen and D. J. Tildesley, _Computer Simulation of Liquids_ (Oxford University Press, New York, 1989). [7] D. S. Lemons and D. L. Kaufman, IEEE Trans. Plasma Sci. 27, 1288 (1999). [8] D. S. Lemons, _An_ _Introduction_ _to_ _Stochastic_ _Processes_ _in_ _Physics_ (The Johns Hopkins University Press, Baltimore, 2002). [9] H. C. Ottinger, <sup>¨</sup> _Stochastic Processes in Polymeric Fluids_ ( Springer, Berlin 1996). [10] J. C. Chen and A. S. Kim, Adv. Colloid Interface Sci. 112, 159 (2004). [11] X. H. Zheng and J. C. Earnshaw, Phys. Rev. Lett. 75, 4214 (1995). [12] G. P. Hoffmann, and H. L¨owen, J. Phys.: Condens. Matter 12, 7359 (2000). [13] O. S. Vaulina and S. V. Vladimirov, Phys. Plasmas 9, 835 (2002). [14] L. J. Hou, Z. L. Miˇskovi´c, K. Jiang, and Y. N. Wang, Phys. Rev. Lett. 96, 255005 (2006). [15] L. J. Hou, and A. Piel, Phys. Plasmas 15, 073707 (2008); J. Phys. A: Math. Theor., in press. [16] L. J. Hou, A. Piel, and P. K. Shukla, Phys. Rev. Lett. 102, 085002 (2009). [17] Z. Donk´o, J. Goree, P. Hartmann, and B. Liu, Phys. Rev. E 79, 026401 (2009) [18] J. T. Mendonc¸a, and P. K. Shukla, A. M. Martins, and R. Guerra, Phys. Plasmas 4, 674 (1997). [19] W. E. Amatucci, D. N. Walker, G. Gatling, and E. E. Scime, Phys. Plasmas 11, 2097 (2004). [20] N. Sato, G. Uchida, T. Kaneko, S. Shimizu, and S. Iizuka, Phys. Plasmas 8, 1786 (2001). [21] P. K. Kaw, K. Nishikawa, and N. Sato, Phys. Plasmas 9, 387 (2002). [22] P. K. Shukla, Phys. Lett. A 299, 258 (2002). [23] W. T. Juan, Z. H. Huang, J. W. Hsu, Y. J. Lai, and L. I, Chin, Phys. Rev. E 58, R6947 (1998); W. T. Juan, J. W. Hsu, Z. H. Huang, Y. J. Lai, and L. I, Chin. J. Phys. I37, 184 (1999). [24] U. Konopka, D. Samsonov, A. V. Ivlev, J. Goree, and V. Steinberg, Phys. Rev. E 61, 1890 (2000). [25] F. M. H. Cheung, A. A. Samarian, and B. W. James, New J. Phys. 5, 75 (2003). [26] J. Carstensen, F. Greiner, L. J. Hou, H. Maurer and A. Piel, Phys. Plasmas 16, 013702 (2009). [27] P. K. Shukla and B. Eliasson, Rev. Mod. Phys. 81, 25 (2009). [28] G. Uchida, U. Konopka, and G. Morfill, Phys. Rev. Lett. 93, 155002 (2004). [29] K. Jiang, L. J. Hou, X. Xu, and Y. N. Wang, New. J. Phys. 9, 57 (2007). [30] K. Jiang, Y. H. Song, and Y. N. Wang, Phys. Plasmas 14, 103708 (2007). [31] J. D. Feldmann, G. J. Kalman, P. Hartmann, and M. Rosenberg, Phys. Rev. Lett. 100, 085001(2008). [32] B. Farokhi, M. Shahmansouri and P. K. Shukla, ”Dust grain oscillations in 2D hexagonal dusty plasma crystals in the presence of a magnetic field”, submitted to Phys. Plasmas. [33] G. E. P. Box, and M. E. Muller, Ann. Math. Stat. 29, 610 (1958). [34] H. J. C. Berendsen and W. F. van Gunsteren, in _Molecular-Dynamics_ _Simulation_ _of_ _Statistical-_ _Mechanical Systems_ (eds. G. Ciccotti and W. G. Hoover, North-Holland Physics Publishing, 1986). [35] G. D. Venneri and W. G. Hoover, J. Comput. Phys. 73, 468 (1987). [36] S. Chandrasekhar, Rev. Mod. Phys. 15, 1 (1943). [37] M. Ceriotti, G. Bussi, and M. Parrinello, Phys. Rev. Lett. 102, 020601 (2009). [38] J. A. Izaguirre, D. P. Catarello, J. M. Wozniak, and R. D. Skeel, J. Chem. Phys. 114, 2090 (2001). [39] L. J. Hou, P. K. Shukla, A. Piel, and, Z. L. Miˇskovi´c, ”Wave spectra of 2D Yukawa solids and liquids with a perpendicular magnetic field”, to be submitted to Phys. Plasmas. [40] J. I. Jim´enez-Aquino, R. M. Velasco, and F. J. Uribe, Phys. Rev. E 77, 051105 (2008). [41] J. I. Jim´enez-Aquino, R. M. Velasco, and F. J. Uribe, Phys. Rev. E 77, 032102 (2008). [42] J. I. Jim´enez-Aquino, and M. Romero-Bastida, Phys. Rev. E 74, 041117 (2006); 76, 021106 (2007). [43] A. M. Jayannavar and Mamata Sahoo, Phys. Rev. E 75, 032102 (2007). [44] D. Roy and N. Kumar, Phys. Rev. E 78, 052102 (2008).

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.