+ All Categories
Home > Documents > Order parameter free enhanced sampling of the vapor-liquid ...people.bu.edu › straub › pdffiles...

Order parameter free enhanced sampling of the vapor-liquid ...people.bu.edu › straub › pdffiles...

Date post: 09-Jun-2020
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
7
THE JOURNAL OF CHEMICAL PHYSICS 138, 104119 (2013) Order parameter free enhanced sampling of the vapor-liquid transition using the generalized replica exchange method Qing Lu, 1 Jaegil Kim, 2, a) and John E. Straub 2, b) 1 Division of Materials Science and Engineering, Boston University, Brookline, Massachusetts 02446, USA 2 Department of Chemistry, Boston University, Boston, Massachusetts 02215, USA (Received 8 January 2013; accepted 25 February 2013; published online 14 March 2013) The generalized Replica Exchange Method (gREM) is extended into the isobaric-isothermal en- semble, and applied to simulate a vapor-liquid phase transition in Lennard-Jones fluids. Merging an optimally designed generalized ensemble sampling with replica exchange, gREM is particularly well suited for the effective simulation of first-order phase transitions characterized by “backbending” in the statistical temperature. While the metastable and unstable states in the vicinity of the first-order phase transition are masked by the enthalpy gap in temperature replica exchange method simula- tions, they are transformed into stable states through the parameterized effective sampling weights in gREM simulations, and join vapor and liquid phases with a succession of unimodal enthalpy distri- butions. The enhanced sampling across metastable and unstable states is achieved without the need to identify a “good” order parameter for biased sampling. We performed gREM simulations at various pressures below and near the critical pressure to examine the change in behavior of the vapor-liquid phase transition at different pressures. We observed a crossover from the first-order phase transition at low pressure, characterized by the backbending in the statistical temperature and the “kink” in the Gibbs free energy, to a continuous second-order phase transition near the critical pressure. The controlling mechanisms of nucleation and continuous phase transition are evident and the coexis- tence properties and phase diagram are found in agreement with literature results. © 2013 American Institute of Physics.[http://dx.doi.org/10.1063/1.4794786] I. INTRODUCTION The replica exchange method (REM) (or parallel tempering) 1, 2 has been widely used in the computer sim- ulation of diverse complex systems such as proteins, 36 glasses, 810 and atomic clusters, 11, 12 where methods based on sampling the conventional canonical ensemble struggle to at- tain ergodic sampling over a rugged energy landscape charac- terized by multiple minima separated by high barriers. 1315 In the standard temperature REM (tREM), a set of statistically independent canonical molecular dynamics (MD) or Monte Carlo (MC) simulations run in parallel at specified tempera- tures. The coupling of low and high temperature replicas via exchanges of configurations allows the low temperature repli- cas to escape from trapped regions more easily, facilitating ergodic sampling. 12 While tREM has proven to be highly ef- fective in the equilibrium sampling of stable phase states, the standard tREM struggles to attain its maximum power in the vicinity of a first-order phase transition. 1620 In moving across a strong phase change, canonical en- ergy distributions are effectively disjointed and character- ized by an energy gap corresponding to a latent heat. Since the acceptence probability of replica exchanges is deter- mined by the energy overlap of neighboring replicas, an en- ergy gap between P T <T c (E) and P T >T c (E) around the critical a) Present address: Broad Institute of MIT and Harvard, Cambridge, Massachusetts 02142, USA. b) Author to whom correspondence should be addressed. Electronic mail: [email protected]. temperature T c , P T (E) being the canonical probability den- sity function (PDF) at the temperature T, significantly im- pairs replica exchanges. The acceptance of replica exchanges for a pair of inverse temperatures, β and β , close to β c = 1/T c , becomes exponentially suppressed as A(βE; β E ) = min[1,e β(E E) ] e −|βE| , where β = β β and E is the energy gap. The generalized Replica Exchange Method (gREM) 21 has been developed to restore the full power of replica exchange by incorporating noncanonical ensembles into the replica exchange paradigm. The generalized ensem- ble sampling weights are determined from tailored effective temperatures through an inverse mapping strategy. Illustrative simulations on a Potts spin system with vary- ing system size and simulation conditions demonstrated a comprehensive sampling. 21 The quantitative comparison be- tween gREM and Wang-Laudau (WL) sampling revealed that gREM provided an order of magnitude acceleration of tun- neling transitions over WL, while maintaining a faithful sam- pling for the phase transition region as in flat histogram meth- ods. Application to the study of an adapted Dzutugov model explored the effectiveness of gREM in sampling a solid-liquid phase transition. 22 In this work, gREM is used to study the vapor-liquid phase transition in Lennard-Jones fluids, which has been the subject of extensive studies. 2328 Originally, gREM was formulated at constant volume where the internal energy of the system was a natural dynam- ical variable. However, in most vapor-liquid transition experi- ments the pressure, or, equivalently, the chemical potential of 0021-9606/2013/138(10)/104119/7/$30.00 © 2013 American Institute of Physics 138, 104119-1
Transcript
Page 1: Order parameter free enhanced sampling of the vapor-liquid ...people.bu.edu › straub › pdffiles › pubs › JCP.138.104119.2013.pdf · pressures below and near the critical pressure

THE JOURNAL OF CHEMICAL PHYSICS 138, 104119 (2013)

Order parameter free enhanced sampling of the vapor-liquid transitionusing the generalized replica exchange method

Qing Lu,1 Jaegil Kim,2,a) and John E. Straub2,b)

