Open Access Article
This Open Access Article is licensed under a
Creative Commons Attribution 3.0 Unported Licence

Reducing uncertainty in simulation estimates of the surface tension through a two-scale finite-size analysis: thicker is better

José L. Rivera*a and Jack F. Douglasb
aLaboratorio de Modelamiento y Simulación Molecular, Universidad Michoacana de San Nicolás de Hidalgo, Morelia, Michoacán 58000, Mexico. E-mail: jlrivera@umich.mx
bMaterials Science and Engineering Division, National Institute of Standards and Technology, Gaithersburg, Maryland 20899, USA

Received 3rd September 2019 , Accepted 29th October 2019

First published on 4th November 2019


Abstract

Recent simulation studies of the surface tension γ, and other properties of thin free-standing films, have revealed unexpected finite size effects in which the variance of the properties vary monotonically with the in-plane width of the films, complicating the extrapolation of estimates of film properties to the thermodynamic limit. We carried out molecular dynamics simulations to determine the origin of this phenomenon, and to address the practical problem of developing a more reliable methodology for estimating γ in the thermodynamic limit. We find that there are two distinct finite size effects that must be addressed in a finite size analysis of γ in thin films. The first finite size scale is the in-plane width of the films and the second scale is the simulation cell size in the transverse direction. Increasing the first scale enhances fluctuations in γ, measured by the standard deviation of their distribution, while increasing the second reduces γ fluctuations due to a corresponding increased ‘freedom’ of the film to fluctuate out of plane. We find that using progressively large simulation cells in the transverse direction, while keeping the film width fixed to an extent in which the full bulk liquid zone is developed, allows us to obtain a smooth extrapolation to the thermodynamic limit, enabling a reduction of the γ uncertainty to a magnitude on the order of 1% for systems having a reasonably large size, i.e., O (1 μm).


Introduction

Longford et al.1 recently studied the vapor/liquid equilibrium of Lennard-Jones atoms (Ar) and water molecules, using thin liquid films surrounded by coexisting vapor phases, and found unexpected finite-size effects for the variance of γ as the width of the simulated film was varied. This result is important because it suggests that extrapolation of the film properties by increasing the film in-plane extent may not lead to reliable thermodynamic limit estimates of γ and other film properties. For Lennard-Jones systems with liquid and vapor lengths, and dimensions in the transverse directions of between 15σAr–Ar and 35σAr–Ar (σAr–Ar being the diameter of a single argon atom), temperatures between 85 K and 135 K, a short reduced-cutoff radius of image file: c9ra07058c-t1.tif with long-range corrections to the properties, and a large timestep of 2 fs, the variance of the surface tension grows with the length of the layers in a linear fashion. Schmitz et al.2,3 suggested that these unexpected size effects are due to a ‘domain broadening’ caused by density fluctuations in the bulk liquid. In a previous study, we found that bulk and some interfacial properties of narrow layers vary with the size of the simulation cell in the transverse directions, and that the average property values and their distribution narrow as the transverse area of the simulation cell is increased.4 Here, we perform simulations aimed to understand these unexpected finite size effects, also observed by Langford et al.,1 in order to develop a more reliable approach for the precise estimation of the thermodynamic properties of thin films.

In this study, we examined two different finite-size effects on the variance of γ, where we focused on the variance because this quantity characterizes the distributions of our γ estimations, which are normally distributed. First, by considering wider films composed of Lennard-Jones atoms, and longer image file: c9ra07058c-t2.tif to avoid the use of long-range potential corrections, we found a more complex behavior for the distribution of values of γ than those reported by Longford et al.,1 who used a small image file: c9ra07058c-t3.tif with long-range corrections to the value of γ. We also found that the length of the simulation cell in the transverse direction makes the standard deviation of γ decrease significantly as this scale increases, an effect apparently arising from the greater freedom of the interface to fluctuate out of plane when the transverse simulation scale is larger. There is evidently a two-scale finite size phenomenon arising in simulations, which is natural given the inherently anisotropic character of fluid films. Recognition of this two scale finite size effects allows us to develop a more reliable extrapolation method based on making the transverse film thickness larger while holding the in-plane films dimensions fixed, enabling the monotone extrapolation of film properties to the thermodynamic limit.

Methodology

In molecular dynamics simulations, the properties of fluids are commonly calculated as the mean value of data points that represent averages of blocks of timesteps calculated over up to millions of timesteps (which are on the scale of fs), with errors (standard deviation, variance, etc.) being calculated as a function of those average block values. However, this procedure does not provide an idea of how the film properties fluctuate as the system evolves in time. The use of block averaging adds uncertainty to the calculation of film properties because this type of averaging can hide periodic phenomena related to natural physical phenomena occurring over this averaging timescale, e.g., the expansion and contraction processes in vapor/liquid equilibrium systems. The improper choose of the timescale of the block averaging can lead to inaccuracies in calculated properties.

The vapor/liquid thermophysical and interfacial properties of the Lennard-Jones fluid was studied using molecular dynamics simulations at a reduced temperature T* of 0.72, which is in the vicinity of the triple point of the fluid. Direct simulations of interfaces are commonly used to study the vapor/liquid equilibria of pure and multicomponent systems, including polarizable systems, formed by thin layers of liquid surrounded by a vacuum or vapor phases in thermodynamic equilibrium.5–10 The simulation cell consisted of a parallelepiped, with reduced dimensions of between 16 and 150.4 in the homogeneous directions (interfacial surface), and 48 in the inhomogeneous direction (which includes two interfaces), giving reduced interfacial areas between 256 and 22[thin space (1/6-em)]620, and contained between 1040 and 336[thin space (1/6-em)]346 Lennard-Jones atoms (Fig. 1). Because there are two interfaces in our systems, we need to simulate vapor/liquid systems with enough vapor space to be in equilibrium with the liquid central layer. Systems with a ratio of 2 between the vapor and the liquid volumes are commonly employed,11,12 so that liquid layers having a reduced thickness ≈ 16 requires a simulation cell having reduced length of 48 in the direction in the inhomogeneous direction. Performing the simulations near the triple point with this choice of cell anisotropy ensures that the capillary waves in the surface layer do not lead to the system becoming unstable. The initial systems consisted of solids with a face-centered cubic conformation, which were brought to the vapor/liquid equilibrium slowly, over a period of 106 steps. Film properties studied were calculated using additional simulations in an NVT ensemble (constant number of molecules, volume of the rigid simulation and temperature) for a period of 107 steps, with a reduced timestep of 0.005. A Nosé13 thermostat was used, implemented in the large-scale atomic/molecular massively parallel simulator (LAMMPS).14


