This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

A stochastic Hamiltonian formulation applied to dissipative particle dynamics

Linyu Peng [email protected] Noriyoshi Arai [email protected] Kenji Yasuoka [email protected] Department of Mechanical Engineering, Keio University, Yokohama 223-8522, Japan
Abstract

In this paper, a stochastic Hamiltonian formulation (SHF) is proposed and applied to dissipative particle dynamics (DPD) simulations. As an extension of Hamiltonian dynamics to stochastic dissipative systems, the SHF provides necessary foundations and great convenience for constructing efficient numerical integrators. As a first attempt, we develop the Störmer–Verlet type of schemes based on the SHF, which are structure-preserving for deterministic Hamiltonian systems without external forces, the dissipative forces in DPD. Long-time behaviour of the schemes is shown numerically by studying the damped Kubo oscillator. In particular, the proposed schemes include the conventional Groot–Warren’s modified velocity-Verlet method and a modified version of Gibson–Chen–Chynoweth as special cases. The schemes are applied to DPD simulations and analysed numerically.

Keywords: Dissipative particle dynamics; Hamiltonian mechanics; Stochastic differential equations; Störmer–Verlet methods

1 Introduction

A dissipative particle dynamics (DPD) simulation [1, 2] method is a type of coarse-grained molecular simulation method, which has proven to be a powerful tool for investigating fluid events occurring on a wide range of spatio-temporal scales compared to all-atom simulations. Using DPD method, many studies have been conducted for both the statics and dynamics of complex system at the mesoscopic level, such as unique self-assembled structures formed by nanoparticles or polymers [3, 4, 5, 6], mechanical or rheological properties of soft materials [7, 8, 9], medical materials and biological functions [10, 11, 12, 13], and so forth. Huang etal.et~{}al. [4] proposed a method to fabricate various two-dimensional nanostructures using self-assembly of block copolymers and demonstrated it in DPD simulations. The simulations showed that surface patterns of three-dimensional nanostructures could be evolved to solve problems in lithography and transistors. In order to overcome the problem of low toughness in the use of humanoid robotic hands, Pan etal.et~{}al. [8] developed an ultra-tough electric tendon based on spider silk toughened with single-wall carbon nanotubes (SWCNTs). In that study, DPD simulations were performed to understand how SWCNTs improve the mechanical properties of the fibers at a molecular level. Sicard and Toro-Mendoza [13] reported on the computational design of soft nanocarriers using pickering emulsions (nanoparticle armored droplet), able to selectively encapsulate or release a probe load under specific flow conditions. They described in detail the mechanisms at play in the formation of pocket-like structures and their stability under external flow. Moreover, the rheological properties of the designed nanocarriers were compared with those of delivery systems used in pharmaceutical and cosmetic technologies.

On the other hand, during the last decades, a lot of efforts have been made for proposing efficient simulation methods for DPD to achieve simultaneous temperature control and momentum preservation. Examples include Groot–Warren’s modified velocity-Verlet (GW) method [2], the method of Gibson–Chen–Chynoweth (GCC) [14], and splitting methods [15, 16]; a review and comparison of commonly used methods for DPD are available in [17]. In the current study, we will show that various velocity-Verlet methods for DPD, including GW and GCC methods, are actually special cases of the Störmer–Verlet (SV) schemes for a novel stochastic Hamiltonian formulation (SHF) with dissipative forces which are often called external forces in classical Hamiltonian mechanics; in DPD, these dissipative forces are in fact internal forces (see Section 2). To be consistent, they will be called external forces in the general setting but dissipative forces in DPD. SV schemes are well-known symplectic-preserving numerical methods for deterministic Hamiltonian systems without external forces.

Symplecticity is a crucial feature of Hamiltonian systems. Geometrically, it implies area or volume preservation of the corresponding phase flows due to Liouville’s Theorem. Symplectic integrators are among the most important types of geometric numerical integrators for Hamiltonian systems [18, 19]. Symplectic integrators for stochastic Hamiltonian systems with or without external forces have received great attention as well, e.g., [20, 21, 22, 23, 24]. The SHF we propose in the current study can be viewed as a matrix generalisation of stochastic forced Hamiltonian systems studied in [23]; see also [22, 25]. The Hamiltonian structure brings us a convenient setting for analysis of the underlying dynamical system; moreover, it allows the systematic construction of structure-preserving integrators possible. In this paper, we will mainly be focused on the extension of SV type of symplectic schemes to systems of SHF and to DPD.

The paper is organised as follows. In Section 2, we propose the SHF and derive the DPD by specifying the Hamiltonian functions and external/dissipative forces properly. SV type of schemes for the SHF and the DPD are constructed in Section 3 and in particular, we will be focused on several explicit schemes that are applied to DPD simulations in Section 4. Finally, we conclude and point out some future researches in Section 5.

2 The stochastic Hamiltonian formulation with external forces

Let QQ be an nn-dimensional configuration space of a mechanical system with 𝒒\bm{q} the generalised coordinates. Let (𝒒,𝒒˙)TQ(\bm{q},\dot{\bm{q}})\in TQ and (𝒒,𝒑)TQ(\bm{q},\bm{p})\in T^{*}Q be coordinates of the tangent bundle and the cotangent bundle, respectively. We propose a stochastic Hamiltonian formulation (SHF) with external forces as a dynamical system in TQT^{*}Q as follows:

(d𝒒d𝒑)=JH(𝒒,𝒑)dt\displaystyle\left(\begin{array}[]{c}\operatorname{d}\!{\bm{q}}\\ \operatorname{d}\!{\bm{p}}\end{array}\right)=J\nabla H(\bm{q},\bm{p})\operatorname{d}\!t +(0𝑭D(𝒒,𝒑))dt\displaystyle+\left(\begin{array}[]{c}0\\ \bm{F}^{\operatorname{D}}(\bm{q},\bm{p})\end{array}\right)\operatorname{d}\!t (1)
+i=1Kj=1K(Jhij(𝒒,𝒑)+(0𝑭ijSD(𝒒,𝒑)))dWij(t),\displaystyle+\sum_{i=1}^{K}\sum_{j=1}^{K}\left(J\nabla h_{ij}(\bm{q},\bm{p})+\left(\begin{array}[]{c}0\\ \bm{F}^{\operatorname{SD}}_{ij}(\bm{q},\bm{p})\end{array}\right)\right)\circ{\operatorname{d}\!W_{ij}(t)},

where \circ denotes the Stratonovich integration, JJ is the canonical symplectic matrix

J=(0InIn0),J=\left(\begin{array}[]{cc}0&I_{n}\\ -I_{n}&0\end{array}\right), (2)

𝑭D:TQTQ\bm{F}^{\operatorname{D}}:T^{*}Q\rightarrow T^{*}Q and 𝑭ijSD:TQTQ\bm{F}_{ij}^{\operatorname{SD}}:T^{*}Q\rightarrow T^{*}Q are fibre-preserving maps of the external forces leading to dissipation, the functions H:TQH:T^{*}Q\rightarrow\mathbb{R} and hij:TQh_{ij}:T^{*}Q\rightarrow\mathbb{R} are the Hamiltonian functions, and components of the symmetric K×KK\times K random matrix W(t)W(t) are independent Wiener processes. Note that the indices i,ji,j are not necessary of the same dimension.The superindices D\operatorname{D} and SD\operatorname{SD} are shorthand for ‘Dissipation’ and ‘Stochastic Dissipation’, respectively. For more details on stochastic differential equations, the reader may refer to [26, 27, 28].

The SHF (1) can be written in the Itô form as

d𝒛=A(𝒛)dt+i=1Kj=1KBij(𝒛)dWij(t),\operatorname{d}\!\bm{z}=A(\bm{z})\operatorname{d}\!t+\sum_{i=1}^{K}\sum_{j=1}^{K}B_{ij}(\bm{z})\operatorname{d}\!W_{ij}(t), (3)

where 𝒛=(𝒒,𝒑)T\bm{z}=(\bm{q},\bm{p})^{\operatorname{T}},

A(𝒛)=(𝒑H+12i=1Kj=1K(2hij𝒑𝒒(𝒑hij)+2hij𝒑2(𝑭ijSD𝒒hij))𝒒H+𝑭D+12i=1Kj=1K((2hij𝒒𝒑𝒑𝑭ijSD)(𝒑hij𝑭ijSD)(2hij𝒒2𝒒𝑭ijSD)(𝒑hij)))A(\bm{z})=\left(\begin{array}[]{c}\nabla_{\bm{p}}H+\frac{1}{2}\sum\limits_{i=1}^{K}\sum\limits_{j=1}^{K}\left(\frac{\partial^{2}h_{ij}}{\partial\bm{p}\partial\bm{q}}\left(\nabla_{\bm{p}}h_{ij}\right)+\frac{\partial^{2}h_{ij}}{\partial\bm{p}^{2}}\left(\bm{F}_{ij}^{\operatorname{SD}}-\nabla_{\bm{q}}h_{ij}\right)\right)\\ -\nabla_{\bm{q}}H+\bm{F}^{\operatorname{D}}+\frac{1}{2}\sum\limits_{i=1}^{K}\sum\limits_{j=1}^{K}\left(\left(\frac{\partial^{2}h_{ij}}{\partial\bm{q}\partial\bm{p}}-\nabla_{\bm{\bm{p}}}\bm{F}_{ij}^{\operatorname{SD}}\right)\left(\nabla_{\bm{p}}h_{ij}-\bm{F}_{ij}^{\operatorname{SD}}\right)\right.\\ \quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\quad\left.-\left(\frac{\partial^{2}h_{ij}}{\partial\bm{q}^{2}}-\nabla_{\bm{q}}\bm{F}_{ij}^{\operatorname{SD}}\right)\left(\nabla_{\bm{p}}h_{ij}\right)\right)\end{array}\right) (4)

and

Bij(𝒛)=(𝒑hij𝒒hij+𝑭ijSD).B_{ij}(\bm{z})=\left(\begin{array}[]{c}\nabla_{\bm{p}}h_{ij}\\ -\nabla_{\bm{q}}h_{ij}+\bm{F}_{ij}^{\operatorname{SD}}\end{array}\right). (5)

Here, 2hij/𝒑𝒒{\partial^{2}h_{ij}}/{\partial\bm{p}\partial\bm{q}}, 2hij/𝒒2{\partial^{2}h_{ij}}/{\partial\bm{q}}^{2} and 2hij/𝒑2{\partial^{2}h_{ij}}/{\partial\bm{p}}^{2} denote the Hessian matrices of hijh_{ij}, and \nabla denotes the gradient of functions. Throughout the paper, we will employ the conventional assumptions that the Hamiltonians HH and hijh_{ij} are all C2C^{2} functions and AA and BijB_{ij} are globally Lipschitz [26, 28].

Remark 2.1.

The SHF can be derived through variational calculus. It will be called a stochastic Lagrange–d’Alembert principle in the phase space TQT^{*}Q, reading