1Division of Materials Science and Engineering, Boston University, Brookline, Massachusetts 02446, USA2Department of Chemistry, Boston University, Boston, Massachusetts 02215, USA

(Received 8 January 2013; accepted 25 February 2013; published online 14 March 2013)

The generalized Replica Exchange Method (gREM) is extended into the isobaric-isothermal en-semble, and applied to simulate a vapor-liquid phase transition in Lennard-Jones fluids. Merging anoptimally designed generalized ensemble sampling with replica exchange, gREM is particularly wellsuited for the effective simulation of first-order phase transitions characterized by “backbending” inthe statistical temperature. While the metastable and unstable states in the vicinity of the first-orderphase transition are masked by the enthalpy gap in temperature replica exchange method simula-tions, they are transformed into stable states through the parameterized effective sampling weights ingREM simulations, and join vapor and liquid phases with a succession of unimodal enthalpy distri-butions. The enhanced sampling across metastable and unstable states is achieved without the need toidentify a “good” order parameter for biased sampling. We performed gREM simulations at variouspressures below and near the critical pressure to examine the change in behavior of the vapor-liquidphase transition at different pressures. We observed a crossover from the first-order phase transitionat low pressure, characterized by the backbending in the statistical temperature and the “kink” inthe Gibbs free energy, to a continuous second-order phase transition near the critical pressure. Thecontrolling mechanisms of nucleation and continuous phase transition are evident and the coexis-tence properties and phase diagram are found in agreement with literature results. © 2013 AmericanInstitute of Physics. [http://dx.doi.org/10.1063/1.4794786]

I. INTRODUCTION

The replica exchange method (REM) (or paralleltempering)1, 2 has been widely used in the computer sim-ulation of diverse complex systems such as proteins,3–6

glasses,8–10 and atomic clusters,11, 12 where methods based onsampling the conventional canonical ensemble struggle to at-tain ergodic sampling over a rugged energy landscape charac-terized by multiple minima separated by high barriers.13–15 Inthe standard temperature REM (tREM), a set of statisticallyindependent canonical molecular dynamics (MD) or MonteCarlo (MC) simulations run in parallel at specified tempera-tures. The coupling of low and high temperature replicas viaexchanges of configurations allows the low temperature repli-cas to escape from trapped regions more easily, facilitatingergodic sampling.12 While tREM has proven to be highly ef-fective in the equilibrium sampling of stable phase states, thestandard tREM struggles to attain its maximum power in thevicinity of a first-order phase transition.16–20

In moving across a strong phase change, canonical en-ergy distributions are effectively disjointed and character-ized by an energy gap corresponding to a latent heat. Sincethe acceptence probability of replica exchanges is deter-mined by the energy overlap of neighboring replicas, an en-ergy gap between PT <Tc

(E) and PT >Tc(E) around the critical

a)Present address: Broad Institute of MIT and Harvard, Cambridge,Massachusetts 02142, USA.

b)Author to whom correspondence should be addressed. Electronic mail:[email protected].

temperature Tc, PT(E) being the canonical probability den-sity function (PDF) at the temperature T, significantly im-pairs replica exchanges. The acceptance of replica exchangesfor a pair of inverse temperatures, β and β ′, close to βc

= 1/Tc, becomes exponentially suppressed as A(βE; β ′E′)= min[1, e�β(E′−E)] ≈ e−|�β�E|, where �β = β ′ − β and �Eis the energy gap. The generalized Replica Exchange Method(gREM)21 has been developed to restore the full power ofreplica exchange by incorporating noncanonical ensemblesinto the replica exchange paradigm. The generalized ensem-ble sampling weights are determined from tailored effectivetemperatures through an inverse mapping strategy.

Illustrative simulations on a Potts spin system with vary-ing system size and simulation conditions demonstrated acomprehensive sampling.21 The quantitative comparison be-tween gREM and Wang-Laudau (WL) sampling revealed thatgREM provided an order of magnitude acceleration of tun-neling transitions over WL, while maintaining a faithful sam-pling for the phase transition region as in flat histogram meth-ods.

Application to the study of an adapted Dzutugov modelexplored the effectiveness of gREM in sampling a solid-liquidphase transition.22 In this work, gREM is used to study thevapor-liquid phase transition in Lennard-Jones fluids, whichhas been the subject of extensive studies.23–28