image file: c9ra07058c-f1.tif
Fig. 1 Orthogonal projection of a snapshot of the central cell used in the molecular dynamics simulations. The marked dimensions correspond to the reduced lengths for the simulation cell with the widest interfacial area studied. Each sphere represents a Lennard-Jones atom at a reduced temperature of 0.72.

Intermolecular interactions were calculated using the Lennard-Jones potential, which, in its reduced form, is:

 
image file: c9ra07058c-t4.tif(1)
where image file: c9ra07058c-t5.tif represents the reduced separation between Lennard-Jones atoms i and j. The reduced Lennard-Jones potential was used with a image file: c9ra07058c-t6.tif of 7.5. By using this long image file: c9ra07058c-t7.tif all significant intermolecular interactions are taken into account, and the use of long-range corrections to calculate the total value of the properties is avoided.15 The use of a short image file: c9ra07058c-t8.tif with long-range corrections, allows for reasonable predictions of the average vapor/liquid equilibrium properties, but the dynamics of the system are dependent on the image file: c9ra07058c-t9.tif employed. In this study, we used reduced variables and properties, which for fluids governed by the Lennard-Jones potential is an effective way of studying the corresponding states of Lennard-Jones fluids. The properties of fluids in laboratory units can be calculated from the reduced properties (indicated by the addition of an asterisk) using the σ and ε parameters of the Lennard-Jones potential associated with the specific fluid studied. Real lengths are calculated as l = l*σ, time t = t*(2/ε)1/2, energy U = U*ε, force F = F*ε/σ, temperature T = T*ε/kB, density ρ = ρ*/σ3, pressure P = P*ε/σ3 and surface tension γ = γ*ε/σ2 and kB is Boltzmann's constant.

The pressure profiles were obtained through the calculation of pressure tensors in each slab, using Harasima pressure profiles,16,17 implemented in LAMMPS,18 in which the contributions to the profiles are distributed only in the two slabs that originated the interactions, and not evenly distributed through the slabs that lie between those that originated the interactions.9,19 The normal pressure profiles obtained from this definition vary along the interface – a trend often dismissed as being unphysical, although it is not feasible measure these predicted profiles from the components of the pressure in the interfacial region. Even so, the pressure profiles of Harasima have been used in several surface-tension studies because it does not matter whether the interaction forces are distributed uniformly in several slabs, or in only two; when it is integrated to obtain the profile of the surface tension, the same result is obtained.10,20–23 As the contributions to the Harasima pressure profiles are located in the regions that originated the interactions, the density inhomogeneities at the interfaces are highlighted in the Harasima profiles. The Harasima normal pressure profiles are mechanically stable because the outermost regions show large negative pressures (attractive) holding together the whole liquid layer. Before the attractive zones, there are small peaks with positive pressure (repulsive), which, in comparison to the attractive ones, are smaller, and are not long and wide enough to burst the liquid layer. Here, the reduced surface tension γ* was calculated through its mechanical definition using the Harasima pressure profiles.4,10 In this way, the whole system (two interfaces) is used to calculate de surface tension.

In order to obtain more realistic profiles, we allowed the system to move in the inhomogeneous direction, and calculated the density and pressures profiles every 100 steps. At the end, we averaged these by correcting the positions of the profiles according to their positions in the inhomogeneous direction of the center of the layer, which was calculated as the midpoint between the two positions of the Gibbs' dividing surface of each interface, image file: c9ra07058c-t10.tif with the thickness of the layer, image file: c9ra07058c-t11.tif corresponding to the separation between the positions of the two dividing surfaces. This allowed us to obtain more realistic profiles of the calculated properties. To obtain the positions of image file: c9ra07058c-t12.tif each of the density profiles, calculated every 100 steps, was adjusted to the hyperbolic tangent expression commonly used in vapor/liquid phase equilibrium studies:11,19

 
image file: c9ra07058c-t13.tif(2)
where image file: c9ra07058c-t14.tif and image file: c9ra07058c-t15.tif are the average bulk densities of the liquid and vapor phases, respectively, and d* is a measure of the thickness of the interface, and describes the length in the inhomogeneous direction, where the density changes from the bulk liquid to the bulk vapor phase.

Results

Molecular dynamics are commonly carried out in finite simulation cells, and it is important to consider those finite effects of the simulation cell on the property calculations.24–26 Two finite-size variables that can be studied are the length of the layer and the interfacial area. Lengths of the layer below a critical thickness induce a layer break-up, while at the critical thickness, they produce metastable systems with no real bulk liquid phase.4 Layers that are wide enough correspond to coexisting phases that are thermodynamically stable, and it is expected that further increments in the thickness will not change the interfacial and coexisting average properties. The size effects in the interfacial area are not intuitive due to the periodic boundary conditions employed, which try to reproduce the dynamics of systems with infinite and continuous interfacial areas; however, the periodic images create artificial cohesive forces at the interfaces, affecting certain thermophysical and interfacial properties, while the average surface tension remains almost insensitive.4 The cohesive forces are stronger in simulation cells having smaller interfacial areas, and result of the localization of the Lennard-Jones atoms, and thus enhance the interatomic cohesive interactions, in the interfacial region. Due to the cutoff of the Lennard-Jones potential used, we performed the simulations using a reduced interfacial length, image file: c9ra07058c-t16.tif from 16 to 150.4, and thicknesses from the critical length to a reduced length of 16.8. Also, for the system with the smallest interfacial area used, we simulated systems with reduced lengths of up to 67.8.

