Professional Documents
Culture Documents
Res PDF
Res PDF
Tehran, Iran.
Dresden, Germany
Abstract
We derive exact expressions for the forces and torques between biaxial molecules
interacting via the RE-squared potential, a recent variant of the Gay-Berne poten-
tial. Moreover, efficient routines have been provided for rigid body MD simulations,
resulting in 1.6 times speedup compared to the two-point finite difference approach.
It has also been shown that the time cost of a MD simulation will be almost equal
X X
Uint (M1 , M2 ) = Ua (rij ; i, j) (1)
i∈M1 j∈M2
where M1 and M2 denote the interacting molecules and Ua (·) is the atomic in-
putation time for the exact evaluation of this double sum is quadratic in the
summation and the Method of Lights [3] are also widely used.
tion) for uniaxial rigid molecules which was generalized to dissimilar and bi-
of Berardi, Fava and Zannoni [5], agrees significantly better with the numer-
2
ically evaluated continuum approximation of Eq. (1) and has no nonphysical
large distant limit. It has been verified that the new potential is superior to
small organic molecules as well [8]. Moreover, the potential of mean force is
representable with the same functional form of the RE-squared potential with
quaternion q).
finite differences are widely used for the evaluation of forces and torques
methods are prone to round-off errors and are generally expensive in large
scale simulations.
In this article, we will derive analytic expressions for the forces and torques
3
2 The RE-squared Potential
tion of the attractive and repulsive interactions between two biaxial molecules.
Each molecule is treated like a biaxial ellipsoid and is described by two char-
acteristic diagonal tensors (in the principal basis of the molecule) S and E,
representing the half radii of the molecule and the strength of the pole contact
revolving the bases of lab frame to the principal frame of the molecule.
A12 σc
UARE−squared (A1 , A2 , r12 ) = − 1 + 3η12 χ12 ×
36 h12
2
Y Y σe(i)
(i)
(2a)
i=1 e=x,y,z σe + h12 /2
6
A12 σc 45 σc
URRE−squared (A1 , A2 , r12 ) = 1+ η12 χ12 ×
2025 h12 56
h12
2
Y Y σe(i)
(i) 1
(2b)
i=1 e=x,y,z σe + h12 /60 3
where A12 is the Hamaker constant (the energy scale), σc is the atomic interac-
tion radius and σx(i) , σy(i) and σz(i) are the half-radii of ith ellipsoid (i=1,2). η12
and χ12 are purely orientation dependant terms, describing the anisotropy of
the molecules and h12 is the the least contact distance between the ellipsoids.
The structure tensor Si and the relative well-depth tensor Ei are diagonal in
4
the principal basis of ith molecule and are defined as:
n o
Ei = diag Ex(i) , Ey(i) , Ez(i) (3b)
where Ex(i) , Ey(i) and Ez(i) are dimensionless energy scales inversely propor-
been shown [9] that the energy parameteres are approximately representable
in terms of the local contact curvatures using the Derjaguin expansion [9,10]:
( )
σx σy σz
Ei = σc diag , , (4)
σy σz σx σz σx σy
The term χ12 quantifies the strength of interaction with respect to the local
where B12 is defined in terms of the orientation tensors Ai and relative well-
depth tensors Ei :
The term η12 describes the effect of contact curvatures of the molecules in the
5
and the tensor H12 is defined as:
1 T 2 1
H12 (A1 , A2, r̂12 ) = A1 S1 A1 + AT2 S22 A2 . (9)
σ1 σ2
No trivial solution is available for the least contact distance between two
hGB
12 = kr12 k − σ12 , (10)
We will also employ this approximation in our derivation and will omit the
The algebraic structure of the attractive and repulsive contributions of the RE-
squared potential are essentially the same. Thus, both of the contributions are
We will work through this template in the derivation. One may yield to the
6
α-superscripted parameters according to Eq. (2a) and (2b).
exerted force and torque on M1 is trivially obtained using the third law of
Newton, afterwards.
∂
δT [F (A1, A2 , r12 ); ρ̂, ǫ] := ǫ F (A1 , A2 , r12 + ǫρ̂) (14)
∂ǫ ǫ=0
where the unit vector ρ̂ points to the direction of translational variation and ǫ is
an (infinitesimal) scalar for which the variations are valued. The proper defini-
tion of the rotational variation is more involved. The projection of the exerted
mal orthogonal operator I + ǫn̂.σ on the operator revolving the molecule from
the lab frame to its current frame, i.e. AT2 . The resulting orientation operator
T
would be (I + ǫn̂.σ) AT2 = A2 −ǫA2 n̂.σ, according to the anti-symmetry of
the principal rotation generators (σ). The discussion suggests the definition:
Acting exclusively on the coordinates of the second molecule (M2 ), the oper-
ators may be used to define the exerted force and torque along ρ̂ and around
7
n̂ respectively as:
δT (UA + UR )
FM2 ,ρ̂ = − ρ̂ (16a)
ǫ
δR (UA + UR )
NM2 ,n̂ = − n̂ (16b)
ǫ
Applying either of the operators to the template potential Uα , we get:
We will complete the derivation by providing explicit expressions for the first-
Applying δR operator to η12 (Eq. 7) and dropping off the constant terms, we
arrive at:
δR σ2 1
= − σ22 δR r̂T12 AT2 S−22 A r̂
2 12 (19)
σ2 2
1
= ǫσ22 r̂T12 (A2 Ω)T S−2 T −2
2 A2 + A2 S2 A2 Ω r̂12
2
= ǫσ22 r̂T12 (A2 Ω)T S−2
2 A2 r̂12 (20)
We have used the symmetry and the anti-symmetry properties of S−2 and Ω,
8
ǫ T 2
δR H12 = − A2 S2 A2 Ω + (A2 Ω)T S22 A2 −
σ2
δR σ2 T 2
A S A2 . (21)
σ22 2 2
dim
XΓ
det[Γ + ǫΛ] = det[Γ] + ǫ det[Γ(i) ] + O(ǫ2 ) (22)
i=1
An explicit expression for δR det H12 is feasible using Eq. (21) and Eq. (22).
Eq. (22) will evidently be equal to the variation we are looking for.
where:
h i
δR B12 = −ǫ (A2 Ω)T E2 A2 + AT2 E2 A2 Ω . (25)
for infinitesimal ǫ, together with Eq. (24) and (25) we finally reach to:
9
h
δR χ12 = 2ǫr̂T12 B−1 T
12 (A2 Ω) E2 A2 +
i
AT2 E2 A2 Ω B−1
12 r̂12
= 4ǫr̂T12 B−1 T −1
12 A2 E2 A2 ΩB12 r̂12 (27)
where the symmetry of Ei, B12 and their inverses have been used.
We will use the Gay-Berne approximation for the least constant distance de-
fined by Eq. (10). Accordingly, the rotational variation of h12 is a result of the
where the rotationally constant term r12 drops out. The term δR σ12 is easily
h i
T 2 T 2
δR G−1 −1 −1
12 = ǫG12 (A2 Ω) S2 A2 + A2 S2 A2 Ω G12
h i
T 2
= 2ǫG−1 −1
12 A2 S2 A2 Ω G12 (30)
where the symmetry of S2 , G12 and their inverses have been used. Thus, we
1 3 T −1 T 2
δR h12 = ǫσ12 r̂12 G12 A2 S2 A2 ΩG−1
12 r̂12 (31)
2
10
3.1.4 Translational variation of η12
the connecting vector r12 . Up to first order, this change is expressed as:
(0)
(1) r12 + ǫρ̂
r̂12 = (0)
kr12 + ǫρ̂k
(0) ǫ
= r̂12 + ρ̂ − (ρ̂.r̂12 )r̂12 + O(ǫ2 ) (32)
r12
ρ̂ − (ρ̂.r̂12 )r̂12
u := (33)
r12
to:
We will follow the same steps as the rotational case. The translational variation
1
δT σi = − σi3 δT r̂T12 ATi S−2
i Ai r̂12
2
1 3 T T −2
= − ǫσi u Ai Si Ai r̂12 + r̂T12 ATi S−2
i Ai u
2
= −ǫσi3 uT ATi S−2
i Ai r̂12 (35)
δT σ1 T 2 δT σ2
δT H12 = − 2
A1 S1 A1 − 2 AT2 S22 A2 (36)
σ1 σ2
Finally, we may express δT det[H12 ] explicitly using Eq. (22) in terms of H12
11
3.1.5 Translational variation of χ12
T −1 T
δT r̂12 B−1 −1
12 r̂12 = ǫ u B12 r̂12 + r̂12 B12 u
= 2ǫuT B−1
12 r̂12 (38)
Both of the involving terms in the definition of h12 contribute to δT h12 . The
and the variation of the anisotropic distance function may be expressed as:
1 3 T −1
δT σ12 = − ǫσ12 u G12 r̂12 (42)
2
1 3 T −1
δT h12 = ǫr̂12 .ρ̂ + ǫσ12 u G12 r̂12 (43)
2
12
4 An Efficient Implementation for Rigid-body Molecular Dynam-
ics Simulations
Most of the required matrix and vectors products in the evaluation of the
first derivatives using the given expressions will be already available once one
variable spaces of all routines must be considered. The three provided rou-
interaction energy while the second and third routines calculate the torque
and force. The latter routines depend on portions of variable space of the first
routine in order to skip the redundant matrix products. We have also omitted
the ǫ factors appearing in the variations beforehand as they will finally factor
out, according to Eq. 16. In practice, one call of the first routine accompanied
by three calls of each of the second and third routines are mandatory in order
to evaluate the three components of the force and the torque vectors. We have
evaluation of the interaction energy and the force and torque vectors takes
38.6 µs using the provided routines while the same calculation takes 62.2 µs
with the finite difference approach, leading to 1.6 times speedup. Figures (1)
and (2) have been drawn with the aid of the provided routines and show the
typical behavior of interaction force and torque between two prolate molecules.
13
5 Monte-Carlo and Molecular Dynamics Simulations Time Cost
Monte Carlo (MC) and Molecular Dynamics (MD) simulations are two main
and more effective in the studying of steady states while MD simulations play
Furthermore, there are certain cases where MC simulations are of little interest
TM C = αNM × τE (44)
NM
TM D = (τE + τF + τT ) (45)
2
where τF and τT are the average excessive time required for a single force
and torque evaluation in all three directions. Using the values obtained from
TM D 38.6 (µs)
= ≃ 1.1 (46)
TM C 2 × 2 × 8.9 (µs)
using analytical first derivatives. The same ratio would be 1.7 using finite
14
differences. Therefore, one will end up with a MD simulation almost as fast
15
Routine 1: Evaluation of Uα
2: Γ1 ⇐ AT1 S21 A1
3: Γ2 ⇐ AT2 S22 A2
6: z1 ⇐ A1 r̂12
7: z2 ⇐ A2 r̂12
8: v1 ⇐ S−2
1 z1
9: v2 ⇐ S−2
2 z2
q
10: σ1 ⇐ 1/ zT1 v1
q
11: σ2 ⇐ 1/ zT2 v2
16
Routine 2: Evaluation of δR Uα
1: Λ ⇐ −A2 (n̂.σ)
2: p ⇐ Λr̂12
3: δR σ2 ⇐ −σ23 pT v2
5: δR dH ⇐ 0
6: for i = 1 to 3 do
(i)
7: J ⇐ H12 {Defined in the corresponding section}
8: δR dH ⇐ δR dH + det J
9: end for
η12 δR σ2 η12 δR dH 2η12 dS2 δR σ2
10: δR η12 ⇐ 2(σ1 +σ2 )
− 2dH
− λσ23
17
Routine 3: Evaluation of δT Uα
1: γ ⇐ ρ̂T r̂12
3: u1 ⇐ A1 u
4: u2 ⇐ A2 u
5: δT σ1 ⇐ −σ13 uT1 v1
6: δT σ2 ⇐ −σ23 uT2 v2
7: δT H12 ⇐ − δTσσ2 1 Γ1 − δT σ2
σ22
Γ2
1
8: δT dH ⇐ 0
9: for i = 1 to 3 do
(i)
10: J ⇐ H12 {Defined in the corresponding section}
11: δT dH ⇐ δT dH + det J
18
F
Fig. 1. Typical interaction energy (red thick line) and torque (black thin line)
between two prolate molecules (in arbitrary units), continuously evolved from
[11 : 2 : 0.5] (in arbitrary units) and vertically separated by 5 units of length.
19
15
10
B
5
A
0
-5
A
-10
-15 B
-20
Fig. 2. Interaction energy (red thick lines) and vertical force (black thin lines) be-
tween two prolate molecules in two different configurations with respect to the
vertical center separation (r). The ellipsoids are identical, having half-radii [11 :
2 : 0.5] (in arbitrary units). The y-axis ticks correspond to the vertical force (in
arbitrary units).
20
6 Conclusion
We have derived analytical expressions for the forces and torques exerted on
investigation reveals that the provided routines are 1.6 times faster than a
(Eq. 46). This speedup leads to the possibility of larger scale MD simulations of
a wide range of materials such as liquid crystals and certain organic molecules.
7 Acknowledgement
References
21
[4] J. G. Gay, B. J. Berne, Modification of the overlap potential to mimic a linear
6565–6572.
2001.
mat/0602308].
[9] R. Everaers, M. R. Ejtehadi, Interaction potentials for soft and hard ellipsoids,
of C subroutines for the evaluation of RE2 interaction potential and its analytic
squared.
22