Originally, gREM was formulated at constant volumewhere the internal energy of the system was a natural dynam-ical variable. However, in most vapor-liquid transition experi-ments the pressure, or, equivalently, the chemical potential of

0021-9606/2013/138(10)/104119/7/$30.00 © 2013 American Institute of Physics138, 104119-1

Page 2: Order parameter free enhanced sampling of the vapor-liquid ...people.bu.edu › straub › pdffiles › pubs › JCP.138.104119.2013.pdf · pressures below and near the critical pressure

104119-2 Lu, Kim, and Straub J. Chem. Phys. 138, 104119 (2013)

the vapor, is held constant.29–31 Approaches informed by clas-sical nucleation theory (CNT) usually consider the formationand growth of a liquid droplet at constant pressure.32–34 In thiswork, gREM is extended to include volume fluctuation at con-stant pressure for the effective simulation of the vapor-liquidtransitions.

In a standard NPT ensemble, the liquid cluster cannot co-exist stably in the vapor phase. The liquid cluster that is biggerthan the critical size will grow in order to minimize the excessfree energy, while the cluster that is smaller than the criticalsize will shrink, in order to lower the excess free energy. TenWolde and Frenkel29, 35 used a biased Monte Carlo (“umbrellasampling”) approach to stabilize large droplets. Schrader,Virnau, and Binder36 used the successive umbrella samplingto observe the liquid droplets coexisting in stable thermalequilibrium with supersaturated vapor at a range of densities.While these methods are successful in probing metastablestates associated with the liquid-vapor transition, they rely onthe identification of a “good” order parameter for the transi-tion, to exploit in the application of biased sampling, whichcan be difficult to identify in more complex systems.7

The gREM approach allows an effective sampling ofmetastable and unstable states in the vapor-liquid coexistencestates, independent of knowledge of an effective order param-eter for the transition. In a gREM simulation, each stage ofthe phase transition can be stabilized, including the forma-tion of a liquid droplet, the growth of a liquid cluster, andvanishing of the vapor phase. Recently, a crossover from apurely nucleation-controlled process to a spinodal decompo-sition was predicted for LJ fluids in a deeply supercooledregime.37, 38 Since we are able to observe the whole transitionprocess through gREM simulation, we can effectively assessthe mechanism of the vapor-liquid phase transition at variousconditions.

The paper is organized as follows. In Sec. II, the method-ology is described and in Sec. III, we compare the samplingeffectiveness of gREM with tREM approaches, and presentsimulation results of phase behavior, including the phase dia-gram, the Gibbs free energy as a function of pressure, and thestructural properties at low and high pressures. Salient con-clusions are presented in Sec. IV.

II. METHODS AND MATERIALS

A. Generalized replica exchange method atconstant pressure

Originally, gREM was formulated at constant volume,where the internal energy E of the system is a natural vari-able at the fixed volume V . To incorporate volume fluc-tuation critical to a vapor-liquid transition, we extendedgREM to the isothermal-isobaric—NPT ensemble.22 Theenthalpy, H = E + PV , which describes the thermal en-ergy change when a process occurs at a constant pres-sure, P, becomes a key dynamical variable in the NPTensemble. The density of states in enthalpy is definedas �(H ; P ) = ∫

dV∫

d3rδ[H (E(r), V ) − (E + PV )]. Theisobaric entropy is S(H ; P ) = kB ln�(H ; P ) (kB = 1), anal-ogous to the entropy in the microcanonical ensemble, and thestatistical temperature is TS(H) = [∂S/∂H]−1.

Each replica α in gREM simulation with M replicas(α = 1, . . . , M) is associated with an effective temperatureTα(H; λα), and sampled with generalized ensemble weightW (H ; λα). The sampling weight Wα(H, λα) is determinedfrom the effective temperature through the inverse mappingstrategy as

Wα(H ) = − ln∫

1

Tα(H ′; λα)dH ′. (1)

The linear effective temperatures are aligned in parallelas

Tα(H ; λα) = λα + γ (H − H0) (2)

with the control parameters including γ , the constant slope,H0, a constant in the relevant enthalpy range, and λα , theT-intercept at a chosen H0. Denoting the lowest and high-est temperature as T1 and TM, respectively, the average en-thalpy H̃1 and H̃M can be determined by short canonicalruns at T1 and TM. The value of H0 can be set as H0 = H̃1.The dynamic range of λα is determined as λ1 = T1 andλM = TM − γ (H̃M − H̃1), so that the first and Mth effectivetemperatures cross [H̃1, T1] and [H̃M, TM ], respectively. Theintermediate values of λα (1 < α < M) are determined byequally dividing the parameter space as

λα = λ1 + (α − 1)�λ (3)

and �λ = (λM − λ1)/(M − 1).Detailed simulation protocols of gREM are defined by

the following three steps:

(i) Perform short canonical runs at several temperaturesbetween T1 and TM to determine the data set, [H̃α, Tα].Select a proper γ to be less than the minimum slopeof the statistical temperature TS, and determine λα byemploying Eq. (3) between λ1 = T1 and λM = TM