The artificial cohesive forces arising from the periodic boundary conditions induce a more structured behavior of the systems in the bulk phases and at the interfaces. Fig. 2 shows the density profiles averaged over 100 timesteps for systems with image file: c9ra07058c-t17.tif (far away from the critical length4), T* = 0.72 and image file: c9ra07058c-t18.tif which represent the smallest and largest surface areas studied. Even these profiles can be more well defined using more timesteps to average the profiles, the average over 100 timesteps allow us to understand the instantaneous density profile estimates. The system with a image file: c9ra07058c-t19.tif of 16 was more affected by the finite size area and produced larger fluctuations of the density not only in the bulk liquid, but also in the vapor phase and the interfaces. Density profiles averaged over 106 timesteps or more produced smooth, and almost identical, density profiles, with very small difference in the average values in the bulk phases image file: c9ra07058c-t20.tif and equal to those previously reported from studies of phase equilibria, and obtained by Trokhymchuk and Alejandre using a image file: c9ra07058c-t21.tif of 5.5.15 Even the average densities are almost equal for both image file: c9ra07058c-t22.tif values, the distributions of instantaneous bulk liquid densities are different. Using image file: c9ra07058c-t23.tif produced a very narrow distribution of instantaneous bulk liquid densities when compared with the distribution at image file: c9ra07058c-t24.tif (Fig. 3). Similar behavior has been observed for distributions of the surface tension,4 where the wide distributions are attributed to perturbations created by the induced cohesive forces, which are larger when small interfacial areas are used in the simulation cells. Comparing sections of image file: c9ra07058c-t25.tif in the larger system with respect to the smaller system image file: c9ra07058c-t26.tif we can expect that the interfacial sections of size image file: c9ra07058c-t27.tif in the larger system will have as much noise as the section of the smaller system, but these sections will interact collectively producing configurations with some sections having small surface tension, while in the other sections a relatively large surface tension is found due to out-of-plane expansions and contractions of the film. These fluctuations narrow the distribution of values of the surface tension and liquid density in larger systems.


image file: c9ra07058c-f2.tif
Fig. 2 Reduced density profiles as a function of the position in the inhomogeneous direction of the simulation cell. The profiles represent average profiles of 100 timesteps. The systems are composed of Lennard-Jones atoms at a reduced temperature of 0.72 and reduced thicknesses of ≈16.8. Red and black lines correspond to simulated systems using reduced lengths of the simulation box in the tangential direction of 16 and 150.4, respectively.

image file: c9ra07058c-f3.tif
Fig. 3 Histograms of the liquid densities averaged over 100 timesteps. The systems are composed of Lennard-Jones atoms at a reduced temperature of 0.72 and reduced layer thicknesses of ≈16.8. Red and black profiles correspond to simulated systems using reduced lengths of the simulation box in the tangential direction of 16 and 150.4, respectively.

In a similar way, the average γ* is also insensitive to the value of image file: c9ra07058c-t28.tif employed in the simulation, as previously reported,4 but also it is insensitive to the length of the layer, as shown in Fig. 4. At constant image file: c9ra07058c-t29.tif the average values of γ* remain insensitive as image file: c9ra07058c-t30.tif grows, while the corresponding standard deviation grows. For layers with image file: c9ra07058c-t31.tif between 4.3 and 40.0, Werth et al.27 found an inverse cubic dependency between γ* and image file: c9ra07058c-t32.tif using a image file: c9ra07058c-t33.tif and long-ranged corrections to γ*, but this dependency is only evident in very narrow layers image file: c9ra07058c-t34.tif For layers with image file: c9ra07058c-t35.tif corresponding to range investigated in the present work, the reported surface tension values at the lower T* of 0.70 are very similar, i.e., 1.13 ± 0.03 for image file: c9ra07058c-t36.tif and 1.150 ± 0.004 for image file: c9ra07058c-t37.tif which accords with our finding that γ* is insensitive to image file: c9ra07058c-t38.tif over the range of T* and image file: c9ra07058c-t39.tif investigated. Moreover, the standard deviation values of γ* did not reduce its magnitude when they were calculated over longer periods of simulation, probably indicating that smaller standard deviations are only produced when standard deviations are calculated using average values of γ* of time-blocks, probably hiding periodic phenomena. When comparing the average values of the two sets at different image file: c9ra07058c-t40.tif for each image file: c9ra07058c-t41.tif we found very small differences that were less than the size of the symbols. On the other hand, we found a similar behavior between the distributions of the bulk liquid density and the distributions of the surface tension, in which the distributions of γ* narrowed as image file: c9ra07058c-t42.tif increased, which manifested as lower standard deviations. We also note that Chen28 reported an inverse quadratic dependency of γ* on image file: c9ra07058c-t43.tif but their reported estimates of γ* are quite small, and were based on simulations utilizing a relatively small number of atoms (≤4080), the introduction of a small cut-off image file: c9ra07058c-t44.tif no long-ranged corrections to γ*, and image file: c9ra07058c-t45.tif values significantly smaller than those used in the present work image file: c9ra07058c-t46.tif Given these differences in the model calculation assumptions of Chen and our own, a direct comparison with our results is not possible. We note that an inverse quadratic dependency of γ* on image file: c9ra07058c-t47.tif cannot be ruled out for large image file: c9ra07058c-t48.tif in this range of image file: c9ra07058c-t49.tif values because of the presumably metastable nature of the film states under these conditions.4 We infer from Chen and our own results that future work should systematically investigate the role of the choice of cut-off on film property estimates since this would appear to be another source of uncertainty in molecular dynamics simulation estimation of film properties.


image file: c9ra07058c-f4.tif
Fig. 4 Surface tension as a function of the length of the layer for simulations cells with reduced tangential lengths of 16 (top) and 120 (bottom). The systems are composed of Lennard-Jones atoms at a reduced temperature of 0.72. The shortest lengths correspond to layers at their critical lengths.4 The error bars correspond to their standard deviations.

We studied the origins of the insensitivity of the behavior of the average value of γ* with the size of image file: c9ra07058c-t50.tif at constant image file: c9ra07058c-t51.tif through analyzing the components of the average pressure profiles. In Fig. 5, we plotted the normal image file: c9ra07058c-t52.tif transverse image file: c9ra07058c-t53.tif and difference between the average normal and average tangential pressure profiles image file: c9ra07058c-t54.tif for systems with image file: c9ra07058c-t55.tif and image file: c9ra07058c-t56.tif The image file: c9ra07058c-t57.tif profiles show the regular behavior of near-zero values in the bulk zones and large negative peaks at the interfaces, which are the result of the inhomogeneous density at the interface. At the interfacial zones, the average image file: c9ra07058c-t58.tif profiles show clear differences between the system simulated using image file: c9ra07058c-t59.tif and the systems simulated at larger image file: c9ra07058c-t60.tif sizes. In the reduced units, the minimum in the negative peak for the system simulated using image file: c9ra07058c-t61.tif is ≈0.09 deeper than the systems simulated using larger image file: c9ra07058c-t62.tif sizes, while at the outermost part of the interface, the profile using image file: c9ra07058c-t63.tif shows slightly lower values. The systems simulated at image file: c9ra07058c-t64.tif sizes of 140.8 and 150.4 are identical, and reflect the visual disappearance of the size effects on the average image file: c9ra07058c-t65.tif profiles using large image file: c9ra07058c-t66.tif sizes.


