원시데이터 수집 시스템
선정목록으로

Activated wetting of nanostructured surfaces: reaction coordinates, finite size effects, and simulation pitfalls

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Amabili, Matteo
  2. Meloni, Simone
  3. Giacomello Alberto
  4. Casciola, Carlo Massimo
DOI
10.48550/arxiv.1810.02104
저널
arXiv (Cornell University)
발행년도
2022
발행기관
Cornell University
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.48550/arxiv.1810.02104
토픽
Surface Modification and Superhydrophobicity
OpenAlex ID
W6910731654

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

A liquid in contact with a textured surface can be found in two states, Wenzel and Cassie. In the Wenzel state the liquid completely wets the corrugations while in the Cassie state the liquid is suspended over the corrugations with air or vapor trapped below. The superhydrophobic properties of the Cassie state are exploited for self-cleaning, drug delivery etc., while in the Wenzel state most of these properties are lost; it is therefore of fundamental and technological interest to investigate the kinetics and mechanism of the Cassie-Wenzel transition. Computationally, the Cassie-Wenzel transition is often investigated using enhanced sampling techniques based on the use of collective variables (CVs). The choice of the CVs is a crucial task because it affects the free-energy profile, the estimation of the free-energy barriers, and the evaluation of the mechanism of the process. Here we investigate possible simulation artifacts introduced by common CVs adopted for the study of the Cassie-Wenzel transition: the average particle density in the corrugation of a textured surface and the coarse grained density field at various levels of coarse graining. We also investigate possible additional artifacts associated to finite size effects. We focus on a pillared surface. We show that the use of the average density of fluid in the interpillar region brings to severe artifacts in the relative Cassie-Wenzel stability and in the transition barrier. A proper description of the wetting mechanism and its energetics requires a rather fine discretization of the density field. Concerning the finite size effects, we have found that the typical system employed in the Cassie-Wenzel transition, containing a single pillar within periodic boundary conditions, prevents the break of translational symmetry of the liquid-vapor meniscus during the process.

본문 95,462자