δ\displaystyle\delta tatb(𝒑d𝒒H(𝒒,𝒑)dt)+tatb𝑭D(𝒒,𝒑)δ𝒒dt\displaystyle\int_{t_{a}}^{t_{b}}\left(\bm{p}\circ\operatorname{d}\!{\bm{q}}-H(\bm{q},\bm{p})\operatorname{d}\!t\right)+\int_{t_{a}}^{t_{b}}\bm{F}^{\operatorname{D}}(\bm{q},\bm{p})\cdot\delta\bm{q}\operatorname{d}\!t (6)
+i=1Kj=1K(δtatbhij(𝒒,𝒑)dWij(t)+tatb(𝑭ijSD(𝒒,𝒑)δ𝒒)dWij(t))=0.\displaystyle~{}~{}+\sum_{i=1}^{K}\sum_{j=1}^{K}\left(\delta\int_{t_{a}}^{t_{b}}-h_{ij}(\bm{q},\bm{p})\circ\operatorname{d}\!W_{ij}(t)+\int_{t_{a}}^{t_{b}}\left(\bm{F}_{ij}^{\operatorname{SD}}(\bm{q},\bm{p})\cdot\delta\bm{q}\right)\circ\operatorname{d}\!W_{ij}(t)\right)=0.

The time interval is [ta,tb][t_{a},t_{b}] (ta<tbt_{a}<t_{b}). The first row denotes all deterministic terms, while the second row includes all stochastic terms.

Solutions of the SHF (1) satisfies the stochastic Lagrange–d’Alembert principle (6); see, e.g., [23]. The converse is also true providing the regularity of 𝐪\bm{q} and 𝐩\bm{p} [29]. In particular if hij=hij(𝐪)h_{ij}=h_{ij}(\bm{q}) are all independent of 𝐩\bm{p}, which is exactly the case for DPD, (𝐪,𝐩)(\bm{q},\bm{p}) is a solution of the SHF (1) if and only if it satisfies the stochastic Lagrange–d’Alembert principle (6) [30].

DPD derived from the SHF. To derive the DPD system of NN particles, we assume that there exist no stochastic dissipative forces, meaning that

𝑭ijSD(𝒒,𝒑)0,i,j=1,2,,N.\bm{F}^{\operatorname{SD}}_{ij}(\bm{q},\bm{p})\equiv 0,\quad\forall i,j=1,2,\ldots,N. (7)

In the general SHF formulation (1), introduce the local coordinates for the cotangent bundle of NN copies of QQ as

𝒒=(𝒒1,𝒒2,,𝒒N),𝒑=(𝒑1,𝒑2,,𝒑N),\bm{q}=(\bm{q}_{1},\bm{q}_{2},\ldots,\bm{q}_{N}),\quad\bm{p}=(\bm{p}_{1},\bm{p}_{2},\ldots,\bm{p}_{N}), (8)

where (𝒒i,𝒑i)(\bm{q}_{i},\bm{p}_{i}) are the coordinates of the phase space TQT^{*}Q for the ii-th particle. As commonly considered in DPD, we will be focused on the three-dimensional Euclidean space, i.e., Q=3Q=\mathbb{R}^{3}, in the current study. Define the Hamiltonian H(𝒒,𝒑)H(\bm{q},\bm{p}) as the total energy:

H(𝒒,𝒑)=i=1N12mi|𝒑i|2+V(𝒒),H(\bm{q},\bm{p})=\sum_{i=1}^{N}\frac{1}{2m_{i}}|\bm{p}_{i}|^{2}+V(\bm{q}), (9)

where the potential energy V(𝒒)V(\bm{q}) is given by

V(𝒒)=i=1Nj=1Naij4qc(1qijqc)2δij.V(\bm{q})=\sum_{i=1}^{N}\sum_{j=1}^{N}\frac{a_{ij}}{4}q_{\mathrm{c}}\left(1-\frac{q_{ij}}{q_{\mathrm{c}}}\right)^{2}\delta_{ij}. (10)

Here mim_{i} is mass of the ii-th particle, qcq_{\mathrm{c}} is a constant, aN×Na_{N\times N} is a constant symmetric matrix, qij=|𝒒i𝒒j|q_{ij}=|\bm{q}_{i}-\bm{q}_{j}| is the distance of the ii-th and the jj-th particles, and δij\delta_{ij} is given by