image file: c9ra07058c-f5.tif
Fig. 5 Average tangential (a) and normal (b) pressure profiles, and the differences between them (c). The systems are composed of Lennard-Jones atoms at a reduced temperature of 0.72 and reduced thicknesses of ≈16.8. Green, black and red lines correspond to simulated systems using reduced lengths of the simulation box in the tangential direction of 16, 140.8 and 150.4, respectively. Blue lines represent the positions of peaks in the profiles corresponding to the simulated system, using a reduced length of the simulation box in the tangential direction of 150.4.

The average image file: c9ra07058c-t67.tif profiles also show the regular behavior of the Harasima pressure profiles, which are not flat at the interface. They depict a more intuitive picture, wherein the outermost monolayer of atoms is strongly attracted by the bulk liquid, originating the outermost negative peak (cohesive) on the average image file: c9ra07058c-t68.tif profiles. The strongly attracted outermost monolayers crunch a monolayer of atoms located between them and the bulk liquid, which traduces in the positive peaks (repulsive) located in the reduced positions of ±7.5 image file: c9ra07058c-t69.tif and ±7.7 image file: c9ra07058c-t70.tif The average image file: c9ra07058c-t71.tif profiles also show differences depending on the size of image file: c9ra07058c-t72.tif employed during the simulation. The maxima and minima in the peaks for the system simulated using image file: c9ra07058c-t73.tif are larger by ≈0.03 (positive peaks) and ≈−0.06 (negative peaks) reduced pressure units than the systems using larger image file: c9ra07058c-t74.tif sizes. Close to the outermost part of the interface, the average image file: c9ra07058c-t75.tif profiles, using image file: c9ra07058c-t76.tif also show lower values than the profiles using larger image file: c9ra07058c-t77.tif values, which can affect the processes of vaporization/condensation, which were beyond the scope of this study. The integration of the average Harasima image file: c9ra07058c-t78.tif profiles results in a net contribution identical to the integration of a flat image file: c9ra07058c-t79.tif profile, which some authors have assumed has a physical sense (Fig. 6a). The slope of the net contribution is not zero because the average image file: c9ra07058c-t80.tif in the bulk zones is not zero, instead it corresponds to the saturation pressure.


image file: c9ra07058c-f6.tif
Fig. 6 (a) Integration of the average normal pressure profile as a function of the reduced position in the simulation cell (black line). The systems are composed of Lennard-Jones atoms at a reduced temperature of 0.72, using a reduced length of the simulation box in the tangential direction of 150.4, and reduced thicknesses of 16.8. The red line corresponds to the integration of a profile with a constant normal pressure along the bulk phases and interfaces. (b) Surface tension profiles as a function of the reduced position in the simulation cell. Green and red lines correspond to simulated systems using reduced lengths of the simulation box in the tangential direction of 16 and 150.4, respectively.

The average ΔP* profiles also show a regular behavior, with large positive peaks located at the interfaces and small negative peaks located in the outermost parts of the interface. The positions of the large positive peaks are identical for small and large sizes of image file: c9ra07058c-t81.tif The maxima and minima in the peaks for the system simulated using image file: c9ra07058c-t82.tif are larger by ≈0.07 (positive) and ≈–0.02 (negative) reduced pressure units than the systems using large image file: c9ra07058c-t83.tif sizes. The negative minimum for the system simulated using image file: c9ra07058c-t84.tif is located at 0.5 reduced length units off the position of the systems using larger image file: c9ra07058c-t85.tif sizes. When we integrated these profiles, we obtained the γ* profiles (Fig. 6b). Even the ΔP* profiles show small differences depending on the image file: c9ra07058c-t86.tif value employed, with the γ* profiles are identical. Therefore, we can attribute the insensitivity of γ* to image file: c9ra07058c-t87.tif as the result of a balance between the positive contributions of image file: c9ra07058c-t88.tif (positive peak) and image file: c9ra07058c-t89.tif and the negative contribution of image file: c9ra07058c-t90.tif (negative peak). For the simulated system using image file: c9ra07058c-t91.tif the area of the positive peak in the average ΔP* profiles indicate a larger surface tension contribution than the peaks obtained using larger image file: c9ra07058c-t92.tif sizes, but the outermost negative contributions are also larger for image file: c9ra07058c-t93.tif which match the larger positive contributions, resulting in an annulment of the additional contributions.

The study of the pressure profiles at constant image file: c9ra07058c-t94.tif allowed us to examine the insensitivity of the behavior of the average value of γ* with the size of image file: c9ra07058c-t95.tif (Fig. 7). The plotted image file: c9ra07058c-t96.tif values corresponds to image file: c9ra07058c-t97.tif of 8.0, 12.6 and 16.8 at a constant image file: c9ra07058c-t98.tif of 120. The systems simulated using short image file: c9ra07058c-t99.tif sizes (8.0) did not develop a real bulk liquid phase in which the values of the pressure profiles reached the same values as the bulk vapor phase. This system seems to be composed of two joined interfaces. As the size of image file: c9ra07058c-t100.tif grows, the bulk liquid zone develops, and the pressures in all profiles reach values similar to those in the bulk vapor phases. The magnitudes for all peaks for all image file: c9ra07058c-t101.tif are identical in the three pressure profiles (image file: c9ra07058c-t102.tif and ΔP*). When the ΔP* profiles are integrated to obtain the γ* profiles of the two interfaces (Fig. 8), all profiles with different image file: c9ra07058c-t103.tif produce the same average magnitude of γ*. The profiles of γ* for systems using larger image file: c9ra07058c-t104.tif show a central flat region, which corresponds to the bulk liquid zone, which reduces until it disappears at the shortest size of image file: c9ra07058c-t105.tif reported. Even the ΔP* profiles using short sizes for image file: c9ra07058c-t106.tif do not reach equilibrium values when they are integrated to produce the γ* profiles; instead, they produce the same average γ* calculated using larger image file: c9ra07058c-t107.tif sizes (Fig. 8). As image file: c9ra07058c-t108.tif decreases, the interfaces seem to join (Fig. 7), producing a central zone characterized by large normal (positive) and tangential (negative) pressures. As the interfaces join, the pressures of the interfaces, which give rise to the surface tension, do not cancel out or disappear, rather they accumulate in the short central zone, ultimately producing the same average value for the surface tension due to the symmetry of the two interfaces in the ΔP* profile. Werth et al.27 previously reported the same dependency of the ΔP* profiles with image file: c9ra07058c-t109.tif at the lower T* = 0.70, which confirms the equivalency between the Harasima pressure profiles16,17 used in this work and those produced with the homogeneously distributed pressures of Irving and Kirkwood.29