− γ (H̃M − H̃1), with H0 = H̃1.(ii) Run the gREM simulation in each replica by making

Monte Carlo trial moves in configuration space with theacceptance probability

Aintra(x → x′) = min[1, ewα (H )−wα (H ′)], (4)

where the effective potential wα(H ) = −lnWα , Wα be-ing the sampling weight.

A Monte Carlo trial move consists either of an at-tempted single particle displacements or a trial volumechange; one trial volume move is made after N trialsingle particle displacements are performed, where Nequals the number of particles.

After all replicas finished N attempted single particledisplacement and a trial volume move, attempt a replicaexchange between neighboring replicas with the accep-tance

Ainter(α; xx′) = min[1, exp(�α)], (5)

�α =wα+1(H ′)−wα+1(H )+wα(H )−wα(H ′), whereH = E(r) + PV and H ′ = E(r ′) + PV ′.

(iii) Once a sufficiently long production run has been per-formed, calculate the entropy estimate S̃(H ) by joiningmultiple generalized ensemble runs via the weighted

Page 3: Order parameter free enhanced sampling of the vapor-liquid ...people.bu.edu › straub › pdffiles › pubs › JCP.138.104119.2013.pdf · pressures below and near the critical pressure

104119-3 Lu, Kim, and Straub J. Chem. Phys. 138, 104119 (2013)

histogram analysis method (WHAM)39 or statisticaltemperature weighted histogram analysis method (ST-WHAM).40

B. Statistical temperature weighted histogramanalysis method (ST-WHAM)

A recently developed statistical temperature weightedhistogram analysis method (ST-WHAM)40 is used for pos-terior analysis of gREM simulation results. This methodtakes advantage of the already-determined sampling weightsof replica, Wα(H ), and the associated enthalpy histogram,Pα(H ), where P denotes the histogram and H denotes the en-thalpy. The goal is to directly determine the inverse statisticaltemperature βS = ∂S/∂H as a weighted superposition of theindividual statistical temperature estimates, without undeter-mined parameters. Thermodynamic quantities such as entropycan be evaluated upon the numerical integration of this statis-tical temperature. Unlike conventional WHAM,39 ST-WHAMdoes not use the iterative technique to determine the relevantpartition function, but instead determines βS directly fromWα(H ) and Pα(H ). This leads to a substantial accelerationof the data analysis without a loss in accuracy as has beendemonstrated in a number of recent applications.41, 42 A morecomplete description of ST-WHAM is provided in the supple-mentary material.53

C. Lennard-Jones fluid

We study the vapor-liquid phase transition in a Lennard-Jones system43 in which the interaction potential was trun-cated and shifted at a cutoff radius rc = 2.5σ , where σ is theparticle diameter. The energy of interaction ϕ between anytwo particles separated by a distance r is given by

