Professional Documents
Culture Documents
Paper: Towards Bulk Thermodynamics Via Non-Equilibrium Methods: Gaseous Methane As A Case Study
Paper: Towards Bulk Thermodynamics Via Non-Equilibrium Methods: Gaseous Methane As A Case Study
We illustrate how the Jarzynski equality (JE), which is the progenitor of non-equilibrium methods aimed at
constructing free energy landscapes for molecular-sized fluctuating systems subjected to steered
transformations, can be applied to derive equations of state for bulk systems. The key-step consists of
physically framing the computational strategy of ‘‘total energy morphing’’, recently presented by us as an
efficient implementation of the JE [M. Zerbetto, A. Piserchia, D. Frezzato, J. Comput. Chem., 2014, 35,
1865–1881], in terms of build-up of the real thermodynamic state of a bulk material from the
corresponding ideal state, in which the particles are non-interacting. In this context, the JE machinery
yields the excess free energy versus suitably chosen controlled state variables, whose thermodynamic
Received 25th August 2014, derivatives eventually lead to the equation of state. As an explanatory case study, we apply the
Accepted 25th November 2014 methodology to derive the equation of state of gaseous methane by constructing the Helmholtz free
DOI: 10.1039/c4cp03815k energy versus the particle density (at fixed temperature) and then evaluating the thermodynamic derivative
with respect to the volume. In our intent, this ‘‘old-style’’ work on gaseous methane should open the way
www.rsc.org/pccp for the investigation of thermodynamics of extended systems via non-equilibrium methods.
1966 | Phys. Chem. Chem. Phys., 2015, 17, 1966--1979 This journal is © the Owner Societies 2015
View Article Online
Paper PCCP
the ‘‘raw information’’ to be further elaborated to get, via thermo- calculations of free energy can be performed via non-equilibrium
dynamic derivatives, the connection among state variables. work theorems if the cell size is sufficiently small to be able to treat
To recover the free energy landscape versus the relevant state its chemical content (at molecular level) in simulating the trans-
variables, we adopt here a strategy recently developed by us to formations; the intensive bulk properties derived by elaborating the
improve the computational efficiency of the JE machinery for free energy density in a finite-cell case are thus approximations
complex molecular systems, and implemented in our C++ which can be improved by means of operative extrapolation
Published on 05 December 2014. Downloaded by Universidade Federal da Santa Maria on 3/26/2019 12:29:04 PM.
library JEFREE (Jarzynski’s Equality FREe Energy) for wide- procedures if calculations with an increasing cell size (at fixed
spread applications.18,19 The strategy, termed by us as ‘‘total energy density) are performed. This is the conceptual framework in all
morphing’’, consists of making a sort of drastic ‘‘alchemical generality, which must be tailored case-by-case.
transformation’’ where the whole energetics of the chemical system As an explanatory case study, we shall consider the gaseous
grows from a flat state in which all the interactions are absent, methane modeled as an ensemble of Lennard-Jones interacting
while possible constraints (e.g., chemical bonds) amongst the beads. The objective is to construct the profile of the compres-
constituting moieties are set and kept from the beginning. Such sibility factor versus pressure at fixed temperature. This goes
an energy build-up (the morphing) is performed according to a through the evaluation of the pressure itself from the thermo-
prescribed deterministic schedule while all the configurational dynamic derivative of the Helmholtz free energy with respect to
variables of the system are let free to fluctuate. The JE is then the system volume. The required free energy profile versus the
readily applied to achieve the free energy profile versus the volume (which is the controlled state variable in the steering
morphing parameter and, much more importantly, versus some stage) is achieved by applying the JE with a morphing/steering
system parameter that is being controlled in a subsequent scheme. During the morphing stage, the ideal gas is trans-
steering stage once the morphing is completed. The advantage formed into the real gas by means of a prescribed protocol, which
of performing such an energy morphing before the steering gradually ‘‘turns on’’ the intermolecular pairwise potential. In the
consists of having the possibility to trivially and perfectly sample steering stage the density is driven to change in a given range. The
the initial configurations (since the distribution is flat); hence, molecules are let free to explore the 3D-space via Markovian moves
no systematic error is introduced a priori. The price to pay is that during the whole transformation. We anticipate that calculations
the whole transformation (morphing plus steering) is ‘‘longer’’, give a quite good agreement both with the simplest conventional
hence the dissipation can result sensibly higher if compared to route to compute volumetric properties from simulations (use of
that from standard applications of the JE where only the steering the virial theorem) and with available experimental data. It is worth
is performed. The approach/software has been tested on simple mentioning that the formulation and the tests of applicability of
benchmark problems like the evaluation of the torsional free non-equilibrium work theorems to steered transformations where
energy about the bonds of a long free alkyl chain made of thermodynamic variables are controlled were already considered in
connected and interacting beads. The route has already proved the past (see for example ref. 20). We thank an unknown Referee
to be highly performing also in probing the conformational for addressing us to recent studies of Davie et al.21,22 where
free energy of single chains belonging to clusters of alkyl-thiols volumetric changes are considered. In particular, in ref. 21 the
(up to 15 ten-carbons chains) attached to planar gold surfaces authors also treat the compression/expansion of a thermostatted
(manuscript submitted) and to gold nanoparticles (manuscript real gas made of periodic replicas of a reference cell. Such a work
in preparation). In these cases, the controlled degree of freedom shares several analogies with our present framework, although it
is again a single dihedral angle of a selected probe chain of the differs from the methodological point of view and, mostly, for the
cluster, and the torsional steering begins just at the end of the principal aim. In ref. 21 the authors aim at re-deriving the Jarzynski
morphing (conducted preserving the system connectivity) of and Crooks relations for volumetric transformations by starting
the full system energetics, accounting for the set of inter- and from the equations of motions under steering, and illustrative
intra-chains, and chain-surface interactions. calculations of the Helmholtz free energy profiles versus an
In the context of bulk systems, we recognize that performing expansion factor are made by applying molecular dynamics for
the total energy morphing corresponds, physically, nothing but to the particle moves. Here we take the JE for granted and use it as a
pass from the ‘‘ideal’’ system, with connected but non-interacting ‘‘calculation machinery’’ to achieve the equation of state of the
moieties, to the real system, at fixed temperature and by keeping material: we give up any realistic description of the particle
fixed suitably chosen state variables. The subsequent steering on dynamics (Monte Carlo Markov chains will be adopted, as
these state variables (the temperature is still fixed) yields, through described in the following) and the free energy is treated only
application of the JE, the Helmholtz free energy landscape over as an intermediate quantity in the elaboration.
them; thermodynamic partial derivatives with respect to the state Although a large part of the paper is devoted to the simplest
variables then provide the connection with other state variables, gaseous bulk system merely taken to illustrate the general
that is, ultimately, one ends up with an equation of state of the bulk key-steps, we stress that our main target is to let aware about
material. The important feature to exploit is that a macroscopic how the JE machinery may be applied to investigate bulk
bulk system, although it may be anisotropic (like a liquid crystalline materials (in perspective, also condensed phases and mixtures),
phase, for example), owns spatial invariance (homogeneity), which that is, ultimately, to end up with equations of state once
allows to model it as union of replicas of constituting ‘‘cells’’ under suitable state-variables are adopted. This is the principal scope
proper periodic boundary conditions. If this requisite is met, of this communication, which is mainly addressed to the
This journal is © the Owner Societies 2015 Phys. Chem. Chem. Phys., 2015, 17, 1966--1979 | 1967
View Article Online
PCCP Paper
Community of scientists interested in thermodynamic properties of that density, DAmorph(N,Vi,T ) is the free energy difference related to
materials. the change (i.e., to the ‘‘morphing’’) of the ideal gas into real gas at
We point out that our perspective is different from others in that density. Finally, DAsteer(N,Vi,V,T ) is the free energy difference
the permanently lively context of bulk materials investigated on due to the possible change in volume Vi - V. Globally, the latter
statistical grounds. For example, we mention the very recent two terms are merged into a unique ‘‘transformation’’ term:
publication ref. 23 where the free energy of solid hard-spheres
Published on 05 December 2014. Downloaded by Universidade Federal da Santa Maria on 3/26/2019 12:29:04 PM.
1968 | Phys. Chem. Chem. Phys., 2015, 17, 1966--1979 This journal is © the Owner Societies 2015
View Article Online
Paper PCCP
Ð
of an additive constant) via A(K) = b1 ln dx exp{bVK(x)};3,4
here, VK(x) is an effective potential energy (generally, a mean-field
potential on the relevant variables). The purpose is to evaluate A(K)
by avoiding the direct integration over x, which is generally
cumbersome when many variables are involved.
Let us consider the control parameters initially set to K = K0;
Fig. 1 The isothermal thermodynamic cycle adopted to link the free suppose to ‘‘pick up’’ the system in a configuration randomly
energy of morphing at any actual volume V, to the free energy difference
from the ideal gas at a starting volume Vi to the real gas at volume V;
drawn from the canonical distribution and drive the transfor-
such a free energy difference is that computed with the non-equilibrium mation K(t) from K0 to K1 according to an arbitrarily chosen
methodology presented here. deterministic time-protocol, while the components of x(t) freely
evolve. Along the system trajectory, one can measure/calculate
the work amount which is performed by the external mean
Any other equation of state, for a general intensive property of to guarantee the prescribed protocol. This is evaluated by
the system, can be then obtained as a function of two of the accumulating all the infinitesimal energy exchanges between
state-variables, the third being extracted from eqn (5). For the system and the external mean, which occur only upon
example, we may choose v, T as variables, hence p = pN(v,T) as modulation of the controlled coordinates. For the n-th trajectory,
above; then, a certain property of temperature, density, and one formally has1,24
pressure, can be expressed by a function f N(v,T) f [v,T, p = ð tp
pN(v,T)]. The real homogeneous (unconstrained) bulk limit is @VKðtÞ ðxÞ
wn :¼ dt (9)
finally formally achieved as 0 @t x¼xðtÞn
f ðv; TÞ ¼ lim fN ðv; TÞ (8) where tp is the duration of the transformation. The crucial point
N!1
is that the Jarzynski equality yields the free energy difference
To achieve such a limit, a sequence of calculations should be
A(K1) A(K0), between two equilibrium states, through the
performed for an increasing number of particles (at fixed
following work-exponential-average performed on the statistical
volume-per-molecule) until an acceptable convergence of the
ensemble of trajectories x(t) all generated by applying the same
specific property under consideration is obtained. Physically this
schedule K(t):
corresponds to the enlargement of the cubic cells by moving
JE
the boundaries to infinity, so that the spurious correlations eb½AðK1 ÞAðK0 Þ ¼ ebw fixed protocol (10)
introduced by the PBC vanish. K0 !K1
certain properties, while deviations from it would be highlighted AðK1 Þ AðK0 Þ ’ b1 ln ebwn (11)
Ntr n¼1
when looking at others. In this study on methane, to check
convergence and make the comparison with experimental data which becomes exact as Ntr - N; uncertainties on such an
we shall focus on the compressibility factor, since the details of outcome (statistical plus bias) are well characterized.25
its profile versus pressure (or density) are very sensitive both to The JE holds under mild conditions. It suffices that (1) the
model parameters and accuracy of the numerical tool; we shall starting configurations are drawn from the initial equilibrium
show, in fact, that the frequently adopted density-pressure plots distribution at K0, as stated above; (2) the uncontrolled
do not display such a sensitivity. dynamics x(t) is a Markovian (memory-less) process;26 (3) these
The strategy above sketched is clearly useless unless one dynamics be such that the underlying canonical distribution p
disposes of an efficient route to evaluate DAtransf (N,Vi,V,T). exp{bVK*(x)} would be attained in the long-time limit once the
Below we present our novel strategy based on the application protocol was stopped at a general K*.
of Jarzynski’s equality. We stress the fundamental point that eqn (10) and (11) hold
regardless of the chosen protocol, and regardless of the specific
2.2 The Jarzynski equality (outlines) kind of dynamics under the mild conditions expressed above.
Let us consider, in all generality, a system whose instantaneous The latter issue is very useful in simulations, since it allows one
state is specified by a set of variables x and by a set of parameters to replace the real dynamics with surrogates which are easier to
K (one or more) over which an external mean/apparatus (real or implement in algorithms and/or which yield a more accurate
This journal is © the Owner Societies 2015 Phys. Chem. Chem. Phys., 2015, 17, 1966--1979 | 1969
View Article Online
PCCP Paper
config
estimation of the free energy difference in a fixed protocol and where VCH 4 ðgÞ;l
ðxÞ is the effective intermolecular interaction
number of transformations.12 In the essence, the JE is nothing energy at a given configuration, that here we model as sum of
but a computational machinery to calculate the free energy two-bodies 12–6 Lennard-Jones (LJ) interactions, that is
A(K1) with respect to a value A(K0) corresponding to some
config
X
N 1 X
N
reference state specified by K0 (also an ‘‘ideal’’ one, that is a VCH ðxÞ ¼ uLJ rij ðx; lÞ ;
4 ðgÞ;l
state unattainable in practice), once any transformation route i¼1 j¼iþ1 (16)
Published on 05 December 2014. Downloaded by Universidade Federal da Santa Maria on 3/26/2019 12:29:04 PM.
1970 | Phys. Chem. Chem. Phys., 2015, 17, 1966--1979 This journal is © the Owner Societies 2015
View Article Online
Paper PCCP
connectivity, and features of the energy landscape, in which the gas at some density l 0 between the initial li and the final lf is
morphing may not improve the quality of the final outcome, or given by
even it may introduce severe penalties. In fact, on the one side ð t^M
@VK xðt^Þn
the initial ideal state is perfectly sampled, but on the other side wn ðl0 Þ ¼ dt^l_ M ðt^Þ
the morphing route could produce a very large spread of 0 @lM lM ¼lM ðt^Þ
(23)
configurations, most of which deviate from the typical micro- ð ^tðl0 Þ
Published on 05 December 2014. Downloaded by Universidade Federal da Santa Maria on 3/26/2019 12:29:04 PM.
@V CH ðgÞ;l xð ^
tÞ
n
states of the real system at equilibrium. By proceeding with þ dt^l_ ðt^Þ 4
tM ^ @l l¼lðt^Þ
the steering stage from these configurations, it is expected
that broad work-distribution-functions will develop, hence where t̂ is a ‘‘virtual time’’ progression variable along which the
producing large uncertainties on the free energy estimates actual schedules lM(t̂) and l(t̂) develop (overdots stand for
(see discussion in Section 3). Case-by-case, the efficiency of ‘‘time’’ derivatives). In the next section we give the operative
this strategy must be assessed with caution. As stated in the form of eqn (23). According to such a notation, once an
Introduction, up to now the efficiency of the morphing route ensemble of Ntr work values has been produced, the JE gives
has been proved by us on archetype systems like alkyl chains,18
but also on more complex systems like aliphatic coatings of 1 XNtr
DAtransf ðN; Vi ; V; T Þ ’ b1 ln ebwn ðlÞ ;
gold surfaces (up to about 150 internal degrees of freedom with Ntr n¼1 (24)
a coarse-grained representation). The strength of the approach l ¼ N=V
has been proved even outside the chemical-physical context,
namely in the machinery to perform stochastic multidimen- Thus, the simulation of transformations up to the final particle-
sional integration by performing morphing of the integrand density lf actually yields the whole set of values DAtransf (N,Vi,V =
functions; tests on functions locally ‘‘rough’’, and with very N/l,T) for all l within the explored range.
many sparse ‘‘peaks’’, gave positive outcomes.29 Let us turn back to motivate the sub-morphing of the LJ
In the present implementation, for the morphing stage we interactions. We recommend this kind of strategy for dense
opt to build the energetics by means of a homogeneous growth systems, any time there are inter-particle interactions that
plus a sub-morphing of the LJ interactions, that is diverge at a vanishing distance (this is indeed the LJ case). In
fact, since the initial configuration x is drawn at random, it may
morphing stage: VK(x) = lMṼCH4(g),lM,li(x) (20) likely happen, in dense systems, that two or more beads fall
largely ‘‘superimposed’’ (small center-to-center distance com-
where ṼCH4(g),lM,li(x) is like in eqn (15) but the configurational term
pared to s in the LJ case). This implies that, in the first step of
is computed with the following modified form, lM-dependent,
morphing, some ‘‘spikes’’ of very high energy appear suddenly;
of the LJ potential:30
accordingly, the work amount related to such a sudden energy
1 1 growth in the n-th trajectory is positive and very high and, even
u~LJ ðr; lM Þ ¼ pffiffiffi 2 að1 l Þ þ r6 ; admitting subsequent compensation effects, the accumulated
½að1 lM Þ þ r6 =a M =b
(21)
work will remain high (in kBT units) along the transformation.
a ¼ 4es12 ; b ¼ 4es6 This implies that a trajectory that starts with two or more
overlapping beads is, as a matter of facts, a ‘‘wasted one’’ since
Such a form tends to the real LJ potential in eqn (17) at the end it does not contribute significantly to the exponential average of
of morphing, i.e., ũLJ(r,1) uLJ(r) and ṼCH4(g),1,li(x) VCH4(g),li(x), the JE. These situations are not ‘‘pathological’’ by themselves,
so that no artefacts are introduced; the growth is determined by meaning that these trajectories cannot be excluded a priori,
the parameter a, here set to 0.5. The motivation of doing such a rather they correctly reflect that the basic homogeneous morphing
sub-morphing is discussed below. route can be a highly dissipative transformation (see the subsec-
Once the energetics is formed, the protocol may prosecute tion ‘‘uncertainties on the outcome’’) and the bias error may be
with the steering stage to change the density up to the target very large when the initial particle-density, li, is high. In contrast,
value lf: with the LJ sub-morphing these troubling initial energy spikes are
avoided.
steering stage: VK(x) = VCH4(g),1,li(x) (22)
While the deterministic protocol is developed, the N particles 3. Computational details (essentials)
must be let free to move within the box (under PBC conditions)
by means of any kind of Markovian dynamics, which guaran- To perform the evaluation of DAtransf entering eqn (6), we have
tees the relaxation to the underlying canonical distribution used the C++ library JEFREE developed by us and recently
once the morphing protocol was stopped. Here we adopt the presented.18 For technicalities, the interested reader is referred to
basic Importance Sampling Monte Carlo route (IS-MC)4,27,28 such a publication and to the documentation that accompanies the
to perform such an exploration of the configurational space software.19 In what follows we shall discuss only the essential
(see Section 3). features and some aspects which are pertinent to the present
Along the n-th trajectory, from eqn (9) it follows that application. JEFREE itself is an evolution of our previous C++ library
the amount of work wn(l 0 ) done up to reach the state of real JEMDI,29 where the Jarzynski equality and the morphing route were
This journal is © the Owner Societies 2015 Phys. Chem. Chem. Phys., 2015, 17, 1966--1979 | 1971
View Article Online
PCCP Paper
applied to build a versatile tool to perform stochastic integra- distribution is hardly sampled unless an extremely large num-
tion of multidimensional functions over hyper-rectangles. ber of measures (calculations, here) is performed. This means
that for any finite number of repetitions, Ntr, an unavoidable
3.1 Operative discretization of the transformation bias (systematic error), (dDAtransf)bias, due to poor sampling of
In the computational practice, the deterministic protocol and the low-work wing, will affect to some extent the outcome from
the stochastic exploration of the configurational space are eqn (27). At the same time, the bias is expected to be larger as
Published on 05 December 2014. Downloaded by Universidade Federal da Santa Maria on 3/26/2019 12:29:04 PM.
carried on as a sequence of (1) parameter transformation at such a wing is more extended, that is, roughly speaking, when
frozen configuration (‘‘guide’’ here below), and (2) random p(w) is broader; this implies that the outcomes themselves, if
move at fixed parameters (‘‘move’’). By labeling with s = 1, the calculation is repeated, fluctuate about the average so that a
2,. . ., Nsteps the steps, the s-th one starting at some ‘‘time’’ t̂s1 statistical uncertainty, (dDAtransf)stat, arises.
and ending at t̂s is made of two parts Three checks are currently employed in JEFREE to indicate
guide move that the bias is likely negligible, or to warn the user that it may
! xðs 1Þ
xðs 1Þ
! xðsÞ (25) be not, so that calculations need to be repeated by ‘‘slowing
The random move which updates the particle configurations is down’’ the protocol to reduce the dissipation and hence the
here performed by means of the IS-MC Metropolis algorithm27,28 broadening of p(w). Namely: (1) the relative statistical uncer-
under application of PBC. As stated, work is performed only in tainty (see below) should be much smaller than 1 (an inference
the ‘‘guide’’ part of each step. from the statistical theory of Zuckerman and Woolf presented
In our case, the morphing stage is realized with Nsteps,M in ref. 25; see also our rephrasing in ref. 18 and 29); (2) the
steps (index 1 r m r Nsteps,M) and the steering compression/ standard deviation of the work values should be smaller than 1
expansion stage with Nsteps,S steps (index 1 r s r Nsteps,S). (in kBT units) according to the recommendation in ref. 2 (see
Moreover, we opted to perform transformations at constant note 23 therein), ref. 8, 31 and 32; (3) the average acceptance
velocity. Thus, eqn (23) turns into ratio of IS-MC moves, over the whole transformation, should be
close to 50% (empiric criterion tested in ref. 18).
@ V~CH4 ðgÞ;lM ;li xðmÞn
NXsteps;M
1 The calculations here performed for the gaseous methane
wn ðsÞ ¼
Nsteps;M m¼1 @lM passed these checks. As discussed in ref. 18, we assess the
lM ¼lM ðmÞ
(26) statistical uncertainty by splitting the ensemble of Ntr outcomes
0
lf li X @VCH4 ðgÞ;l xðs Þn
s
into M blocks formed by Ntr/M results from consecutive trajec-
þ
N steps;S s0 ¼1 @l l¼lðs Þ0 tories (taken as they are generated); for each block we evaluate
the argument of the logarithm in eqn (27) and get the statistical
where lM(m) = m/Nsteps,M and l(s 0 ) = li + s 0 (lf li)/Nsteps,S. In the uncertainty dF on such a ‘‘morphing factor’’ F simply by taking
present calculations, analytical expressions of the derivatives one standard deviation of these partial outcomes from the
with respect to lM and l are supplied to JEFREE (but a user of average (computed from all trajectories). Finally, by applying
the library might opt for the default option, that is to let the basic linear formula of error propagation we get (DAtransf)stat C
compute numerically the derivatives via finite-differences). dF/F. Values DAtransf and related (DAtransf)stat are taken as primal
Finally, eqn (24) becomes ‘‘raw’’ data. The subsequent elaboration of DAtransf yields quantities
1 XNtr (for example the gas pressure from eqn (5) in the present
DAtransf ðN; Vi ; V ¼ N=lðt^s Þ; T Þ ’ b1 ln ebwn ðsÞ application) whose uncertainty can be estimated by further error
Ntr n¼1
propagation.
(27)
1972 | Phys. Chem. Chem. Phys., 2015, 17, 1966--1979 This journal is © the Owner Societies 2015
View Article Online
Paper PCCP
This journal is © the Owner Societies 2015 Phys. Chem. Chem. Phys., 2015, 17, 1966--1979 | 1973
View Article Online
PCCP Paper
Published on 05 December 2014. Downloaded by Universidade Federal da Santa Maria on 3/26/2019 12:29:04 PM.
1974 | Phys. Chem. Chem. Phys., 2015, 17, 1966--1979 This journal is © the Owner Societies 2015
View Article Online
Paper PCCP
This journal is © the Owner Societies 2015 Phys. Chem. Chem. Phys., 2015, 17, 1966--1979 | 1975
View Article Online
PCCP Paper
for Dl sufficiently small (the basic forward-derivative scheme is incremental compression is the recommended faster, equally reli-
here adopted). Eqn (29) must be translated into its computa- able, and more easily manageable route for quick estimation of the
tional counterpart based on the scheme in Fig. 1: the two compressibility factor at a single density (or pressure) value.
quantities in the numerator do not have to be separately
evaluated. Rather, a single calculation consisting in morphing 4.3 Comparison with standard ‘‘virial theorem’’ application
at density l plus only few steps of steering is required; thus, the In routine computations, the pressure of a fluid system at
Published on 05 December 2014. Downloaded by Universidade Federal da Santa Maria on 3/26/2019 12:29:04 PM.
duration of the calculation is essentially determined by the thermal equilibrium is computed from an ensemble of trajectories,
morphing stage. In the essence, a single point (Z,p) could be that is general Markov chains at equilibrium, and applying the
obtained in half of the time required to perform the full density ‘‘virial theorem’’ (see for example Section 4 in Chapter 2 of ref. 4). In
sweep with the post-processing described above. In contrast, our notation, the key-expression is
when two or more points (Z,p) are needed, the steering route
pN v b
becomes more convenient in terms of computational cost. ¼ 1 þ hW N iv (30)
kB T N
The accuracy of such a route has been tested for the case of
N = 120 molecules per cell. Five particle-densities have been where hWNiv is the ‘‘internal virial correction’’ to the ideal-state
considered in the explored range. In each case, the increment case. For pair-wise interactions (here of LJ kind), it can be
Dl has been fixed to 2.5% or to 5.0% of the reference l. The computed as
incremental compression has been performed at constant * +
velocity, with the same step-size previously applied in the 1 XX
hW N iv ¼ f rij (31)
steering route (that is (lf li)/Nsteps,S C 2 108 molecules 3 i j4i
trajectories
per Å3, values given above). The required number of steps
hence increases as l increases; for example, for the 5.0% with
density increment, the number of steps ranges from 5 for the
duLJ rij
lower-density point to 17 500 for the higher-density point. f rij ¼ rij (32)
drij
The results are shown in Fig. 8 together with the profile
which interpolates the results from the density sweep (solid being rij = ||ri rj||. The average in eqn (31) is performed over
line, same profile shown in Fig. 6). The error bars are evaluated by all configurations visited along a trajectory and over all the
adding in quadrature the statistical uncertainties on aN(l + Dl) and trajectories. These trajectories must be generated for the spe-
aN(l) supplied by JEFREE. As we can see, the two routes give cific gaseous virtual lattice (N particles under PBC conditions in
comparable results and the error bars of each single outcome a cubic box of volume vN, as recalled by the subscripts) at
roughly encompass the local spread of values from numerical equilibrium.
derivatives of the free energy profile in the density sweep case Despite of the structural similarity of eqn (30) with our
(see the lower panel of Fig. 5). In conclusion, the morphing plus eqn (5), we stress that the two equations are based on quite
different philosophies: in the routine calculation the trajec-
tories reflect thermal fluctuations of the system at equilibrium,
while in our morphing-steering strategy the non-equilibrium
trajectories follow the driven change of energetics. Hence a
comparison between eqn (30) and (5) can be only qualitative,
and it reveals that our strategy replaces the many ‘‘on the fly’’
positional derivatives in eqn (32) (to get the pair-wise forces)
with a single derivative, made in the post-processing stage, with
respect to the particle-density.
To compare the effectiveness of the two computational
routes we have chosen an intermediate value of the density-
particle, namely 1/v = 3 103 molecules per Å3 (which
corresponds to a pressure of the order of 120 bar), and made
the computation of the compressibility factor via eqn (30) for
the system with N = 120 particles (still under PBC conditions).
We have adopted two modalities: (a) make 50 independent
calculations, each with an IS-MC run made of 107 equilibration
plus 107 acquisition steps, and then compute the average
Fig. 8 Comparison between steering modality (density sweep) and outcome and related standard deviation; (b) perform a single
single-density calculation with N = 120 particles per cell. The solid line is but longer IS-MC run with 108 equilibration plus 108 acquisi-
the same interpolating profile shown in Fig. 6 and refers to the steering
tion steps. The results were Z = 0.89224(0.0086) for modality
modality. Single points refer to calculations of the free energy derivative by
means of compressions with density increments Dl of 2.5% (black squares)
(a) and Z = 0.89195 for modality (b). These values coincide
and 5.0% (red circles) with respect to the considered particle-density. The within the statistical uncertainty, and they also well agree with
system temperature is T = 323.15 K. the outcome from the non-equilibrium density-sweep routes
1976 | Phys. Chem. Chem. Phys., 2015, 17, 1966--1979 This journal is © the Owner Societies 2015
View Article Online
Paper PCCP
with the sixth-order polynomial interpolation versus pressure as the state-parameters (the density sweep, in this application).
described above: Z = 0.89469 (uncertainty of the order of Calculations on a model of gaseous methane at 50 1C have
0.01 from the spread of outcomes) for the compression route, yielded the profile of the compressibility factor over a broad
and Z = 0.89462 (uncertainty not likely quantifiable) for expan- range of pressures (up to about 400 bar), demonstrating how
sion. We conclude that the performances of the standard such an approach can be a valid alternative to more traditional
equilibrium tool and of our non-equilibrium method, at similar routes (e.g., use of the ‘‘virial theorem’’).
Published on 05 December 2014. Downloaded by Universidade Federal da Santa Maria on 3/26/2019 12:29:04 PM.
computational cost, are comparable for the gaseous system of Although here we have employed our software JEFREE to
spherical particles. On the other hand, hereafter we point out perform the calculations, the reader realizes that the basic JE
some issues in favour of our JE-based strategy when more scheme can be easily implemented in a computer code: anyone
complex molecular systems are treated. dealing with standard equilibrium Monte Carlo samplings can
First, the virial-theorem-based approach may become cum- readily implement the JE ‘‘machinery’’ outlined here. We have
bersome when non-spherical molecules have to be considered. opted here for the simplest implementation of the JE, since our
In these cases, an effective potential also dependent on the main purpose was that of addressing the treatment of bulk
mutual molecular orientation (like the Gay–Berne potential for materials by means of non-equilibrium tools up to now con-
elongated particles36) requires that the following function has fined to small-size systems. However, several lines of improve-
to be applied in place of eqn (32):4 ment have been recently proposed by specialists in this field.
Amongst them, we mention the design of ‘‘optimal’’ transfor-
@u rij ; Xi ; Xj mation protocols38 and the strategy of ‘‘escorted’’ steered
f rij ; Xi ; Xj ¼ rij (33)
@rij transformations,39 both aimed at reducing the amount of
energy dissipation and hence to lower the uncertainties on
where Xi and Xj are sets of angles that specify the orientation of
the free energy estimates (at a given number of repetitions of
particles i and j with respect to a laboratory frame. The partial
the transformation). Alternatively, in a given transformation
derivative in eqn (33) is taken with respect to the inter-centre
protocol, some methodologies have been devised to improve
separation at fixed orientations and in most cases it has to be
the sampling of the dominating (low-work) trajectories; in this
numerically evaluated, hence slowing down the calculation
category we mention the ‘‘single-ensemble non-equilibrium
and bringing instabilities for dense systems. In contrast, our
path-sampling’’ strategy40 where the work itself is treated as a
JE-bases method, as remarked above, does not require such a
variable in a importance sampling Monte Carlo scheme, and
calculation of inter-particle forces.37 In particular, this is
the novel ‘‘path-breaking’’ strategy41 (recently adapted also to
expected to largely simplify the treatment of flexible molecules
bidirectional methods42) based on the idea of recognizing and
where the internal degrees of freedom would complicate the
stopping highly dissipative trajectories so as to improve the
implementation of the virial-theorem approach.
statistical quality of the outcomes. Finally, there is wide room
Second, the virial-theorem-based method requires a pre-
for improvements of the machinery to perform Markov moves
equilibration phase in the IS-MC runs, otherwise the correlation
on the uncontrolled degrees of freedom with the purpose to
with the starting configuration would affect in some unpredictable
limit as much as possible the amount of energy dissipation,
way the value of h WNiv from eqn (31). In our JE-based approach,
and, at the same time, to allow a good sampling of the
such a problem is avoided since, by adopting the morphing
configurational space during the development of the protocol.
strategy, any randomly generated initial configuration belongs to
In this context we cite the combination of ‘‘configurational
the statistical ensemble.
freezing’’ and ‘‘preferential sampling’’ Monte Carlo, presented
Finally, the main argument in favour of our JE-based
in ref. 43 and 44, where only the moieties closely linked to the
approach is that the full compressibility factor profile versus
controlled parameter are allowed to move by preserving the
density or pressure can be achieved in a single non-equilibrium
general requisites of micro-reversibility and detailed balance.
run thanks to the density-sweep route, while standard equili-
Also the novel strategy termed ‘‘nonequilibrium Candidate
brium methods require independent calculations for each state
Monte Carlo’’,45 into which the configurational freezing mentioned
of the system.
above has been recently embedded,46 goes in the direction of
optimizing the Markov exploration of the internal degrees of free-
5. Conclusions dom. The way in which these strategies, which bore in the context
of complex molecular/supramolecular systems subjected to
In this paper, we have illustrated the feasibility of deriving mechanical transformations, can be adapted/transferred to the
equations of state of bulk materials from the construction of present context of changing state variables, is an open challenge.
the free energy profile versus suitable state-parameters In our opinion, however, focus on this line is demanded to deal
(the density, in this explanatory application) with subsequent with dense phases (far beyond the gas system treated here).
evaluation of the characteristic thermodynamic derivative. We While the gaseous methane has been taken here only as an
have shown how Jarzynski’s equality, which is rooted at the archetype system, we feel that our analysis could be of use as a
heart of non-equilibrium tools, can be efficiently employed by footprint to build-up a standard tool to compute volumetric
adopting a composite transformation protocol made of the properties of fluids on molecular basis, even including mole-
build-up of the system energetics, followed by a steering over cular asymmetry and possible internal conformational degrees
This journal is © the Owner Societies 2015 Phys. Chem. Chem. Phys., 2015, 17, 1966--1979 | 1977
View Article Online
PCCP Paper
of freedom which are expected to be relevant at high densities. 11 D. Collin, F. Ritort, C. Jarzynski, S. B. Smith, I. Tinoco Jr.
However, the range of possible applications of the JE to bulk and C. Bustamante, Verification of the Crooks fluctuation
materials is much wider. In principle, condensed phases and theorem and recovery of RNA folding free energies, Nature,
mixtures could be treated as well. Also, anisotropic ‘‘soft 2005, 437, 231–234.
matter’’ (like liquid crystals, biomembranes, etc.) could be 12 P. Nicolini, D. Frezzato, C. Gellini, M. Bizzarri and R. Chelli,
treated once the characteristic order parameters for orienta- Towards quantitative estimates of binding affinities for
Published on 05 December 2014. Downloaded by Universidade Federal da Santa Maria on 3/26/2019 12:29:04 PM.
tional and spatial average ordering in the homogeneous bulk protein-ligand systems involving large inhibitor compounds:
system are included in the set of state variables. In our opinion, a steered molecular dynamics simulation route, J. Comput.
the efficiency of the method for such complex systems, in terms Chem., 2013, 34, 1561–1576.
of computational implementation, cost and accuracy, deserves 13 F. Forti, L. Boechi, D. A. Estrin and M. A. Marti, Comparing and
investigation. combining implicit ligand sampling with multiple steered
molecular dynamics to study ligand migration processes in
heme proteins, J. Comput. Chem., 2011, 32, 2219–2231.
Acknowledgements 14 D. Seeliger, F. P. Buelens, M. Goette, B. L. de Groot and
H. Grubmüller, Towards computational specificity screening of
The authors are indebted to an unknown Referee for valuable DNA-binding proteins, Nucleic Acids Res., 2011, 39, 8281–8290.
hints and a very careful reading of the manuscript. All the 15 M. Ø. Jensen, S. Park, E. Tajkhorshid and K. Schulten,
simulations have been run on the C3P (‘‘Centro di Chimica Energetics of glycerol conduction through aquaglyceroporin
Computazionale di Padova’’) HPC facility of the Dipartimento Glpf, Proc. Natl. Acad. Sci. U. S. A., 2002, 99, 6731–6736.
di Scienze Chimiche of the Università degli Studi di Padova. 16 P. Nicolini, D. Frezzato and R. Chelli, Exploiting configura-
This work is supported by Ministero dell’Istruzione, Università tional freezing in nonequilibrium Monte Carlo simulations,
e Ricerca (MIUR), grant FIRB 2012. J. Chem. Theory Comput., 2011, 7, 582–593.
17 B. P. Cossins, S. Foucher, C. M. Edge and J. W. Essex,
Assessment of nonequilibrium free energy methods,
Notes and references J. Phys. Chem. B, 2009, 113, 5508–5519.
18 M. Zerbetto, A. Piserchia and D. Frezzato, Looking for some free
1 C. Jarzynski, Equalities and inequalities: irreversibility and energy? Call JEFREE (. . .), J. Comput. Chem., 2014, 35, 1865–1881.
the second law of thermodynamics at the nanoscale, Annu. 19 Library JEFREE and related documentation can be down-
Rev. Condens. Matter Phys., 2011, 2, 329–351. loaded from www.chimica.unipd.it/c3p/software.html.
2 C. Jarzynski, Equilibrium free-energy differences from none- 20 R. Chelli, S. Marsili, A. Barducci and P. Procacci, General-
quilibrium measurements: a master-equation approach, ization of the Jarzynski and Crooks nonequilibirum work
Phys. Rev. E: Stat. Phys., Plasmas, Fluids, Relat. Interdiscip. theorems in molecular dynamics simulations, Phys. Rev. E:
Top., 1997, 56, 5018–5035. Stat., Nonlinear, Soft Matter Phys., 2007, 75, 050101.
3 K. Huang, Statistical Mechanics, John Wiley & Sons, Singapore, 21 S. J. Davie, J. C. Reid and D. J. Searles, The free energy of
2nd edn, 1987. expansion and contraction: treatment of arbitrary systems
4 M. P. Allen and D. J. Tildesley, Computer simulation of using the Jarzynski equality, J. Chem. Phys., 2012, 136, 174111.
liquids, Oxford University Press, New York, 1987. 22 S. J. Davie, O. G. Jepps, L. Rondoni, J. C. Reid and D. J.
5 J. G. Kirkwood, Statistical mechanics of fluid mixtures, Searles, Applicability of optimal protocols and the Jarzynski
J. Chem. Phys., 1935, 3, 300–313. equality, Phys. Scr., 2011, 89, 048002.
6 R. Zwanzig, High-temperature equation of state by a pertur- 23 S. G. Moustafa, A. J. Schultz and D. A. Kofke, A comparative
bation method. I. Non-polar gases, J. Chem. Phys., 1954, 22, study of methods to compute the free energy of an ordered
1420–1426. assembly by molecular simulation, J. Chem. Phys., 2013,
7 A. Pohorille, C. Jarzynski and C. Chipot, Good Practices in 139, 084105.
Free-Energy Calculations, J. Phys. Chem. B, 2010, 114, 24 G. E. Crooks, Comment regarding ‘‘On the Crooks fluctua-
10235–10253. tion theorem and the Jarzynski equality’’ [ J. Chem. Phys.
8 F. M. Ytreberg, R. H. Swendsen and D. M. Zuckerman, 2008, 129, 091101] and ‘‘Nonequilibrium fluctuation-
Comparison of free energy methods for molecular systems, dissipation theorem of Brownian dynamics’’ [ J. Chem. Phys.
J. Chem. Phys., 2006, 125, 184114. 2008, 129, 144113], J. Chem. Phys., 2009, 130, 107101.
9 S. Park and K. Shulten, Calculating potentials of mean force 25 D. M. Zuckerman and T. B. Woolf, Theory of a Systematic
from steered molecular dynamics simulations, J. Chem. Computational Error in Free Energy Differences, Phys. Rev.
Phys., 2004, 120, 5946. Lett., 2002, 89, 180602.
10 H. Yu, A. N. Gupta, X. Liu, K. Neupane, A. M. Brigley, 26 C. W. Gardiner, Handbook of Stochastic Methods, Springer,
I. Sosova and M. T. Woodside, Energy landscape analysis Berlin, 1994.
of native folding of the prion protein yields the diffusion 27 N. Metropolis, A. W. Rosenbluth, M. N. Rosenbluth, A. H.
constant, transition path time, and rates, Proc. Natl. Acad. Teller and E. Teller, Equation of state calculations by fast
Sci. U. S. A., 2012, 109, 14452–14457. computing machines, J. Chem. Phys., 1953, 21, 1087–1092.
1978 | Phys. Chem. Chem. Phys., 2015, 17, 1966--1979 This journal is © the Owner Societies 2015
View Article Online
Paper PCCP
28 W. K. Hastings, Monte Carlo sampling methods using orientation-dependent function f reduces to a summation
Markov chains and their applications, Biometrika, 1970, of atom-atom pair terms, each of the kind in eqn (32). At any
57, 97–109. rate, such a route is heavier than our JE-based approach
29 M. Zerbetto and D. Frezzato, Multidimensional integration which requires only the calculation of the total energy of the
through Markovian sampling under steered function system.
morphing, 2014, arXiv:1410.2810 [stat.AP]. The JEMDI 38 T. Schmiedl and U. Seifert, Optimal finite-time processes
Published on 05 December 2014. Downloaded by Universidade Federal da Santa Maria on 3/26/2019 12:29:04 PM.
library and related documentation can be downloaded from in stochastic thermodynamics, Phys. Rev. Lett., 2007,
www.chimica.unipd.it/c3p/software.html. 98, 108301.
30 T. Steinbrecher, D. L. Mobley and D. A. Case, Nonlinear 39 S. Vaikuntanathan and C. Jarzynski, Escorted free energy
scaling schemes for Lennard-Jones interactions in free simulations: improving convergence by reducing dissipa-
energy calculations, J. Chem. Phys., 2007, 127, 214108. tion, Phys. Rev. Lett., 2008, 100, 190601.
31 G. Hummer, Fast-growth thermodynamic integration: Error 40 F. M. Ytreberg and D. M. Zuckerman, Single-ensemble
and efficiency analysis, J. Chem. Phys., 2001, 114, 7330–7337. nonequilibrium path-sampling estimates of free energy
32 H. Oberhofer, C. Dellago and P. L. Geissler, Biased Sampling differences, J. Chem. Phys., 2004, 120, 10876.
of Nonequilibrium Trajectories: Can Fast Switching Simula- 41 R. Chelli, C. Gellini, G. Pietraperzia, E. Giovannelli and
tions Outperform Conventional Free Energy Calculation G. Cardini, Path-breaking schemes for nonequilibirum free
Methods?, J. Phys. Chem. B, 2005, 109, 6902–6915. energy calculations, J. Chem. Phys., 2013, 138, 214109.
33 S. Hu, Monte Carlo simulations on the thermodynamic 42 E. Giovannelli, C. Gellini, G. Pietraperzia, G. Cardini and
properties of high-density gases, Int. J. Numer. Methods R. Chelli, Combining path-breaking with bidirectional
Fluids, 2013, 71, 983–990. nonequilibirum simulations to improve efficiency in free
34 H. J. Achtermann, T. K. Bose, H. Rögener and J. M. energy calculations, J. Chem. Phys., 2014, 140, 064104.
St-Arnaud, Precise Determination of the Compressibility 43 P. Nicolini, D. Frezzato and R. Chelli, Exploiting configura-
Factor of Methane, Nitrogen, and Their Mixtures from tional freezing in nonequilibrium simulations, J. Chem.
Refractive Index Measurements I, Int. J. Thermophys., 1986, Theory Comput., 2011, 7, 582–593.
7, 709–720. 44 R. Chelli, Local sampling in steered Monte Carlo simula-
35 Calculations have been performed with two HPC clusters at tions decreases dissipation and enhances free energy esti-
disposal at the C3P facility of the Padova University (www. mates via nonequilibrium work theorems, J. Chem. Theory
chimica.unipd.it/c3p): 4 nodes with 4 Intel R Woodcrest Comput., 2012, 8, 4040–4052.
Dual Core 2.6 GHz processors each (connected via Infini- 45 J. P. Nilmeier, G. E. Crooks, D. D. L. Minh and J. D. Chodera,
band), and a single-node with 12 processors Intel R Xeon R Nonequilibrium candidate Monte Carlo is an efficient tool
L5640 2.27 GHz. for equilibrium simulation, Proc. Natl. Acad. Sci. U. S. A.,
36 J. G. Gay and B. J. Berne, Modification of the overlap 2011, 108, E1009–E1018.
potential to mimic a linear site-site potential, J. Chem. Phys., 46 E. Giovannelli, C. Gellini, G. Pietraperzia, G. Cardini and
1981, 74, 3316–3319. R. Chelli, Nonequilibrium candidate Monte Carlo simula-
37 We stress that eqn (33) simplifies when atomistic simula- tions with configurational freezing schemes, J. Chem. Theory
tions are performed; in this case (see eqn (2.63) of ref. 4) the Comput., 2014, 10, 4273–4283.
This journal is © the Owner Societies 2015 Phys. Chem. Chem. Phys., 2015, 17, 1966--1979 | 1979