image file: c9ra07058c-f7.tif
Fig. 7 Average tangential (a) and normal (b) pressure profiles, and the differences between these (c). The systems are composed of Lennard-Jones atoms at a reduced temperature of 0.72. Profiles were calculated using a reduced length of the simulation box in the tangential direction of 120. Black, red and green lines correspond to simulated systems with lengths of the layer of 8.0, 12.6 and 16.8, respectively.

image file: c9ra07058c-f8.tif
Fig. 8 Surface tension profiles as a function of the reduced position in the simulation cell. The systems are composed of Lennard-Jones atoms at a reduced temperature of 0.72. Profiles were calculated using a reduced length of the simulation box in the tangential direction of 120. Black, red and green lines correspond to simulated systems with lengths of the layers of 8.0, 12.6 and 16.8, respectively.

An insensitivity of the average γ* to image file: c9ra07058c-t110.tif is expected in capillary wave theory,30 in which the interfacial thickness, Δ, can be decoupled into an intrinsic contribution, Δ0, and a logarithmic contribution. The interfacial thickness depends on the size of the simulation cell in the transverse direction (which directly correlates with the size of the capillary waves that can form at the interface), while the average γ remains constant. Larger simulation cells induce wider capillary waves, making the interfacial thickness also wider (at very large image file: c9ra07058c-t111.tif values, probably unrestricted). In laboratory units:

 
image file: c9ra07058c-t112.tif(3)
where B0 is a characteristic size of the simulation cell in the transverse direction. At very short bt sizes (close to B0), the interfacial thickness is equal to their intrinsic value. A study on water simulations have employed eqn (3) to predict the surface tension at a specific thickness of the layer,30 but no comparisons have been made at different thicknesses of the layer, and none have explored the limits of eqn (3) at very narrow thicknesses. Fig. 9 shows (Δ*)2 as a function of image file: c9ra07058c-t113.tif for the systems with image file: c9ra07058c-t114.tif of 8.0 and 16.8. Linear regressions of the two sets of data produce almost parallel lines, which also reflect the insensitive behavior of γ* not only with image file: c9ra07058c-t115.tif but also with image file: c9ra07058c-t116.tif


image file: c9ra07058c-f9.tif
Fig. 9 Square of the reduced interfacial thickness as a function of the length of the simulation cell in the tangential direction. The systems are composed of Lennard-Jones atoms at a reduced temperature of 0.72. Circles and crosses correspond to layers with reduced thicknesses of 8 and 16.8, respectively. Discontinuous lines correspond to linear regressions.

The standard deviation of γ*, σγ*, is plotted as a function of image file: c9ra07058c-t117.tif in Fig. 10 for the simulated systems using sizes of image file: c9ra07058c-t118.tif of 16, 40, 120 and 150.4. We calculated the profiles of σγ* for each image file: c9ra07058c-t119.tif from the first stable layers at its critical length,4 with thicknesses corresponding to a few monolayers, up to a reduced value of image file: c9ra07058c-t120.tif The profiles show increasingly smaller values of σγ* as image file: c9ra07058c-t121.tif increases. The inner graph of Fig. 10 shows additional data results for the smallest size of image file: c9ra07058c-t122.tif used (16) for thin layers with image file: c9ra07058c-t123.tif up to 67.8; the profiles of σγ* seem to follow a power function behavior with image file: c9ra07058c-t124.tif. The profiles of the simulated systems image file: c9ra07058c-t125.tif using larger values of image file: c9ra07058c-t126.tif seem to follow a near-linear behavior with image file: c9ra07058c-t127.tif as image file: c9ra07058c-t128.tif grows. The increasingly linear behavior of the profiles with image file: c9ra07058c-t129.tif can be modeled through a power function of the form:

 
image file: c9ra07058c-t130.tif(4)
which produces values for the c3 power exponent of 0.43, 0.44 and 0.49 for the systems with image file: c9ra07058c-t131.tif of 16, 40 and 120, respectively. For the thin layer using image file: c9ra07058c-t132.tif a linear behavior is the best fit. For the systems simulated using the smallest size of image file: c9ra07058c-t133.tif (16), the parameters of eqn (4) fitted with thinner layers image file: c9ra07058c-t134.tif produced values close to those of the simulation results for the wider layers image file: c9ra07058c-t135.tif and are also shown in the inner plot of Fig. 10, which reflects the consistency of the obtained parameters using data from the smaller image file: c9ra07058c-t136.tif systems. We note that our σγ* with image file: c9ra07058c-t137.tif estimates do not follow the root square dependence with system size. This unexpected behavior is because the interfacial forces vary with image file: c9ra07058c-t138.tif in thin-layer systems, as can be seen in Fig. 7.


image file: c9ra07058c-f10.tif
Fig. 10 Standard deviation of the reduced surface tension as a function of the reduced length of the liquid layer of Lennard-Jones atoms. The reduced temperature of the systems is 0.72. The four sets of data represent four simulation cells with reduced lengths in the tangential direction of 16, 40, 120 and 150.4. The lines for the first three systems represent the best fits to eqn (4), while the line for the largest simulation cell size represents a linear regression. The inner graph shows the extended data for the smallest simulation cell size studied (16) and the best fit to eqn (4) at lower values. The axis labels are the same for both graphs.