δij={1,qij<qc,0,qijqc.\delta_{ij}=\left\{\begin{array}[]{cl}1,&q_{ij}<q_{\mathrm{c}},\vspace{0.2cm}\\ 0,&q_{ij}\geq q_{\mathrm{c}}.\end{array}\right. (11)
Remark 2.2.

Direct computation gives gradient of the Hamiltonian HH as follows

H(𝒒,𝒑)=(ji𝑭ijC(𝒒),𝒑imi)T,\nabla H(\bm{q},\bm{p})=\left(-\sum_{j\neq i}\bm{F}_{ij}^{\operatorname{C}}(\bm{q}),\frac{\bm{p}_{i}}{m_{i}}\right)^{\operatorname{T}}, (12)

where the conservative force reads

𝑭ijC(𝒒)=aij(1qijqc)δij𝒒^ij,i,j=1,2,,N,ij,\bm{F}^{\operatorname{C}}_{ij}(\bm{q})=a_{ij}\left(1-\frac{q_{ij}}{q_{\mathrm{c}}}\right)\delta_{ij}\bm{\widehat{q}}_{ij},\quad i,j=1,2,\ldots,N,\quad i\neq j, (13)

with

𝒒^ij=𝒒i𝒒jqij=𝒒i𝒒j|𝒒i𝒒j|\bm{\widehat{q}}_{ij}=\frac{\bm{q}_{i}-\bm{q}_{j}}{q_{ij}}=\frac{\bm{q}_{i}-\bm{q}_{j}}{|\bm{q}_{i}-\bm{q}_{j}|} (14)

and the superindex C\operatorname{C} meaning ‘Conservation’. Obviously, the conservative force 𝐅ijC(𝐪)\bm{F}^{\operatorname{C}}_{ij}(\bm{q}) between the ii-th and the jj-th particles only depends on their relative distance 𝐪i𝐪j\bm{q}_{i}-\bm{q}_{j}.

Furthermore, the (deterministic) dissipative force is defined by

𝑭iD(𝒒,𝒑)=γjiωD(qij)(𝒒^ij𝒗ij)𝒒^ij,i=1,2,,N,\bm{F}^{\operatorname{D}}_{i}(\bm{q},\bm{p})=-\gamma\sum_{j\neq i}\omega^{\operatorname{D}}(q_{ij})\left(\bm{\widehat{q}}_{ij}\cdot\bm{v}_{ij}\right)\bm{\widehat{q}}_{ij},\quad i=1,2,\ldots,N, (15)

where γ\gamma is a constant friction parameter,

𝒗ij=𝒑imi𝒑jmj\bm{v}_{ij}=\frac{\bm{p}_{i}}{m_{i}}-\frac{\bm{p}_{j}}{m_{j}} (16)

and ωD(qij)=(ωR(qij))2\omega^{\operatorname{D}}(q_{ij})=\left(\omega^{\operatorname{R}}(q_{ij})\right)^{2} with

ωR(qij)=(1qijqc)δij.\omega^{\operatorname{R}}(q_{ij})=\left(1-\frac{q_{ij}}{q_{\mathrm{c}}}\right)\delta_{ij}. (17)

Here, the superindex R\operatorname{R} means ‘Randomness’.

Let k=Nk=N and define the Hamiltonian functions hij(𝒒,𝒑)h_{ij}(\bm{q},\bm{p}) (i,j,=1,2,,Ni,j,=1,2,\ldots,N) by

hij(𝒒)=σ4qc(1qijqc)2δij,h_{ij}(\bm{q})=\frac{\sigma}{4}q_{\mathrm{c}}\left(1-\frac{q_{ij}}{q_{\mathrm{c}}}\right)^{2}\delta_{ij}, (18)

where σ\sigma is a constant noise parameter. Obviously, hii(𝒒)consth_{ii}(\bm{q})\equiv\text{const} for all i=1,2,,Ni=1,2,\ldots,N and hence hii(𝒒)0\nabla h_{ii}(\bm{q})\equiv 0.

Remark 2.3.

When iji\neq j, since the Hamiltonian function hij(𝐪)h_{ij}(\bm{q}) only depends on 𝐪i\bm{q}_{i} and 𝐪j\bm{q}_{j}, nonzero components of its gradient are given by

𝒒ihij(𝒒)\displaystyle\nabla_{\bm{q}_{i}}h_{ij}(\bm{q}) =σ2(1qijqc)δij𝒒^ij=σ2ωR(qij)𝒒^ij,\displaystyle=-\frac{\sigma}{2}\left(1-\frac{q_{ij}}{q_{\mathrm{c}}}\right)\delta_{ij}\bm{\widehat{q}}_{ij}=-\frac{\sigma}{2}\omega^{\operatorname{R}}(q_{ij})\bm{\widehat{q}}_{ij}, (19)
𝒒jhij(𝒒)\displaystyle\nabla_{\bm{q}_{j}}h_{ij}(\bm{q}) =σ2(1qijqc)δij𝒒^ji=σ2ωR(qij)𝒒^ji.\displaystyle=-\frac{\sigma}{2}\left(1-\frac{q_{ij}}{q_{\mathrm{c}}}\right)\delta_{ij}\bm{\widehat{q}}_{ji}=-\frac{\sigma}{2}\omega^{\operatorname{R}}(q_{ij})\bm{\widehat{q}}_{ji}.

Substituting the functions specified above to the SHF (1), we obtain the system of DPD as follows

{𝒒˙i=𝒑imi,𝒑˙i=ji𝑭ijC(𝒒)+𝑭iD(𝒒,𝒑)+σjiωR(qij)𝒒^ijdWij(t)dt,\left\{\begin{aligned} \dot{\bm{q}}_{i}&=\frac{\bm{p}_{i}}{m_{i}},\\ \dot{\bm{p}}_{i}&=\sum_{j\neq i}\bm{F}_{ij}^{\operatorname{C}}(\bm{q})+\bm{F}^{\operatorname{D}}_{i}(\bm{q},\bm{p})+\sigma\sum_{j\neq i}\omega^{\operatorname{R}}(q_{ij})\bm{\widehat{q}}_{ij}\circ\frac{\operatorname{d}\!W_{ij}(t)}{\operatorname{d}\!t},\end{aligned}\right. (20)

for i=1,2,,Ni=1,2,\ldots,N, in which the dissipative force 𝑭iD(𝒒,𝒑)\bm{F}^{\operatorname{D}}_{i}(\bm{q},\bm{p}) is given by (15) while the conservative force 𝑭iC(𝒒,𝒑)\bm{F}^{\operatorname{C}}_{i}(\bm{q},\bm{p}) and randomness contribution are respectively derived from the Hamiltonians H(𝒒,𝒑)H(\bm{q},\bm{p}), i.e., the total energy (9), and hij(𝒒,𝒑)h_{ij}(\bm{q},\bm{p}) defined in (18). It is obvious that the DPD system (20) can also be obtained via the stochastic Lagrange–d’Alembert principle (6). Note that the SHF (1) is formally divided by dt\operatorname{d}\!t on both sides to obtain the system (20), which has been the conventional form of DPD.

Remark 2.4.

Since no stochastic dissipative forces exist and hij=hij(𝐪)h_{ij}=h_{ij}(\bm{q}) are independent from 𝐩\bm{p}, SHF’s Itô form (3), in particular the coefficient matrix A(𝐳)A(\bm{z}) given by (4), yields that the DPD (20) takes the same form in both the Itô framework and the Stratonovich framework.

3 Störmer–Verlet schemes for the SHF and the DPD

In this section, we propose the Störmer–Verlet (SV) type of symplectic schemes for the DPD based on the SHF (1). That is, when no external forces and randomness are imposed, the corresponding discrete ‘flow’ shall be symplectic as well. In other words, dissipation in the numerical schemes is only contributed by the external forces, same as what occurs in the continuous counterpart.

3.1 SV type of schemes for the SHF

Discretize the time interval [ta,tb][t_{a},t_{b}] as a series ta=t0,t1,t2,,tK=tbt_{a}=t_{0},t_{1},t_{2},\ldots,t_{K}=t_{b} and denote

Δt=tk+1tk=tbtaK\Delta t=t_{k+1}-t_{k}=\frac{t_{b}-t_{a}}{K}

as the time step. The space TTQTT^{*}Q where SHF systems (and the corresponding variational structure) are defined is discretized into two copies of the cotangent bundle, i.e., TQ×TQT^{*}Q\times T^{*}Q, with local coordinates (𝒒k,𝒑k,𝒒k+1,𝒑k+1)(\bm{q}^{k},\bm{p}^{k},\bm{q}^{k+1},\bm{p}^{k+1}) where 𝒒k=𝒒(tk)\bm{q}^{k}=\bm{q}(t_{k}), 𝒑k=𝒑(tk)\bm{p}^{k}=\bm{p}(t_{k}) and so forth. In the current paper, we will mainly be focused on extensions of the SV schemes for systems of SHF (1), which are symplectic schemes of second order accuracy for conservative Hamiltonian systems. The SV schemes arise as the composite of Euler-A and Euler-B methods which are both symplectic, implicit and of first order accuracy for conservative Hamiltonian systems. We will follow a similar approach to introduce SV schemes for the SHF.

For SHF (1), we propose a family of Euler-A methods:

𝒒k+1𝒒k\displaystyle{\bm{q}^{k+1}-\bm{q}^{k}} =Δt𝒑H(𝒒k+1,𝒑k)+i,j𝒑hij(𝒒k+1,𝒑k)ΔWij(tk),\displaystyle=\Delta t*\nabla_{\bm{p}}H(\bm{q}^{k+1},\bm{p}^{k})+\sum_{i,j}\nabla_{\bm{p}}h_{ij}(\bm{q}^{k+1},\bm{p}^{k})\circ\Delta W_{ij}(t_{k}), (21)
𝒑k+1𝒑k\displaystyle{\bm{p}^{k+1}-\bm{p}^{k}} =Δt(𝒒H(𝒒k+1,𝒑k)+(𝑭D(𝒒,𝒑))k)\displaystyle=-\Delta t\left(\nabla_{\bm{q}}H(\bm{q}^{k+1},\bm{p}^{k})+(\bm{F}^{\operatorname{D}}(\bm{q},\bm{p}))^{k}\right)
+i,j(𝒒hij(𝒒k+1,𝒑k)+(𝑭ijSD(𝒒,𝒑))k)ΔWij(tk),\displaystyle~{}~{}~{}~{}+\sum_{i,j}\left(-\nabla_{\bm{q}}h_{ij}(\bm{q}^{k+1},\bm{p}^{k})+(\bm{F}_{ij}^{\operatorname{SD}}(\bm{q},\bm{p}))^{k}\right)\circ\Delta W_{ij}(t_{k}),

and a family of Euler-B methods:

𝒒k+1𝒒k\displaystyle{\bm{q}^{k+1}-\bm{q}^{k}} =Δt𝒑H(𝒒k,𝒑k+1)+i,j𝒑hij(𝒒k,𝒑k+1)ΔWij(tk),\displaystyle=\Delta t*\nabla_{\bm{p}}H(\bm{q}^{k},\bm{p}^{k+1})+\sum_{i,j}\nabla_{\bm{p}}h_{ij}(\bm{q}^{k},\bm{p}^{k+1})\circ\Delta W_{ij}(t_{k}), (22)
𝒑k+1𝒑k\displaystyle{\bm{p}^{k+1}-\bm{p}^{k}} =Δt(𝒒H(𝒒k,𝒑k+1)+(𝑭D(𝒒,𝒑))k)\displaystyle=-\Delta t\left(\nabla_{\bm{q}}H(\bm{q}^{k},\bm{p}^{k+1})+(\bm{F}^{\operatorname{D}}(\bm{q},\bm{p}))^{k}\right)
+i,j(𝒒hij(𝒒k,𝒑k+1)+(𝑭ijSD(𝒒,𝒑))k)ΔWij(tk),\displaystyle~{}~{}~{}~{}+\sum_{i,j}\left(-\nabla_{\bm{q}}h_{ij}(\bm{q}^{k},\bm{p}^{k+1})+(\bm{F}_{ij}^{\operatorname{SD}}(\bm{q},\bm{p}))^{k}\right)\circ\Delta W_{ij}(t_{k}),

where (𝑭D(𝒒,𝒑))k(\bm{F}^{\operatorname{D}}(\bm{q},\bm{p}))^{k} and (𝑭ijSD(𝒒,𝒑))k(\bm{F}_{ij}^{\operatorname{SD}}(\bm{q},\bm{p}))^{k} denote discretisations of the external forces, and

ΔWij(tk)=Wij(tk+1)Wij(tk)𝒩(0,Δt).\Delta W_{ij}(t_{k})=W_{ij}(t_{k+1})-W_{ij}(t_{k})\sim\mathcal{N}(0,\Delta t). (23)

Here 𝒩(0,Δt)\mathcal{N}(0,\Delta t) denotes the normal distribution with mean 0 and standard deviation Δt\sqrt{\Delta t}.

Two types of SV schemes can be defined as composites of the Euler methods with time step Δt/2\Delta t/2, namely (Euler-A)(Euler-B)\text{(Euler-A)}\circ\text{(Euler-B)} and (Euler-B)(Euler-A)\text{(Euler-B)}\circ\text{(Euler-A)}, which will be called SV-AB schemes and SV-BA schemes, respectively.

The family of SV-AB schemes, namely (Euler-A)(Euler-B)\text{(Euler-A)}\circ\text{(Euler-B)}, reads

𝒑k+1/2\displaystyle\bm{p}^{k+1/2} 𝒑k=Δt2[𝒒H(𝒒k,𝒑k+1/2)+(𝑭D(𝒒,𝒑))k1]\displaystyle-\bm{p}^{k}=\frac{\Delta t}{2}\left[-\nabla_{\bm{q}}H(\bm{q}^{k},\bm{p}^{k+1/2})+(\bm{F}^{\operatorname{D}}(\bm{q},\bm{p}))^{k_{1}}\right] (24)
+i,j(𝒒hij(𝒒k,𝒑k+1/2)+(𝑭ijSD(𝒒,𝒑))k1)Δ¯Wij(tk),\displaystyle\quad\quad\quad+\sum_{i,j}\left(-\nabla_{\bm{q}}h_{ij}(\bm{q}^{k},\bm{p}^{k+1/2})+(\bm{F}_{ij}^{\operatorname{SD}}(\bm{q},\bm{p}))^{k_{1}}\right)\circ\overline{\Delta}W_{ij}(t_{k}),
𝒒k+1\displaystyle\bm{q}^{k+1} 𝒒k=Δt2[𝒑H(𝒒k,𝒑k+1/2)+𝒑H(𝒒k+1,𝒑k+1/2)]\displaystyle-\bm{q}^{k}=\frac{\Delta t}{2}\left[\nabla_{\bm{p}}H(\bm{q}^{k},\bm{p}^{k+1/2})+\nabla_{\bm{p}}H(\bm{q}^{k+1},\bm{p}^{k+1/2})\right]
+i,j𝒑hij(𝒒k,𝒑k+1/2)Δ¯Wij(tk)+i,j𝒑hij(𝒒k+1,𝒑k+1/2)Δ¯Wij(tk+1/2),\displaystyle+\sum_{i,j}\nabla_{\bm{p}}h_{ij}(\bm{q}^{k},\bm{p}^{k+1/2})\circ\overline{\Delta}W_{ij}(t_{k})+\sum_{i,j}\nabla_{\bm{p}}h_{ij}(\bm{q}^{k+1},\bm{p}^{k+1/2})\circ\overline{\Delta}W_{ij}(t_{k+1/2}),
𝒑k+1\displaystyle\bm{p}^{k+1} 𝒑k+1/2=Δt2[𝒒H(𝒒k+1,𝒑k+1/2)+(𝑭D(𝒒,𝒑))k2]\displaystyle-\bm{p}^{k+1/2}=\frac{\Delta t}{2}\left[-\nabla_{\bm{q}}H(\bm{q}^{k+1},\bm{p}^{k+1/2})+(\bm{F}^{\operatorname{D}}(\bm{q},\bm{p}))^{k_{2}}\right]
+i,j(𝒒hij(𝒒k+1,𝒑k+1/2)+(𝑭ijSD(𝒒,𝒑))k2)Δ¯Wij(tk+1/2),\displaystyle\quad\quad\quad+\sum_{i,j}\left(-\nabla_{\bm{q}}h_{ij}(\bm{q}^{k+1},\bm{p}^{k+1/2})+(\bm{F}_{ij}^{\operatorname{SD}}(\bm{q},\bm{p}))^{k_{2}}\right)\circ\overline{\Delta}W_{ij}(t_{k+1/2}),

while the family of SV-BA schemes, namely (Euler-B)(Euler-A)\text{(Euler-B)}\circ\text{(Euler-A)}, reads

𝒒k+1/2𝒒k\displaystyle\bm{q}^{k+1/2}-\bm{q}^{k} =Δt2𝒑H(𝒒k+1/2,𝒑k)+i,j𝒑hij(𝒒k+1/2,𝒑k)Δ¯Wij(tk),\displaystyle=\frac{\Delta t}{2}*\nabla_{\bm{p}}H(\bm{q}^{k+1/2},\bm{p}^{k})+\sum_{i,j}\nabla_{\bm{p}}h_{ij}(\bm{q}^{k+1/2},\bm{p}^{k})\circ\overline{\Delta}W_{ij}(t_{k}), (25)
𝒑k+1𝒑k\displaystyle\bm{p}^{k+1}-\bm{p}^{k} =Δt2[𝒒H(𝒒k+1/2,𝒑k)𝒒H(𝒒k+1/2,𝒑k+1)]+Δt(𝑭D(𝒒,𝒑))k\displaystyle=\frac{\Delta t}{2}\left[-\nabla_{\bm{q}}H(\bm{q}^{k+1/2},\bm{p}^{k})-\nabla_{\bm{q}}H(\bm{q}^{k+1/2},\bm{p}^{k+1})\right]+\Delta t*(\bm{F}^{\operatorname{D}}(\bm{q},\bm{p}))^{k}
+i,j(𝒒hij(𝒒k+1/2,𝒑k)+(𝑭ijSD(𝒒,𝒑))k1)Δ¯Wij(tk)\displaystyle~{}~{}~{}~{}+\sum_{i,j}\left(-\nabla_{\bm{q}}h_{ij}(\bm{q}^{k+1/2},\bm{p}^{k})+(\bm{F}_{ij}^{\operatorname{SD}}(\bm{q},\bm{p}))^{k_{1}}\right)\circ\overline{\Delta}W_{ij}(t_{k})
+i,j(𝒒hij(𝒒k+1/2,𝒑k+1)+(𝑭ijSD(𝒒,𝒑))k2)Δ¯Wij(tk+1/2),\displaystyle~{}~{}~{}~{}+\sum_{i,j}\left(-\nabla_{\bm{q}}h_{ij}(\bm{q}^{k+1/2},\bm{p}^{k+1})+(\bm{F}_{ij}^{\operatorname{SD}}(\bm{q},\bm{p}))^{k_{2}}\right)\circ\overline{\Delta}W_{ij}(t_{k+1/2}),
𝒒k+1𝒒k+1/2\displaystyle\bm{q}^{k+1}-\bm{q}^{k+1/2} =Δt2𝒑H(𝒒k+1/2,𝒑k+1)+i,j𝒑hij(𝒒k+1/2,𝒑k+1)Δ¯Wij(tk+1/2),\displaystyle=\frac{\Delta t}{2}*\nabla_{\bm{p}}H(\bm{q}^{k+1/2},\bm{p}^{k+1})+\sum_{i,j}\nabla_{\bm{p}}h_{ij}(\bm{q}^{k+1/2},\bm{p}^{k+1})\circ\overline{\Delta}W_{ij}(t_{k+1/2}),

where (𝑭D(𝒒,𝒑))k(\bm{F}^{\operatorname{D}}(\bm{q},\bm{p}))^{k}, (𝑭D(𝒒,𝒑))k1(\bm{F}^{\operatorname{D}}(\bm{q},\bm{p}))^{k_{1}} and (𝑭D(𝒒,𝒑))k2(\bm{F}^{\operatorname{D}}(\bm{q},\bm{p}))^{k_{2}} denote three independent discretisations of the force 𝑭D(𝒒,𝒑)\bm{F}^{\operatorname{D}}(\bm{q},\bm{p}), (𝑭ijSD(𝒒,𝒑))k1(\bm{F}^{\operatorname{SD}}_{ij}(\bm{q},\bm{p}))^{k_{1}} and (𝑭ijSD(𝒒,𝒑))k2(\bm{F}^{\operatorname{SD}}_{ij}(\bm{q},\bm{p}))^{k_{2}} denote two independent discretisations of the force 𝑭ijSD(𝒒,𝒑)\bm{F}^{\operatorname{SD}}_{ij}(\bm{q},\bm{p}), and

Δ¯Wij(tk)=Wij(tk+1/2)Wij(tk)𝒩(0,Δt/2).\overline{\Delta}W_{ij}(t_{k})=W_{ij}(t_{k+1/2})-W_{ij}(t_{k})\sim\mathcal{N}(0,\Delta t/2). (26)
Remark 3.5.

It is obvious that the SV schemes (24) and (25) reduce to the ordinary SV schemes for conservative Hamiltonian systems, assuming the absence of external forces and stochastic terms. Consequently, discretisations of the external forces can, in principle, be chosen arbitrarily, providing the resulting schemes are stable and convergent. Only when discretisations of the external forces are specified properly, they are a 2-stage stochastic partitioned Runge–Kutta method given in [23]; however, in DPD simulations, for instance the GW and GCC methods, these discretisations are often chosen very differently as we will find out below.

Separable Hamiltonians. Assuming the Hamiltonians can be separated as

H(𝒒,𝒑)=T(𝒑)+V(𝒒) and hij(𝒒,𝒑)=Sij(𝒑)+Uij(𝒒),H(\bm{q},\bm{p})=T(\bm{p})+V(\bm{q})\text{ and }h_{ij}(\bm{q},\bm{p})=S_{ij}(\bm{p})+U_{ij}(\bm{q}), (27)

the SV-AB schemes (24) and SV-BA schemes (25) become

𝒑k+1/2𝒑k\displaystyle\bm{p}^{k+1/2}-\bm{p}^{k} =Δt2[𝒒V(𝒒k)+(𝑭D(𝒒,𝒑))k1]\displaystyle=\frac{\Delta t}{2}\left[-\nabla_{\bm{q}}V(\bm{q}^{k})+(\bm{F}^{\operatorname{D}}(\bm{q},\bm{p}))^{k_{1}}\right] (28)
+i,j(𝒒Uij(𝒒k)+(𝑭ijSD(𝒒,𝒑))k1)Δ¯Wij(tk),\displaystyle\quad\quad+\sum_{i,j}\left(-\nabla_{\bm{q}}U_{ij}(\bm{q}^{k})+(\bm{F}_{ij}^{\operatorname{SD}}(\bm{q},\bm{p}))^{k_{1}}\right)\circ\overline{\Delta}W_{ij}(t_{k}),
𝒒k+1𝒒k\displaystyle\bm{q}^{k+1}-\bm{q}^{k} =Δt𝒑T(𝒑k+1/2)+i,j𝒑Sij(𝒑k+1/2)ΔWij(tk),\displaystyle=\Delta t*\nabla_{\bm{p}}T(\bm{p}^{k+1/2})+\sum_{i,j}\nabla_{\bm{p}}S_{ij}(\bm{p}^{k+1/2})\circ\Delta W_{ij}(t_{k}),
𝒑k+1𝒑k+1/2\displaystyle\bm{p}^{k+1}-\bm{p}^{k+1/2} =Δt2[𝒒V(𝒒k+1)+(𝑭D(𝒒,𝒑))k2]\displaystyle=\frac{\Delta t}{2}\left[-\nabla_{\bm{q}}V(\bm{q}^{k+1})+(\bm{F}^{\operatorname{D}}(\bm{q},\bm{p}))^{k_{2}}\right]
+i,j(𝒒Uij(𝒒k+1)+(𝑭ijSD(𝒒,𝒑))k2)Δ¯Wij(tk+1/2),\displaystyle\quad\quad+\sum_{i,j}\left(-\nabla_{\bm{q}}U_{ij}(\bm{q}^{k+1})+(\bm{F}_{ij}^{\operatorname{SD}}(\bm{q},\bm{p}))^{k_{2}}\right)\circ\overline{\Delta}W_{ij}(t_{k+1/2}),

and

𝒒k+1/2𝒒k\displaystyle\bm{q}^{k+1/2}-\bm{q}^{k} =Δt2𝒑T(𝒑k)+i,j𝒑Sij(𝒑k)Δ¯Wij(tk),\displaystyle=\frac{\Delta t}{2}*\nabla_{\bm{p}}T(\bm{p}^{k})+\sum_{i,j}\nabla_{\bm{p}}S_{ij}(\bm{p}^{k})\circ\overline{\Delta}W_{ij}(t_{k}), (29)
𝒑k+1𝒑k\displaystyle\bm{p}^{k+1}-\bm{p}^{k} =Δt(𝒒V(𝒒k+1/2)+(𝑭D(𝒒,𝒑))k)ij𝒒Uij(𝒒k+1/2)ΔWij(tk)\displaystyle=\Delta t*\left(-\nabla_{\bm{q}}V(\bm{q}^{k+1/2})+(\bm{F}^{\operatorname{D}}(\bm{q},\bm{p}))^{k}\right)-\sum_{ij}\nabla_{\bm{q}}U_{ij}(\bm{q}^{k+1/2})\circ\Delta W_{ij}(t_{k})
+i,j((𝑭ijSD(𝒒,𝒑))k1Δ¯Wij(tk)+(𝑭ijSD(𝒒,𝒑))k2Δ¯Wij(tk+1/2)),\displaystyle~{}~{}~{}~{}+\sum_{i,j}\left((\bm{F}_{ij}^{\operatorname{SD}}(\bm{q},\bm{p}))^{k_{1}}\circ\overline{\Delta}W_{ij}(t_{k})+(\bm{F}_{ij}^{\operatorname{SD}}(\bm{q},\bm{p}))^{k_{2}}\circ\overline{\Delta}W_{ij}(t_{k+1/2})\right),
𝒒k+1𝒒k+1/2\displaystyle\bm{q}^{k+1}-\bm{q}^{k+1/2} =Δt2𝒑T(𝒑k+1)+i,j𝒑Sij(𝒑k+1)Δ¯Wij(tk+1/2).\displaystyle=\frac{\Delta t}{2}*\nabla_{\bm{p}}T(\bm{p}^{k+1})+\sum_{i,j}\nabla_{\bm{p}}S_{ij}(\bm{p}^{k+1})\circ\overline{\Delta}W_{ij}(t_{k+1/2}).

3.2 SV schemes for the DPD

The Hamiltonians (9) and (18) of the DPD (20) can obviously be separated with respect to their position and momentum coordinates. Substituting them into (28) and (29), the SV-AB schemes and SV-BA schemes for DPD turn out to be

𝒑ik+1/2𝒑ik\displaystyle{\bm{p}^{k+1/2}_{i}-\bm{p}^{k}_{i}} =Δt2[ji𝑭ijC(𝒒k)+(𝑭iD(𝒒,𝒑))k1]+σjiωR(qijk)𝒒^ijkΔ¯Wij(tk),\displaystyle=\frac{\Delta t}{2}\left[\sum_{j\neq i}\bm{F}_{ij}^{\operatorname{C}}(\bm{q}^{k})+(\bm{F}^{\operatorname{D}}_{i}(\bm{q},\bm{p}))^{k_{1}}\right]+\sigma\sum_{j\neq i}\omega^{\operatorname{R}}(q_{ij}^{k})\bm{\widehat{q}}_{ij}^{k}\circ\overline{\Delta}W_{ij}(t_{k}), (30)
𝒒ik+1𝒒ik\displaystyle{\bm{q}^{k+1}_{i}-\bm{q}^{k}_{i}} =Δt𝒑ik+1/2mi,\displaystyle=\Delta t*\frac{\bm{p}_{i}^{k+1/2}}{m_{i}},
𝒑ik+1𝒑ik+1/2\displaystyle{\bm{p}^{k+1}_{i}-\bm{p}^{k+1/2}_{i}} =Δt2[ji𝑭ijC(𝒒k+1)+(𝑭iD(𝒒,𝒑))k2]+σjiωR(qijk+1)𝒒^ijk+1Δ¯Wij(tk+1/2),\displaystyle=\frac{\Delta t}{2}\left[\sum_{j\neq i}\bm{F}_{ij}^{\operatorname{C}}(\bm{q}^{k+1})+(\bm{F}^{\operatorname{D}}_{i}(\bm{q},\bm{p}))^{k_{2}}\right]+\sigma\sum_{j\neq i}\omega^{\operatorname{R}}(q_{ij}^{k+1})\bm{\widehat{q}}_{ij}^{k+1}\circ\overline{\Delta}W_{ij}(t_{k+1/2}),

and

𝒒ik+1/2𝒒ik\displaystyle\bm{q}^{k+1/2}_{i}-\bm{q}^{k}_{i} =Δt2𝒑ikmi,\displaystyle=\frac{\Delta t}{2}*\frac{\bm{p}_{i}^{k}}{m_{i}}, (31)
𝒑ik+1𝒑ik\displaystyle\bm{p}^{k+1}_{i}-\bm{p}^{k}_{i} =Δt(ji𝑭ijC(𝒒k+1/2)+(𝑭iD(𝒒,𝒑))k)+σjiωR(qijk+1/2)𝒒^ijk+1/2ΔWij(tk),\displaystyle=\Delta t\left(\sum_{j\neq i}\bm{F}_{ij}^{\operatorname{C}}(\bm{q}^{k+1/2})+(\bm{F}_{i}^{\operatorname{D}}(\bm{q},\bm{p}))^{k}\right)+\sigma\sum_{j\neq i}\omega^{\operatorname{R}}(q_{ij}^{k+1/2})\bm{\widehat{q}}_{ij}^{k+1/2}\circ\Delta W_{ij}(t_{k}),
𝒒ik+1𝒒ik+1/2\displaystyle\bm{q}^{k+1}_{i}-\bm{q}^{k+1/2}_{i} =Δt2𝒑ik+1mi.\displaystyle=\frac{\Delta t}{2}*\frac{\bm{p}_{i}^{k+1}}{m_{i}}.
Remark 3.6.

If we (partially) eliminate the half values in the SV-AB schemes (30) and SV-BA schemes (31), we can rewrite them in the following equivalent representatives

𝒒ik+1𝒒ik\displaystyle\bm{q}^{k+1}_{i}-\bm{q}^{k}_{i} =Δtmi{𝒑ik+Δt2[ji𝑭ijC(𝒒k)+(𝑭iD(𝒒,𝒑))k1]+σjiωR(qijk)𝒒^ijkΔ¯Wij(tk)},\displaystyle=\frac{\Delta t}{m_{i}}\left\{\bm{p}_{i}^{k}+\frac{\Delta t}{2}\left[\sum_{j\neq i}\bm{F}_{ij}^{\operatorname{C}}(\bm{q}^{k})+(\bm{F}^{\operatorname{D}}_{i}(\bm{q},\bm{p}))^{k_{1}}\right]+\sigma\sum_{j\neq i}\omega^{\operatorname{R}}(q_{ij}^{k})\bm{\widehat{q}}_{ij}^{k}\circ\overline{\Delta}W_{ij}(t_{k})\right\}, (32)
𝒑ik+1𝒑ik\displaystyle\bm{p}^{k+1}_{i}-\bm{p}^{k}_{i} =Δt2[ji𝑭ijC(𝒒k)+(𝑭iD(𝒒,𝒑))k1]+σjiωR(qijk)𝒒^ijkΔ¯Wij(tk)\displaystyle=\frac{\Delta t}{2}\left[\sum_{j\neq i}\bm{F}_{ij}^{\operatorname{C}}(\bm{q}^{k})+(\bm{F}^{\operatorname{D}}_{i}(\bm{q},\bm{p}))^{k_{1}}\right]+\sigma\sum_{j\neq i}\omega^{\operatorname{R}}(q_{ij}^{k})\bm{\widehat{q}}_{ij}^{k}\circ\overline{\Delta}W_{ij}(t_{k})
+Δt2[ji𝑭ijC(𝒒k+1)+(𝑭iD(𝒒,𝒑))k2]+σjiωR(qijk+1)𝒒^ijk+1Δ¯Wij(tk+1/2)\displaystyle\quad\quad+\frac{\Delta t}{2}\left[\sum_{j\neq i}\bm{F}_{ij}^{\operatorname{C}}(\bm{q}^{k+1})+(\bm{F}^{\operatorname{D}}_{i}(\bm{q},\bm{p}))^{k_{2}}\right]+\sigma\sum_{j\neq i}\omega^{\operatorname{R}}(q_{ij}^{k+1})\bm{\widehat{q}}_{ij}^{k+1}\circ\overline{\Delta}W_{ij}(t_{k+1/2})

and

𝒒ik+1/2𝒒ik\displaystyle\bm{q}^{k+1/2}_{i}-\bm{q}^{k}_{i} =Δt2𝒑ikmi,\displaystyle=\frac{\Delta t}{2}*\frac{\bm{p}_{i}^{k}}{m_{i}}, (33)
𝒑ik+1𝒑ik\displaystyle\bm{p}^{k+1}_{i}-\bm{p}^{k}_{i} =Δt(ji𝑭ijC(𝒒k+1/2)+(𝑭iD(𝒒,𝒑))k)+σjiωR(qijk+1/2)𝒒^ijk+1/2ΔWij(tk),\displaystyle=\Delta t\left(\sum_{j\neq i}\bm{F}_{ij}^{\operatorname{C}}(\bm{q}^{k+1/2})+(\bm{F}_{i}^{\operatorname{D}}(\bm{q},\bm{p}))^{k}\right)+\sigma\sum_{j\neq i}\omega^{\operatorname{R}}(q_{ij}^{k+1/2})\bm{\widehat{q}}_{ij}^{k+1/2}\circ\Delta W_{ij}(t_{k}),
𝒒ik+1𝒒ik\displaystyle\bm{q}^{k+1}_{i}-\bm{q}^{k}_{i} =Δtmi𝒑ik+𝒑ik+12.\displaystyle=\frac{\Delta t}{m_{i}}*\frac{\bm{p}_{i}^{k}+\bm{p}_{i}^{k+1}}{2}.

Note that in the latter, 𝐪k+1/2\bm{q}^{k+1/2} can also be totally eliminated. We keep it to avoid heavy arguments for the functions.

In the rest of the paper, we will be focused on the SV-AB schemes (30) (or (32)) for DPD, which include the GW and GCC methods as special cases. Further studies on the SV-BA schemes and other symplectic methods will be conducted in our future work. We need only specify the force discretisations (𝑭D(𝒒,𝒑))k1(\bm{F}^{\operatorname{D}}(\bm{q},\bm{p}))^{k_{1}} and (𝑭D(𝒒,𝒑))k2(\bm{F}^{\operatorname{D}}(\bm{q},\bm{p}))^{k_{2}}, respectively. There are certainly many other choices expect for what we introduce below.

To recover the conventional GW and GCC methods, the approximation Δ¯Wij(tk)Δ¯Wij(tk+1/2)\overline{\Delta}W_{ij}(t_{k})\approx\overline{\Delta}W_{ij}(t_{k+1/2}) will have to be employed, and hence

Δ¯WijΔWij/2,\overline{\Delta}W_{ij}\approx\Delta W_{ij}/2, (34)

as Δ¯Wij(tk)+Δ¯Wij(tk+1/2)=ΔWij(tk)\overline{\Delta}W_{ij}(t_{k})+\overline{\Delta}W_{ij}(t_{k+1/2})=\Delta W_{ij}(t_{k}). However, it should be noted that this approximation will change the nature of the schemes in the sense that the increments Δ¯Wij(tk)\overline{\Delta}W_{ij}(t_{k}) and Δ¯Wij(tk+1/2)\overline{\Delta}W_{ij}(t_{k+1/2}) are not longer independent; in fact, this approximation is not necessary in practical applications.

  • 1.

    SV-AB-1 is an implicit scheme by choosing

    (𝑭iD(𝒒,𝒑))k1=𝑭iD(𝒒k,𝒑k),(𝑭iD(𝒒,𝒑))k2=𝑭iD(𝒒k+1,𝒑k+1).(\bm{F}_{i}^{\operatorname{D}}(\bm{q},\bm{p}))^{k_{1}}=\bm{F}^{\operatorname{D}}_{i}(\bm{q}^{k},\bm{p}^{k}),\quad(\bm{F}^{\operatorname{D}}_{i}(\bm{q},\bm{p}))^{k_{2}}=\bm{F}^{\operatorname{D}}_{i}(\bm{q}^{k+1},\bm{p}^{k+1}). (35)

    For DPD, the dissipative force 𝑭D\bm{F}^{\operatorname{D}} is linear in 𝒑\bm{p}, so the scheme can be written explicitly, in principle. However, one may need to solve a linear system with a sparse coefficient matrix.

  • 2.

    SV-AB-2 is an explicit scheme by defining

    (𝑭iD(𝒒,𝒑))k1=𝑭iD(𝒒k,𝒑k),(𝑭iD(𝒒,𝒑))k2=𝑭iD(𝒒k+1,𝒑k+λ),(\bm{F}_{i}^{\operatorname{D}}(\bm{q},\bm{p}))^{k_{1}}=\bm{F}_{i}^{\operatorname{D}}(\bm{q}^{k},\bm{p}^{k}),\quad(\bm{F}_{i}^{\operatorname{D}}(\bm{q},\bm{p}))^{k_{2}}=\bm{F}^{\operatorname{D}}_{i}(\bm{q}^{k+1},\bm{p}^{k+\lambda}), (36)

    where 𝒑k+λ\bm{p}^{k+\lambda} (λ[0,1]\lambda\in[0,1]) is defined by

    𝒑ik+λ𝒑ikΔt=λ[ji𝑭ijC(𝒒k)+𝑭iD(𝒒k,𝒑k)+σjiωR(qijk)𝒒^ijkΔWij(tk)Δt].\frac{\bm{p}^{k+\lambda}_{i}-\bm{p}^{k}_{i}}{\Delta t}=\lambda\left[\sum_{j\neq i}\bm{F}_{ij}^{\operatorname{C}}(\bm{q}^{k})+\bm{F}^{\operatorname{D}}_{i}(\bm{q}^{k},\bm{p}^{k})+\sigma\sum_{j\neq i}\omega^{\operatorname{R}}(q_{ij}^{k})\bm{\widehat{q}}_{ij}^{k}\circ\frac{\Delta W_{ij}(t_{k})}{\Delta t}\right]. (37)

    This is exactly the GCC method [14].

  • 3.

    SV-AB-3 is explicit by specifying

    (𝑭iD(𝒒,𝒑))k1=𝑭iD(𝒒k,𝒑k1+λ),(𝑭iD(𝒒,𝒑))k2=𝑭iD(𝒒k+1,𝒑k+λ),(\bm{F}^{\operatorname{D}}_{i}(\bm{q},\bm{p}))^{k_{1}}=\bm{F}^{\operatorname{D}}_{i}(\bm{q}^{k},\bm{p}^{k-1+\lambda}),\quad(\bm{F}^{\operatorname{D}}_{i}(\bm{q},\bm{p}))^{k_{2}}=\bm{F}^{\operatorname{D}}_{i}(\bm{q}^{k+1},\bm{p}^{k+\lambda}), (38)

    where 𝒑k+λ\bm{p}^{k+\lambda} (λ[0,1]\lambda\in[0,1]) is defined by

    𝒑ik+λ𝒑ikΔt=λ[ji𝑭ijC(𝒒k)+𝑭iD(𝒒k,𝒑k1+λ)+σjiωR(qijk)𝒒^ijkΔWij(tk)Δt]\frac{\bm{p}^{k+\lambda}_{i}-\bm{p}^{k}_{i}}{\Delta t}=\lambda\left[\sum_{j\neq i}\bm{F}_{ij}^{\operatorname{C}}(\bm{q}^{k})+\bm{F}^{\operatorname{D}}_{i}(\bm{q}^{k},\bm{p}^{k-1+\lambda})+\sigma\sum_{j\neq i}\omega^{\operatorname{R}}(q_{ij}^{k})\bm{\widehat{q}}_{ij}^{k}\circ\frac{\Delta W_{ij}(t_{k})}{\Delta t}\right] (39)

    and the initial value of 𝒑k+λ\bm{p}^{k+\lambda} is 𝒑λ=𝒑1\bm{p}^{\lambda}=\bm{p}^{1} when k=1k=1. This is exactly the GW method [2].

  • 4.

    SV-AB-4 is a generalisation of the three methods above, which can, in principle, be expressed explicitly for the DPD:

    (𝑭iD(𝒒,𝒑))k1\displaystyle(\bm{F}^{\operatorname{D}}_{i}(\bm{q},\bm{p}))^{k_{1}} =𝑭iD(𝒒k,α𝒑k+(1α)𝒑k1+λ),α[0,1],\displaystyle=\bm{F}^{\operatorname{D}}_{i}(\bm{q}^{k},\alpha\bm{p}^{k}+(1-\alpha)\bm{p}^{k-1+\lambda}),\quad\alpha\in[0,1], (40)
    (𝑭iD(𝒒,𝒑))k2\displaystyle(\bm{F}^{\operatorname{D}}_{i}(\bm{q},\bm{p}))^{k_{2}} =𝑭iD(𝒒k+1,β𝒑k+λ+(1β)𝒑k+1),β[0,1],\displaystyle=\bm{F}^{\operatorname{D}}_{i}(\bm{q}^{k+1},\beta\bm{p}^{k+\lambda}+(1-\beta)\bm{p}^{k+1}),\quad\beta\in[0,1],

    where 𝒑k+λ\bm{p}^{k+\lambda} (λ[0,1]\lambda\in[0,1]) is defined by

    𝒑ik+λ𝒑ikΔt\displaystyle\frac{\bm{p}^{k+\lambda}_{i}-\bm{p}^{k}_{i}}{\Delta t} =λ[ji𝑭ijC(𝒒k)+𝑭iD(𝒒k,α𝒑k+(1α)𝒑k1+λ)\displaystyle=\lambda\left[\sum_{j\neq i}\bm{F}_{ij}^{\operatorname{C}}(\bm{q}^{k})+\bm{F}^{\operatorname{D}}_{i}(\bm{q}^{k},\alpha\bm{p}^{k}+(1-\alpha)\bm{p}^{k-1+\lambda})\right. (41)
    +σjiωR(qijk)𝒒^ijkΔWij(tk)Δt].\displaystyle\quad\quad\quad\quad\quad\quad\quad\quad\left.+~{}\sigma\sum_{j\neq i}\omega^{\operatorname{R}}(q_{ij}^{k})\bm{\widehat{q}}_{ij}^{k}\circ\frac{\Delta W_{ij}(t_{k})}{{\Delta t}}\right].

    It reduces to the SV-AB-1 method for α=1,β=0\alpha=1,\beta=0, to the SV-AB-2 (GCC) method for α=1,β=1\alpha=1,\beta=1 and to the SV-AB-3 (GW) method for α=0,β=1\alpha=0,\beta=1.

  • 5.

    SV-AB-5 is explicit by choosing

    (𝑭iD(𝒒,𝒑))k1\displaystyle(\bm{F}_{i}^{\operatorname{D}}(\bm{q},\bm{p}))^{k_{1}} =𝑭iD(𝒒k,𝒑k1+λ1),λ1[0,1],\displaystyle=\bm{F}_{i}^{\operatorname{D}}(\bm{q}^{k},\bm{p}^{k-1+\lambda_{1}}),\quad\lambda_{1}\in[0,1], (42)
    (𝑭iD(𝒒,𝒑))k2\displaystyle(\bm{F}_{i}^{\operatorname{D}}(\bm{q},\bm{p}))^{k_{2}} =𝑭iD(𝒒k+1,𝒑k+λ2),λ2[0,1],\displaystyle=\bm{F}_{i}^{\operatorname{D}}(\bm{q}^{k+1},\bm{p}^{k+\lambda_{2}}),\quad\lambda_{2}\in[0,1],

    where

    𝒑ik+λ1𝒑ikΔt\displaystyle\frac{\bm{p}^{k+\lambda_{1}}_{i}-\bm{p}^{k}_{i}}{\Delta t} =λ1[ji𝑭ijC(𝒒k)+𝑭iD(𝒒k,𝒑k1+λ1)+σjiωR(qijk)𝒒^ijkΔWij(tk)Δt],\displaystyle=\lambda_{1}\left[\sum_{j\neq i}\bm{F}_{ij}^{\operatorname{C}}(\bm{q}^{k})+\bm{F}^{\operatorname{D}}_{i}(\bm{q}^{k},\bm{p}^{k-1+\lambda_{1}})+\sigma\sum_{j\neq i}\omega^{\operatorname{R}}(q_{ij}^{k})\bm{\widehat{q}}_{ij}^{k}\circ\frac{\Delta W_{ij}(t_{k})}{\Delta t}\right], (43)
    𝒑ik+λ2𝒑ikΔt\displaystyle\frac{\bm{p}^{k+\lambda_{2}}_{i}-\bm{p}^{k}_{i}}{\Delta t} =λ2[ji𝑭ijC(𝒒k)+𝑭iD(𝒒k,𝒑k1+λ1)+σjiωR(qijk)𝒒^ijkΔWij(tk)Δt].\displaystyle=\lambda_{2}\left[\sum_{j\neq i}\bm{F}_{ij}^{\operatorname{C}}(\bm{q}^{k})+\bm{F}^{\operatorname{D}}_{i}(\bm{q}^{k},\bm{p}^{k-1+\lambda_{1}})+\sigma\sum_{j\neq i}\omega^{\operatorname{R}}(q_{ij}^{k})\bm{\widehat{q}}_{ij}^{k}\circ\frac{\Delta W_{ij}(t_{k})}{\Delta t}\right].

    When λ1=λ2\lambda_{1}=\lambda_{2}, it reduces to the SV-AB-3 (GW) method.

  • 6.

    SV-AB-6 is a simultaneous generalisation of SV-AB-4 and SV-AB-5, which can be written in an explicit form for the DPD:

    (𝑭iD(𝒒,𝒑))k1\displaystyle(\bm{F}^{\operatorname{D}}_{i}(\bm{q},\bm{p}))^{k_{1}} =𝑭iD(𝒒k,α𝒑k+(1α)𝒑k1+λ1),α[0,1],λ1[0,1],\displaystyle=\bm{F}^{\operatorname{D}}_{i}(\bm{q}^{k},\alpha\bm{p}^{k}+(1-\alpha)\bm{p}^{k-1+\lambda_{1}}),\quad\alpha\in[0,1],\lambda_{1}\in[0,1], (44)
    (𝑭iD(𝒒,𝒑))k2\displaystyle(\bm{F}^{\operatorname{D}}_{i}(\bm{q},\bm{p}))^{k_{2}} =𝑭iD(𝒒k+1,β𝒑k+λ2+(1β)𝒑k+1),β[0,1],λ2[0,1],\displaystyle=\bm{F}^{\operatorname{D}}_{i}(\bm{q}^{k+1},\beta\bm{p}^{k+\lambda_{2}}+(1-\beta)\bm{p}^{k+1}),\quad\beta\in[0,1],\lambda_{2}\in[0,1],

    where 𝒒k+λ1\bm{q}^{k+\lambda_{1}} and 𝒒k+λ2\bm{q}^{k+\lambda_{2}} are given by

    𝒑ik+λ1𝒑ikΔt\displaystyle\frac{\bm{p}^{k+\lambda_{1}}_{i}-\bm{p}^{k}_{i}}{\Delta t} =λ1[ji𝑭ijC(𝒒k)+𝑭iD(𝒒k,α𝒑k+(1α)𝒑k1+λ1)\displaystyle=\lambda_{1}\left[\sum_{j\neq i}\bm{F}_{ij}^{\operatorname{C}}(\bm{q}^{k})+\bm{F}^{\operatorname{D}}_{i}(\bm{q}^{k},\alpha\bm{p}^{k}+(1-\alpha)\bm{p}^{k-1+\lambda_{1}})\right. (45)
    +σjiωR(qijk)𝒒^ijkΔWij(tk)Δt],\displaystyle\quad\quad\quad\quad\quad\quad\quad\quad\left.+~{}\sigma\sum_{j\neq i}\omega^{\operatorname{R}}(q_{ij}^{k})\bm{\widehat{q}}_{ij}^{k}\circ\frac{\Delta W_{ij}(t_{k})}{\Delta t}\right],
    𝒑ik+λ2𝒑ikΔt\displaystyle\frac{\bm{p}^{k+\lambda_{2}}_{i}-\bm{p}^{k}_{i}}{\Delta t} =λ2[ji𝑭ijC(𝒒k)+𝑭iD(𝒒k,α𝒑k+(1α)𝒑k1+λ1)\displaystyle=\lambda_{2}\left[\sum_{j\neq i}\bm{F}_{ij}^{\operatorname{C}}(\bm{q}^{k})+\bm{F}^{\operatorname{D}}_{i}(\bm{q}^{k},\alpha\bm{p}^{k}+(1-\alpha)\bm{p}^{k-1+\lambda_{1}})\right.
    +σjiωR(qijk)𝒒^ijkΔWij(tk)Δt].\displaystyle\quad\quad\quad\quad\quad\quad\quad\quad\left.+~{}\sigma\sum_{j\neq i}\omega^{\operatorname{R}}(q_{ij}^{k})\bm{\widehat{q}}_{ij}^{k}\circ\frac{\Delta W_{ij}(t_{k})}{\Delta t}\right].

    When λ1=λ2\lambda_{1}=\lambda_{2}, it becomes SV-AB-4, while when α=0,β=1\alpha=0,\beta=1, it becomes SV-AB-5.

Remark 3.7.

The schemes SV-AB-1\sim6 are related through the following diagram:

SV-AB-1SV-AB-2 (GCC)SV-AB-3 (GW)SV-AB-4SV-AB-5SV-AB-6α=1\alpha=1β=1\beta=1α=1\alpha=1β=0\beta=0α=0\alpha=0β=1\beta=1λ1=λ2\lambda_{1}=\lambda_{2}λ1=λ2\lambda_{1}=\lambda_{2}α=0\alpha=0β=1\beta=1
Figure 1: Relations of the schemes SV-AB-1\sim6.

We summarize some general features of the schemes in Fig. 1 as follows.

  • 1.

    Explicit schemes: SV-AB-2 (GCC), SV-AB-3 (GW), SV-AB-5. The other schemes are implicit but can be written explicitly for the DPD by solving a sparse linear system.

  • 2.

    Number of independent parameters: SV-AB-1: 0, SV-AB-2 (GCC): 1, SV-AB-3 (GW): 1, SV-AB-4: 3, SV-AB-5: 2, SV-AB-6: 4.

3.3 Long-time behaviour of the SV-AB methods

When no external forces are involved, it was noticed that the Euler-A method (21) and the Euler-B method (22) are not convergent in the mean-square sense when the Hamiltonian functions hij=hij(𝒒,𝒑)h_{ij}=h_{ij}(\bm{q},\bm{p}) depend on both the positions and momenta [22]. If we further assume that hij=hij(𝒒)h_{ij}=h_{ij}(\bm{q}) only depend on the positions, the Euler-A and Euler-B methods are both convergent and hence are the SV methods.

In this subsection, we will numerically show the convergence of the SV-AB-1\sim6 methods by studying the damped Kubo oscillator, a stochastic Hamiltonian system whose Hamiltonians are separable given by

H(q,p)=p22+q22,h(q,p)=σ(p22+q22).H(q,p)=\frac{p^{2}}{2}+\frac{q^{2}}{2},\quad h(q,p)=\sigma\left(\frac{p^{2}}{2}+\frac{q^{2}}{2}\right). (46)

Here σ\sigma is the noise intensity. As its solution can be calculated analytically, it has often been used for the validation of numerical methods (e.g., [22, 20]). By employing the forces

FD=εp,FSD=εσpF^{\operatorname{D}}=-\varepsilon p,\quad F^{\operatorname{SD}}=-\varepsilon\sigma p (47)

with ε\varepsilon the nonnegative damping coefficient, the damped Kubo oscillator has the following exact solution [23]

q¯(t)\displaystyle\overline{q}(t) =q0exp(ε2(t+σW(t)))cosω(t+σW(t))\displaystyle=q_{0}\exp\left(-\frac{\varepsilon}{2}(t+\sigma W(t))\right)\cos\omega\left(t+\sigma W(t)\right) (48)
+1ω(p0+ε2q0)exp(ε2(t+σW(t)))sinω(t+σW(t)),\displaystyle\quad+\frac{1}{\omega}\left(p_{0}+\frac{\varepsilon}{2}q_{0}\right)\exp\left(-\frac{\varepsilon}{2}(t+\sigma W(t))\right)\sin\omega\left(t+\sigma W(t)\right),
p¯(t)\displaystyle\overline{p}(t) =p0exp(ε2(t+σW(t)))cosω(t+σW(t))\displaystyle=p_{0}\exp\left(-\frac{\varepsilon}{2}(t+\sigma W(t))\right)\cos\omega\left(t+\sigma W(t)\right)
1ω(q0+ε2p0)exp(ε2(t+σW(t)))sinω(t+σW(t)),\displaystyle\quad-\frac{1}{\omega}\left(q_{0}+\frac{\varepsilon}{2}p_{0}\right)\exp\left(-\frac{\varepsilon}{2}(t+\sigma W(t))\right)\sin\omega\left(t+\sigma W(t)\right),

where (q0,p0)(q_{0},p_{0}) are the initial conditions, the angular frequency is ω=4ε2/2\omega={\sqrt{4-\varepsilon^{2}}}/{2} by assuming ε<2\varepsilon<2. The expected value of the Hamiltonian HH is given by

E(H(q¯(t),p¯(t)))\displaystyle E(H(\overline{q}(t),\overline{p}(t))) =aexp(ε(2εσ2)t2)\displaystyle=a\exp\left(-\frac{\varepsilon(2-\varepsilon\sigma^{2})t}{2}\right) (49)
+exp(((2ε2)σ2+ε)t)(bcos(2(1εσ2)ωt)+csin(2(1εσ2)ωt)),\displaystyle\quad+\exp\left(-\left((2-\varepsilon^{2})\sigma^{2}+\varepsilon\right)t\right)\left(b\cos\left(2(1-\varepsilon\sigma^{2})\omega t\right)+c\sin\left(2(1-\varepsilon\sigma^{2})\omega t\right)\right),

where

a=2(q02+p02+εq0p0)4ε2,b=ε2(q02+p02)+4εq0p02(4ε2),c=ε(q02p02)24ε2.a=\frac{2(q_{0}^{2}+p_{0}^{2}+\varepsilon q_{0}p_{0})}{4-\varepsilon^{2}},\quad b=-\frac{\varepsilon^{2}(q_{0}^{2}+p_{0}^{2})+4\varepsilon q_{0}p_{0}}{2(4-\varepsilon^{2})},\quad c=\frac{\varepsilon(q_{0}^{2}-p_{0}^{2})}{2\sqrt{4-\varepsilon^{2}}}. (50)

In the simulations, the initial conditions are q0=0,p0=1q_{0}=0,p_{0}=1, the noise intensity is σ=0.2\sigma=0.2 and the damping coefficient is ε=0.001\varepsilon=0.001. Time step is Δt=0.1\Delta t=0.1 for a time span [0,2000][0,2000]. For simplicity, discretisation of FSD(q,p)F^{\operatorname{SD}}(q,p) is chosen as FSD(qk,pk)F^{\operatorname{SD}}(q^{k},p^{k}) at each step kk for all numerical methods. Furthermore, we pick one special choice of the parameters α,β,λ\alpha,\beta,\lambda for each method as shown in the figures and in each case 2,0002,000 sample paths are generated. Figs. 2 and 3 show the mean Hamiltonians of the SV-AB methods and their differences with respect to the exact Hamiltonian (49). Fluctuating behaviour of the energy can be noticed. In particular, Fig. 3 shows that order of the error is approximately 10310^{-3} and it tends to become smaller in a long time after a relatively stronger vibration at the beginning.

Refer to caption
Figure 2: Mean Hamiltonians of the SV-AB-1, SV-AB-2 (λ=0.7\lambda=0.7), SV-AB-3 (λ=0.3\lambda=0.3), SV-AB-4 (α=0.5,β=1,λ=0.6\alpha=0.5,\beta=1,\lambda=0.6), SV-AB-5 (λ1=0.3,λ2=0.5\lambda_{1}=0.3,\lambda_{2}=0.5), and SV-AB-6 (λ1=0.3,λ2=0.4,α=0.4,β=1\lambda_{1}=0.3,\lambda_{2}=0.4,\alpha=0.4,\beta=1) methods. To clearly show the tendency of the time evolution and the fluctuating behaviour, the first 200 seconds are plotted here.
Refer to caption
Figure 3: The difference between numerical mean Hamiltonians and the exact Hamiltonian for the SV-AB-1, SV-AB-2 (λ=0.7\lambda=0.7), SV-AB-3 (λ=0.3\lambda=0.3), SV-AB-4 (α=0.5,β=1,λ=0.6\alpha=0.5,\beta=1,\lambda=0.6), SV-AB-5 (λ1=0.3,λ2=0.5\lambda_{1}=0.3,\lambda_{2}=0.5), and SV-AB-6 (λ1=0.3,λ2=0.4,α=0.4,β=1\lambda_{1}=0.3,\lambda_{2}=0.4,\alpha=0.4,\beta=1) methods.

4 Applications to DPD simulations

Although all the SV-AB schemes proposed above can be made explicit for the DPD, further efforts may be needed to achieve the corresponding explicit representatives, in particular, by solving a huge sparse linear system. For simplicity, we will be focused on the explicit SV-AB-2 (GCC) and SV-AB-4 (β=1\beta=1) methods in comparison with the SV-AB-3 (GW) method. Recall that SV-AB-4 (β=1\beta=1) reduces to the SV-AB-3 (GW) with α=0\alpha=0 and reduces to SV-AB-2 (GCC) with α=1\alpha=1 (see Fig. 1).

In our simulations, the total number of fluid particles of the same mass mm is set to 3,0003,000 with a=25kBTa=25k_{\mathrm{B}}T^{*}, where aa is the repulsive parameter (i.e., aij=aa_{ij}=a for all iji\neq j) to determine the magnitude of the conservative force 𝑭C\bm{F}^{\operatorname{C}}, TT^{*} is the set temperature and kBk_{\mathrm{B}} is the Boltzmann constant. The noise parameter σ\sigma and the friction parameter γ\gamma are set to 3.03.0 and 4.54.5, respectively. All simulations are performed under the condition of constant-volume and constant-temperature, i.e., the canonical ensemble is generated. The size of simulation box is 10 ×10×10qc3\times 10\times 10q_{\mathrm{c}}^{3}. The periodic boundary condition is applied in all three dimensions. Here, qcq_{\mathrm{c}} is the cutoff distance, which is the unit length in the DPD simulation. The initial configuration is random, and the initial momentum is set appropriately so that the temperature would satisfy the Boltzmann distribution for the set temperature satisfying kBT=1.0k_{\mathrm{B}}T^{*}=1.0. This gives the repulsion parameter a=25a=25, yielding the compressibility of water. Although Groot and Warren reported that there was no statistical difference between simulations using uniform random numbers and those using Gaussian random numbers [2], we use a Gaussian distribution to generate the random numbers in the current simulations.

We examined twenty cases with the time step size Δt\Delta t ranging from 0.0010.001 to 0.16τ0.16\tau. Here, we use reduced units for the cutoff radius qcq_{\mathrm{c}}, the particle mass mm, and the energy kBTk_{\mathrm{B}}T. Hence, the time unit is defined as τ=mqc2/kBT\tau=\sqrt{mq_{\mathrm{c}}^{2}/k_{\mathrm{B}}T}. All cases were simulated for at least 1,000τ1,000\tau, and the last 16%16\% were used as statistical data. Note that we were not able to calculate exactly 1,000τ1,000\tau for all Δt\Delta t and the first 84 % of the data was discarded to equilibrate the system sufficiently. As a comparison of the accuracy of the formulations, the kinetic temperature kBT=𝒗2/3k_{\mathrm{B}}T=\left\langle\bm{v}^{2}\right\rangle/3 was calculated and its difference from the set temperature kBT=1.0k_{\mathrm{B}}T^{*}=1.0 was examined, where \langle\cdot\rangle is the average over all particles in the simulations and 𝒗=𝒑/m\bm{v}=\bm{p}/m. Since the simulation was performed with a canonical ensemble, temperature of the system will fluctuate around a certain average value after reaching the equilibrium state. In the simulations, the average value is the set temperature, which satisfies kBT=1.0k_{\mathrm{B}}T^{*}=1.0.

Fig. 4 plots the artificial kinetic temperature increase of the SV-AB-2 (GCC), SV-AB-3 (GW), and SV-AB-4 (β=1\beta=1) schemes with representative parameters. For results for all parameters, please refer to Figs. S1–S3 in Supporting Information. It is confirmed that the statistical error of the temperature is less than 1%1\%, i.e., kBT1<102k_{\mathrm{B}}T-1<10^{-2}, for all schemes when Δt\Delta t is less than 0.010.01.

Refer to caption
Figure 4: Kinetic temperature versus time step. Curves represent representative results for the SV-AB-2 (GCC), SV-AB-3 (GW), and SV-AB-4 (β=1\beta=1) schemes. Note that the kinetic temperature is averaged over time after equilibration.

Let us firstly compare the SV-AB-3 (GW) scheme with the SV-AB-2 (GCC) scheme. We consider that λ=0.5\lambda=0.5 and 0.650.65 are the representative parameters of the SV-AB-2 (GCC) and SV-AB-3 (GW) schemes, respectively. When Δt<2×102\Delta t<2\times 10^{-2}, in several cases the error of SV-AB-2 (GCC) (λ=0.5\lambda=0.5) is smaller than that of the SV-AB-3 (GW) with λ=0.65\lambda=0.65. When Δt>3×102\Delta t>3\times 10^{-2}, error of SV-AB-2 (GCC) (λ=0.5\lambda=0.5) jumps to bigger than 0.1%0.1\%. However, when the time step becomes ever bigger, for instance Δt>101\Delta t>10^{-1}, error of SV-AB-2 (GCC) (λ=0.5\lambda=0.5) is smaller; one should be noted that error for these cases is probably too big for practical simulations.

Now consider the SV-AB-4 (β=1\beta=1) scheme. For all α\alphas, the error tends to be the smallest around λ=0.6\lambda=0.6. When Δt<102\Delta t<10^{-2}, the error of the SV-AB-4 (β=1\beta=1) is similar to that of the SV-AB-3 (GW) (λ=0.65\lambda=0.65). As Δt\Delta t increases, the error also increases. The accuracy of schemes with α=0.8\alpha=0.8 and α=0.5\alpha=0.5 interchanges at some point as Δt\Delta t increases: for smaller Δt\Delta t, the error of α=0.5\alpha=0.5 case is smaller, while for larger Δt\Delta t, the error of α=0.8\alpha=0.8 case becomes smaller. The maximum Δt\Delta t that shows an accuracy of less than 1%1\% error is 0.060.06, which is the same as the SV-AB-3 (GW) (λ=0.65\lambda=0.65), but for Δt=0.04\Delta t=0.04, its accuracy is higher than the SV-AB-3 (GW) (λ=0.65\lambda=0.65). On the other hand, when Δt<7×102\Delta t<7\times 10^{-2} and λ=1.0\lambda=1.0, the error of SV-AB-4 (β=1\beta=1) is larger than that of the SV-AB-3 (GW) (λ=0.65\lambda=0.65) for all α\alphas. However, when Δt=0.1\Delta t=0.1, the error is approximately 0.5%0.5\%, which is highly accurate. Unfortunately, further studies are needed before this can be applied in practical simulations easily.

Simulations of the SV-AB-4 (β=1\beta=1) for α=0.9\alpha=0.9 and λ=1.0\lambda=1.0 are shown in Fig. 5 with the vertical axis illustrated in linear scale. Blue and red curves show the error and the absolute error respectively. Note that the green curve in Fig. 4 and the red curve in Fig. 5 coincide. As shown in the zoomed-up view inserted in Fig. 5, starting at around Δt=2×102\Delta t=2\times 10^{-2}, the statical error becomes bigger and bigger in negative values as Δt\Delta t increases. It attains 0.05-0.05 at Δt=7×102\Delta t=7\times 10^{-2} and then becomes smaller towards the positive direction as Δt\Delta t increases further. Finally at Δt=0.1\Delta t=0.1, the error shifts from negative to positive and it is expected that the error is not small for all schemes. This phenomenon that the error is shifting between negative and positive is observed in all three methods including the GW and the GCC. As a consequence, in practical applications, it is necessary to adopt the value of time step size Δt\Delta t within the permissible error during when error becomes larger as Δt\Delta t becomes larger, instead of the value of Δt\Delta t with the smallest error.

Refer to caption
Figure 5: Kinetic temperature versus time step on linear yy-axis. SV-AB-4 (β=1\beta=1) scheme with α=0.9\alpha=0.9 and λ=1.0\lambda=1.0. Red and blue curves represent statical error of kinetic temperatures before and after taking absolute values. Note that the kinetic temperature is averaged over time after equilibration.

5 Conclusions and outlook

In conclusion, we proposed a novel stochastic Hamiltonian formulation (SHF) with matrix noise and subject to external forces, which was found applicable to DPD simulations as the DPD system could be obtained from the corresponding stochastic Lagrange–d’Alembert principle by introducing proper Hamiltonian functions and dissipative forces. In particular, we extended the well-known symplectic SV scheme for conservative Hamiltonian systems to the SHF as composites of the Euler-A and Euler-B methods. By discretising the dissipative forces properly, several simple families of SV methods were constructed and especially the SV-AB methods were focused which were derived as the composite (Euler-A)(Euler-B)\text{(Euler-A)}\circ\text{(Euler-B)}. By studying the damped Kubo oscillator, the fluctuating behaviour and damping energy/Hamiltonian dissipation were realised with order of error approximately 10310^{-3} between the numerical and exact Hamiltonians. For DPD simulations, the SV-AB methods include the conventional GW and GCC methods as special cases. Simulations of a novel two-parametric explicit schemes were conducted and compared with the GW and GCC methods. As time step varies, some of the novel schemes were advantageous over the GW method but unfortunately no global advantage was realised. It was also observed that for all schemes as the time step increases the error can shift between positive and negative values, that requires one to choose a time step in practical applications more carefully.

Beside the SV methods proposed in the current study, thanks to the SHF a variety of other effective structure-preserving methods may be extended as well, for instance, symplectic partitioned Runge–Kutta methods and variational integrators. These are part of our current and future studies including their applications to the DPD and other relevant stochastic physical systems. From the theoretical viewpoint, it is worthwhile to study further the geometric and algebraic structures of the SHF, for instance, conformal symplectic structures, generating functions, symmetries and Noether’s conserved quantities.

Declaration of competing interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Acknowledgements

This work was partially supported by JSPS KAKENHI Grant Number JP20K14365, JST-CREST Grant Number JPMJCR1914, and Keio Gijuku Fukuzawa Memorial Fund. We thank the anonymous referees for their constructive comments.

References

  • [1] P. J. Hoogerbrugge, J. M. V. A. Koelman, Simulating Microscopic Hydrodynamic Phenomena with Dissipative Particle Dynamics, EPL 19 (3) (1992) 155–160, https://doi.org/10.1209/0295-5075/19/3/001.
  • [2] R. D. Groot, P. B. Warren, Dissipative particle dynamics: Bridging the gap between atomistic and mesoscopic simulation, J. Chem. Phys. 107 (11) (1997) 4423–4435, https://doi.org/10.1063/1.474784.
  • [3] S. Chen, E. Olson, S. Jiang, X. Yong, Nanoparticle assembly modulated by polymer chain conformation in composite materials, Nanoscale 12 (27) (2020) 14560–14572, http://doi.org/10.1039/d0nr01740j.
  • [4] H. Huang, R. Liu, C. A. Ross, A. Alexander-Katz, Self-directed self-assembly of 3D tailored block copolymer nanostructures, ACS Nano 14 (11) (2020) 15182–15192, http://doi.org/10.1021/acsnano.0c05417.
  • [5] N. Arai, Y. Kobayashi, K. Yasuoka, A biointerface effect on the self-assembly of ribonucleic acids: a possible mechanism of RNA polymerisation in the self-replication cycle, Nanoscale 12 (2020) 6691–6698, http://doi.org/10.1039/c9nr09537c.
  • [6] Y.-T. Cheng, H.-K. Tsao, Y.-J. Sheng, Interfacial assembly of nanorods: smectic alignment and multilayer stacking, Nanoscale 13 (33) (2021) 14236–14244, http://doi.org/10.1039/d1nr03784f.
  • [7] S. V. Nikolov, A. Fernandez-Nieves, A. Alexeev, Behavior and mechanics of dense microgel suspensions, Proc. Natl. Acad. Sci. U.S.A. 117 (44) (2020) 27096–27103, http://doi.org/10.1073/pnas.2008076117.
  • [8] L. Pan, F. Wang, Y. Cheng, W. R. Leow, Y. W. Zhang, M. Wang, P. Cai, B. Ji, D. Li, X. Chen, A supertough electro-tendon based on spider silk composites, Nat. Commun. 11 (1) (2020) 1–9, http://doi.org/10.1038/s41467-020-14988-5.
  • [9] Y. Kobayashi, H. Gomyo, N. Arai, Molecular Insight into the Possible Mechanism of Drag Reduction of Surfactant Aqueous Solution in Pipe Flow, Int. J. Mol. Sci. 22 (14) (2021) 7573, http://doi.org/10.3390/ijms22147573.
  • [10] D. P. Papageorgiou, S. Z. Abidi, H. Y. Chang, X. Li, G. J. Kato, G. E. Karniadakis, S. Suresh, M. Dao, Simultaneous polymerization and adhesion under hypoxia in sickle cell disease, Proc. Natl. Acad. Sci. U.S.A. 115 (38) (2018) 9473–9478, http://doi.org/10.1073/pnas.1807405115.
  • [11] P. Chen, H. Yue, X. Zhai, Z. Huang, G. H. Ma, W. Wei, L. T. Yan, Transport of a graphene nanosheet sandwiched inside cell membranes, Sci. Adv. 5 (6) (2019) eaaw3192, http://doi.org/10.1126/sciadv.aaw3192.
  • [12] N. Arai, T. Koishi, T. Ebisuzaki, Nanotube Active Water Pump Driven by Alternating Hydrophobicity, ACS Nano 15 (2) (2021) 2481–2489, http://doi.org/10.1021/acsnano.0c06493.
  • [13] F. Sicard, J. Toro-Mendoza, Armored Droplets as Soft Nanocarriers for Encapsulation and Release under Flow Conditions, ACS Nano 15 (7) (2021) 11406–11416, http://doi.org/10.1021/acsnano.1c00955.
  • [14] J. B. Gibson, K. Chen, S. Chynoweth, The equilibrium of a velocity-Verlet type algorithm for DPD with finite time steps, Int. J. Mod. Phys. C 10 (01) (1999) 241–261, https://doi.org/10.1142/S0129183199000176.
  • [15] T. Shardlow, Splitting for Dissipative Particle Dynamics, SIAM J. Sci. Comput. 24 (2003) 1267–1282, https://doi.org/10.1137/S1064827501392879.
  • [16] X. Shang, Accurate and efficient splitting methods for dissipative particle dynamics, SIAM J. Sci. Comput. 43 (2021) A1929–A1949, https://doi.org/10.1137/20M1336230.
  • [17] B. Leimkuhler, X. Shang, On the numerical treatment of dissipative particle dynamics and related systems, J. Comput. Phys. 280 (2015) 72–95, https://doi.org/10.1016/j.jcp.2014.09.008.
  • [18] B. Leimkuhler, S. Reich, Simulating Hamiltonian Dynamics, Cambridge University Press, Cambridge, 2004.
  • [19] E. Hairer, C. Lubich, G. Wanner, Geometric Numerical Integrators: Structure-Preserving Algorithms for Ordinary Differential Equations, Springer, Berlin, 2006.
  • [20] G. Milstein, Y. M. Repin, M. V. Tretyakov, Symplectic Integration of Hamiltonian Systems with Additive Noise, SIAM J. Numer. Anal. 39 (2002) 2066–2088, https://doi.org/10.1137/S0036142901387440.
  • [21] L. Wang, J. Hong, R. Scherer, F. Bai, Dynamics and variational integrators of stochastic Hamiltonian systems, Int. J. Numer. Anal. Model. 6 (2009) 586–602, http://global-sci.org/intro/article_detail/ijnam/785.html.
  • [22] D. D. Holm, T. Tyranowski, Stochastic discrete Hamiltonian variational integrators, BIT Numer. Math. 58 (2018) 1009–1048, https://doi.org/10.1007/s10543-018-0720-2.
  • [23] M. Kraus, T. M. Tyranowski, Variational integrators for stochastic dissipative Hamiltonian systems, IMA J. Numer. Anal. 41 (2) (2021) 1318–1367, https://doi.org/10.1093/imanum/draa022.
  • [24] J. E. Marsden, M. West, Discrete mechanics and variational integrators, Acta Numer. 10 (2001) 357–514, https://doi.org/10.1017/S096249290100006X.
  • [25] J.-A. Lázaro-Camí, J. Ortega, Stochastic Hamiltonian dynamical systems, Rep. Math. Phys. 61 (2008) 65–122, https://doi.org/10.1016/S0034-4877(08)80003-1.
  • [26] L. Arnold, Stochastic Differential Equations: Theory and Applications, John Willy & Sons, New York, 1994.
  • [27] L. C. Evans, An Introduction to Stochastic Differential Equations, AMS, 2013.
  • [28] P. E. Kloeden, E. Platen, Numerical Solution of Stochastic Differential Equations, Springer-Verlag, Berlin, 1995.
  • [29] O. D. Street, D. Crisan, Semi-martingale driven variational principles, Proc. R. Soc. A. 477 (2021) 20200957, http://doi.org/10.1098/rspa.2020.0957.
  • [30] T. M. Tyranowski, Stochastic variational principles for the collisional Vlasov–Maxwell and Vlasov–Poisson equations, Proc. R. Soc. A. 477 (2021) 20210167, http://doi.org/10.1098/rspa.2021.0167.