본문 펼치기
### Activated wetting of nanostructured surfaces: reaction coordinates, finite size effects, and simulation pitfalls M. Amabili, <sup>1,</sup> <sup>_∗_</sup> S. Meloni, <sup>1</sup> A. Giacomello, <sup>1</sup> and C.M. Casciola <sup>1</sup> 1 _Dipartimento_ _di_ _Ingegneria_ _Meccanica_ _e_ _Aerospaziale,_ _Università_ _di_ _Roma_ _”La_ _Sapienza”,_ _Rome,_ _Italy_ ### Abstract A liquid in contact with a textured surface can be found in two states, Wenzel and Cassie. In the Wenzel state the liquid completely wets the corrugations while in the Cassie state the liquid is suspended over the corrugations with air or vapor trapped below. The superhydrophobic properties of the Cassie state are exploited for self-cleaning, drag reduction, drug delivery etc., while in the Wenzel state most of these properties are lost; it is therefore of great fundamental and technological interest to investigate the kinetics and mechanism of the Cassie-Wenzel transition. Computationally, the Cassie-Wenzel transition is often investigated using enhanced sampling (“rare events”) techniques based on the use of collective variables (CVs). The choice of the CVs is a crucial task because it affects the free-energy profile, the estimation of the free-energy barriers, and the evaluation of the mechanism of the process. Here we investigate possible simulation artifacts introduced by common CVs adopted for the study of the Cassie-Wenzel transition: the average particle density in the corrugation of a textured surface and the coarse grained density field at various levels of coarse graining. We also investigate possible additional artifacts associated to finite size effects. We focus on a _pillared_ surface, a system often used in technological applications. We show that the use of the average density of fluid in the interpillar region brings to severe artifacts in the relative Cassie-Wenzel stability and in the transition barrier, with an error on the estimates of the free energies of up to hundreds of _kBT_ and wrong wetting mechanisms. A proper description of the wetting mechanism and its energetics requires a rather fine discretization of the density field. Concerning the finite size effects, we have found that the typical system employed in the Cassie-Wenzel transition, containing a single pillar within periodic boundary conditions, prevents the break of translational symmetry of the liquid-vapor meniscus during the process. Capturing this break of symmetry is crucial for describing the transition state along the wetting process, and the early stage of the opposite process, the Wenzel-Cassie transition. INTRODUCTION A liquid in contact with a submerged nanotextured surface can be either in the Cassie [1] or Wenzel [2] state. In the Cassie state, a vapor or gas layer sustains the liquid, which is, thus, in contact only with the top of the surface textures. The presence of a composite vapor liquid-solid interface makes the surface superhydrophobic, i.e. characterized by properties such as enhanced slippage [3] or self-cleaning. [4] In the Wenzel state, instead, the liquid completely fills the nanotextures with the ensuing loss of all the superhydrophobic properties. In normal conditions the transition from Cassie to Wenzel, or the reverse dewetting transition, is a _thermally_ _activated_ (stochastic) process, i.e. the system must overcome a free energy barrier in order to go from one state to the other. According to the transition state theory [5], the height of the free energy barrier determines the kinetics of the process. Indeed, the (average) time needed to observe a transition, or equivalently the lifetime of a given state, depends exponentially on the ratio between the values of the barrier and of the thermal energy _kBT_, with _kB_ the Boltzmann constant and _T_ the temperature. The presence of large free-energy barriers has been confirmed experimentally. Indeed, very long Cassie state lifetimes, of the order of tens of minutes to tens of hours, have been observed for textured surfaces subject to moderate liquid pressures ( _≈_ 5% higher than the atmospheric pressure [6, 7]). Molecular dynamics, thanks to its minimal assumptions on the model of the three-phase system (solid, liquid, vapor), seems an optimal tool to investigate the mechanism and ki netics of the Cassie-Wenzel transition on nanotextured systems, and their dependence on the surface topography and on the thermodynamic conditions. However, due to the long transition time connected with large free energy barriers, special simulation techniques are needed to investigate the collapse of the superhydrophobic state. Thus, the Cassie-Wenzel transition has been studied using several advanced sampling techniques: boxed molecular dynamics, [8] forward flux sampling, [9] restrained molecular dynamics, [10, 11] (indirect) umbrella sampling, [12] and the string method. [13] All these methods require the use of one or more (typically few) collective variables (CVs), i.e., a set of observables which can describe the macroscopic configuration of the system along the transition. In most of the simulations a single CV has been used, namely the number of fluid particles within a control volume enclosing the surface corrugations, _nl_ . [9–12] In a two-phase liquid-vapor system this CV is related to the amount of liquid in the same region. Since in the Cassie state the liquid is pinned at the top of the texture while in the Wenzel state it wets the corrugations completely, _nl_ seems the most natural variable to characterize the process. _nl_ has several advantages: i) it is relatively simple to use in atomistic simulations; ii) it is an atomistic equivalent of the volume of liquid in the corrugations, which allows to establish a connection and compare results with the continuum theory of wetting of confined systems, CREaM [14]; iii) considering the reverse process, dewetting, it is related to the liquid density and allows to establish connections with the Lum-Chandler-Weeks’s theory of hydrophobicity [15] (see Refs. 11, 16). However, for the specific case of the 2D square cavity it has been shown that the (coarse-grained) density field is necessary to properly describe the wetting transition and accurately determine the corresponding barrier. [13] Despite the conclusions of this latter work, and the known risk that an unfortunate choice of CVs can critically affect simulation results, [17] a limited attention has been devoted to identify possible artifacts introduced by the use of _nl_ . This is especially important in the case of surfaces with 3D interconnected cavities, such as pillared structures, for which it has been reported that the transition takes place with changes in the morphology of the liquid-vapor meniscus. [12] Another aspect that might introduce artifacts in the study of the wetting transition is the size of the simulation box. In the case of artificial textured surfaces, this is translated into the number of _unit_ _cells_ which are included in the computational sample, e.g., the number of pillars for a pillared surface. For example, pillared superhydrophobic surfaces have been typically modeled using a simulation box containing a single unit cell consisting of the repeated motif composing the actual system: one pillar and the associated part of the bottom wall (see Fig. 1). [12, 18–21] This simulation setup prevents the breaking of translational symmetry of the liquid meniscus in the directions of the surface during wetting, which have been observed in a number of recent experiments. [22, 23] This limitation is especially important because symmetry breaking, and its origin, whether intrinsic of Cassie Wenzel transitions [24] or due to the presence of dirt on the surface, [25] is debated in the literature. The aim of this work is to analyze in detail the effect of the choice of CVs and the simulation box size on the mechanism and energetics of collapse of superhydrophobicity in 3D textured surfaces with interconnected cavities, namely on pillared surfaces. We focus on this type of surfaces because they are largely used in technological applications [26] and in experiments, [22, 27] are simpler than other 3D surfaces to investigate, and yet preserve the main aspects of a large class of surface textures, namely that the surface cavities are interconnected, which makes this research of general interest. Moreover, the present results could be of interest also for other fields in which the density field is relevant to describe thermally activated events: nucleation of crystals, [28–30] protein folding, [31] membrane poration, [32, 33] etc. In these fields there is an interest in developing coarse-grained models, which reduce the computational cost while capturing the relevant physics. A more detailed analysis of the physics of wetting and dewetting on nanopillared surfaces is contained in a related article. [34] Concerning the CVs, we consider the (coarse-grained) density field at various levels of coarsening. The reason to focus on this CVs is manifold; first of all it has been shown to be adequate to properly describe the wetting path in atomistic simulations of simpler systems. [13] Secondly, the density field is the main variable of the sharp interface model and of the (classical) density functional theory, two continuum theories which have been successful at describing wetting/dewetting in confined systems [35–37] (see also Refs 28, 38). Finally, by changing the level of coarse graining of the density field one can explore the two opposite limits, the highly coarse-grained case of the average fluid density in the surface corrugations, equivalent to the simple CV used in Refs. 9–12, and the case of the density field computed on a grid with spacing of few atomistic radii or for continuum liquids. [21, 39, 40] To compute the wetting path, i.e., the sequence of coarse-grained density fields (the CVs set) that the system takes on along the Cassie-Wenzel transition, we use the zero temperature string method. [41] <sup>_,_</sup> [42, 43] The string method allows one also to determine the energetics along the transition path. In the case of a single CV, the average density of fluid particles in the corrugations, the string method reduces to a simpler techniques, the restrained MD method (RMD [44]). As we will discuss more in detail below, results obtained by RMD (or, equivalently, by temperature accelerated MD – TAMD [44]) are analogous to those that can be obtained with umbrella sampling (US [45]), including its _indirect_ version (INDUS [46]), and boxed molecular dynamics (BXD [47]): simulation artifacts are not due to the specific simulation method employed but to the choice of CVs. Thus, the conclusions we will draw on RMD have a broader scope: they do not refer to a specific simulation technique but to the use of suitable or inadequate CVs. Concerning the system, we considered two cases: one comprising a surface with 3 _×_ 3 square pillars and one with a single pillar, i.e. only one unit cell (Fig. 1). In both cases periodic boundary conditions are applied in the direction of the surface, _x_ and _y_ . The second case is analogous to the one adopted in Refs. 12, 19, 21. Summarizing, in this work we investigate possible artifacts arising from the choice of the CVs and from the size of the computational sample, and the correlations between these two simulation parameters. The systems investigated are shown in Fig. 1. Understanding the effect of the coarse graining and system size on simulation results, whether or not they introduce any sizable artifact, is crucial to assess theories on the wet ting and recovery mechanism and energetics and to provide a practical guideline for future simulations of this process on even more complex surface topographies. This will help mov ing forward toward the _in silico_ design of superhydrophobic surfaces with tailored properties. Such properties indeed depend on the surface characteristics (topography and chemistry) via the wetting/dewetting path, which should therefore be captured accurately in simulations. The article is organized as follows. In Sec. the atomistic model, the string method, and the restrained molecular dynamics method are introduced. In Sec. the results are presented and discussed. Finally, Sec. is left for conclusions. THEORY Atomistic model of the composite system The atomistic model used to investigate the Cassie-Wenzel transition consists of a Lennard-Jones (LJ) fluid in contact with a nanopillared LJ solid surface (see Fig. 1, left panel). The fluid is also in contact with a second smooth solid surface of LJ particles at the top of the simulation box, which is used to control the liquid pressure _Pl_ (see below for details). Fluid and solid particles interact via a modified LJ potential - _<u>σ</u>_ _rij_ �6 <sup>�</sup> (1) _V_ ( _rij_ ) = 4 _ϵ_ �� _<u>σ</u>_ _rij_ �12 _−_ _c_ where _σ_ and _ϵ_ are the characteristic length and energy of the potential, respectively. _rij_ is the interatomic distance between particles _i_ and _j_ . _c_ is the parameter controlling the hydrophobicity [48] of the solid material; here we use _c_ = 0 _._ 6, to which corresponds a Young FIG. 1. (Left) Atomistic systems formed by 3 _×_ 3 and 1 _×_ 1 pillars. (Right) Discretization of the space corresponding to the different sets of CVs for the 3 _×_ 3 (1, 9, and 864 CVs) and 1 _×_ 1 (1 and 96 CVs) pillars systems. The coarse-grained density field corresponds to the collection of local densities computed within the yellow parallelepipeds shown in the figure which have size _δx × δy × δz_ _≈_ 56 _×_ 56 _×_ 29 _σ_, _≈_ 18 _._ 7 _×_ 18 _._ 7 _×_ 29 _σ_, and _≈_ 4 _._ 6 _×_ 4 _._ 6 _×_ 4 _._ 8 _σ_ for the 1, 9, and 864 CV cases, respectively for the 3 _×_ 3 pillars system. We remark that the 9 and 864 CV cases for the 3 _×_ 3 pillars correspond, in terms of discretization of the space ( _δx × δy × δz_ ), to the 1 and 96 CVs for the 1 _×_ 1, respectively. Comparison of results between 1 _×_ 1 and 3 _×_ 3 systems must be restricted to CVs corresponding to equivalent discretizations of the density field. contact angle [49] _θY_ _≈_ 113 <sup>_◦_</sup> . [10, 50] The fluid particles are kept at constant temperature _T_ = 0 _._ 8 _ϵ_ via a Nosé-Hoover chain thermostat. [51] The pressure of the liquid _Pl_ = 0 is controlled through the application of a constant force _Fz_ on the particles of the upper wall, which acts as a piston, while the bottom wall is kept fixed during the simulation. [11] Within the quasi-static simulation approach used in the present work, the vapor pressure _Pv_ depends, essentially, only on _T_ . [52] Thus, the choice of _Fz_ and _T_ determine the driving force of the wetting process, ∆ _P_ = _Pl −_ _Pv_, which is _≈_ 0 in the present case. The two investigated systems are shown in Fig. 1. One consists of a 3 _×_ 3 grid of pillars, and the other of a single pillar, denoted as 1 _×_ 1 in the following. Periodic boundary conditions are applied in the _x_ and _y_ directions. The pillars are _≈_ 18 _σ_ tall and 8 _σ_ thick, and are at a distance of _≈_ 11 _σ_ from each other. Collective variables and the Minimum Free Energy Path Physical processes and chemical reactions in complex environments are conveniently de scribed in terms of collective variables, i.e., a set of _nCV_ observables _φ_ _≡{φ_ 1( _r_ ) _, ..., φnCV_ ( _r_ ) _}_ that are function of the positions _r_ = _{r_ 1 _, ..., rnf_ _}_ of the fluid particles. From a macroscopic perspective, the Cassie-Wenzel transition can be described by the advancement of the liq uid/vapor meniscus Σ _lv_ (sharp interface models) and its twisting and bending. [22, 23] An al ternative macroscopic approach, the (classical) density functional theory (DFT), [53, 54] con siders the fluid density field _ρ_ ( _x_ ) as the fundamental quantity to describe wetting. [21, 39, 55] It is therefore rather natural to use the coarse-grained density field as CV in atomistic rare event calculations. In practice, the region of the simulation box comprising the pillars is divided into _nCV_ parallelepipedic cells, and for each cell one counts the number of fluid particles inside it: <u>1</u> _φk_ ( _r_ ) = ∆ _V_ _nf_ _i_ =1 _χk_ ( _r_ _i_ ), _k_ = 1 _, ..., nCV_, (2) where _i_ runs over the _nf_ fluid particles, _χk_ [56] is the (smoothed) characteristic function of the _k_ -th cell, and ∆ _V_ is the volume of the cell. In a quasi-static representation of the wetting process a key quantity is the probability density _p_ _φ_ ( _N_ ) that the collective variables _φ_ take on the values _N_ _≡{N_ 1 _, ..., NnCV }_ . _N_ corresponds to a macroscopic state of the system, i.e., the Cassie, Wenzel or any intermediate state visited during the transition. _p_ _φ_ ( _N_ ) is frequently expressed in the logarithmic form and in thermal energy units, the Landau free-energy Ω( _N_ ): Ω( _N_ ) = _β_ <sup>_−_</sup> <sup>1</sup> log _p_ _φ_ ( _N_ ) (3) _nCV_ _k_ =1 _δ_ ( _φk_ ( _r_ ) _−_ _Nk_ ) = _β_ <sup>_−_</sup> <sup>1</sup> log _d_ _r_ _m_ ( _r_ ) where _β_ = 1 _/_ ( _kBT_ ) is the inverse thermal energy and _δ_ ( _·_ ) is the Dirac delta function. The probability density function _p_ _φ_ ( _N_ ) is expressed in terms of the microscopic measure _m_ ( _r_ ). High-probability states, i.e. Cassie and Wenzel, are global or local minima of Ω( _N_ ). _p_ _φ_ ( _N_ ) allows to gather information on the mechanism and kinetics of the process. [57] <sup>_,_</sup> [58] In principle, one could run a long MD and compute _p_ _φ_ ( _N_ ) from the frequency of the associated events. However, this is not possible when the stable and metastable states of the system are separated by free-energy barriers considerably higher than the thermal energy. Indeed, the time required for the system to visit the relevant regions of the CV space, including the low-probability region corresponding to the transition state, is too large for any present and foreseeable supercomputer. In these cases, one usually resorts to advanced simulation techniques that enhance the sampling of regions of low probability which are relevant for the transition. Here we use the string method in CVs. [42] At variance with other methods, the string method does not require to reconstruct the free-energy landscape in the entire CV space. Rather, the objective of the string method is to identify the most probable path for the activated process – the wetting path in the present case which is related to a sequence of _snapshots_ of density fields of the fluid along the Cassie-Wenzel transition. The fluid can follow many wetting paths among which the one identified by the string method is the most probable one. In the presence of large barriers other paths significantly different from the one identified by the string method have a negligible probability to be followed by the system. An illustration of multiple possible transition paths for a simple 2D free energy landscape is shown in Fig. 2. The advantage of the string method as compared to sampling techniques aimed at reconstructing the entire free energy landscape is that its computational cost scales only linearly with the number of CVs, while most of the other methods have an exponential dependence on the number of CVs. [59] The string method is, therefore, well suited to deal with the large set of CVs employed in this work. The most probable path _{_ _N_ ( _α_ ) _}_, with the path parametrization _α_ _∈_ [0 _,_ 1], satisfies the condition - _M_ ˆ ( _N_ ( _α_ )) _∇N_ Ω( _N_ ( _α_ ))� _⊥_ <sup>= 0</sup> (4) where _⊥_ indicates that Eq. 4 refers to the component of _M_ <sup>ˆ</sup> ( _N_ ( _α_ )) _∇N_ Ω( _N_ ( _α_ )) orthogonal _M_ ( _N_ ) is the metric matrix of to the path. _∇N_ Ω( _N_ ) is the gradient of the free energy and <sup>ˆ</sup> elements _nCV_ _k_ =1 _δ_ ( _φk_ ( _r_ ) _−_ _Nk_ ) _._ (5) ˆ _Mij_ ( _N_ ) = _d_ _r_ _∇rφi_ ( _r_ ) _· ∇rφj_ ( _r_ ) _m_ ( _r_ ) ˆ _M_ ( _N_ ) is associated to the change of variables from _r_ to _φ_ . [42] _α_ is the independent variable of the parametric representation of the wetting path _N_ ( _α_ ). Here we adopt the normalized arc length parametrization of the curve, i.e., _α_ is the fractional length of the arc of the curve between the initial and present points. Thus, in terms of the parameter _α_, _N_ (0) and FIG. 2. Multiple transition paths connecting the stable and metastable states (absolute and local minima) in an illustrative 2D free energy landscape. The grey line represents the most probable path, the outcome of a string calculation, and the blue dashed lines represent two alternative paths of lower probability. _N_ (1) are the coarse grained densities at the Cassie and Wenzel states, respectively. The physical meaning of Eq. 4 is that along the most probable path _N_ ( _α_ ) the _effective_ _force_ _−M_ <sup>ˆ</sup> ( _N_ ) _∇N_ Ω( _N_ ) has zero components orthogonal to the path. In practice, the path _N_ ( _α_ ) is discretized in _L_ = 64 images, _N_ ( _α_ 1) _, . . .,_ _N_ ( _αL_ ), with a constant distance between neighboring images, _δ_ _N_ = <u>�</u> _L−_ 1 _i_ =1 ~~�~~ <u>�</u> _nCV_ _k_ =1 <sup>(</sup> <sup>_Nk_</sup> <sup>(</sup> <sup>_αi_</sup> <sup>)</sup> <sup>_<u>−</u>_</sup> <sup>_Nk_</sup> <sup>(</sup> <sup>_αi_</sup> <sup>+1))2</sup> ~~<u>�</u>~~ <u>�</u> _nCV_ _k_ =1 <sup>(</sup> <sup>_Nk_</sup> <sup>(</sup> <sup>_αi_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_Nk_</sup> <sup>(</sup> <sup>_αi_</sup> <sup>+1))2</sup> = 1 _/_ ( _L −_ 1) _._ (6) The most probable path is obtained using an iterative algorithm, the string method [43] (see App. ), which, starting from a first guess, produces a path satisfying the discretized version _M_ ( _N_ ), can be computed using, for of Eq. 4. The main ingredients of Eq. 4, _∇N_ Ω( _N_ ) and <sup>ˆ</sup> example, RMD (Sec ). The first guess path is obtained from a high pressure _P_ = 0 _._ 6 _ϵσ_ <sup>_−_</sup> <sup>3</sup> wetting trajectory. The wetting barrier decreases with the pressure and, at this pressure, a wetting event has been observed over a timescale of _∼_ 10 <sup>5</sup> timesteps. Along this spontaneous wetting tra jectory one extracts a number of configurations (64 in the present case) and computes the associated coarse-grained density field, which represent the first-guess path. This approach, in which the string method is initialized from a continuous atomistic trajectory, prevents potential problems in the calculation of the distance _δ_ _N_ between neighboring images due to the translational symmetry of the system: for example, in the simple definition of the distance used here, two configurations corresponding to a translation of the density field by one or more period in the _x_ and/or _y_ direction would result into two different values of _δ_ _N_, even though they represent the same physical system. The correct choice between these two configurations is the one which is the push-forward in time of the previous one. Since, however, the string is a local optimization algorithm (App. ), the initialization procedure _via_ a continuous dynamics described above leads automatically to the selection of the proper density configuration N among its symmetric equivalents. Once the iterative string algorithm is converged and the most likely path is known, one can obtain the associated energetics by computing the line integral of _∇N_ Ω( _N_ ) along the path, thus obtaining Ω( _α_ ). Usually the free energy along the wetting is reported as a function of the liquid fraction Φ( _α_ ) = ( _n_ ( _α_ ) _−_ _nC_ ) _/_ ( _nW_ _−_ _nC_ ), with _n_ ( _α_ ), _nC_, and _nW_ the total number of particles in the textures (the region used to define the CVs of Fig. 1) at the present, Cassie and Wenzel states, respectively. Thanks to the monotonic relation between the fractional arc-length and liquid fraction (see Fig. S4 in the Supporting Information), it is possible to report the free energy in the more convenient and illustrative parametrization Φ.[60] When one uses a single CV, i.e., when the coarse-grained density is replaced by the average density in the relevant domain (the yellow box of Fig. 1), the path is trivial and consists in the increase (or decrease) of the value of the single CV. With a single CV the free-energy landscape in which the most probable path is sought for is 1D; in this case the string method boils down to the simpler RMD. Generally speaking, the choice of CVs (the level of coarse graining of the density field in the present case) can affect the qualitative and quantitative representation of the transition path. Well established tests exist to validate the quality of the CV set at hand, e.g., the committor test. [17, 42] This test consists in numerically computing the probability that trajectories starting from the transition interface reach the products before the reactants and check that the distribution is peaked around 50 %. The transition interface is locally defined as a plane normal to the path passing through the maximum of the free energy (transition state). However, performing the committor test is very expensive. In the case of wetting, due to the slow evolution of the fluid toward the Wenzel or Cassie state from the putative transition state, the committor test has been rarely performed. [13] Here we introduce a simpler test allowing to check whether the CV set satisfies minimal necessary conditions, namely that the path does not present unphysical discontinuities, i.e., jumps of the density during the activated process, which obviously cannot be present in a process resulting from continuum and atomistic dynamics. Restrained MD and related simulation techniques In order to perform one iteration of the string algorithm one needs to compute _∇N_ Ω( _N_ ) and _M_ <sup>ˆ</sup> ( _N_ ) at the set of points _{_ _N_ ( _αi_ ) _}i_ =1 _,...,L_ . In this section we show how these quantities can be computed by RMD. Consider Eq. 3 defining the Landau free energy and replace the Dirac delta functions on the r.h.s. by smooth approximations of Gaussian form _gλ_ ( _φk_ ( _r_ ) _−Nk_ ) = ~~�~~ 2 _π/_ ( _βλ_ ) exp[ _−βλ/_ 2 ( _φk_ ( _r_ ) _−_ _Nk_ ) <sup>2</sup> ]. Within this approximation each component of the gradient of the free energy reads _<u>∂</u>_ <u>Ω(</u> _<u>N</u>_ <u>)</u> _∂Ni_ _≈_ <sup>_<u>∂</u>_</sup> <sup><u>Ω</u></sup> _∂N_ <sup>_<u>λ</u>_</sup> <sup><u>(</u></sup> <sup>_<u>N</u>_</sup> _i_ <sup><u>)</u></sup> = (7) = = �� _<u>d</u>_ _<u>r</u>_ _<u>λ</u>_ <u>(�</u> _<u>φdi</u>_ <u>(</u> _rr_ <u>)</u> _m −_ ( _r_ _<u>N</u>_ ) _<u>i</u>_ <u>�)</u> _<u>mnk</u>_ =1 _CV_ <u>(</u> _<u>r</u>_ <sup>_g_</sup> <u>)</u> <sup>_λ_</sup> - <sup>(</sup> <sup>_φ_</sup> _nk_ <u>=1</u> _CV_ <sup>_k_</sup> <sup>(</sup> <sup>_r_</sup> <sup>_<u>g</u>_</sup> <sup>)</sup> <sup>_<u>λ −</u>_</sup> <sup><u>(</u></sup> <sup>_<u>φNk</u>_</sup> <sup><u>(</u></sup> <sup>_k_</sup> <sup>_<u>r</u>_</sup> <sup>))</sup> <sup>_<u>−</u>_</sup> <sup>_<u>Nk</u>_</sup> <sup><u>)</u></sup> _d_ _r_ _λ_ ( _φi_ ( _r_ ) _−_ _Ni_ ) _p_ ( _r_ _|_ _N_ ) _._ Thus, _∂_ Ω( _N_ ) _/∂Ni_ is approximated by the expectation value of the observable _λ_ ( _φi_ ( _r_ ) _−_ _Ni_ ) over the conditional probability density function _p_ ( _r_ _|_ _N_ ). Here, we have set _λ_ = 0 _._ 2, which is a trade-off between the convergence of _∂_ Ω _λ_ ( _N_ ) _/∂Ni_ with _λ_ and the statistical error of the mean force (see Supporting Information Fig. S2(a)). The suitability of this value of _λ_ has also been tested for convergence by analizing the behaviour of Ω with _λ_ (Fig. S2(b)). If _m_ ( _r_ ) is the measure of the canonical ensemble, _m_ ( _r_ ) <sup>�</sup> <sup>_n_</sup> _k_ =1 <sup>_CV_</sup> in the form exp ( _−β_ ( _V_ ( _r_ ) + <sup>�</sup> <sup>_n_</sup> _k_ =1 <sup>_CV_</sup> <sup>_n_</sup> _k_ =1 <sup>_CV_</sup> <sup>_gλ_</sup> <sup>(</sup> <sup>_φk_</sup> <sup>(</sup> <sup>_r_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_Nk_</sup> <sup>)</sup> <sup>can</sup> <sup>be</sup> <sup>cast</sup> <sup>_n_</sup> _k_ =1 <sup>_CV_</sup> <sup>_λ/_</sup> <sup>2(</sup> <sup>_φk_</sup> <sup>(</sup> <sup>_r_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_Nk_</sup> <sup>)2)),</sup> <sup>which</sup> <sup>suggests</sup> <sup>that</sup> <sup>the</sup> <sup>conditional</sup> probability density can be sampled by a constant temperature MD driven by the _augmented_ potential _V_ <sup>˜</sup> ( _r_ ; _N_ ) = _V_ ( _r_ ) + <sup>�</sup> <sup>_n_</sup> _k_ =1 <sup>_CV_</sup> <sup>_λ/_</sup> <sup>2(</sup> <sup>_φk_</sup> <sup>(</sup> <sup>_r_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_Nk_</sup> <sup>)2,</sup> <sup>the</sup> <sup>so-called</sup> <sup>_Restrained_</sup> <sup>MD.</sup> <sup>Indeed,</sup> this argument can be extended to the isothermal-isobaric ensemble, provided that one uses a molecular dynamics suitable to sample this ensemble. In practice, _∂_ Ω( _N_ ) _/∂Ni_ is computed as the time average of _λ_ ( _φi_ ( _r_ ) _−Ni_ ) along the RMD. ˆ _M_ ( _N_ ) can also be computed as a time average along the same RMD, this time considering the observable _∇_ _r_ _φi_ ( _r_ ) _· ∇_ _r_ _φj_ ( _r_ ). ### A B C 1 9 864 FIG. 3. Configurations of the meniscus along the wetting process for 1 (red frame), 9 (blue frame), and 864 (green frame) CVs. The color code (bottom left) helps identifying the distance of the meniscus from the bottom wall: blue when the meniscus is at the top of the pillars, red when it touches the bottom, and green in between. In the figure we also report the triple line formed by the liquid/vapor interface with the bottom wall (black).(see Supporting Information for Publication for the movies of the wetting trajectories, files 3x3pillarCV864.gif, 3x3pillarCV9.gif, 3x3pillarCV1.gif). We remark that for a single CV one does not need the string method to compute the wetting/dewetting path, which is just a segment containing the values of the CV describing the process from the initial to the final state. Thus, in this case RMD allows to compute directly the free energy via the numerical integration of _d_ Ω( _N_ ) _/dN_ . In this sense, sometimes we refer to RMD as a proxy for a single-CV string. RESULTS AND DISCUSSION This section is divided in three subsections, i) 3 _×_ 3 _pillars_ _system_ (Sec. ) and ii) 1 _×_ 1 _pillar_ _system_ (Sec. ), in which we report and discuss results of the effect of different levels of coarse graining of the density field on the wetting path and its energetics for each sample independently, and iii) _Size_ _effects:_ _comparison_ _between_ 3 _×_ 3 _and_ 1 _×_ 1 _pillars_ _systems_ (Sec. ), in which we discuss the effect of the size of the surface sample on the results. 3 _×_ 3 pillars system Figure 3 shows the evolution of the liquid meniscus along the collapse of the Cassie state for _nCV_ = 1 (1 _×_ 1 _×_ 1 mesh with a cell of _≈_ 56 _×_ 56 _×_ 29 _σ_ ), _nCV_ = 9 (3 _×_ 3 _×_ 1 mesh with cells of _≈_ 18 _._ 7 _×_ 18 _._ 7 _×_ 29 _σ_ ), and _nCV_ = 864 (12 _×_ 12 _×_ 9 mesh with cells of _≈_ 4 _._ 6 _×_ 4 _._ 6 _×_ 4 _._ 8 _σ_ - Fig. 1). A color coding is applied to help visualizing the distance of the meniscus from the bottom wall of the surface. The meniscus is identified using the Gibbs dividing surface, i.e., the locus of points where the fluid density coincides with the mean value between the liquid _ρl_ and vapor _ρv_ bulk values, ( _ρl −_ _ρv_ ) _/_ 2 _≈_ 0 _._ 375 _σ_ <sup>_−_</sup> <sup>3</sup> . Thus, identifying the meniscus from an ensemble of atomistic configurations requires computing a coarse-grained density field, _ρ_ ( _x_ ). For this computationally inexpensive post-processing operation we use a finer level of coarse graining than that used for the CVs, namely a 56 _×_ 56 _×_ 29 points grid (cell _≈_ 1 _×_ 1 _×_ 1 _σ_ ). The analysis of the meniscus shapes along the wetting process reveals that the collapse mechanism consists of three steps (A-C) (Fig. 3). In step A, the liquid, initially pinned at the top of the pillars, starts to progressively fill the inter-pillar space, with the meniscus assuming an essentially flat conformation parallel to the bottom wall. This step is similar for all the CVs sets, and corresponds to the linear increase of the free energy in Fig. 5(a). In step B, which includes the transition state, the liquid touches and spreads over the bottom wall. The existence of a maximum of the free energy in this domain can be ex plained using an intuitive argument: i) while the liquid slides down along the pillars with a flat meniscus the liquid-solid surface increases resulting in an increase of the energetically unfavorable solid-liquid contribution; ii) when the liquid starts spreading over the bottom wall the two liquid-vapor and vapor-solid interfaces are replaced by a single liquid-solid one, which results in a reduction of the free energy. Thus, the free energy switches from an increasing to a decreasing trend when the meniscus comes in contact with the bottom wall. Step B of the wetting path is significantly different in the three cases (Fig. 3). With 1 CV, the liquid touches the bottom wall by completely filling the space between two rows of pillars. Due to the 2D periodicity, this amounts to having an infinite strip of liquid touching the bottom of the textured surface parallelled by an infinite strip of vapor, with the corresponding meniscus facing the bottom wall at a distance of ca. 6 _σ_ . The process proceeds with the liquid progressively invading neighboring rows or squares of pillars. For both 9 and 864 CVs, step B of the wetting process starts in a similar way, with the liquid touching the bottom between two pillars at a single point. However, wetting evolves in a rather different way. In the case of 864 CVs the liquid _percolates_ in neighboring inter-pillar regions; with 9 CVs it wets disjoint regions. A remarkable aspect of step B with 1 and 9 CVs is that both present _discontinuities_ in the path corresponding to abrupt changes of the meniscus configuration (Fig. 3). For example, in the case of 1 CV the filling of the corrugations proceeds with the liquid suddenly wetting entire squares or rows among pillars. Concerning the 9 CVs case, comparing the second and third snapshots of step B of the wetting path one notices that the bottom wall between the right-low pair of pillars is initially wet by the liquid, while it gets dry in the next image (see arrows in Fig. 3). As we discuss more extensively below, the origin of these unphysical discontinuities in the paths is the inability of 1 and 9 CVs to distinguish among different meniscus configurations: more than one configuration of the meniscus is possible for a given value of the CVs. Step C of the path is similar for all the cases: a rarefied liquid region between pairs of pillars transforms into bulk liquid, which eventually completely wets the bottom wall. Videos of the wetting process for the three cases are available in the Supporting Information. Concerning step B of the wetting path, which includes the kinetic bottleneck of the pro cess - the transition state, an important question is whether the paths identified with the three sets of CVs are all physically sound. Before addressing this question let us revise the concept of transition path in rare event simulations. The path is described as a paramet ric (discretized) curve in the space of the CVs. The parametric representation is, indeed, only a convenient alternative to the representation of the path as a function of time. [42] Thus, for systems evolving according to continuous dynamics, one would expect that ob servables change smoothly between successive images of the discretized path. Of course, in all collective-variable-based rare event techniques, the CVs used to follow or accelerate the process change by a prescribed value between images; for example, in the present string calculations the _distance_ in the value of CVs between successive images is constant by con struction, Eq. 6. However, one expects that this property holds for all the fundamental variables of the system. In particular, in the case of wetting of textured surfaces, which is well described by the (classical) density functional theory, [20, 39] a necessary condition for the CVs to be suitable to describe the process is that the density field (computed, virtually, 0 _._ 15 0 _._ 1 0 _._ 05 0 <u>C</u> A 0 0 _._ 25 0 _._ 5 0 _._ 75 1 Φ 1 9 864 B FIG. 4. Nondimensional Euclidean distance _δρ_ (Φ) between density fields at successive points along the string _ρ_ ( _x_ _,_ Φ) (see Eq. 8). Consistently with Fig. 3, red, blue and green curves refer to 1, 9, and 864 CVs, respectively. on an infinitely resolved grid) changes in a continuous way along the path regardless of the degree of coarse graining considered. To verify whether this condition is met, we computed the nondimensional Euclidean distance between (ensemble averaged) density fields _ρ_ ( _x_ _,_ Φ _i_ ) computed on a very fine 56 _×_ 56 _×_ 29 mesh (cell _≈_ 1 _×_ 1 _×_ 1 _σ_ ) at successive images _i_ along the paths identified via the three sets of CVs: _δρ_ (Φ _i_ ) = �� _l,m,n_ <sup>(</sup> <sup>_ρ_</sup> <sup>(</sup> <sup>_x_</sup> _l,m,n_ <sup>_,_</sup> <sup>Φ</sup> _i_ <sup>)</sup> <sup>_<u>−</u>_</sup> <sup>_ρ_</sup> <sup>(</sup> <sup>_x_</sup> _l,m,n_ <sup>_,_</sup> <sup>Φ</sup> _i_ +1 <sup>))2</sup> _ρl_ , (8) where the normalization is performed with respect to the bulk liquid density _ρl_, and the sum - _l,m,n_ <sup>runs</sup> <sup>over</sup> <sup>the</sup> <sup>cells</sup> <sup>indices</sup> <sup>of</sup> <sup>the</sup> <sup>very</sup> <sup>fine</sup> <sup>mesh,</sup> <sup>which</sup> <sup>is</sup> <sup>the</sup> <sup>same</sup> <sup>for</sup> <sup>all</sup> <sup>the</sup> <sup>CVs.</sup> We remark that, apart for the normalization and the mesh used in Eq. 8, _δρ_ is equivalent to the normalized arc length _δN_ (Eq. 6). The value of _δρ_ (Φ _i_ ) far from discontinuities depends on the absolute arc length of the path in the CV space and on the number of images in which it has been discretized. Thus, there is no trivial relation between the number of CVs and the value of _δρ_ (Φ _i_ ). In practice, for the case of the wetting of pillared surfaces, far from discontinuities _δρ_ (Φ _i_ ) takes similar values for all the considered sets. It is observed (Fig. 4) that in steps A and C, _δρ_ (Φ _i_ ) _≈_ 0 _._ 01 independently of the number of CVs, indicating that there are no major differences in the continuity of the paths identified by the three CVs in these regimes. On the contrary, in step B the paths obtained with 1 and 9 CVs show discontinuities with a sizeable increase of _δρ_ (Φ _i_ ), which reaches _≈_ 0 _._ 15 and _≈_ 0 _._ 07 in the first and second case, respectively. These results suggest that 1 and 9 CVs are insufficient to describe the wetting process because, in the most important region of the 1500 1000 500 (a) (b) 1400 900 400 _−_ 100 1400 1150 0 0 _._ 25 0 _._ 5 0 _._ 75 1 Φ <u>B</u> <u>C</u> A 2000 ~~C~~ A B 1 9 <u>864</u> B A 0 _._ 6 0 _._ 7 0 _._ 8 <u>Φ</u> 900 0 _._ 6 0 _._ 8 1 Φ FIG. 5. a) Free-energy profiles for 1, 9, and 864 CVs. Error bars are computed via the procedure described in the Supporting Information. b) Zoom of the free-energy profile for 1 CV in region B and C highlighting the change of slope of this curve associated to the morphological transitions discussed in the text. The mean force relative to the first change of slope at the transition between the A and B is reported in the inset. Inspection of the mean force for 1 CV shows a double discontinuity in this domain. In the Supporting Information the 1 CV free-energy profile and mean force are reported with a finer discretization of the transition path in the B and C domains, confirming the results discussed in the main text. path –the one determining the kinetics of the process– they are inadequate for describing the continuous trajectory followed by the liquid wetting the surface textures. The difference in the wetting paths is reflected in the difference among the free energy profiles (Fig. 5(a)). In the case of 1 CV we observe an extended, relatively flat domain of the free energy profile in step B. Indeed, careful analysis shows that this region is composed of two linear segments with a different slope (Fig. 5(a)). The discontinuity of the first derivative is observed in correspondence of the transitions from one morphology to another (see inset of Fig. 5(b)), namely i) from the _flat_ meniscus to the liquid partly wetting the bottom wall (transition from step A to B); ii) from the liquid completely wetting one row of pillars to two rows; iii) the passage from the liquid wetting only part of the bottom wall, with a layer of _bulk vapor_ separating the liquid meniscus from the bottom, to the liquid wetting the bottom wall, still containing small vapor bubbles between pairs of pillars (transition from step B to C). These three points coincide with the three sharp peaks of _δρ_ . The profile is more regular in the case of 9 and 864 CVs, with a well defined maximum of the free energy between the Cassie and Wenzel states. The quantitative comparison of the three free-energy profiles reveals two important as pects. First, the difference of free energy between the Cassie and Wenzel states, ∆Ω _CW_, which determines their relative stability, depends on the CVs. 9 and 864 CVs yield consis tently ∆Ω _CW_ = 940 _kBT_, while the 1 CV case is ca. 400 _kBT_ higher. This discrepancy, in turn, affects the barrier of the Wenzel-Cassie transition, reducing its estimate by a corre sponding amount in the case of 1 CV. Second, also the Cassie-Wenzel free-energy barrier ∆Ω <sup>_†_</sup> <sup>_†_</sup> _CW_ <sup>changes</sup> <sup>from</sup> <sup>one</sup> <sup>CVs</sup> <sup>set</sup> <sup>to</sup> <sup>another.</sup> <sup>In</sup> <sup>particular,</sup> <sup>∆Ω</sup> <sup>_†_</sup> <sup>_†_</sup> _CW_ <sup>is</sup> <sup>approximatively</sup> <sup>40</sup> and 80 _kBT_ lower for the 1 and 9 CVs, respectively, as compared to the 864 CVs case. We remark that the differences in the free energy profiles with the three CV sets is not due to an insufficient discretization of the RMD and string paths. To show this, we repeated the RMD calculation in B and C with three times the number of points (see Supporting Information Fig. S5(b)). The original and more accurate profiles show minor quantitative differences. To further confirm that the difference in the free energy profiles does not depend on an insufficient discretization of the path but on the difference of the CV sets employed, in the region across one of the changes of slope of Ω for 1 CV we increased the number of point by one order of magnitude (Fig. S5(a)). Also in this case we observed minor quantitative differences in both the free energy profile and mean force. _Dependence_ _of_ ∆Ω _CW_ _on_ _the_ _CVs_ The theoretical arguments developed in App. indicate that, the values of ∆Ω _CW_ should be close for the three CVs; the present results conflict with this theoretical prediction. The origin of this mismatch can be illustrated considering a model 2D polynomial potential _v_ ( _x, y_ ) which has an analytical expression and on which different CVs can be analyzed in detail (Fig. 6(a)). In panel b) the profile of the potential along the 2D string path (dashed black line of Fig. 6(a)) is reported; this is the most probable path joining states _α_ and 2 1 50 (a)2 (b) _α_ 2 _−_ 2 _−_ 6 2 1 0 _−_ 4 _−_ 2 0 2 4 _x_ 0 _−_ 1 _−_ 2 _x_ String Marginal tRMD tRMD _T_ = 0 5 3 1 _−_ 1 _−_ 10 _−_ 14 _−_ 18 _−_ 3 _<u>−</u>_ 3 _<u>−</u>_ 2 _<u>−</u>_ 1 0 1 2 _β_ 25 0 _−_ 6 _−_ 4 _−_ 2 0 2 4 _x_ _−_ 6 _−_ 4 _−_ 2 0 2 4 _x_ FIG. 6. a) 2D Polynomial potential _v_ ( _x, y_ ) _/_ ( _kBT_ ) = ((0 _._ 6 _x_ +0 _._ 8 _y_ ) <sup>2</sup> _−_ 1) <sup>2</sup> _−_ 2 _._ 0(0 _._ 8 _x_ _−_ 0 _._ 6 _y_ )(0 _._ 6 _x_ + 0 _._ 8 _y_ ) + 0 _._ 01(0 _._ 8 _x −_ 0 _._ 6 _y_ ) <sup>4</sup> + 1 _._ 5(0 _._ 6 _x_ + 0 _._ 8 _y_ ) <sup>3</sup> in the two arbitrary variables _x_ and _y_ . The poten tial is characterized by two partly overlapping attractive basins, i.e., depending on the position in _y_ the force along _x_ can be attractive toward either minimum. The color map helps iden tifying minima and saddle points of the potential. The dashed line represents the string path with two variables; the green line represents the two branches of the discontinuous zero temper ature tRMD path computed by applying a restraint on the _x_ variable and starting from basin _α_ . The arrow indicates the point in which the system jumps from one branch to the other. b) Comparison among energy profiles obtained with different numbers of variables, methods and temperatures. The dashed line is the energy profile along the two-variables string reported as a function of _x_ . The red curve is the _exact_ projection of the 2D potential on the variable _x_, _v_ ( _x_ ) = _−kBT_ log - _dy_ exp[ _−βv_ ( _x, y_ )] _/_ - _dydx_ exp[ _−βv_ ( _x, y_ )] and _β_ = 1. The green curve is the free energy obtained by integrating the mean force calculated from a zero temperature tRMD simu lation, and the cyan curve is the finite temperature equivalent at _kBT_ = 1. In the inset at the bottom-right of panel b is reported the mean force _dv_ ¯( _x_ ) _/dx_ for the _exact_ (red), zero (green) and finite temperature (cyan) tRMD cases. This inset illustrates that in both tRMD cases the forces at the transition between the two branches of the path are discontinuous, with the discontinuity reducing at finite temperature. In the inset at the top-left of panel b the entropy is reported along the finite temperature tRMD path. _β_ . We also consider the 1D counterpart of the potential, which is, in our analogy, the equivalent of the free-energy profile obtained with higher coarse graining; this 1D potential is obtained by projecting _v_ ( _x, y_ ) along the _x_ axis according to Eq. 3: _v_ ( _x_ ) = _−kBT_ log _p_ ( _x_ ), where _p_ ( _x_ ) = - _dy_ exp[ _−βv_ ( _x, y_ )] _/_ - _dydx_ exp[ _−βv_ ( _x, y_ )] is the marginal probability density function.[61] Figure 6(b) shows that ∆ _vαβ_, the energy difference between the two minima, is indistinguishable if computed along the string path or using the 1D potential _v_ ( _x_ ); the differences _along_ the path will be analyzed later on when the barriers are considered. We further compute ∆ _vαβ_ as one would obtain from an RMD simulation (thought RMD - tRMD) performed using _x_ as CV; this is expected to provide a numerical approximation to _v_ ( _x_ ). In tRMD one imagines to start from the minimum _α_ increasing step by step _x_ . In finite time, for each _x_, the system explores configurations within few _kBT_ from the local minimum _y_ <sup>_∗_</sup> ( _x_ ) at the constrained value of _x_ belonging to the basin of _α_ (green curve in Fig. 6(a)). When the barrier along _y_ separating the _α_ and _β_ basins is sufficiently small the system jumps into the other basin and successively oscillates around the other branch of the green curve which brings to the basin _β_ . In Fig. 6(a) the transition from the initial to the final branch of the path occurs when the barrier along the _y_ direction is 1 _kBT_ . From the ensemble of _ν_ configurations available at each _x_ one estimates the mean gradient _<u>dv</u>_ <u>(</u> _<u>x</u>_ <u>)</u> <u>(</u> _<u>x</u>_ <u>)</u> = <sup><u>1</u></sup> _dx_ _ν_ _ν_ _ν_ _i_ =1 _<u>∂v</u>_ <u>(</u> _<u>x, yi</u>_ <u>)</u> (9) _∂x_ from which the free-energy profile is reconstructed by integrating with respect to _x_ . As noted, the values of ∆ _vαβ_ obtained from _v_ ( _x, y_ ) and the projected _v_ ( _x_ ) coincide, while ∆ _vαβ_ is not captured correctly by tRMD. We remark that the relative error on ∆ _vαβ_ estimated via tRMD is _≈_ 20%, of the same order of magnitude of the error on ∆Ω _CW_ with 1 CV. The reason of the error on ∆ _vαβ_ is that the mean gradient used to compute the free-energy profile in tRMD, Eq. 9, differs from the actual one near the jump between the two valleys of the potential (see the inset of Fig. 6(b); additional details are discussed in App. ). In particular, _dv_ ( _x_ ) _/dx_ obtained from tRMD is discontinuous when the trajectory passes from one basin to the other. This analysis of the simple 2D potential supports our claim that the difference in the ∆Ω _CW_ between 1 and 9 or 864 CVs is due to the simulation protocol. The transition from one basin to another in the 2D potential is equivalent to the meniscus jumps observed in the wetting process with 1 CV. Thus, we believe that the difference in ∆Ω _CW_ between 1 and 9 or 864 CVs can be ascribed to the severe discontinuities in the gradient of the free energy in the former case, which are induced by the extreme coarse graining of the associated density field in the case of one single CV. These discontinuities are shown for the case of a single collective variable in the inset of Fig. 5(b). Indeed, this problem, which is also at the origin of the hysteresis observed with other rare event techniques when one uses insufficient or inadequate CVs, could be solved com bining RMD with parallel tempering, [62] which allows to correctly sample the conditional probability in the space complementary to the collective variables (see, e.g., Refs. 63 and 64 for the application of this combined approach to phase transitions). This approach would, thus, bring ∆Ω _CW_ of 1 CV closer to the value computed with 9 or 864 CVs; however, to the best of our knowledge, due to the high computational cost this approach has been rarely adopted in the context of wetting transition. [10] _Dependence_ _of_ _the_ _wetting_ _barrier_ _on_ _the_ _CVs_ In the following, when comparing the free energy barrier of different CVs, we will first focus on the _zero_ _temperature_ limit and we will then consider _finite_ _temperature_ _effects_ . It must be stressed that zero and finite temperature refers to the CVs degrees of freedom, while the atoms, and thus the free-energy landscape, are always at the physical temperature _T_ = 0 _._ 8 _ϵ/kB_ . 1 CV is a subset of 9 CVs which, in turn, is subset the 864 CVs. Thus, in the present context, the zero-temperature limit of the 1 CV set means that all the remaining 863 uncontrolled degrees of freedom to complete the 864-dimensional CV space take the value corresponding to the constrained local or global minimum at the present value of the restrained CV. An analogous argument holds for the comparison of the barriers with 1 and 9 CVs, and 9 vs 864 CVs. The reason to split the comparison in the zero temperature limit and finite temperature effects is that this allows to carry on an accurate theoretical analysis, bringing to some interesting conclusion on the possibility or impossibility to establish an ordering of the barriers with the size of the CV set. Let us consider first the Cassie-Wenzel transition in the limit of zero temperature, and explain the phenomenology using the model 2D polynomial potential. Within this limit and for the _x_ variable only, the system strictly follows the path consisting of the line of the constrained minima of the energy laying in the _α_ basin until the barrier in the orthogonal space is zero (green line in Fig. 6(a)); then the system follows the line of constrained minima in the _β_ basin (blue line). The string in 2 variables departs from the zero-temperature tRMD path in the intermediate region, undergoing the transition from the initial to the final basin at a different point. Using a different language, the trajectories with one and two variables cross the separatrix, the surface separating the two attractive basins, at different points. In Ref. 42 it is shown that the string path crosses the separatrix at the minimum of the potential on this surface, and this point is the actual transition state. Thus, the zero temperature tRMD transition state has higher or equal energy than the 2D string transition state (see Fig. 6(b)). We remark that this ordering of the barriers is valid only in the zero temperature limit, and is due to the fact that the system keeps moving along the line of constrained minima of the basin _α_ beyond the point _x_ at which the potential of the minimum in the basin _β_ would be lower. The argument developed above is not limited to the case of the 2D polynomial potential but is also valid in the case of the CVs for the wetting process discussed in this work (see App. ). One notices that the barriers with 1 and 9 CVs are lower than that with 864, which conflicts with the zero-temperature analysis above and the intuitive expectation that the barriers should decrease as the number of CVs increases. This suggests that there must be other effects which are not present in the zero-temperature limit. At finite temperature there are two additional effects to take into account. The first concerns the point where the transition occurs with a reduced number of CVs. At finite temperature this is attained where the orthogonal barrier is of the order of several _kBT_, [65] i.e., when the transition time is of the same order of magnitude of the string/RMD simulation time. This implies that the transition occurs before than in the zero temperature case, i.e., closer to the initial state, which results in a reduction of the barrier. The second effect concerns the entropic contribution to the energetics of the transition, which is associated to the number of states the system can explore in the space orthogonal to the collective variables at a given point along the wetting path. The higher is the number of collective variables the lower is the dimensionality of the configuration space the system can explore and, thus, the lower should be the configurational entropy at a given point along the path. For example, in the case of 864 CVs at each point along the string the fluctuations allowed the density field to vary over a spatial scale smaller than the cell in which the system is partitioned, i.e. on a spatial scale of _≈_ 4 _._ 6 _×_ 4 _._ 6 _×_ 4 _._ 8 _σ_ . In the case of 9 CVs the density can fluctuate on a much larger spatial scale of _≈_ 18 _._ 7 _×_ 18 _._ 7 _×_ 29 _σ_ . This effect can be better illustrated in the case of the 2D polynomial potential. At each point along the string in ( _x, y_ ) the system can take only one configuration, and the entropy is zero. On the contrary, in the case of finite temperature tRMD the system oscillates in the _y_ direction around the minimum _y_ <sup>_∗_</sup> ( _x_ ) at the current value of _x_ ; the entropy at each point along the RMD path is different from zero. This effect is qualitatively valid in general, at all points along the path. However, the value of the entropy depends on the profile of the potential in the space orthogonal to the CVs at the current point along the string/RMD. Thus, in the 2D potential the entropy of the system at a given _x_ depends on the shape of _v_ ( _x, y_ ) in the _y_ direction: if the potential is stiff the entropy is low, if it is shallow the entropy is high. For example, the potential in the _y_ direction is stiff at the initial and final states and shallow at the transition state: thus the entropic contribution, _−T_ ∆ _S_, tends to reduce the barrier as compared to tRMD at _T_ = 0 (see inset of Fig. 6(b)). The combined effect of the temperature in reducing the barrier, anticipating the transition and by entropic effect, is illustrated by comparing tRMD at zero and finite temperature. [66] Indeed, Fig. 6 shows that at finite temperature the tRMD barrier can be lower than the string one. A similar scenario is likely to occur for the wetting process, in which 1 and 9 CVs might have a higher entropy than 864 at the transition state. For the case of 9 CVs this hypothesis is supported by the visual inspection of the trajectories. The _fluctuations_ of the meniscus close to the Cassie state, in which the liquid/vapor interface is pinned at the pillars top, is small in all cases. On the contrary, at the transition state the meniscus shows larger fluctuations for 9 CVs than for 864. To validate this hypothesis we have computed the wetting entropy by subtracting from the free energy the enthalpic term, given by the average Hamiltonian at each image of the path plus the pressure term ( _S_ Φ = _−_ 1 _/T_ [ΩΦ _−_ ( _⟨H⟩_ Φ + _PlVl_ + _PvVv_ )]), with _⟨H⟩_ Φ denoting the ensemble average of the Hamiltonian at the present point of string/RMD and _Px_ and _Vx_ the pressure and volume, respectively, of the phase _x_, _l_ iquid or _v_ apor). It is seen (Fig. 7) that the entropy of the three CVs initially has a very similar descending trend, which is due to the reduction of the amount of the highly entropic vapor phase (gray dashed line in the figure). In correspondence of the transition states both the 9 and 864 CV cases present an increase of the entropy, which is, however, more pronounced for the 9 CVs. This, indeed, explains why the 9 CVs set has a barrier 80 _kBT_ lower than the 864 one. The scenario is more complex for the 1 CV case. Here, at variance with the other two cases, in step B the entropy further decreases. We believe that this is due to the sudden elimination of a portion of the liquid-vapor interface, which, with its fluctuations, contributes 1000 _−_ 1000 _−_ 3000 _−_ 5000 _−_ 7000 0 0 _._ 25 0 _._ 5 0 _._ 75 1 Φ <u>B</u> A 1 9 864 Ideal gas <u>C</u> FIG. 7. Entropy along the wetting path for the same sets. The reference is chosen such that the entropy is zero in the Cassie state. The entropy is computed from the free energy by subtracting the enthalpy, which, in turn, is computed as the sum of the expectation value of the Hamiltonian _⟨H⟩_ and the _−PV_ term of the liquid and vapor phases. The entropy profile is noisy due to the corresponding noisy signal of _⟨H⟩_ . The dashed line represents the entropy of the ideal gas computed via the Sackur-Tetrode formula _S_ = _kBN_ �, where Λ = _h/√_ 3 _m_ _kBT_ - _−_ log( _ρv_ Λ3) + 5 _/_ 2 is the thermal wavelength, with _h_ the Plank constant and _ρv_ = 0 _._ 045 _σ_ <sup>_−_</sup> <sup>3</sup> density of the gas. N is the number of particles in the vapor phase inside the pillars which is computed as _N_ = _V_ (1 _−_ Φ) _ρv_ where _V_ is the volume inside the pillars. to the entropy of the system. This is different from the other two cases, in which the liquid vapor interface is eliminated gradually, and the curved liquid-vapor interface joining the triple line at the bottom wall with the flat part of the meniscus increases the entropy. At the boundary between B and C, when teh 1 CV system changes from a well defined liquid vapor biphasic system to one made of a liquid plus an extended and diffused liquid-solid interface, the entropy suddenly increases. The final part of the entropy profile is similar for all cases: it decreases following the absorption of the regions of rarefied liquid (Fig. 3). Summarizing, the level of coarse graining affects the wetting barrier in three different ways: i) at zero temperature a lower degree of coarse graining increases the barrier because the separatrix is crossed outside of its minimum; at finite temperature ii) the crossing of the separatrix is anticipated and the barrier reduced in all cases, but the effect is higher for more coarse grained density fields and iii) entropic effects may further reduce the barrier for more coarse grained density fields. However, this last argument has exceptions for too coarse grained density fields, e.g., a single CV, which changes the wetting mechanism toward less entropic paths. The balance between these three effects cannot be easily predicted. Rather, #### A B C ## (a) #### 1 96 #### B 0 _._ 9 0 _._ 95 1 Φ 0.04 ## (b) (c) 0.03 A B 170 150 130 110 90 150 100 50 0 0.04 0.03 0.02 0.01 C #### C 1 96 0 0 _._ 25 0 _._ 5 0 _._ 75 ~~<u>1</u>~~ Φ #### A #### B 1 <u>96</u> #### C 0 0 _._ 25 0 _._ 5 0 _._ 75 1 Φ FIG. 8. a) Liquid meniscus along the Cassie-Wenzel transition for the 1 _×_ 1 system. Black and violet frames correspond to 1 and 96 CVs, respectively. The color code is the same as in Fig. 3: blue when the meniscus is at the top of the pillar, red when it touches the bottom, and green in between (see Supporting Information for Publication for the movies of the wetting trajectories, files 1x1pillarCV96.gif, 1x1pillarCV1.gif, and 1x1regionC.gif). b) Free-energy profiles for the two sets of CVs. The inset shows _δρ_ as a function of Φ. c) Magnification of the region C of the free-energy profile together with the _c_ (1 _−_ Φ) <sup>2</sup> (grey dotted) and _a_ (1 _−_ Φ) <sup>1</sup> <sup>_/_</sup> <sup>2</sup> + _b_ (1 _−_ Φ) (grey dashed) curves discussed in the text. The coefficients _a_, _b_, and _c_ are obtained by fitting the two functions in the domain C. To obtain a more careful comparison of the 1 and 96 CVs profiles in this domain, the integration has been performed right to left, which results in lower error bars. they simply explain the ordering of barriers observed with 1, 9 and 864 CVs. _Summary_ Let us close this section drawing some conclusions on the effect of the degree of coarse graining on the study of the wetting/dewetting process. Extreme coarse-graining also leads to severe errors in the estimation of ∆Ω _CW_, up to 400 _kBT_ ; in addition, it also causes discontinuities in the wetting path. Extreme coarse-graining affects the wetting barrier, which is underestimated by _≈_ 80 _kBT_ as compared to the finer density field case. Overall, this suggests that quantitative predictions require a careful choice of the CVs. We remark that these effects are not due to the special method used - RMD or string - analogous artifacts would be observed also with US, BXD, TAMD, or other techniques. A detailed analysis of string/RMD _vs_ US and BXD is discussed in App. . 1 _×_ 1 pillar system For the 1 _×_ 1 pillar system we perform an analysis similar to the one of Sec. . In this case we considered 1 and 96 CVs, having the same grid spacing of the 9 and 864 CVs cases of the 3 _×_ 3 pillars, respectively. Fig. 8 reports _ρ_ ( _x,_ Φ _i_ ), Ω(Φ _i_ ), and _δρ_ (Φ _i_ ). The general characteristics of the wetting mechanism observed for the 3 _×_ 3 pillars system are preserved also in the smaller sample: the liquid initially depins from the pillars top, slides along their side with a flat meniscus (A), then touches the bottom wall in a point between a pair of pillars (B), and finally the vapor bubble is absorbed (C). It is worth remarking that analogous mechanisms have been reported in the literature for the case of water wetting a pillared surface. In this case, simulations were performed using INDUS using 1 CV analogous to the one used in the present work. [12] The 96 CVs case presents a smooth transition from one regime to another, with _δρ_ remaining almost constant at 0 _._ 01. On the contrary, with 1 CV _δρ_ shows abrupt jumps in correspondence of the morphological transitions at the boundaries between domains A and B and B and C. Videos of the wetting process for the two cases are available in the Supporting Information. The 1 and 96 CVs free energy profiles present no qualitative differences: both curves are characterized by a single, well defined maximum in correspondence of the configuration in which the meniscus touches the bottom wall. Concerning quantitative aspects, while ∆Ω _CW_ is the same in both cases, the barrier of 1 CV is 20 _kBT_ lower than for 96 CVs. This is due to the entropic effect explained in the previous section. A more careful analysis of the free energy profile close to the Wenzel state reveals dif ferences in the curvature of the free energy as a function of the filling fraction. In order to study such differences and to obtain a more accurate free energy profile in region C, the path with 96 CVs in the range Φ _∈_ [0 _._ 9 _,_ 1] has been discretized in 32 images (Fig. 8(c)). With 1 CV a parabolic profile extending over a broad range of filling fraction is observed, which is generally attributed to Gaussian fluctuations of the liquid density as discussed in the Lum-Chandler-Weeks theory of hydrophobicity. [15] A similar trend has been observed by other authors using similar CVs . [10–12, 16] On the contrary, with 96 CVs the parabolic trend is observed over a much narrower domain, after which the free energy profile shows a dependence of the type _a_ (1 _−_ Φ) <sup>1</sup> <sup>_/_</sup> <sup>2</sup> + _b_ (1 _−_ Φ) typical of macroscopic theories, which accounts for the liquid-vapor and solid-vapor interface energies [14] (see Supporting Information for further details). This is reflected on an earlier formation of the liquid-vapor meniscus, as shown in the snapshots of Fig. 8(a). The wetting mechanism identified with 1 CVs is char acterized by a strong initial ( _≈_ 8 %) depletion of the density of the liquid in the corrugation before the meniscus is formed. On the contrary, the path obtained with 96 CVs indicates a more modest _≈_ 3 _−_ 4 % density depletion before the liquid-vapor interface forms.[67] Considering that the 96 CVs is a superset of 1 CV (overall density), i.e., the 96 CV-space includes and extends the 1 CV one, the different behavior of the free energy indicates that the overall density is inadequate for describing the wetting and dewetting path. Since differ ences arise already at the beginning of dewetting, relatively close to the Wenzel state, one must conclude that also in the presence of moderate dewetting barriers, which occur closer to the fully wet state, the prediction of paths and rates obtained from simulations based on a single CV might be inaccurate. In several works [11, 12, 16] the use of the overall density as the only descriptor of the wetting/dewetting process has been justified on the basis of the Lum-Chandler-Weeks theory [15] of hydrophobicity. However, the above observation that 1 CV is insufficient to characterize thermally activated wetting/dewetting processes suggests that the extension of the theory of the hydrophobic effect out of its original equilibrium scope may bring to overlooking important aspects of the transition. Indeed, fluctuations of the overall density happen during dewetting but for the process to take place they must be accompanied by other events, e.g., the formation, bending, and displacement of the liquid meniscus. Size effect: comparison between 3 _×_ 3 and 1 _×_ 1 pillars systems In the previous sections we focused on the effect of the choice of CVs on the wetting mechanism, energetics and kinetics; here we concentrate on the effect of the size of the surface sample, the number of pillars in the _x_ and _y_ directions. To this end we compare results obtained with 96 CVs for the 1 _×_ 1 surface and 864 CVs for the 3 _×_ 3 one. At the transition state the two systems present qualitatively similar configurations. In both cases the liquid touches the bottom wall at a point between two pillars (Fig. 9). However, the 1 _×_ 1 surface cannot reveal the complex nature of the final part of the wetting. Indeed, for the 3 _×_ 3 case we observe the formation of a percolating (random) network of vapor bubbles, which is absorbed when the system approaches the Wenzel state. [34] At variance with this scenario, for the 1 _×_ 1 surface, due to the constraints imposed by the periodic boundary conditions, the network of vapor bubbles forms between a pillar and its periodic image along one of the two _lattice_ directions, _x_ and _y_ (compare top and bottom panels of Fig. 9). Concerning the quantitative comparison of results, Fig. 10 reports the free-energy profiles for the 3 _×_ 3 and 1 _×_ 1 pillars systems. Given the different size of the two systems, such an analysis is perfomed multiplying by a factor 9 the free-energy profile of Fig.8b. While, as expected, the free-energy difference between Cassie and Wenzel states, ∆Ω _CW_, are in agreement, the barrier of the 1 _×_ 1 pillar system is _≈_ 200 _kBT_ higher than the 3 _×_ 3 one. Moreover, also the position of the transition states is different in the two cases: Φ _≈_ 0 _._ 75 for the 3 _×_ 3 pillars system as compared to Φ _≈_ 0 _._ 80 for the 1 _×_ 1 one. This is the result of small size effect, more specificallt, of the 9 (periodic) repetition of the bent meniscus in the replicated 1 _×_ 1 system, see Fig. 9. 1 _×_ 1 pillars system. A fairer comparison can be obtained considering the free energy of the transition state plus eight times that of the last flat meniscus configuration of the 1 _×_ 1 system. However, also in this case the 1 _×_ 1 barrier is 180 _kBT_ higher than the 3 _×_ 3. This brings us to the conclusion that the 1 _×_ 1 system is affected by important finite-size errors, due to the enforcement of an artificial symmetry. FIG. 9. a) Meniscus at the transition states of the 1 _×_ 1 (center and top) and 3 _×_ 3 (bottom) sys tems, for which we considered 96 and 864 CVs, respectively, i.e., they have the same grid spacing. The (black) three-phase contact line at the bottom wall helps comparing the morphology of the menisci at the transition state. This figure clearly illustrates that the 1 _×_ 1 system is insufficient for identifying possible breaks of the translational symmetry of the meniscus. b) Menisci at se lected values of liquid fraction in the C domain. These snapshots show that the 1 _×_ 1 system is insufficient for capturing the percolating network of vapor bubbles characterizing this part of the wetting/dewetting path. 1400 900 400 _−_ 100 0 0 _._ 25 0 _._ 5 0 _._ 75 1 Φ B A 3x3 <u>1x1</u> ~~C~~ FIG. 10. Free-energy profile for the 1 _×_ 1 (96 CV, violet line) and 3 _×_ 3 (864 CV, green line) systems. The 1 _×_ 1 profile is obtained multiplying by 9 the free-energy profile of Fig. 8(b). CONCLUSIONS In this work the Cassie-Wenzel transition has been studied using rare event methods, namely the string and RMD techniques. The collective variable used is the density field at various levels of coarse graining. Results show the importance of the choice of the collective variables in the case of wetting and dewetting: extreme coarse graining of the density field, often used in the recent literature, introduces qualitative and quantitative artifacts. These artifacts include the identification of a sequence of physically disconnected density fields for the Cassie-Wenzel transition path as well as wrong estimates of the relative energy between the Cassie and Wenzel states and the barrier separating them. We have also investigated the effect of the size of the sample representing the surface, namely the number of pillars in the simulation box. Results show that a single unit cell (1 _×_ 1 pillar system) is insufficient when dealing with interconnected textures. Indeed, the periodic boundary conditions impose a non-physical translational symmetry of the meniscus leading to a incomplete picture of the wetting mechanism. At least for pillars, in order to capture the detailed wetting mechanism, the simulated system must be large enough to capture the local deformation of the meniscus forming a _liquid_ _finger_ which touches the bottom wall between two pillars. Concerning dewetting, the branch between the Wenzel and transition states consists of a (random) percolating network of vapor bubbles, which cannot be formed in the 1 _×_ 1 pillar system. These simulation pitfalls preclude the use of too small samples for deriving design criteria for preventing the wetting or improving the superhydrophobicity recovery. The results of this work seem to indicate that the simplest simulations of thermally ac tivated wetting with few collective variables and small periodic boxes should be taken _cum_ _grano_ _salis_ : the information they yield is only qualitative and could possibly be used as a computationally inexpensive way to identify trends or to perform parametric studies.[12] However, the detailed physics of the wetting/dewetting processes could be qualitatively dif ferent from the simulated one and the value of the free-energy barriers could be off by tens of _kBT_ . Depending on the application and on the goal of the work, one should choose what is the best compromise between a physically sound picture of the phenomena and compu tationally convenient ways to explore different cases in order to devise design strategies, e.g., for preventing the complete wetting or helping the recovery of the Cassie state. _A_ _posteriori_, one could evaluate the choice of CVs: typical symptoms of the deficiency of the adopted description is the presence of non-differentiable points in the free-energy profiles or the appearance of jumps in the density along the wetting/dewetting processes. ACKNOWLEDGEMENT The research leading to these results has received funding from the European Re search Council under the European Union’s Seventh Framework Programme (FP7/2007 2013)/ERC Grant agreement n. [339446]. We acknowledge PRACE for awarding us access to resource FERMI based in Italy at Casalecchio di Reno. The string algorithm The string algorithm aims at finding a path in the CV space _{_ _N_ ( _α_ ) _}α_ =0 _,_ 1 satisfying the condition that the force orthogonal to the path, via a metric matrix _M_, is zero (Eq. 4): - _M_ ˆ ( _N_ ( _α_ )) _∇N_ Ω( _N_ ( _α_ ))� _⊥_ <sup>= 0</sup> (10) In practice, the path _{_ _N_ ( _α_ ) _}α_ =0 _,_ 1 is discretized in _L_ images, and _α_ takes values _α_ = _n/_ ( _L −_ 1) with _n_ = 0 _, . . ., L −_ 1. As already mentioned in the main text, the images are enforced to be at a constant distance from each other (Eq. 6). One can introduce the following artificial dynamics _<u>dN</u>_ <u>(</u> _<u>α, τ</u>_ <u>)</u> _dτ_ = _−_ - _M_ ˆ ( _N_ ( _α, τ_ )) _∇N_ Ω( _N_ ( _α, τ_ ))� (11) _⊥_ where _τ_ is an artificial time bearing no direct physical meaning. For _τ_ _→∞_, _N_ ( _α, τ_ ) converges to the solution of Eq. 10. The r.h.s. of Eq. 11 can be computed projecting out the component of the force parallel to the path at the present _τ_ : - _M_ ˆ ( _N_ ( _α, τ_ )) _∇N_ Ω( _N_ ( _α, τ_ )) Ω( _N_ ( _α, τ_ )) _⊥_ <sup>=</sup> (12) �1 _−_ _ξξ_ <sup>_T_</sup> <sup>�</sup> _M_ <sup>ˆ</sup> ( _N_ ( _α, τ_ )) _∇N_ Ω( _N_ ( _α, τ_ )) with _ξ_ tangent to the path and _ξ_ <sup>_T_</sup> its transpose. The numerical determination of the tangent to a discrete path can be inaccurate, which brings to numerical instabilities in the iterative procedure of Eq. 11. Instead of removing the tangential component of the force, FIG. 11. Zoom of the 2D polynomial potential of Fig.6 in the overlapping region of basins _α_ and _β_ . a) Results of US simulations: cartoon of the probability density function of _x_ obtained from a thought US simulation started from configurations belonging to _α_ and _β_ attractive basins. b) Results of BXD simulations: cartoon of the probability density function of _x_ within one box, corresponding trajectories and boundaries hits (green and red circles). These examples illustrate that the problems discussed in the main text are of general relevance and not limited to RMD. _N_ ( _α, τ_ ) is first evolved according to the entire force, then the equidistance among images is restored. [68] This second step is performed by moving the images along the polygonal curve interpolating the path. This renormalization step, by removing the effect of the tangential component of the force, is formally equivalent to applying the projection. Relation between the probability density function of different collective variables Direct comparison of the free energies of different sets of collective variables is, in general, not possible. However, in the case of the sets of CVs used in this work, and because of the steep profile of the free energy, this comparison is, to a large extent, meaningful. The reason of this is explained in the following. Consider first the cases of 1 and 2 variables, the associated free energy Ω( _x_ ) and Ω( _x, y_ ) and probability density function _p_ ( _x_ ) = - _dy p_ ( _x, y_ ) and _p_ ( _x, y_ ). To make the argument more straightforward, assume that the relevant ensemble is the canonical one; in this case _p_ ( _x_ ) = - _<u>dy</u>_ <u>exp[</u> _<u>−β</u>_ <u>Ω(</u> _<u>x, y</u>_ <u>)]</u> (13) <u>�</u> _dx dy_ exp[ _−β_ Ω( _x, y_ )] At low temperature, if the free energy has a minimum at each value of _x_, Ω( _x, y_ <sup>0</sup> ( _x_ )), the integrals in Eq. 13 can be solved to a good approximation via the Laplace’s method. This amounts to replacing the integrand with the exponential of the second order expansion of - _π/_ ( _β_ Ω <sup>_′′_</sup> _y_ <sup>_′′_</sup> _y_ <sup>(</sup> <sup>_x, y_</sup> <sup>0(</sup> <sup>_x_</sup> <sup>))</sup> <sup>the</sup> Ω( _x, y_ ) around _y_ <sup>0</sup> ( _x_ ). Thus, _p_ ( _x_ ) = _p_ ( _x, y_ <sup>0</sup> ( _x_ )) <sup>_′′_</sup> _y_ <sup>(</sup> <sup>_x, y_</sup> <sup>0(</sup> <sup>_x_</sup> <sup>))),</sup> <sup>with</sup> <sup>Ω</sup> <sup>_′′_</sup> _y_ second derivative of the free energy with respect to _y_ at the minimum. The corresponding formula for the free energy reads Ω( _x_ ) = Ω( _x, y_ <sup>0</sup> ( _x_ )) _−_ _kBT_ log - _π/_ ( _β_ Ω <sup>_′′_</sup> _y_ <sup>(</sup> <sup>_x, y_</sup> <sup>0(</sup> <sup>_x_</sup> <sup>))).</sup> The free energy is typically written with respect to a reference state, say the state associated to the global minimum of the free energy _xα_, and the relative free energy is ∆Ω( _x_ ) = (Ω( _x, y_ <sup>0</sup> ( _x_ )) _−_ Ω( _xα, y_ <sup>0</sup> ( _xα_ ))) + _kBT_ log Ω _y_ <sup>_′′_</sup> _y_ <sup>_′′_</sup> <sup>(</sup> <sup>_x, y_</sup> <sup>0(</sup> <sup>_x_</sup> <sup>))</sup> <sup>_/_</sup> <sup>Ω</sup> <sup>_′′_</sup> _y_ <sup>_′′_</sup> _y_ <sup>(</sup> <sup>_xα, y_</sup> <sup>0(</sup> <sup>_xα_</sup> <sup>)).</sup> <sup>Henceforth</sup> the relative free energy of the state is the same as the one of the two-dimensional free energy at ( _x, y_ <sup>0</sup> ( _x_ )) plus a term which is proportional to the logarithm of the second derivative of the free energy. This second term is expected to be exponentially negligible as compared to the first and goes to zero for _T_ _→_ 0. It is worth remarking that the above analysis holds true also in the case in which Ω( _x, y_ ) presents more than one minimum in _y_ at a given value of _x_ . In this case, one could divide the integral at the numerator of Eq. 13 in the sum of several integrals centered around each minimum, and each integral can be solved with the Laplace’s method. The results is <sup>_′′_</sup> _y_ <sup>(</sup> <sup>_x, y_</sup> <sup>0</sup> <sup>_,i_</sup> <sup>)</sup> <u>�</u> . Given the exponential dependence of the prob _i_ <sup>_p_</sup> <sup>(</sup> <sup>_x, y_</sup> <sup>0</sup> <sup>_,i_</sup> <sup>(</sup> <sup>_x_</sup> <sup>))</sup> <u>�</u> _β_ Ω <sup>_′′_</sup> _y_ _p_ ( _x_ ) = <sup>�</sup> _π/_ <u>�</u> _β_ Ω <sup>_′′_</sup> _y_ <sup>_′′_</sup> _y_ <sup>(</sup> <sup>_x, y_</sup> <sup>0</sup> <sup>_,∗_</sup> <sup>)</sup> <u>�</u> , where ability density function on the free energy, _p_ ( _x_ ) _≈_ _p_ ( _x, y_ <sup>0</sup> <sup>_,∗_</sup> ( _x_ )) _π/_ _y_ <sup>0</sup> <sup>_,∗_</sup> ( _x_ ) is the absolute minimum at _x_ . When two or more minima have the same probability, _π/_ <sup>_′′_</sup> _y_ <sup>(</sup> <sup>_x, y_</sup> <sup>0</sup> <sup>_,i_</sup> <sup>)</sup> <u>�</u> _i_ _p_ ( _x_ ) _≈_ _p_ ( _x, y_ <sup>0</sup> <sup>_,∗_</sup> ( _x_ )) <sup>�</sup> _i_ _p_ ( _x_ ) _≈_ _p_ ( _x, y_ <sup>0</sup> <sup>_,∗_</sup> ( _x_ )) <sup>�</sup> <u>�</u> _β_ Ω <sup>_′′_</sup> _y_ In order for the above analysis to be useful in the present work, it must be extended to the case in which the variable of which one wants to compute the marginal probability is a function of the variables of the original set, not just one element of the set. For example, the 1 CV variable set discussed in the main text, consisting of the number of particles in the control volume, can be written as the sum of the 864 collective variables of the largest CVs set. Consider first the transformation of variables ( _N_ 1 _, . . ., NnCV_ ) _→_ ( _N, N_ 2 _, . . ., NnCV_ ), with _N_ = <sup>�</sup> _i_ =1 _,nCV_ <sup>_N_</sup> _i_ <sup>.</sup> The Jacobian of this transformation is 1, which implies that _p_ ( _N, N_ 2 _, . . ., NnCV_ ) = _p_ ( _N_ 1 _, . . ., NnCV_ ). One can then use the argument of the previous paragraphs to show that Ω( _N_ ) _≈_ Ω( _N_ 1( _N_ ) _, . . ., NnCV_ ( _N_ )), where ( _N_ 1( _N_ ) _, . . ., NnCV_ ( _N_ )) is the configuration identified by the string/RMD calculation at _N_ . The above arguments prove that at low _T_ the free energy profiles with all the CVs sets should be similar (provided that they are computed along the same path). Comparison among string/restrained MD, umbrella sampling and boxed molecular dynamics In this work we have analyzed the effect of the choice of the level of coarse graining of the discretized density field on the mechanism and energetics of the wetting process performing string and RMD calculations. However, present results are not limited to the special rare event simulation technique adopted: analogous artifacts and drawbacks affect simulations performed using other techniques with the same CVs. The most used techniques for the study of wetting have been umbrella sampling (US)[45] and boxed MD (BXD);[47] in this section we perform a comparative analysis of these methods and explain why one should expect analogous problems with these techniques when using the average density in a given region as CV. US relie on an algorithm which is similar to RMD: they both consist in performing MD with an augmented potential of the form of _V_ <sup>˜</sup> ( _r_ ; _N_ ) = _V_ ( _r_ ) + _λ/_ 2 ( _φ_ ( _r_ ) _−_ _N_ ) <sup>2</sup> . However, in US the parameter _λ_ is, typically, set to much smaller values than in RMD. Thus, the system is allowed to explore a larger space as compared to RMD, in which the system visits only configurations consistent with the condition _φ_ ( _r_ ) = _N_ . In US one first computes the free energy within the range of collective variable values explored at the present value of _N_ . Then, the branches of the free energy profiles of different umbrella potentials are joined by imposing that they take the same value over the overlapping regions of CVs. More elaborate and efficient techniques exist to compute the free energy from US simulations [69] but their discussion is beyond of the scope of the present article. In the presence of morphological transitions, when a value of the CV in one or the other basin corresponds to different config urations, the hypothesis of same probability density for same value of the CV is not satisfied, which might bring to large errors in the reconstructed free-energy profile (Fig. 11(a)). In BXD there is no augmented potential, and the atoms evolve according to the physical potential _V_ ( _r_ ). However, the system is confined within a _box_ in the (single) CV space, defined by a lower and upper value of the collective variable. This box is equipped with re flecting boundary conditions, which allows to extensively sample regions of overall low proba bility. The calculation of the free energy profiles in BXD is a three-steps procedure; first, one determines the free energy difference between neighboring boxes from the rate of transition of forward and backward trajectories between them: ∆Ω _n−_ 1 _,n_ = _−kBT_ log( _kn−_ 1 _,n/kn,n−_ 1), with _kn−_ 1 _,n_ and _kn,n−_ 1 rates of transition from box _n_ to box _n−_ 1 and _vice versa_, respectively. From the complete set of ∆Ω _n−_ 1 _,n_ for all pairs of consecutive boxes one can compute the probability _pn_ that the system is within a given box. Secondly, the probability density of the CV within each box, _pn_ ( _N_ ), is computed from the histogram of the corresponding trajec tory. Thirdly, the Landau free energy is obtained from the logarithm of the total probability _p_ ( _N_ ) = _pn × pn_ ( _N_ ), i.e., _via_ Eq. 3. When the system is characterized by two disjoint initial and final basins as in Fig. 11(b), the flux of trajectories across a given interface is different if the system is in one or in the other. Indeed, also _pn_ ( _N_ ) depends on which attractive basin the system is in. Thus, also in this case, inadequate CVs may yield wrong free energy profiles. Summarizing, the error in the estimation of the free energy is not associated to a specific rare-event technique (RMD, US, BXD, etc.), rather, it depends on the choice of CVs. _∗_ matteo.amabili@uniroma1.it [1] A. Cassie and S. Baxter, Trans. Faraday Soc. 40, 546 (1944). [2] R. N. Wenzel, Ind. Eng. Chem. 28, 988 (1936). [3] J. P. Rothstein, Annu. Rev. Fluid Mech. 42, 89 (2010). [4] B. Bhushan, Y. C. Jung, and K. Koch, Langmuir 25, 3240 (2009). [5] H. Eyring, J. Chem. Phys. 3, 107 (1935). [6] M. Xu, G. Sun, and C.-J. Kim, Phys. Rev. Lett. 113, 136103 (2014). [7] M. S. Bobji, S. V. Kumar, A. Asthana, and R. N. Govardhan, Langmuir 25, 12120 (2009). [8] E. S. Savoy and F. A. Escobedo, Langmuir 28, 16080 (2012). [9] E. S. Savoy and F. A. Escobedo, Langmuir 28, 3412 (2012). [10] A. Giacomello, S. Meloni, M. Chinappi, and C. M. Casciola, Langmuir 28, 10764 (2012). [11] M. Amabili, E. Lisi, A. Giacomello, and C. M. Casciola, Soft matter 12 (2016). [12] S. Prakash, E. Xi, and A. J. Patel, P. Natl. Acad. Sci. USA, 201521753 (2016). [13] A. Giacomello, S. Meloni, M. Müller, and C. M. Casciola, J. Chem. Phys. 142, 104701 (2015). [14] A. Giacomello, M. Chinappi, S. Meloni, and C. M. Casciola, Phys. Rev. Lett. 109, 226102 (2012). [15] K. Lum, D. Chandler, and J. D. Weeks, J. Phys. Chem. B 103, 4570 (1999). [16] R. C. Remsing, E. Xi, S. Vembanur, S. Sharma, P. G. Debenedetti, S. Garde, and A. J. Patel, P. Natl. Acad. Sci. USA 112, 201503302 (2015). [17] P. G. Bolhuis, D. Chandler, C. Dellago, and P. L. Geissler, Annu. Rev. Phys. Chem. 53, 291 (2002). [18] A. Hemeda and H. V. Tafreshi, Langmuir 30, 10317 (2014). [19] Z. Zhang, H. Kim, M. Y. Ha, and J. Jang, Phys. Chem. Chem. Phys. 16, 5613 (2014). [20] N. Tretyakov, P. Papadopoulos, D. Vollmer, H.-J. Butt, B. Dünweg, and K. C. Daoulas, J. Chem. Phys. 145, 134703 (2016). [21] J. R. Panter and H. Kusumaatmaja, J. Phys.: Cond. Matter 29, 084001 (2017). [22] P. Papadopoulos, L. Mammen, X. Deng, D. Vollmer, and H.-J. Butt, P. Natl. Acad. Sci. USA 110, 3254 (2013). [23] P. Lv, Y. Xue, H. Liu, Y. Shi, P. Xi, H. Lin, and H. Duan, Langmuir 31, 1248 (2014). [24] A. Giacomello, M. Chinappi, S. Meloni, and C. M. Casciola, Phys. Rev. Lett. 109, 226102 (2012). [25] Y. Xue, P. Lv, H. Lin, and H. Duan, Appl. Mech. Rev. 68, 030803 (2016). [26] T. Verho, J. T. Korhonen, L. Sainiemi, V. Jokinen, C. Bower, K. Franze, S. Franssila, P. An drew, O. Ikkala, and R. H. Ras, P. Natl. Acad. Sci. USA 109, 10210 (2012). [27] A. Checco, B. M. Ocko, A. Rahman, C. T. Black, M. Tasinkevych, A. Giacomello, and S. Dietrich, Phys. Rev. Lett. 112, 216101 (2014). [28] K. F. Kelton and A. L. Greer, _Nucleation_ _in_ _condensed_ _matter:_ _applications_ _in_ _materials_ _and_ _biology_ (Pergamon, 2010). [29] A. J. Page and R. P. Sear, Phys. Rev. Lett. 97, 065701 (2006). [30] A. J. Page and R. P. Sear, J. Am. Chem. Soc. 131, 17550 (2009). [31] T. F. Miller, E. Vanden-Eijnden, and D. Chandler, P. Natl. Acad. Sci. USA 104, 14559 (2007). [32] M. Fuhrmans, G. Marelli, Y. G. Smirnova, and M. Müller, Chem. phys. lipids 185, 109 (2015). [33] Y. G. Smirnova, M. Fuhrmans, I. A. B. Vidal, and M. Müller, J. Phys. D Appl. Phys. 48, 343001 (2015). [34] M. Amabili, A. Giacomello, S. Meloni, and C. M. Casciola, Phys. Rev. Fluids 2, 034202 (2017). [35] V. Talanquer and D. W. Oxtoby, J. Chem. Phys. 104, 1483 (1996). [36] V. Talanquer and D. W. Oxtoby, J. Chem. Phys. 114, 2793 (2001). [37] J. F. Lutsko, J. Chem. Phys. 129, 244501 (2008). [38] S. Meloni, A. Giacomello, and C. M. Casciola, J. Chem. Phys. 145, 211802 (2016). [39] W. Ren, Langmuir 30, 2879 (2014). [40] G. Pashos, G. Kokkoris, A. Papathanasiou, and A. Boudouvis, The Journal of chemical physics 144, 034105 (2016). [41] In Ref. 13 we have discussed the importance of finite temperature effects in the wetting mech anism. In particular, we focused on different wetting paths and on the overlap of the related reaction tubes, i.e., the region of CV space where most (a prescribed fraction) of the reactive trajectories pass through. While this effect could be important also for pillared systems, the methodological aspects investigated in this work do not depend on this type of effects. In fact, their discussion would increase the complexity of the work without shedding new light on the choice of CVs discussed here. [42] L. Maragliano, A. Fischer, E. Vanden-Eijnden, and G. Ciccotti, J. Chem. Phys. 125, 024106 (2006). [43] E. Weinan, W. Ren, and E. Vanden-Eijnden, Phys. Rev. B 66, 052301 (2002). [44] L. Maragliano and E. Vanden-Eijnden, Chem. Phys. Lett. 426, 168 (2006). [45] G. M. Torrie and J. P. Valleau, J. Comp. Physics. 23, 187 (1977). [46] A. J. Patel, P. Varilly, and D. Chandler, J. Phys. Chem. B 114, 1632 (2010). [47] D. R. Glowacki, E. Paci, and D. V. Shalashilin, J. Phys. Chem. B 113, 16603 (2009). [48] C. Cottin-Bizonne, J.-L. Barrat, L. Bocquet, and E. Charlaix, Nat. Mater. 2, 237 (2003). [49] The Young contact angle is the angle formed between a flat surface and the tangent to a sessile liquid droplet deposited on it at the liquid/solid contact point. [50] M. Amabili, A. Giacomello, S. Meloni, and C. Casciola, Adv. Mater. Interf. 2 (2015). [51] G. J. Martyna, M. L. Klein, and M. Tuckerman, J. Chem. Phys. 97, 2635 (1992). [52] M. Amabili, A. Giacomello, S. Meloni, and C. Casciola, J. Phys: Condens. Mat. 29, 014003 (2016). [53] R. Evans, in _Fundamentals_ _of_ _Inhomogeneous_ _Fluids_, edited by D. Henderson (Marcel Dekker, New York, 1992) Chap. 3, pp. 85–176. [54] H. Löwen, J. Phys.: Condens. Matter 14, 11897 (2002). [55] G. Pashos, G. Kokkoris, and A. G. Boudouvis, Langmuir 31, 3059 (2015). [56] _χk_ ( _r_ ), the characteristic function, is equal to 1 if _r_ is in _k_ -th cell and 0 otherwise. _χk_ ( _r_ ) can be expressed as the product of two Heaviside step functions per Cartesian direction: _χk_ ( _r_ ) = - - _l_ = _x,y,z_ <sup>Θ(</sup> <sup>_rl_</sup> <sup>_−_</sup> <sup>_R_</sup> _l_ <sup>_k,b_</sup> <sup>)</sup> 1 _−_ Θ( _rl −_ _Rl_ <sup>_k,e_</sup> ), with _Rl_ <sup>_k,b_</sup> and _Rl_ <sup>_k,e_</sup> the _b_ egin and _e_ nd of the k-th _l_ <sup>_k,e_</sup> the _b_ egin and _e_ nd of the k-th _l_ <sup>_k,b_</sup> <sup>)</sup> _l_ ) 1 _−_ Θ( _rl −_ _R_ <sup>_k,e_</sup> �, with _Rl_ <sup>_k,b_</sup> _l_ <sup>_k,b_</sup> and _Rl_ <sup>_k,e_</sup> cell in the _l_ direction, and _rl_ the component of the particle’s position in the same direction. In practice, the Heaviside step function is replaced by a smooth approximation, in this case, a Fermi function. We have found this choice, which is consistent with the literature, [31] convenient, but others are possible. [57] Indeed, to obtain a complete understanding of the transition mechanism and kinetics one needs also the committor function _q_ _φ_ ( _N_ ), i.e. the probability that a trajectory in _φ_ ( _r_ ) = _N_ reaches the final state first. In the string method discussed in this section, which is based on the backward Kolmogorov equation, the committor function is taken into account implicitly. [58] E. Vanden-Eijnden, “Transition path theory,” in _Computer_ _Simulations_ _in_ _Condensed_ _Matter_ _Systems:_ _From_ _Materials_ _to_ _Chemical_ _Biology_ _Volume_ _1_ (Springer, 2006) pp. 453–493. [59] A. Laio, A. Rodriguez-Fortea, F. L. Gervasio, M. Ceccarelli, and M. Parrinello, J. Phys. Chem. B 109, 6714 (2005). [60] We remark that the passage from the coarse-grained density field _φ_ to the liquid volume fraction in the corrugation Φ is a non-invertible map, i.e., one has one and only one value of Φ for each value of the density field _φ_ but the opposite –that there is only one value of the density field _φ_ corresponding to the liquid volume fraction Φ– is false. In other words, the fact that there is a linear relation between the fractional arc-length, and then the associated density field _φ_, and Φ does not mean that Φ and _φ_, i.e., CVs at different level of coarse graining, are equivalent for describing the wetting process. Indeed, the observation that Φ grows monotonically with the fractional arc-length just means that the wetting process occurs with a continuous increase of volume of the liquid in the cavity, a fact that is not obvious but intuitive. [61] The marginal _p_ ( _x_ ) is the probability density function that _x_ takes a given value while _y_ takes any value. Of course the concept of marginal is not limited to the case of two random variables but can be extended to the case of any number of random variables, and refers to the event that a subset takes a given value while the rest of the variables take any value. [62] R. Swendsen and J. Wang, Phys. Rev. Lett. 57, 2607 (1986). [63] S. Orlandini, S. Meloni, and G. Ciccotti, J. Stat. Phys. 145, 812 (2011). [64] S. Orlandini, S. Meloni, and L. Colombo, Phys. Rev. B 83, 235303 (2011). [65] The transition from the initial to the final branch of the path is performed when the barrier along the _y_ direction is zero and 1 _kBT_ for _T_ = 0 tRMD and tRMD, respectively. The first condition is met at the green arrow of Fig. 6(a). The second condition occurs very close to this point. [66] It is worth remarking that there is no obvious ordering among the free energy profiles of the single variable _x_ because the value of the free energy depends on several competing factors: the value of the free energy at the constrained minima in the two basins, the associated curvature and the temperature (see also App. ). [67] We remark that similar results are present also in the 3 _×_ 3 pillar case, in which a different slope of Ω in the domain C is apparent (Fig. 5). The detailed analysis of the early stage of dewetting, which requires a fine discretization of the path with a large number of string images, was performed for the 1 _×_ 1 case which is computationally more convenient. [68] W. E, W. Ren, and E. Vanden-Eijnden, J. Chem. Phys. 126 (2007). [69] S. Kumar, J. M. Rosenberg, D. Bouzida, R. H. Swendsen, and P. A. Kollman, J. Comput. Chem. 13, 1011 (1992).

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.