Yoon et al.31 have proposed that only a few layers of the interface should be used to calculate the surface tension to avoid the size effects of the bulk phases (length of the layer). Yoon et al.31 employed this methodology to calculate the surface tension of water using a region of ≈ 5 Å (which is less than the diameter of 2 water monolayers) in a small system composed of 804 water molecules. The limits of this region corresponded to 0.01 and 0.90 g cm−3, which are asymmetrical in the density profile of water, and do not correspond to the values of the so-called “10–90” thicknesses, which corresponds to limiting points in the density profile at 10% and 90% of image file: c9ra07058c-t139.tif The final result of Yoon et al.31 calculations did not produce a consistent tendency in the surface tension of water as a function of temperature. We employed this strategy to calculate the surface tension of the Lennard-Jones fluid by eliminating regions of the bulk phases, and the results are summarized in Table 1. If we eliminate parts of the bulk liquid from the integral to compute γ*, γ* and σγ* decreased, reaching a minimum when we eliminated a region that represents ≈70% of the layer thickness, beyond this point the behavior is ill-defined. The decrements in γ* were then less pronounced than the decrements in σγ*, but still the maximum reduction of σγ* was half its original value, produces considerable changes in γ* (≈−20%). If we eliminate parts of the bulk vapor from the integral to compute γ*, the resulting changes in γ* and σγ* are minimal even when we eliminate a region limited by a point located 0.5 reduced units away from the Gibbs' dividing surfaces. Eliminating at the same time parts of both bulk phases as proposed by Yoon et al.31 does not produce a zero change in γ* unless you eliminate a very small region in the bulk liquid, but those changes will not reduce considerably σγ*. These results indicate that the integration over the bulk vapor region does not contribute significantly to the average value of γ*, neither σγ*; the main contribution comes from the region between the interface and a point located between 6.5 and 8.5 reduced units (monolayers) away from the interface, in this zone the liquid density and pressures are uniform and the pressures are equal (bulk). For these narrow layers (nanometer scales), the distributions of values of γ* in fact depend on the size of the bulk liquid, no from both bulk phases, because the contractions/expansions that occur at the interface have to be the result of expansions/contractions in the bulk liquid phase, which ultimately indicates that interfaces of narrow layers do not expand/contract independently of the size of the layer.

Table 1 Simulation results of the surface tension and its standard deviation for the system of Lennard-Jones atoms using a image file: c9ra07058c-t182.tif and T* = 0.72. The integration to obtain the surface tension was carried eliminating the indicated regions of the bulk liquid, or the bulk vapor phases. The case when the whole system is integrated is presented for comparison. The whole system covers a region in reduced units of (−24 to 24), the bulk liquid is located at the center, and the Gibbs' dividing surfaces located at positions in reduced units of −8.4 and 8.4
Eliminated region (positions in reduced units) Eliminated thickness (reduced units) γ* (% change) σγ* (% change)
  0 1.051 (0) 7.345 × 10−2 (0)
Liquid, (−1 to 1) 2 1.050 (−0.09) 6.819 × 10−2 (−7.08)
Liquid, (−2 to 2) 4 1.048 (−0.28) 6.241 × 10−2 (−15.03)
Liquid, (−3 to 3) 6 1.041 (−0.95) 5.602 × 10−2 (−23.73)
Liquid, (−4 to 4) 8 1.023 (−2.66) 4.905 × 10−2 (−33.22)
Liquid, (−5 to 5) 10 0.974 (−7.32) 4.179 × 10−2 (−43.10)
Liquid, (−6 to 6) 12 0.850 (−19.12) 3.777 × 10−2 (−48.57)
Liquid, (−7 to 7) 14 0.566 (−46.14) 4.464 × 10−2 (−39.22)
Liquid, (−8 to 8) 16 0.172 (−83.63) 3.726 × 10−2 (−49.27)
Vapor, (−24 to −11) ∪ (11 to 24) 26 1.052 (0.09) 7.348 × 10−2 (0.04)
Vapor, (−24 to −10) ∪ (10 to 24) 28 1.059 (0.76) 7.361 × 10−2 (0.21)
Vapor, (−24 to −9) ∪ (9 to 24) 30 1.059 (0.76) 7.407 × 10−2 (0.84)


We then studied the possibility that the large ratio between the tangential length and the normal length of the simulation cells used in this work can create an artefact on the calculated properties and standard deviations. For the largest system studied, which used a image file: c9ra07058c-t140.tif and image file: c9ra07058c-t141.tif having originally a ratio of 3.12, we simulated systems with dimensions of 96, 192 and 288 reduced length units in the normal direction, which had ratios of 1.56, 0.78 and 0.52, respectively (ESI, Fig. S1). This additional space was spontaneously filled by vapor, and more molecules were added to maintain the image file: c9ra07058c-t142.tif After this procedure, we did not observe any change in the average density profiles or the average pressure profiles (see Fig. S2 and S3 of ESI). The average values of γ* and σγ* are thus not affected by the aspect ratio between the cell dimensions in the tangential and normal directions, having a ratio greater than 21/2 between the volumes of the vapor and liquid phase is enough. These observations are in concordance with our previous assessment of the methodology of bulk phase elimination proposed by Yoon et al.31

Longford et al.1 developed an expression showing the dependency of the variance of γ*, Varγ*, which is the square of σγ*, with respect to a variable that combines the two finite size effects, image file: c9ra07058c-t143.tif and the interfacial area of the simulation cell, image file: c9ra07058c-t144.tif

 
image file: c9ra07058c-t145.tif(5)
where c4 and c5 are constants. Fig. 11a shows the calculated values of Varγ* as a function of image file: c9ra07058c-t146.tif Plotting Varγ* vs. image file: c9ra07058c-t147.tif produces linear sets of data, almost parallel, and with different intercepts to y-axis depending on A*, which shows significant contributions of the second term of expression (5). The slight visual differences in the profile for image file: c9ra07058c-t148.tif are probably the result of the non-quadratic behavior of σγ* with image file: c9ra07058c-t149.tif (eqn (4)). The intercepts with y-axis show a linear behavior when they are plotted against the variable 1/A* (Fig. 11b) in agreement with expression (5). The simulations of Longford et al.1 using a image file: c9ra07058c-t150.tif (10 Å) show a linear behavior with almost-zero contributions of the second term of expression (5). The different behavior is clearly due to the large image file: c9ra07058c-t151.tif used in this work (7.5), and predicted by the expression developed by Longford et al.1 The surface tension results of Longford et al.1 included long-range corrections to the surface tension, those corrections are based on the density profiles, but for systems under the same coexisting bulk densities and same image file: c9ra07058c-t152.tif those contributions should also be the same, therefore the observed null contributions of the second term in the work of Longford et al.1 are expected, because the dynamics of the systems, and therefore the distributions of γ* are developed basically at the image file: c9ra07058c-t153.tif of 3.