ϕ(r) ={

ϕLJ(r) − ϕLJ(rc) r < rc

0 r ≥ rc,

where ϕLJ(r) = 4ε(σ 12/r12 − σ 6/r6) is the full LJ interac-tion, ε and σ are the LJ well depth and diameter, and rc

= 2.5σ is the interaction cutoff separation. We made no long-range corrections and applied cubic periodic boundary condi-tions. Reduced units employ ε and σ as characteristic energyand length scales, respectively. The numerical values for ar-gon are σ = 0.3405 nm, εk = 119.8 K.

III. RESULTS AND DISCUSSION

A. Sampling effectiveness

A comparative study was performed between gREM andtREM simulations in order to explore the difference in sam-pling effectiveness. The simulations were performed at pres-sure P = 0.04 for a system with 250 particles, and number ofreplicas M = 99 in both tREM and gREM simulations. FortREM, the temperature of each replica was equally allocatedbetween the lowest and highest temperature T1 = 0.7 and TM

= 1.1. The effective temperature of gREM simulation obeysEq. (2), and the parameters in the effective temperature are H0

= −1218.6, λ1 = 0.7, λM = 5.1 and γ 0 = −0.0029046.

0

0.02

0.04

0.06

0.08

0.1

-6 -5 -4 -3 -2 -1 0 1 2

Pα(

H)

Enthalpy H/N

(b)

0

0.02

0.04

0.06

Pα(

H)

(a)

gap

FIG. 1. (a) and (b) show the resulting generalized probability distributionfunctions (GPDF) of replica 1,6,11,16,···,96 sampled by tREM and gREM,respectively. The enthalpy gap in tREM is marked in (a).

In the strong first order phase transition, the statisticaltemperature TS(H) exhibits a negative slope, the so-calledbackbending or S-loop. Instead of using canonical temper-atures, gREM uses effective temperatures in order to formunique stable crossing points with the statistical temperature,TS. The linear effective temperatures of different replicas, Tα ,are aligned in parallel with a constant slope γ , which is lessthan the slope of TS in the backbending region. As a re-sult, unique crossing points are formed between Tα and TS

throughout the enthalpy range of interest. An illustration oflinear effective temperature is provided in the supplementarymaterial.53

Since Tα(H; λα) was designed to form a unique, stablecrossing point, H ∗

α , with TS(H), the resulting PDFs are sharplylocalized around H ∗

α with a Gaussian shape in Fig. 1(b), andnaturally bridge the vapor and liquid phases with unimodalenthalpy distributions across the transition region. In contrast,the canonical enthalpy distributions of tREM are effectivelydisjoint by an enthalpy gap corresponding to the latent heatbetween vapor and liquid phases, which is displayed in PDFsin Fig. 1(a). Note that only 20 out of 99 replicas were plottedin Fig. 1 and actual overlaps between neighboring replicas aregreater.

During the simulations, we kept track the movement ofreplicas of both tREM and gREM in the enthalpy space.Figure 2 shows the trajectories of replica 61 and 14 of bothtREM and gREM. While the tREM trajectories sample twonarrow ranges in enthalpy space, the trajectories of gREMreach the lowest and highest boundaries and span the en-thalpy space. The tunneling transitions44 in the two replicasand other replicas (not shown) enable the mixing between thehigh and low enthalpy configurations. The gREM simulationachieves comprehensive sampling in the phase transition re-gion, while tREM fails because of the intrinsic instability ofcanonical ensemble in the backbending region.

Page 4: Order parameter free enhanced sampling of the vapor-liquid ...people.bu.edu › straub › pdffiles › pubs › JCP.138.104119.2013.pdf · pressures below and near the critical pressure

104119-4 Lu, Kim, and Straub J. Chem. Phys. 138, 104119 (2013)

-5

-4

-3

-2

-1

0

1E

ntha

lpy/

N

(a)

-5

-4

-3

-2

-1

0

1

0 100 200 300 400 500 600 700

Ent

halp

y/N

MC sweeps (10 )

(b)

FIG. 2. (a) The enthalpy trajectories of replica 14 in tREM (blue line) andgREM (red line). (b) The enthalpy trajectories of replica 61 in tREM (blueline) and gREM (red line).

B. Vapor-liquid phase coexistence propertiesand phase diagram

gREM simulations were carried out for systems at sevenpressures and with two different sizes, 250 and 1000 particles,exploring temperatures as functions of enthalpy and density,T(H) and T(ρ), and liquid-vapor coexistence points and spin-odal points at each pressure.

The line of equilibrium coexistence of two phases in aone-component system corresponds to equalities of the pres-sures, temperatures, and the chemical potentials of the liq-uid and vapor phases. At equilibrium, the Gibbs free en-ergy difference, �G = (Hvap − Hliq) − T

∫ vapliq dS = 0, Hvap

and Hliq being the enthalpy of vapor and liquid phases at thecoexistence temperature. Given that the statistical tempera-

0.7

0.8

0.9

1

1.1

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8

T

ρ=N/V

FIG. 3. The coexistence temperatures and densities of the N = 250 systemare plotted with red filled circles, and that of the N = 1000 system is plotted asblue squares. The critical temperature and density for N = 250 and N = 1000system is denoted by the red star and blue cross, respectively. The error barsfor the present simulations are smaller than the figure symbols. The criticaland coexistence points reported by Vrabec et al.47 are in green filled triangles.

0.6

0.8

1

1.2

T(H

)

Enthalpy H/N

(a)

P=0.0960.080.060.040.03

0.0160.0078

0.6

0.8

1

1.2

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8

T(ρ

)

ρ=N/V

(b)

FIG. 4. (a) Temperatures T(H) as functions of enthalpy at seven differentpressures for systems with 250 particles. The liquid-vapor coexistence tem-perature and enthalpy points (TCE, HCE) are plotted as red filled circles. Theblack open squares and triangles denote liquid and vapor spinodal points,respectively. (b) Temperatures T(ρ) as functions of density at seven differentpressures. Same colors and symbols are used for the same simulations in both(a) and (b).

ture TS(H) = (∂H/∂S)N, P, integration yields �S = ∫ Hvap

HliqdH/

TS(H ). Therefore, the coexistence temperature must satisfy

�G

T= Hvap − Hliq

T−

∫ Hvap

Hliq

dH

TS(H )= 0. (6)

Equation (6) is equivalent to the Maxwell equal area rule. Theequilibrium temperatures on the coexistence curve are deter-mined through this method.

For the simulations of N = 1000 and N = 250 systems,99 replicas are used, and the other parameters are in the sup-plementary material.53 The critical temperature, Tc, and den-sity, ρc, can be obtained through fitting the coexistence pointsto Guggenheim-type equations.47, 48 For N = 250 system, Tc

= 1.0780 and ρc = 0.3198 and for N = 1000 system, Tc

= 1.0730 and ρc = 0.3224. Vrabec et al. reported similar val-ues as Tc = 1.0779 and ρc = 0.3190. The coexistence andcritical points of these three systems are shown in Fig. 3.

While crossing the phase coexistence of binodal curve,the system enters the metastable phase, which retains itsrestorative reaction to small perturbations of density.24

Page 5: Order parameter free enhanced sampling of the vapor-liquid ...people.bu.edu › straub › pdffiles › pubs › JCP.138.104119.2013.pdf · pressures below and near the critical pressure

104119-5 Lu, Kim, and Straub J. Chem. Phys. 138, 104119 (2013)

-6

-5.5

-5

-4.5

0.7 0.8 0.9 1

G/N

T

A

B

C

D

E

F

G

P=0.03

FIG. 5. The temperature variation of Gibbs free energy per particle, G(T)/N,at pressure P = 0.03. The letters A − G denote the states on the Gibbsfunction.

Conditions of stability against this kind of perturbation areviolated only when the system reaches the spinodal, whichis the locus of points surrounding the unstable region.45 Thespinodal points can be simply identified by the maximumand minimum of the T(H) and T(ρ) curves as shown inFigs. 4(a) and 4(b). The density region bounded by spinodalpoints has a positive slope, giving a negative thermal expan-sion coefficient and indicating an instability.

The degree of backbending in the T(H) curve graduallydecreases as the pressure increases. At some low pressures,such as P1 = 0.0078, the transition region of T(H) displays se-vere backbending. When pressure reaches P7 = 0.096, whichis close to the critical pressure,46 the backbending is almosttransformed into an inflection and the first order phase transi-tion becomes second-order, in agreement with the theoreticalprediction for the behavior at the critical point.

0.6 0.8

1 1.2

1.4 0 0.02 0.04

0.06 0.08

0.1

-7

-6

-5

-4

-3

G/N

P=0.00780.0160.030.040.060.08

0.096

T

P

G/N

FIG. 6. Behavior of the Gibbs free energy per particle, G(T)/N, as a functionof temperature at seven different pressures.

C. Thermodynamic properties calculatedfrom ST-WHAM

We employed ST-WHAM to compute the entropy andsubsequently the Gibbs free energy for the system of 1000particles. The temperature variation of Gibbs free energy perparticle, G(T)/N, at pressure P = 0.03 is shown in Fig. 5. TheGibbs function intersects itself at point D, which is the liquid-vapor coexistence point and the liquid and vapor phases arethe sections on the left and right sides of point D, respec-tively. The liquid and vapor curves are connected togetherthrough the intermediate states on the kink where the curva-ture changes sign. Following Callen,49 we refer to the kink onthe Gibbs function as the closed loop. The discontinuity of thecurvatures of liquid and vapor curves is the characteristic of afirst order phase transition.

The closed loop results from the fact that enthalpy func-tion, H(T), is triple-valued in T for the backbending regime.For a given temperature, three states are available to thesystem, as, for example, the states designated by A, B, andC. Among these three states, state C is unstable to small

FIG. 7. Configurations of 6 different states throughout the phase transition at P3 = 0.03. The vapor particles are in red and the liquid particles are in gray. (e)and (g) are side views of the states in (d) and (f), respectively. Note that the size of each box is not proportional to the volume of the state.

Page 6: Order parameter free enhanced sampling of the vapor-liquid ...people.bu.edu › straub › pdffiles › pubs › JCP.138.104119.2013.pdf · pressures below and near the critical pressure

104119-6 Lu, Kim, and Straub J. Chem. Phys. 138, 104119 (2013)

FIG. 8. Configuration of 6 different states throughout the phase transition atP7 = 0.096. The color scheme is the same as in Fig. 7. Note that the size ofeach box is not proportional to the volume of the state.

fluctuations in density. A and B are stable, and the Gibbs func-tion is a local minimum. In generalized ensemble sampling,such as gREM simulation, the metastable and unstable statessuch as state B and C are transformed into stable states. Sim-ilarly, the Gibbs function is tripled-valued at another temper-ature, where states E, F, and G, are stable, metastable, andunstable states, respectively, in the canonical ensemble.

We have shown that backbending in T(H) curves de-creases with the increasing pressure in Fig. 4. Because theclosed loop in G(T)/N curves are the result of the backbendingin T(H), we expect the closed loop will shrink when the pres-sure increases. Figure 6 presents the evolution of the Gibbsfunction at seven different pressures. The closed loop is largeat the low pressures, becomes smaller with the increasingpressure, and at P = 0.096 the closed loop almost disappears.With the diminishment of the closed loop, the Gibbs functionsof the liquid and vapor phases are connected together with-out the discontinuity in the curvatures, and the liquid-vaporphase transition becomes a second order continuous phasetransition.

D. Structural properties

It is known that nucleation and continuous phase transi-tion are the two mechanisms that control the first-order andsecond-order phase transitions, respectively. Direct inspec-tion of the atomic configurations will validate the statement.The configurations of the system at a lower pressure, P3= 0.03, and near the critical pressure, P7 = 0.096, areshown in Figs. 7 and 8, respectively. The vapor particles aremarked in red and the liquid particles are in gray. Stillinger’scriterion50 was used to determine whether a particle is liquid-like or vapor-like, and the cutoff radius is rc = 1.5. The resultspresented in this section are for systems with 1000 particles.

The configurations of six states, denoted as states 1 to6, are shown in Fig. 7. Beginning with the pure vapor phasein state 1, a spherical liquid droplet is seen in state 2, thespherical droplet grows larger in state 3, becomes cylinder-like in state 4, grows into a slab-like shape in state 5, and in

state 6 reaches the pure liquid phase. The occurrence of thesestates agrees with results in previous work.36, 51, 52 The struc-tural change of the states along the transition path shows thatnucleation is the controlling mechanism of the vapor-liquidphase transition at P3.

The configurations of the system at P7 = 0.096 areshown in Fig. 8. From Fig. 8(a) to 8(f), the system graduallytransforms from vapor to liquid phase but stays homogenouswithout the phase domain separation. At this pressure, thegrowth of liquid phase takes place in a collective and diffusivemanner.

IV. CONCLUSION

In this work, we demonstrated the advantages of gREMin simulating the vapor-liquid phase transition in the truncatedand shifted Lennard-Jones fluid. The parameterized effectivetemperatures in gREM are tailored to avoid an intrinsic insta-bility of the canonical ensemble in the negative slope region ofthe statistical temperature TS(H) in first order phase transition.The optimal sampling weight is determined from the effectivetemperature through the inverse mapping strategy. By com-bining generalized ensemble sampling with replica exchange,our method enables a comprehensive sampling for phasetransition region with a succession of unimodal enthalpydistributions.

Originally formulated in NVT ensemble, gREM has beenextended to the isothermal-isobaric (NPT) ensemble to ac-commodate the volume change in vapor-liquid phase transi-tion. The phase transition was studied at various pressures be-low and close to the critical point. The statistical temperatureas a function of enthalpy TS(H; P) is computed at each pres-sure by ST-WHAM based on the data produced by gREMsimulations. The coexistence temperatures and densities arecalculated through the Maxwell equal area construction. Thespinodal points are identified as the maximum and minimumpoints of the TS(H) curves. Our results are consistent with theliterature47 results.

We studied the change in the nature of liquid-vapor phasetransition with the change in the pressure. At low pressures,strong first-order phase transition features are observed asthe backbending in the statistical temperature as a functionof enthalpy, Ts(H), and the closed loop in Gibbs function,G(T). However, as the pressure increases, the first-order fea-tures gradually diminishes, and the liquid and vapor phasesare connected together without discontinuity in the curva-ture of enthalpy and Gibbs function. The diminishment ofthe discontinuity indicates that the liquid-vapor transition be-comes second-order continuous phase transition near the crit-ical pressure.

Direct inspection of the atomic configurations of the in-termediate states has shown the controlling mechanisms inthe two scenarios. At low pressures, it is apparent that nu-cleation controls the vapor-liquid phase transition as shownby the liquid droplet formation and growth process. Near thecritical pressure, a coalescence or collective growth of thenew phase displays the characteristic of a second order phasetransition.

Page 7: Order parameter free enhanced sampling of the vapor-liquid ...people.bu.edu › straub › pdffiles › pubs › JCP.138.104119.2013.pdf · pressures below and near the critical pressure

104119-7 Lu, Kim, and Straub J. Chem. Phys. 138, 104119 (2013)

The comprehensive sampling for metastable or unstablestates with no additional order parameters, explicitly demon-strated in vapor-liquid phase transition of Lennard-Jones flu-ids, makes gREM a promising tool in diverse applications ofcomplex fluids, water and protein simulations.

ACKNOWLEDGMENTS

We are grateful to the National Science Foundation(Grant No. CHE-1114676) for the generous support of ourresearch.

1C. J. Geyer and A. Thompson, J. Am. Stat. Assoc. 90, 909 (1995).2K. Hukushima and K. Nemoto, J. Phys. Sco. Jpn. 65, 1604 (1996).3Y. Sugita and Y. Okamoto, Chem. Phys. Lett. 314, 141 (1999).4R. Zhou and B. J. Berne, Proc. Natl. Acad. Sci. U.S.A. 99, 12777 (2002).5A. E. Garcia and J. N. Onuchic, Proc. Natl. Acad. Sci. U.S.A. 100, 13898(2003).

6U. H. E. Hansmann, Chem. Phys. Lett. 281, 140 (1997).7T. B. Woolf, D. M. Zuckerman, N. Lu, and H. Jang, J. Mol. Graphics Mod-ell. 22, 359 (2004).

8R. Yamamoto and W. Kob, Phys. Rev. E 61, 5473 (2000).9E. Flenner and G. Szamel, Phys. Rev. E 73, 061505 (2006).

10B. A. Berg and T. Celik, Phys. Rev. Lett. 69, 2292 (1992).11P. A. Frantsuzov and V. A. Mandelshtam, Phys. Rev. E 72, 037102 (2005).12P. Poulain, F. Calvo, R. Antoine, M. Broyer, and P. Dugourd, Phys. Rev. E

73, 056704 (2006).13H. Li, G. Li, B. A. Berg, and W. Yang, J. Chem. Phys. 125, 144902

(2006).14A. Mitsutake, Y. Sugita, and Y. Okamoto, Biopolymers 60, 96 (2001).15B. J. Berne and J. E. Straub, Curr. Opin. Struct. Biol. 7, 181 (1997).16D. J. Earl and M. W. Deem, Phys. Chem. Chem. Phys. 7, 3910 (2005).17H. Kamberaj and A. van der Vaart, J. Chem. Phys. 127, 234102 (2007).18C. Zhang and J. Ma, Phys. Rev. E 76, 036708 (2007).19E. Lyman, F. M. Ytreberg, and D. M. Zuckerman, Phys. Rev. Lett. 96,

028105 (2006).20M. R. Shirts and J. D. Chodera, J. Chem. Phys. 129, 124105 (2008).21J. Kim, T. Keyes, and J. E. Straub, J. Chem. Phys. 132, 224107 (2010).22Q. Lu, J. Kim, and J. Straub, J. Phys. Chem. B 116, 8654 (2012).23B. Smit, J. Chem. Phys. 96, 8639 (1992).24V. G. Baidakov, S. P. Protsenko, Z. R. Kozlova, and G. G. Chernykh, J.

Chem. Phys. 126, 214505 (2007).25X. C. Zeng and D. W. Oxtoby, J. Chem. Phys. 94, 4472 (1991).

26J. R. Errington, J. Chem. Phys. 118, 9915 (2003).27A. R. Imre, G. Mayer, G. Hazi, R. Rozas, and T. Kraska, J. Chem. Phys.

128, 114708 (2008).28V. V. Brazhkin, Y. D. Fomin, A. G. Lyapin, V. N. Ryzhov, and E. N. Tsiok,

J. Phys. Chem. B 115, 14112 (2011).29P. R. ten Wolde and D. Frenkel, J. Chem. Phys. 109, 9901 (1998).30M. P. Allen and D. J. Tildesley, Computer Simulation of Liquids (Claren-

don, 1987).31D. Frenkel and B. Smit, Understanding Molecular Simulation: From Algo-

rithms to Applications (Academic, 1996).32J. Frenkel, Kinetic Theory of Liquids (Dover, 1955).33F. F. Abraham, Homogeneous Nucleation Theory (Academic, 1974).34K. Binder and D. Stauffer, Adv. Phys. 25, 343 (1976).35P. R. ten Wolde, M. J. Ruiz-Montero, and D. Frenkel, J. Chem. Phys. 110,

1591 (1999).36M. Schrader, P. Virnau, and K. Binder, Phys. Rev. E 79, 061104

(2009).37P. Bhimalapuram, S. Chakrabarty, and B. Bagchi, Phys. Rev. Lett. 98,

206104 (2007).38J. Wedekind, G. Chkonia, J. Wolk, R. Strey, and D. Reguera, J. Chem. Phys.

131, 114506 (2009).39A. M. Ferrenberg and R. H. Swenden, Phys. Rev. Lett. 63, 1195 (1989).40J. Kim, T. Keyes, and J. E. Straub, J. Chem. Phys. 135, 061103 (2011).41L. G. Rizzi and N. A. Alves, J. Chem. Phys. 135, 141101 (2011).42M. Church, C. Ferry, and A. E. van Giessen, J. Chem. Phys. 136, 245102

(2012).43J. E. Lennard-Jones, Proc. R. Soc. London, Ser. A 106, 441 (1924).44S. Trebst, M. Troyer, and U. H. E. Hansmann, J. Chem. Phys. 124, 174903

(2006).45D. Chandler, Introduction to Modern Statistical Mechanics (Oxford Uni-

versity Press, New York, 1987).46H. S. Ashbaugh, J. Chem. Phys. 130, 204517 (2009).47J. Vrabec, G. K. Kedia, G. Fuchs, and H. Hasse, Mol. Phys. 104, 1509

(2006).48E. A. Guggenheim, J. Chem. Phys. 13, 253 (1945).49H. B. Callen, Thermodynamics: An Introduction to the Physical Theories

of Equilibrium Thermostatics and Irreversible Thermodynamics (Wiley,1985).

50F. H. Stillinger, J. Chem. Phys. 38, 1486 (1963).51L. G. MacDowell, V. K. Shen, and J. R. Errington, J. Chem. Phys. 125,

034705 (2006).52R. Godawat, S. N. Jamadagni, J. R. Errington, and S. Garde, Ind. Eng.

Chem. Res. 47, 3582 (2008).53See supplementary material at http://dx.doi.org/10.1063/1.4794786 for the

detailed description of ST-WHAM, a figure on linear effective temperature,and tables for parameters in gREM simulations.


Recommended