image file: c9ra07058c-f11.tif
Fig. 11 (a) Variance of the reduced surface tension as a function of the ratio of the reduced length of the layer to the reduced interfacial area of the simulation cell as proposed by Longford et al.1 Results are for reduced lengths of the simulation cell in the tangential direction of 16, 40, 120 and 150.4. The reduced temperature of the systems is 0.72. (b) Intercepts of the variance of the reduced surface tension (a) with the y-axis as a function of the interfacial area of the simulation cell. Discontinuous lines represent the best linear regression of each set of points.

A plot of σγ* as a function of image file: c9ra07058c-t154.tif at constant image file: c9ra07058c-t155.tif allowed us to predict the behavior of σγ* at long image file: c9ra07058c-t156.tif values. Fig. 12 shows σγ* as a function of image file: c9ra07058c-t157.tif for two thin layers with image file: c9ra07058c-t158.tif of 8.0 and 16.8. The two sets of data show an asymptotic behavior of σγ* with image file: c9ra07058c-t159.tif in agreement with the expression developed by Longford et al.,1 which can be modeled as an inversely asymptotic function of the form:

 
image file: c9ra07058c-t160.tif(6)
which produces values for the c6 constant for the system with image file: c9ra07058c-t161.tif of 5.26 (correlation coefficient of 0.9968). For the system with image file: c9ra07058c-t162.tif, the constant is 11.06 (0.9999). The lower agreement for the data using image file: c9ra07058c-t163.tif probably is the result of the small thickness of the layers, which are closer to the critical thickness. In the hypothetical case that we wanted to measure γ* at T*= 0.72, using a very large simulation cell in the tangential direction to reduce the fluctuations of γ* to less than 1% of its total value, we could not do it with a thin layer with image file: c9ra07058c-t164.tif as this value is lower than the expected critical thickness free of the size effects,4 and with a layer with image file: c9ra07058c-t165.tif we would need a simulation cell with image file: c9ra07058c-t166.tif which corresponds to a simulation cell with tangential direction dimensions at the micrometer scale (for argon or methane).


image file: c9ra07058c-f12.tif
Fig. 12 Standard deviation of the reduced surface tension as a function of the inverse of the length of the simulation cell in the tangential direction. The systems are composed of Lennard-Jones atoms at a reduced temperature of 0.72. Closed and open circles represent data for thin layers with thicknesses of 8.0 and 16.8, respectively. The discontinuous lines represent the best fits to an inversely asymptotic function (eqn (6)).

The σγ* profiles not only become more linear as image file: c9ra07058c-t167.tif increases, but the slope of the curves decreases (from positive values) and becomes flatter as image file: c9ra07058c-t168.tif increases. In Fig. 13, we show the calculated slope of σγ* with image file: c9ra07058c-t169.tif for the systems with image file: c9ra07058c-t170.tif Comparing the systems using image file: c9ra07058c-t171.tif of 40 and 150.4, the results indicate that increases in the fluctuations as large as the value of γ* are obtained when we increase the thickness of the layer by ≈80 reduced units of length at image file: c9ra07058c-t172.tif and ≈380 reduced units of image file: c9ra07058c-t173.tif at image file: c9ra07058c-t174.tif The set of data also seems to follow an inversely asymptotic behavior, in agreement with expression (5), and the data was fitted to the corresponding expression:

 
image file: c9ra07058c-t175.tif(7)
which produces values for the fitting coefficient c7 of 4.14 × 10−1 using the 4 largest image file: c9ra07058c-t176.tif values (correlation coefficient of 0.9980). The results for the smaller values of image file: c9ra07058c-t177.tif deviates positively from the predicted behavior. This model indicates that there is a large value for image file: c9ra07058c-t178.tif at which σγ* does not grow or grows very slowly as image file: c9ra07058c-t179.tif increases.


image file: c9ra07058c-f13.tif
Fig. 13 Change in the standard deviation of the reduced surface tension as a function of the inverse of the length of the simulation cell in the tangential direction. The systems are composed of Lennard-Jones atoms at a reduced temperature of 0.72 and reduced thicknesses of ≈16.8. The discontinuous line represents the best fit to an inversely asymptotic function (eqn (7)) using the 4 largest simulation cells in the tangential direction.

Conclusions

Extrapolations of data obtained from molecular dynamics simulations of the vapor/liquid equilibrium of Lennard-Jones atoms at a temperature close to the triple point, have shown that simulation cells with transverse lengths reaching μm values are needed to minimize the fluctuations (standard deviations ≤ 1%) of the surface tension, and probably other physicochemical properties, present when narrow liquid layers are simulated (composed of ≈17 monolayers). Narrower liquid layers, composed of ≈8 monolayers, will never reach such small standard deviations. Probably, liquid layers wider than 17 monolayers will require simulation cells with transverse lengths shorter than those used in this work to minimize the variance of the surface tension.

The behavior of the distributions of the surface tension, in terms of its standard deviation, shows an opposite dependence on two finite-size parameters: the length of the simulation cell in the tangential direction reduces the magnitude of the standard deviation as longer lengths are employed, while the thickness of the layer makes the standard deviation of the surface tension grow as wider layers are simulated. The dependence with the length of the layer disappears when larger lengths in the tangential direction are employed. The variance of the surface tension using a large cutoff radius follows the previously reported two-term expression with the first term dependent on the two size effects studied in this work. The difference with previous simulations using a short cutoff radius and long-range corrections is the larger contributions of the second term dependent only on the interfacial area (transverse length) of the simulation cell. The distribution of values of the surface tension using the large image file: c9ra07058c-t180.tif employed in this work cannot be reproduced using small image file: c9ra07058c-t181.tif and post-simulation long-range corrections.

The effect of the length of the simulation cell in the transverse direction is due to the introduction of artificial cohesive forces at the interfaces in both directions, resulting from the use of periodic boundary conditions. This contribution has a stronger effect when short interfacial areas are employed. When very narrow liquid layers are simulated (near the critical length), the interfaces of the system interact with each other, probably coordinating the interfacial behavior of each other. As wider lengths of the liquid layer are employed, the interfaces become less constrained, and there is no coordination between these, making them free to develop their own dynamics. For larger surface areas, the variance of the surface tension is expected to become vanishingly small as the transverse length of the simulation cell (reduced surface area) grows to very large values, but this limiting behavior is only achieved when the reduced transverse length of the simulation cell is greater than 120. For smaller transverse lengths than 120, there is a limit value in the variance of the surface tension that depends on the transverse length of the simulation cell. Given the agreement of our results with the capillary wave theory at low temperatures, we expect larger amplitude waves at higher temperatures so that larger surfaces areas (larger transverse lengths and simulation system sizes) will be required to obtain surface tension estimates with the low standard deviations of the present paper.

The size effect due to the finite size of the simulation cell in the interfacial area is clearly an artefact of the methodology employed to simulate phase equilibria under periodic conditions in the interfacial surface, but for systems confined to these interfacial-length scales, probably this size effect has a physical meaning and future work should elucidate its influence. The size effect due to the thickness of the layer is only important for narrow layers in the scale of the nanometer, beyond that its influence decreases until they disappear at larger thicknesses layers. In the future, we also plan to assess the effects of additives and multicomponent equilibria to study the dependence of finite size effects on the distributions of their interfacial properties.

Conflicts of interest

There are no conflicts of interest to declare.

Acknowledgements

We thank Francis W. Starr from Wesleyan University for his valuable comments to the paper. We thank CONACYT (México) for an infrastructure fellowship and Universidad Michoacana de San Nicolás de Hidalgo for research funds.

References

  1. F. G. J. Longford, J. W. Essex, C.-K. Skylaris and J. G. Frey, J. Chem. Phys., 2018, 148, 214704 CrossRef.
  2. F. Schmitz, P. Virnau and K. Binder, Phys. Rev. E, 2014, 90, 12128 CrossRef.
  3. F. Schmitz, P. Virnau and K. Binder, Phys. Rev. Lett., 2014, 112, 125701 CrossRef.
  4. J. L. Rivera and J. F. Douglas, J. Chem. Phys., 2019, 150, 144705 CrossRef.
  5. B. Li, L. Zhang, S. Liu and M. Fan, J. Surfactants Deterg., 2019, 22, 85 CrossRef CAS.
  6. K. D. Papavasileiou, O. A. Moultos and I. G. Economou, Fluid Phase Equilib., 2018, 476, 30 CrossRef CAS.
  7. T. R. Underwood and H. C. Greenwell, Sci. Rep., 2018, 8, 352 CrossRef.
  8. F. M. Juárez-Guerra, J. L. Rivera, A. Zúñiga-Moreno, L. A. Galicia-Luna, J. L. Rico and J. Lara, Sep. Sci. Technol., 2006, 41, 261 CrossRef.
  9. J. L. Rivera, H. Nicanor-Guzman and R. Guerra-Gonzalez, Adv. Condens. Matter Phys., 2015, 2015, 258601 Search PubMed.
  10. J. L. Rivera, L. Molina-Rodríguez, M. Ramos-Estrada, P. Navarro-Santos and E. Lima, RSC Adv., 2018, 8, 10115 RSC.
  11. J. Alejandre, J. L. Rivera, M. A. Mora and V. De La Garza, J. Phys. Chem. B, 2000, 104, 1332 CrossRef CAS.
  12. J. L. Rivera, J. Alejandre, S. K. Nath and J. J. De Pablo, Mol. Phys., 2000, 98, 43 CrossRef CAS.
  13. S. Nosé, J. Chem. Phys., 1984, 81, 511 CrossRef.
  14. S. Plimpton, J. Comput. Phys., 1995, 117, 1 CrossRef CAS.
  15. A. Trokhymchuk and J. Alejandre, J. Chem. Phys., 1999, 111, 8510 CrossRef CAS.
  16. A. Harasima, Adv. Chem. Phys., 1958, 1, 203 Search PubMed.
  17. B. D. Todd, D. J. Evans and P. J. Daivis, Phys. Rev. E, 1995, 52, 1627 CrossRef CAS.
  18. T. W. Sirk, S. Moore and E. F. Brown, J. Chem. Phys., 2013, 138, 064505 CrossRef.
  19. J. L. Rivera, F. W. Starr, P. Paricaud and P. T. Cummings, J. Chem. Phys., 2006, 125, 94712 CrossRef.
  20. T. Dreher, C. Lemarchand, L. Soulard, E. Bourasseau, P. Malfreyt and N. Pineau, J. Chem. Phys., 2018, 148, 34702 CrossRef CAS.
  21. M. Sega, B. Fábián, A. R. Imre and P. Jedlovszky, J. Phys. Chem. C, 2017, 121, 12214 CrossRef CAS.
  22. A. P. Sgouros, G. G. Vogiatzis, G. Kritikos, A. Boziki, A. Nikolakopoulou, D. Liveris and D. N. Theodorou, Macromolecules, 2017, 50, 8827 CrossRef CAS.
  23. M. Orsi and J. W. Essex, Faraday Discuss., 2013, 161, 249 RSC.
  24. D. P. Sellan, E. S. Landry, J. E. Turney, A. J. H. McGaughey and C. H. Amon, Phys. Rev. B, 2010, 81, 214305 CrossRef.
  25. C. Hou, J. Xu, W. Ge and J. Li, Modell. Simul. Mater. Sci. Eng., 2016, 24, 45005 CrossRef.
  26. M. E. Velázquez, A. Gama-Goicochea, M. González-Melchor, M. Neria and J. Alejandre, J. Chem. Phys., 2006, 124, 84104 CrossRef.
  27. S. Werth, S. V Lishchuk, M. Horsch and H. Hasse, Phys. A, 2013, 392, 2359 CrossRef CAS.
  28. L. Chen, J. Chem. Phys., 1995, 103, 10214 CrossRef CAS.
  29. J. H. Irving and J. G. Kirkwood, J. Chem. Phys., 1950, 18, 817 CrossRef CAS.
  30. A. E. Ismail, G. S. Grest and M. J. Stevens, J. Chem. Phys., 2006, 125, 14702 CrossRef.
  31. H. M. Yoon, J. S. Lee, J.-S. Yeo and J. S. Lee, Biomicrofluidics, 2014, 8, 52113 CrossRef PubMed.

Footnote

Electronic supplementary information (ESI) available. See DOI: 10.1039/c9ra07058c

This journal is © The Royal Society of Chemistry 2019