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

Steady moving contact line of water over a no-slip substrate

간접 관련 필름·전자재료 · (18) VENT(방수통기 부품) (11) 배리어 필름(15) 디스플레이 패널재료

기본 정보

저자
  1. Uǧis Lācis — FLOW Centre, Department of Engineering Mechanics KTH, 100 44, Stockholm, Sweden
  2. Petter Johansson — Swedish e-Science Research Centre, Science for Life Laboratory, Department of Applied Physics KTH, 100 44, Stockholm, Sweden
  3. Tomas Fullana — Sorbonne Université and CNRS, Paris, France
  4. Berk Hess — Swedish e-Science Research Centre, Science for Life Laboratory, Department of Applied Physics KTH, 100 44, Stockholm, Sweden
  5. Gustav Amberg — FLOW Centre, Department of Engineering Mechanics KTH, 100 44, Stockholm, Sweden
  6. Shervin Bagheri — FLOW Centre, Department of Engineering Mechanics KTH, 100 44, Stockholm, Sweden
  7. Stéphane Zaleski — Sorbonne Université and CNRS, Paris, France
DOI
10.1140/epjst/e2020-900280-9
저널
The European Physical Journal Special Topics
발행년도
2020
발행기관
Springer Science+Business Media
피인용수
24
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1140/epjst/e2020-900280-9
토픽
Surface Modification and Superhydrophobicity
OpenAlex ID
W3013193771

평가 내용

관련도
간접 관련
사업분야
필름·전자재료 · (18) VENT(방수통기 부품)
부 분야
(11) 배리어 필름, (15) 디스플레이 패널재료
R&D 측면
분석·모델링
확신도
0.70
근거 용어
moving contact line, liquid coating, porous media, phase-field, volume-of-fluid
판단 근거
액체 코팅 및 다공성 매질 내 배수(drainage)와 관련된 접촉선(contact line)의 동역학을 분자 역학 및 연속체 모델로 분석하는 연구입니다.
R&D 활용 포인트
배리어 필름의 코팅 공정 최적화, 멤브레인(VENT)의 수분 투과 및 액체/기체 계면 제어 모델링, 디스플레이 패널용 소재의 표면 습윤성 제어 연구에 활용 가능합니다.
평가 입력
본문 78,058자 중 30,032자 발췌

초록

Abstract The movement of the triple contact line plays a crucial role in many applications such as ink-jet printing, liquid coating and drainage (imbibition) in porous media. To design accurate computational tools for these applications, predictive models of the moving contact line are needed. However, the basic mechanisms responsible for movement of the triple contact line are not well understood but still debated. We investigate the movement of the contact line between water, vapour and a silica-like solid surface under steady conditions in low capillary number regime. We use molecular dynamics (MD) with an atomistic water model to simulate a nanoscopic drop between two moving plates. We include hydrogen bonding between the water molecules and the solid substrate, which leads to a sub-molecular slip length. We benchmark two continuum methods, the Cahn–Hilliard phase-field (PF) model and a volume-of-fluid (VOF) model, against MD results. We show that both continuum models reproduce the statistical measures obtained from MD reasonably well, with a trade-off in accuracy. We demonstrate the importance of the phase-field mobility parameter and the local slip length in accurately modelling the moving contact line.

본문 78,058자

본문 펼치기
EPJ manuscript No. (will be inserted by the editor) ## Steady moving contact line of water over a no-slip substrate Challenges in benchmarking phase-field and volume-of-fluid methods against molecular dynamics simulations Uˇgis L¯acis <sup>1</sup> <sup>_,_</sup> <sup>a</sup>, Petter Johansson <sup>2</sup>, Tomas Fullana <sup>3</sup>, Berk Hess <sup>2</sup>, Gustav Amberg <sup>1</sup> <sup>_,_</sup> <sup>4</sup>, Shervin Bagheri <sup>1</sup>, and Stephan´e Zaleski <sup>1</sup> <sup>_,_</sup> <sup>3</sup> 1 FLOW centre, Department of Engineering Mechanics KTH, SE-100 44 Stockholm, Sweden 2 Swedish e-Science Research Centre, Science for Life Laboratory, Department of Applied Physics KTH, SE-100 44 Stockholm, Sweden 3 Sorbonne Universit´e and CNRS, France 4 S¨odertorn University, Stockholm, Sweden Abstract. The movement of the triple contact line plays a crucial role in many applications such as ink-jet printing, liquid coating and drainage (imbibition) in porous media. To design accurate computational tools for these applications, predictive models of the moving contact line are needed. However, the basic mechanisms responsible for movement of the triple contact line are not well understood but still debated. We investigate the movement of the contact line between water, vapour and a silica-like solid surface under steady conditions in low capillary number regime. We use molecular dynamics (MD) with an atomistic water model to simulate a nanoscopic drop between two moving plates. We include hydrogen bonding between the water molecules and the solid substrate, which leads to a sub-molecular slip length. We benchmark two continuum methods, the Cahn–Hilliard phase-field (PF) model and a volume-of-fluid (VOF) model, against MD results. We show that both continuum models reproduce the statistical measures obtained from MD reasonably well, with a trade-off in accuracy. We demonstrate the importance of the phase-field mobility parameter and the local slip length in accurately modelling the moving contact line. 1 Introduction The motion of a two-fluid interface contacting a flat solid surface poses a particularly difficult problem of continuum fluid mechanics. If the traditional point of view of a no-slip wall - a sharp transition between the phases and constant surface tension is to be believed, then a contradiction ensues since at the triple point or contact line the velocity is both zero and non zero [1]. Attempts to solve this paradox and make progress on the issue abound [2,3,4]. One of the most popular is the assumption of a e-mail: `ugis@mech.kth.se` 2 Will be inserted by the editor Navier slip [5], but in general all solutions to the paradox amount to the introduction of a small length scale _lµ_ below which the continuum model ceases to be valid as discussed by Voinov [6]. Cox [7] extended Voinov’s theory to arbitrary viscosity ratios and contact angles. Since then, many theoretical endeavours has been directed towards solving this problem [8,9,10,11,12,13,14,15,16,17] and the effort continues. Nevertheless, the microscopic scale physics remain somewhat mysterious as described for example in the review by T. D. Blake [18]. Indeed, and beyond the paradox described above, there are many uncertain features of the nanoscopic flow and interface shape: there is uncertainty about the value of the contact angle at the smallest scale, and about the nature of the deviation from equilibrium, the effect of molecular forces, the presence of evaporation, etc. Despite recent advancements [19], experiments have difficulty providing interface shape and velocity field data for moving contact lines below the micron scale. From the applied mathematical point of view, Navier slip regularisation leads to an approximation in which the curvature still diverges logarithmically at the contact line and to a contradiction if the velocity field is continuous [20,21]. Moreover certain fluid and surface combinations have very small slip lengths, below the nanometer scale [22,23]. In such systems, if one considers the problem at smaller and smaller scales, other molecular effects will become relevant before the slippage effects. Thus a full experimental characterisation at the nanometer scale is difficult and it very well may be that, at least for some time, only molecular dynamics (MD) “numerical experiments” will provide the insight necessary to understand which regularisation is adequate, and particularly so when the slip length is small and other effects than slip are required for a well-posed problem. However the largest possible MD simulations in three dimensions are limited in physical size to only tens of nanometers in each direction. This would make it impossible to perform asymptotic matching with numerical solutions of the Navier–Stokes equations. Indeed, in order to perform the matching over all scales necessary, the Navier–Stokes equations would have to be solved down to the nanometer scale. Moreover, for a 1 mm droplet, refining the calculation to the nanometer scale would require a range of scales of 10 <sup>6</sup>, which implies the impossible-to-attain number of 10 <sup>18</sup> grid points. Even restricting the computations to two dimensions of space, 10 <sup>12</sup> grid points sit on the borderline of currently feasible computations (and not all problems warrant the use of a supercomputer). This creates the necessity either for investigations limited to much smaller scales, technically adapted approaches to to enable the hybrid method for matching MD and Navier-Stokes solvers [24,25,26,27], or for an intermediate-scale model, between the molecular scales and the scale of the sharp-interface model. Such an intermediate scale model may be provided by the diffuse interface approach, in which the hypothesis of a sharp transition between phases is replaced by that of a smooth transition over a small length scale _ϵ_ . In the words of L. Pismen [28] “ _Mul-_ _tiscale_ _methods_ _employing_ _different_ _techniques_ _at_ _disparate_ _length_ _and_ _time_ _scales_ _is_ _the_ _only_ _feasible_ _way_ _to_ _overcome_ _the_ _scale_ _gap_ _in_ _practical_ _computations_ ”. Simultaneous usage of MD, a diffuse interface model and a sharp interface model would be an implementation of this program, with the diffuse interface approach playing a key role at the intermediate scale. In such a framework, MD would help design and define parameters for the diffuse interface model, which in turn would perform a similar service for larger scale sharp interface models. Beyond offering an intermediate scale, diffuse interface models open the possibility of regularising the contact line problem in an efficient and physically meaningful way. Indeed, together with MD, they have led to a generalisation of the Navier slip boundary condition (so called GNBC) that takes into account the “uncompensated Will be inserted by the editor 3 Fig. 1. Illustration of the two-phase forced wetting configuration. Water parameters are determined from the molecular dynamics water model, at temperature _T_ = 300 K. The vapour parameters for phase field and volume-of-fluid models are 1000 times smaller. The chosen parameters lead to capillary number Ca = 2 _µwUb/σ_ = 0 _._ 05. Young’s stress” <sup>1</sup> and makes the contact line motion problem well posed [30,31]. On the otherscales, the interface thicknesshand, diffuse interface _ϵ_ models = _β/α_ [32,33] and the diffusion lengthintroduce at least _ld_ two= <sup>_√_</sup> <u>additi</u> _µlM_ onal(the readerlength is referred to section 3 and appendix B for a presentation of the diffusion-based phasefield (PF) model parameters). The number of length scales is different, for example, for van der Waals model [34] or Cahn–Allen model [35]. Since the newly introduced length scales come in addition of the slip length _ls_ there are potentially three length scales that can play an important role in the physics of the contact line. In addition a diffuse interface model has several other parameters specifically related to the contact line: the so called contact line friction [36,32], the surface energies (that lead to the equilibrium contact angle through Young’s relation) and their spatial distribution. This makes the selection of the parameters rather difficult: there are three length scales and two or more other parameters to adjust or select. In a way, this is the price to pay to have a more realistic continuum description of the nanoscale. This motivates our choice of a physical situation where two simplifications occur: small slip and negligible evaporation. Indeed, for water on silica far from the critical point, slip is relatively small and evaporation is moderate. This situation may be reproduced using MD based on the SPC/E water model, which allows us to capture the strong hydrogen bonds between the water molecules and silica molecules on the surface [22]. Many possible application targeted configurations can be investigated, such as capillary driven flows [37] or forced wetting flows [18]. For the purpose of this work, we use a two-dimensional water drop enclosed by two moving walls, as shown in Fig. 1 at sufficiently small capillary number Ca = 2 _µwUb/σ_ = 0 _._ 05 for existence of steady state configuration [38,39]. Here, _Ub_ is wall velocity, _µw_ is water viscosity and _σ_ is surface tension. The choice of water in contact with a silica-line substrate makes the work reported here markedly different from previous MD investigations of the contact line dynamics in the same geometrical configuration [30,40,18]. The chose geometrical configuration is also known for its simplicity: it involves a symmetrical setting with identical solid walls providing us with identical two phase interfaces. Using this configuration we report on a first attempt to match MD, PF, and volumeof-fluid (VOF) simulations. By matching we mean finding the PF or VOF parameters 1 The inception of the GNBC is sometimes attributed to T. D. Blake [29], who discuss the uncompensated Young’s stress and slippage velocity in context of adsorption and desorption modelling. 4 Will be inserted by the editor (a) (b) Fig. 2. (a) Molecular view of the sheared water droplet configuration in steady regime. (b) Close up on upper and lower contact lines. The binning for measurements from MD along the _y_ axis is 0.25 nm and depicted with horizontal lines. The water slab begins in the fourth bins from the bottom and top. The coordinates of the wall atoms are marked on the right. that best reproduces the steady shape of the interface and the steady velocity field from the MD. This procedure is, as far as we know, original. Several other studies of the correspondence between the PF parameters [41] or the VOF parameters [42] and MD were performed, but not the direct attack on the contact line dynamics problem on a no-slip substrate as we suggest here. This paper is organised as follows. In section 2 we describe the MD simulations and the measurements, later used for the benchmarking of PF and VOF. Then, in section 3 we describe the PF model we use, the matching procedure to reproduce the MD results and show how does PF and MD compare. The VOF model and comparison between the VOF and MD is shown in section 4. Next, in section 5 we discuss the presented results and some open questions that remain. Finally, in section 6 we draw conclusions from this study. 2 Molecular dynamics simulations of water over silica-like substrate Molecular dynamics describes the system on a molecular level. The simulated system consists of water molecules, which interact with other water molecules as in the system as well as the substrate through a specified force field. Molecule positions and velocities are then integrated over time and the results sampled to obtain a representation of continuum variables. 2.1 Setup To represent the chosen water-vapour geometry (Fig. 1), a two-dimensional shear system with water in vacuum is created by placing a water slab between two walls, as shown in Fig. 2(a). After the initial equilibration step, some of the water molecules move to the void and essentially form a very sparse water vapour. The walls consist of rigid SiO2 molecules which are neutral electric quadrupoles. Water cannot easily Will be inserted by the editor 5 slip over this substrate due to the electrostatic interactions between water molecules, which are dipoles, and the substrate quadrupoles. Water forms _hydrogen_ _bonds_ with this substrate, a form of bond that is transient but strong enough to prohibit slip [23]. Due to the local nature of the hydrogen bonding, only one layer of the solid substrate is sufficient to capture the physics of the moving contact line. The SPC/E model is the simplest possible choice of a MD model capable of describing the hydrogen bonding. A more complex water model would improve the agreement between the physical properties of MD and real water, but would not yield fundamentally different results for contact line motion. The surface-water interaction is tuned to yield equilibrium contact angle _θ_ 0 = 97 _._ 5 <sup>_◦_</sup> . Data is collected inside bins of size 0 _._ 25 _×_ 0 _._ 25 nm <sup>2</sup> along _x_ and _y_ . These bins form a regular grid covering the entire system. The binning is visualised along the _y_ axis in Fig. 2(b). Average water molecule velocity, mass and temperature is sampled inside all bins over a period of 50 ps, after which the data is stored and the bins are reset for the next sampling period. We perform four simulations from different starting configurations. These configurations are created by generating the initial velocity field with different seeds for the random generator. Before the shear is applied each configuration is allowed to relax over a period of 100 ps. Evaporation and condensation process is a liquid surface effect and we have observed that 100 ps is sufficient to reach equilibrium vapour density. More details about the procedure are available in appendix A. 2.2 System parameters Parameters for the MD system are reported in Fig. 1. Bulk water density _ρw_, viscosity _µw_ and surface tension _σ_ are measured in separate simulations of pure water. Following Quan et al. [30] the water slip over the substrate is characterised through a friction parameter _βf_ = _µw/ls_, where _ls_ is the corresponding Navier slip length. The friction parameter _βf_ = 5 _._ 9 _µw_ nm <sup>_−_</sup> <sup>1</sup> is measured in a Couette flow setup using the boundary layer of water molecules in direct contact with the wall molecules. From this measurement, the Navier slip length _ls_ = 0 _._ 17 nm is extracted. Finally, the interface width _ϵ_ is taken as the length over which the density goes from bulk to vapour density. This change occurs over three bins, giving _ϵ_ = 0 _._ 75 nm. 2.3 Results Shear experiments consist of two stages. Once the shear is applied the water slab deforms until reaching its equilibrium (steady state). For the transient state we measure the separation _∆x_ ( _t_ ) between the upper and lower contact line positions, which begins at zero in the original slab geometry and increases to _∆xs_ ( _t_ ) in the steady state. To identify the the interface between the water phase and vapour phase, we locate the bins with a water density measurement, which is half of the bulk density. The mean (averaged between four different runs) separation for the four simulations is shown in Fig. 3(a) with solid line. The steady state is reached in 5.9 ns, after which the data has been averaged in time to obtain the final mean displacement _∆xm_ = 5 _._ 89 nm. In the steady state the slabs are characterised using the full interface shape _x_ ( _y_ ) and the flow field. We mirror the right interface along both axes and overlay it on top of the left interface. Thus the lower end represents the _receding_ contact line and the upper end the _advancing_ . The average of all interfaces from MD in the steady regime is shown in Fig. 3(b). To gain more detailed insight into the agreement between MD and continuum models, we introduce parametric coordinate _s_ as illustrated in 6 Will be inserted by the editor (a) (b) Fig. 3. (a) Shear separation _∆x_ ( _t_ ) from the four MD simulations with mean value _∆x_ = 5 _._ 89 nm in the steady regime. (b) Average interface shape in the steady state. The average is done around the midpoint, at _y_ = 25 nm. As additional measure, we extract the interface angle along the curvilinear coordinate _s_ as illustrated in (b). The interface angle from MD is shown in the inset of (a). Fig. 3(b). The interface angle _θ_ ( _s_ ) is shown in the inset of Fig. 3(a). Finally, we extract an averaged flow field from the MD runs, which we will use to discuss the agreement between MD, PF and VOF (Figs. 4, 5, 6, 7 and 10). 3 Phase-field model We consider a 2D phase-field (PF) model of a binary mixture to model two regions of different densities and viscosities. The water and vapour phases in Fig. 1 are assumed to be incompressible and the interface between the regions to be diffuse, i.e. that quantities vary smoothly over the interface. 3.1 Governing equations for the binary mixture The phase-field model introduces a phase variable _C_ ( _x, y_ ) ranging from 1 in the water phase to _−_ 1 in the vapour. The derivation of the governing equations for the phase variable can be found in [43,33]. The phase-field variable is governed by a convectiondiffusion equation in a yet undetermined flow field u as _<u>∂C</u>_ _∂t_ <sup>=</sup> <sup>_∇·_</sup> - _M_ _∇_ �� _−_ u _· ∇C ._ (1) - _βΨ_ <sup>_′_</sup> ( _C_ ) _−_ _α∇_ <sup>2</sup> _C_ The diffusive flux J _d_ = _−M_ _∇φ_ is proportional to the gradient of the chemical potential, defined as _φ_ = _βΨ_ <sup>_′_</sup> ( _C_ ) _−_ _α∇_ <sup>2</sup> _C_, with proportionality coefficient _M_, which is called the phase-field mobility. Due to the assumption of an incompressible flow, the convective flux takes the simple form J _c_ = u _·_ _∇C_ . In the chemical potential, we have two parameters _α_ and _β_, which are related to the surface tension as Will be inserted by the editor 7 _σ_ = 2 <sup>_√_</sup> 2 _αβ/_ 3 and the characteristic thickness of the diffuse interface as _ϵ_ = - _α/β_ . In addition, it contains the derivative of the standard double-well potential _Ψ_ ( _C_ ) = ( _C_ + 1) <sup>2</sup> ( _C −_ 1) <sup>2</sup> _/_ 4. The motion of the fluids is described by the incompressible Navier–Stokes equations with variable density and viscosity. We define the density and viscosity as _<u>C</u>_ <u>+ 1</u> 2 _−_ _µg_ _<u>C −</u>_ <u>1</u> and _µ_ ( _C_ ) = _µw_ 2 _<u>C −</u>_ <u>1</u> _,_ (2) 2 _ρ_ ( _C_ ) = _ρw_ _<u>C</u>_ <u>+ 1</u> 2 _−_ _ρg_ respectively. Here _ρw_ and _µw_ are the density and the viscosity of the water, and _ρg_ and _µg_ are the density and the viscosity of the vapour component. The Navier–Stokes equations then become - _∇_ u + ( _∇_ u ) <sup>_T_</sup> <sup>��</sup> + f _σ,_ (3) _ρ_ ( _C_ ) - _<u>∂</u>_ <u>u</u> _∂t_ <sup>+ (</sup> <sup>u</sup> <sup>_· ∇_</sup> <sup>)</sup> <sup>u</sup> = _−∇P_ + _∇·_ _µ_ ( _C_ ) _∇·_ u = 0 _,_ (4) where the volume force f _σ_ = _−C ∇φ_ corresponds to the surface tension force and acts over the diffuse interface region. This form of the surface tension forcing is the so called potential form [44], which uses a reduced pressure. 3.2 Boundary conditions for the phase-field model The convection-diffusion equation (1) is a fourth-order partial differential equation and requires two boundary conditions. First, we impose a non-equilibrium wetting condition [33,30,32] on the solid moving wall, (5) = _α∇C ·_ ˆ _n −_ _σ_ cos ( _θ_ 0) _g_ <sup>_′_</sup> ( _C_ ) _,_ _−_ _µf_ _ϵ_ - _<u>∂C</u>_ _∂t_ <sup>+</sup> <sup>u</sup> <sup>_· ∇C_</sup> where _µf_ is a contact line friction parameter, having the same units as bulk dynamic viscosity. Here, _θ_ 0 is the equilibrium contact angle and _g_ ( _C_ ) = 0 _._ 5 _−_ 0 _._ 75 _C_ + 0 _._ 25 _C_ <sup>3</sup> is a switching function describing a smooth transition from water to vapour. The unit normal vector _n_ ˆ is directed from the fluid to the surrounding solid, which is standard definition in numerical approaches. If one sets _µf_ = 0, the dynamic contact angle is always enforced to the equilibrium angle _θ_ 0. Non-zero contact line friction allows the dynamic contact angle to evolve naturally as a function of contact line speed. The second boundary condition for the phase function is zero diffusive flux of chemical potential through the boundaries, i.e. _∇φ ·_ ˆ _n_ = 0. On the outer sides of the domain, periodic boundary conditions are enforced. The fluid momentum equations are subject to zero wall-normal velocity, _uy_ = 0. For the tangential velocity component, we first consider the classical no-slip condition, which is equivalent to setting the fluid velocity near the moving wall to the velocity of the wall, _ux_ = _Uw_ . In this situation, the only mechanism through which the contact line can move is the diffusion of the phase-field variable. We also impose the Navier boundaryslip condition,condition _ux_ =which _Uw_ _−_ we _ls ∂_ investigate _yux_ ˆ _ny_, wherefor the _ls_ isPFthemodelNavieris theslipgeneralisedlength. TheNavierfinal boundary condition (GNBC). This boundary condition (using the friction factor _βf_ for the slip velocity [30]) takes the form (6) _βf_ ( _ux −_ _Uw_ ) = _−µ ∂yux_ ˆ _ny_ + [ _α ∂yC_ ˆ _ny −_ _σ_ cos ( _θ_ 0) _g_ <sup>_′_</sup> ( _C_ )] _∂xC_ where the second term is the uncompensated Young’s stress. We assume a constant slip length _ls_ over the whole solid surface. This leads to a friction coefficient _βf_, which varies in the same way as the liquid viscosity. The equations are implemented in a finite-element solver (for more details see appendix B). 8 Will be inserted by the editor 3.3 Comparison with molecular dynamics The PF parameters contain quantities uniquely determined from MD ( _ρw_, _µw_, _σ_, _θ_ 0, _ϵ_ ) and quantities that are less known or fully unknown ( _µf_, _M_, _ρg_ and _µg_ ). The vapour properties are not known due to the small system size, which renders any measurements from the MD outside of the liquid phase impractical. Therefore we have fixed both _ρg_ and _µg_ in the PF (and also later in the VOF) simulations as small as numerically feasible, _ρg_ = 10 <sup>_−_</sup> <sup>3</sup> _ρw_ and _µg_ = 10 <sup>_−_</sup> <sup>3</sup> _µw_, see also Fig. 1. The limiting factor for our implementation is viscosity ratio. The small density and viscosity in vapour phase is motivated by the fact that in MD there are only a handful of vapour molecules outside the water droplet (appendix A), and those consequently does not exhibit any notable stress on the liquid phase. An alternative approach could be to read off the density and viscosity data from measurements [45,46], which would yield _ρg_ = 2 _._ 64 _·_ 10 <sup>_−_</sup> <sup>5</sup> _ρw_ and _µg_ = 1 _._ 13 _·_ 10 <sup>_−_</sup> <sup>2</sup> _µw_ . We have checked that using density and viscosity from literature for PF simulations yields only minor changes and does not affect the conclusions of this study. The remaining unknown parameters ( _µf_ and _M_ ) are fitted to the MD data. The fitting procedure I, which we later refer to as “fit I”, is as follows: 1. adjust the contact line friction ( _µf_ ) individually for advancing and receding contact lines to match the MD dynamic contact angles; 2. adjust the phase-field mobility ( _M_ ) to match the MD drop displacement _∆xm_ . Results are shown in Fig. 4(a,b). There is a local error in the interface angle (Fig. 4b) near the advancing contact line. The drop displacement from PF agrees with _∆xm_ with an accuracy of 2%, which we consider a very good match. The parameters needed to arrive with the corresponding PF results along with the obtained drop displacement are listed in Tab. 1. (a) (b) Fig. 4. Results of the fitting procedure I (accurate dynamic contact angle). Steady interface shape (a) and angle distribution over the interface (b) from MD simulations and fitted PF simulations with different boundary conditions. Static contact angles for advancing and receding contact lines are indicated with dotted black lines. Will be inserted by the editor 9 <u>PF</u> <u>no-slip</u> <u>PF</u> <u>Navier-slip</u> <u>PF</u> <u>GNBC</u> <u>MD</u> _µfa/µw_ 2 _._ 5 2 _._ 8 12 _µfr/µw_ 3 _._ 0 3 _._ 3 13 Pe = _UϵL/_ ( _Mσ_ ) 0 _._ 070 0 _._ 070 0 _._ 075 _∆x_ 5 _._ 85 nm 5 _._ 87 nm 5 _._ 75 nm 5 _._ 89 nm Table 1. Summary of the obtained phase-field parameters and displacement, fit I. A 10 nm _×_ 10 nm close-ups of MD streamlines near the advancing and the receding contact lines are shown in Fig. 5(a,c), respectively. For comparison, in Fig. 5(b,d) we show 20 nm _×_ 10 nm close-ups of streamlines from PF with GNBC. We observe that PF streamlines cross the interface and extend several nanometers into the vapour. This is in contrast to the MD results and therefore the PF predictions obtained through fitting procedure I provide un-physical flow fields. The PF flow with no-slip and Navier-slip conditions show slightly worse agreement and are not reported. The extent of which PF streamlines cross from water to vapour in the PF results can be characterised with the Pe number (appendix B), quantifying the relative importance between convection and diffusion and defined as Pe = _UϵL/_ ( _Mσ_ ). From the last row in Tab. 1 we observe that all fits have resulted in a Pe which is much smaller than unity: a high diffusion regime, in contrast to the convection dominated MD data. The high diffusion leads to the many streamlines crossing the PF interface. However, if one would use a much larger Pe number (much smaller mobility) but keep other parameters the same, the MD steady state drop displacement _∆xm_ would be largely overestimated. (a) MD adv. (b) PF GNBC adv. (c) MD rec. (d) PF GNBC rec. Fig. 5. Flow field results of the fitting procedure I. Streamlines near advancing contact line (a,b) and near receding contact line (c,d) from MD simulations (a,c) over a 10 nm _×_ 10 nm patch and PF simulations with GNBC boundary condition (b,d) over 20 nm _×_ 10 nm patch. With red line, we indicate the isoline of _C_ = 0, which represents the interface. The light blue background field show the variation of the phase-field variable _C_ . To obtain a more physical flow field, we devise another fitting procedure, in which we relax the requirement on the dynamic contact angle. Fitting procedure II (“fit II”) is defined as: 1. for PF simulation with no-slip boundary conditions, we select _µf_ = _µw_ and then vary _M_ to match the drop displacement _∆xm_ observed in MD; 2. for PF simulations with Navier-slip and GNBC boundary conditions, we adjust _µf_ to match the contact angle in the final no-slip simulation, carried out in point 1. of this strategy, and then fit _M_ to match the drop displacement _∆xm_ from the MD. We carry out these fits for all considered boundary conditions. By investigating the obtained interface angle distribution (Fig. 6,a) we see that overall agreement is good, 10 Will be inserted by the editor (b) MD (c) PF No-slip (a) (d) PF Navier-slip (e) PF GNBC Fig. 6. Results of the fitting procedure II (larger error on dynamic contact angle). Angle distribution over the interface (a) from MD simulations and fitted PF simulations with different boundary conditions. Streamlines near advancing contact line (b-e) from MD simulations (b) over a 10 nm _×_ 10 nm patch and PF simulations with different boundary conditions (c-e) over 20 nm _×_ 10 nm patch. With red line, we indicate the isoline of _C_ = 0, which represents the interface. The dark blue line represents a streamline originating 0.25 nm away from the wall within the liquid drop. <u>PF</u> <u>no-slip</u> <u>PF</u> <u>Navier-slip</u> <u>PF</u> <u>GNBC</u> <u>MD</u> _µfa/µw_ 1 _._ 0 1 _._ 1 2 _._ 0 _µfr/µw_ 1 _._ 0 1 _._ 1 2 _._ 0 Pe = _UϵL/_ ( _Mσ_ ) 0 _._ 8 1 _._ 4 1 _._ 8 _∆x_ 5 _._ 84 nm 5 _._ 82 nm 5 _._ 81 nm 5 _._ 89 nm Table 2. Summary of the obtained phase-field parameters and displacement, fit II. while the local error near contact lines is increased. This difference is, however, not visible in the interface shape: practically the same agreement as presented in Fig. 4(a) is obtained. However, investigating the flow field near the advancing contact line reveals much better agreement with the MD results, although there is a small overshoot through the interface of streamlines close to the wall (for fair measurement of the overshoot, we have identified a single streamline in all the simulations, which originates 0.25 nm away from the wall within the drop). The improved agreement with the MD (and smaller overshoot of the streamlines) is due to a smaller phase-field mobility (or larger Pe number, see Tab. 2). The reduced contact line friction is the reason why it is possible to use smaller phase-field mobility. Reducing contact line friction leads to smaller displacement of the drop, which consequently allows to reduce the phase-field mobility to increase the drop displacement back to the _∆xm_ . These results suggest that as the phase-field mobility _M_ is reduced (or Pe number is increased), the flow field near contact line approaches the one observed in MD. Therefore we devise the final fitting procedure III (“fit III”), which is defined as: 1. set the contact line friction _µf_ = 0 (fixing the dynamic contact angle to the equilibrium one). This gives minimum friction at the contact line; 2. fit the phase-field mobility _M_ to obtain the drop displacement _∆xm_ . The obtained Pe numbers using fitting procedure III are given in Tab. 3. The results from PF simulations with Navier-slip boundary condition from all fitting procedures are shown in Fig. 7. For the fitting procedure III it is meaningless to use GNBC, since the GNBC is equivalent to Navier-slip boundary condition for _µf_ = 0. In Fig. 7(a) we (a) Will be inserted by the editor 11 (b) MD (c) PF Navier-slip fit I (d) PF Navier-slip fit II (e) PF Navier-slip fit III Fig. 7. Compilation of PF simulation results with Navier-slip boundary condition, including results from fit III. Same measures are reported as in Fig. 6. <u>PF</u> <u>no-slip</u> <u>PF</u> <u>Navier-slip</u> <u>MD</u> _µfa/µw_ 0 _._ 0 0 _._ 0 _µfr/µw_ 0 _._ 0 0 _._ 0 Pe = _UϵL/_ ( _Mσ_ ) 2 _._ 9 6 _._ 0 _∆x_ 5 _._ 84 nm 5 _._ 82 nm 5 _._ 89 nm Table 3. Summary of the obtained phase-field parameters and displacement, fit III. see the increasing local error of angle near the contact lines, which remains localised in a thin region near both walls. By investigating the streamlines (Fig. 7,b-e) we conclude that indeed as the PF mobility is reduced, the overshoot of the streamlines in PF is reduced and consequently the agreement with MD improves. Similar conclusion can be drawn from no-slip PF simulations. 4 Volume-of-fluid model The VOF model is known to be well-suited for solving interfacial flows. The interface between water and vapour in VOF - in contrast to the PF - is reconstructed in a sharp manner. Therefore the VOF model is a good candidate and is typically used to solve two-phase flows in macroscopic systems. In this section we investigate how accurately the model can capture the behaviour of the nanoscopic droplet. 4.1 Governing equations for the two-phase flow with VOF model In the VOF method, the fluid momentum is governed by exactly the same equations as in the PF method, namely, incompressible Navier–Stokes equations with variable density and viscosity (3–4). The difference in methods lies in three aspects. First, the governing equation for the concentration function _C_, which within VOF method is typically called volume fraction, is a convection equation _<u>∂C</u>_ _∂t_ <sup>+</sup> <sup>u</sup> <sup>_· ∇C_</sup> <sup>= 0</sup> <sup>_,_</sup> (7) 12 Will be inserted by the editor instead of the convection–diffusion equation (1) for the PF concentration. Second, the volume fraction _C_ varies from 0 in the vapour phase to 1 in the fluid phase and consequently fluid density and viscosity becomes _ρ_ ( _C_ ) = _C ρw_ + ( _C −_ 1) _ρg_ and _µ_ ( _C_ ) = _C µw_ + ( _C −_ 1) _µg,_ (8) respectively. The third difference lies in the fact that the surface tension force within the momentum equation (3) takes form f _σ_ = _σ κ δs_ ˆ _n,_ (9) where _κ_ is the local curvature of the interface, _δs_ is a discrete Dirac distribution function used to spread the surface tension force to the fluid mesh and _n_ ˆ is the normal of the two-phase interface. The curvature and interface normal are approximated using the Continuum-Surface-Force approach, which states that _κ ≈∇·_ ˆ _n_ and _n_ ˆ _≡_ <sup>_<u>∇C</u>_</sup> (10) _|∇C|_ <sup>_._</sup> The accuracy of the surface tension term is directly dependent on the accuracy of the curvature calculation. The height-function methodology is a VOF-based technique for calculating interface normals and curvatures. The interested reader can find more details on the VOF method in appendix C. 4.2 Boundary conditions for the VOF model For the VOF model used in this work, we use a similar set of boundary conditions as for the PF model. As we have two sets of unknowns (flow field and volume fraction), we need boundary conditions to determine both. Due to the fact that we are interested in steady regime only, we use a constant angle wetting condition. The angle is imposed through modification of height functions near the boundary and essentially sets the orientation of interface normal as illustrated in Fig. 8. The imposed contact angle affects the overall flow calculation in two ways. First, it defines the orientation of the VOF interface reconstruction in cells that contain the contact line and, second, it influences the calculation of the surface tension term by affecting the curvature computed in cells at and near the contact line. Fig. 8. Illustration of wetting condition employed for the VOF model. We use a constant contact angle setting that defines the normal _n_ ˆ _cl_ of the interface at the contact line. The second boundary condition is the velocity condition for the fluid flow. Although the VOF method does not allow for any diffusive transport of the contact Will be inserted by the editor 13 line, there is always some mesh dependent numerical slip of the contact line [47]. This, however, does not provide accurate control over the results, therefore the explicit specification of a boundary condition compatible with a moving contact line is desired. As we have observed from PF result comparison with MD, the Navier-slip condition alone is sufficient to match the MD results, therefore we restrict the study on VOF only on the Navier-slip condition. Furthermore, since the observed slip length from the MD is very small - recall _ls_ = 0 _._ 17 nm - we made choice to localise the slip condition in the near vicinity of the moving contact line and away from the contact line impose the wall velocity _ux_ = _Uw_ . The localised Navier-slip condition takes form _ux_ = _Uw −_ _f_ - _<u>d</u>_ _ϵb_ _ls ∂yux_ ˆ _ny._ (11) Here locality of the slip condition is enforced using the bell function �� <u>1+cos(</u> _<u>πd/ϵb</u>_ <u>)</u> �2 2 _|d| < ϵb,_ 0 _|d| ≥_ _ϵb._ (12) = _f_ - _<u>d</u>_ _ϵb_ The bell function takes as an argument the distance from the contact line _d_ = _x−xCL_ and the width of the bell function _ϵb_ . For coordinates further than _ϵb_ away from the contact line the function is set to zero to recover the no-slip condition. The wall normal velocity component is set to zero _uy_ = 0, same as in PF. For more details on implementation of the velocity condition in the VOF model, see appendix C. 4.3 Comparison with molecular dynamics To obtain results from the VOF method, we carry out a fitting procedure, described as follows. 1. Fix the width of the bell function _ϵb_ = 3 _._ 91 nm or five grid sizes in order to capture the variation of the slip length with sufficiently many points. 2. Fix the advancing and receding contact angle to _θa_ = 101 <sup>_◦_</sup> and _θr_ = 93 <sup>_◦_</sup> to represent the dynamic angle in the steady regime. 3. Adjust the magnitude of the local slip length _ls_ to match the drop displacement _∆xm_ from the MD. Note that for the wetting condition, ideally we would like impose some relationship or governing law relating contact angle and contact line velocity. However, because we are looking only at steady regime currently, we bypass the implementation of a proper dynamic contact angle model for simplicity. Using this procedure, we have found that the local slip length, which provides the best match between the VOF and the MD is _ls_ = 8 nm. In Fig. 9 we show the interface shape and interface angle comparison between the VOF, PF and MD results. From Fig. 9(a) we observe that interface shapes are practically indistinguishable. The interface angles from VOF, however, show similar local errors as the PF angles. Interestingly, for the first and last interface angle we observe a rather large jump in the VOF result, which might be an artefact of the constant contact angle imposition on the first mesh cell next to the wall. 5 Discussion 5.1 The role of the velocity boundary condition As we have observed in the results of the PF simulations, the velocity boundary condition applied to the fluid momentum equation does not seem to be important for 14 Will be inserted by the editor (a) (b) Fig. 9. Results of VOF simulations with local Navier-slip boundary condition in comparison with MD results and best PF results. Interface shape in (a) and angle distribution over the interface (b). global measures, such as the drop displacement. Regardless of the imposed boundary condition, the drop displacement can be captured correctly. Therefore, for the VOF investigations, we have focused only on local Navier-slip boundary condition. For an overview of the fluid slippage conditions used in different types of simulations carried out in this work, we provide a summary in Tab. 4. <u>PF</u> <u>no-slip</u> <u>PF</u> <u>Navier-slip</u> <u>PF</u> <u>GNBC</u> <u>VOF</u> slip in vapour phase 0 _._ 0 nm 0 _._ 17 nm 0 _._ 17 nm 0 _._ 0 nm slip in liquid phase 0 _._ 0 nm 0 _._ 17 nm 0 _._ 17 nm 0 _._ 0 nm slip at contact line 0 _._ 0 nm 0 _._ 17 nm 0 _._ 17 nm + UYS 8 _._ 0 nm CLM mechanism dif. dif., slip dif., slip slip Table 4. Summary of the simulations carried out in this work, the corresponding boundary conditions in liquid and gas phases (“UYS” stands for uncompensated Young stress), as well as the mechanism of contact line motion (CLM) - either diffusion (“dif.”), slippage (“slip”) or a combination of both. As for the interface shape, which is a more local measure, we have concluded that both benchmarked continuum models (PF and VOF) had their shortcomings and the obtained interface angle always has some local errors near contact line. Notably, the PF has been successful in describing the interface angle at the receding contact line (Fig. 4,b), but it always produced local error near the advancing contact line (for _s >_ 40 nm, Figs. 4,b; 6,a; 7,a; 9,b). The possible reasons for this disagreement could be an improperly chosen wall location as discussed in section 5.2, and/or a misalignment of physics between the MD and PF as discussed in section 5.3. Furthermore, when trying to match the interface angle as close to the MD as possible, we observe that the PF model provides non-physical flow field near the interface (Fig. 5), with streamlines crossing the interface and continuing in the vapour phase. This inaccuracy can be averted by allowing larger local errors for the interface angle (Figs. 6,a and 7,a), which then reduces the streamline crossing into the vapour phase signifi Will be inserted by the editor 15 cantly (Figs. 6,c-e and 7,c-e). Note that the local error can be only observed when plotting the interface angle (Figs. 6,a and 7,a), while the interface shape is globally indistinguishable (Fig. 4,a). The improvement of the flow field was obtained irrespective of chosen boundary condition (Fig. 6,c-e), while the choice of the boundary condition introduce minor local improvements in either the flow field (if we demand the same accuracy of local interface angle near contact line) or in the local interface angle near contact line (if we demand the same accuracy of local flow field, set by the chosen PF mobility). The reason for improved flow field is that adding more slippage (first with Navier-slip, and then with GNBC) allows us to use smaller PF mobility _M_ and consequently obtain streamlines that follow the two phase interface more accurately. For the best possible representation of the flow field, we have set the dynamic contact angle to the equilibrium values, which allowed us to use the smallest PF mobility parameter. This choice renders the GNBC condition obsolete. By comparing no-slip and Navier-slip conditions, Navier-slip has produced the most accurate streamlines with still acceptable representation of the interface shape. However, it is also possible to use the no slip condition with minor decrease of the flow field accuracy. Therefore our results indicate that the GNBC condition (or even Navier-slip condition) is not necessary for physically acceptable predictions for the flow system considered in the present work using the PF model. In addition, increase of the diffusive transport near the contact line seem to always worsen the flow field prediction, which suggests that sharp interface method could bet the best possible choice for modelling the present system. For the accurate representation of the drop displacement in the VOF, we have fixed the width of the local Navier-slip condition and adjusted the amplitude. We have observed that using one particular slip length locally near the contact line allowed us to reach exactly the same drop displacement as MD. However, similar as for PF, the interface shape has small local errors in angle (Fig. 9), while interface shapes are globally indistinguishable. 5.2 Wall location and slip condition To gain further insight into which boundary condition would be the most appropriate to model the system consisting of a water drop between two no-slip plates, we look at velocity distribution as a function of a distance from the contact line. The MD results are obtained as an average over the 4 runs centred to the moving contact line. The MD results are shown in Fig. 10 with black crosses. For comparison we show PF with Navier-slip condition, zero contact line friction _µf_ = 0 and Pe = 6, which yielded the best fit of streamlines. Sampling the velocity field along the wall (Fig. 10, red dashed) provides unsatisfactory agreement with the MD both in the near vicinity of the contact line and also deeper in the drop. However, if the sampling location is moved 0 _._ 75 nm away from the wall (Fig. 10, green dash-dotted), very good agreement is observed between MD and PF. Similar observations we have also made with the VOF method, see Fig. 10, blue dotted line, in which we present VOF results sampled 0 _._ 60 nm away from the wall. This location provides the best agreement with the PF results away from the wall and away from the contact line. Moving the sampling location up or down would yield a similar effect as demonstrated using the PF. Here, an interesting observation is that the VOF flow field seems to be less sharp compared to the PF, which probably stems from the fact that mesh resolution near the interface in VOF ( _∆sV OF_ = 0 _._ 782 nm, appendix C.1) is much coarser than the resolution of the PF model ( _∆sP F_ = 0 _._ 195 nm, appendix B.2). These observations raise two important questions about the presented benchmark. First, the Navier-slip condition - based on the slip length measured from the MD 16 Will be inserted by the editor (a) (b) 0 _._ 0 _−_ 0 _._ 2 _−_ 0 _._ 4 _−_ 0 _._ 6 _−_ 0 _._ 8 _−_ 1 _._ 0 _−_ 1 _._ 2 _−_ 1 _._ 4 _−_ 1 _._ 6 _−_ 1 _._ 8 <u>Velocity</u> <u>near</u> <u>advancing</u> <u>contact</u> <u>line</u> PF, Navier-slip, _yw_ PF, Navier-slip, _yw_ + 0 _._ 75 nm VOF, local slip, _yw_ + 0 _._ 60 nm Wall velocity MD simulations 0 5 10 15 d [nm] 0 _._ 0 _−_ 0 _._ 2 _−_ 0 _._ 4 _−_ 0 _._ 6 _−_ 0 _._ 8 _−_ 1 _._ 0 _−_ 1 _._ 2 _−_ 1 _._ 4 _−_ 1 _._ 6 _−_ 1 _._ 8 <u>Velocity</u> <u>near</u> <u>receding</u> <u>contact</u> <u>line</u> PF, Navier-slip, _yw_ PF, Navier-slip, _yw_ + 0 _._ 75 nm VOF, local slip, _yw_ + 0 _._ 60 nm Wall velocity MD simulations 0 5 10 15 d [nm] Fig. 10. Velocity near advancing (a) and receding (b) contact lines as a function of _d_ the distance from the contact line. MD results are compared with PF results (providing best streamlines) at two different vertical sampling locations. and with VOF results at one vertical sampling location. ( _ls_ = 0 _._ 17 nm) - does not seem to produce accurate slip velocity even more than 10 nm away from the contact line. This naturally leads to a question about where the solid wall in the continuum modelling viewpoint should be located, compared to the MD molecular picture (Fig. 2). The wall location is important for application of the Navier-slip condition, as displacement of the wall would cause a direct influence on the needed slip length. Previous studies [48,49] have found that the liquid structure near a solid surface exhibits layering effect, which is an additional hint to a nontrivial correspondence between continuum models and molecular reality. The velocity profile agreement at 0 _._ 75 nm distance from the wall in the continuum simulation seem to suggest that for the best agreement between MD and PF, the wall in the PF simulations should be shifted downwards by 0 _._ 75 nm corresponding to the center of the first bin in Fig. 2(a). The other option would be to use much larger slip length at the wall (larger by a factor of 4 compared to what is currently measured in the MD). The same discussion applies also to the VOF results with slightly different shift of the wall. The slip and wall location therefore remain open questions. 5.3 Diffusion of phase-field model The P´eclet number in theory exists in the MD system, because one can define a selfdiffusion or a heat diffusion coefficient. For the currently used MD water model, the self diffusivity is [22] _Dw_ = 2 _._ 3 _·_ 10 <sup>_−_</sup> <sup>9</sup> m <sup>2</sup> _/_ s _._ (13) However, the MD system has a single species and thus has no mass diffusion. By “mass diffusion” we mean that one species diffuses relative to the other, that is if you consider the mass _m_ 1 of one of the species, or its density _ρ_ 1, it obeys a diffusion equation. The PF model in the current work, on the other hand, is incompressible and consequently does not contain any state, energy or heat equation and does not model Will be inserted by the editor 17 any self diffusion. The PF model is, however, based on the diffusion of the phasefield variable _C_, see equation (1), and consequently models mass diffusion of liquid. This leads to mismatch between the parameters used in the PF model and diffusion properties determined from the MD system. The P´eclet number determined using the self diffusion of the water, relative wall velocity and height of the water drop is _Pe_ = <sup><u>2</u></sup> <sup>_<u>UwL</u>_</sup> _Dw_ = <sup><u>20</u></sup> <sup>_<u>·</u>_</sup> <sup><u>50</u></sup> <sup>_<u>·</u>_</sup> <sup><u>10</u></sup> <sup>_−_</sup> <sup>9</sup> (14) 6 _·_ 2 _._ 3 _·_ 10 <sup>_−_</sup> <sup>9</sup> <sup>= 72</sup> <sup>_._</sup> <sup>5</sup> <sup>_,_</sup> while maximum value we have been able to use in PF simulations and represent the MD results accurately is an order of magnitude smaller, i.e. _Pe_ = 6 (see Tab. 3). In our opinion, the reason we need to have a moderate _Pe_ number in the PF is twofold; (i) the _Pe_ number can not be tow small because we need to capture the phenomena of very small cross-interface mass transport (equivalent to no evaporation), but on the other hand (ii) _Pe_ number can not be too large because it also controls the amount of diffusive transport very close to the contact line and controls the finally obtained drop displacement. Nevertheless, due to differences in physical effects MD and PF capture, a perfect agreement in results should not be expected. 5.4 Density variation of diffuse interface Related to the PF diffusion, as discussed in section 5.3, another interesting question is the shape of density profile exactly at the interface. In order to gain an insight in this question, we have performed a smaller MD simulation (consisting of 10 nm _×_ 10 nm water droplet) of exactly the same water model in static conditions, i.e., between two stationary walls (appendix A). The obtained density variation at each vertical location has been centred to half of the water density and the mean has been computed between all the vertical locations and all data points in time. The result is shown in Fig. 11(a) with black crosses for 10 ps averaging window. For this time window the shift from vapor to bulk density occurs over 0 _._ 7 nm, matching the value of 0 _._ 75 nm reported in section 2.2 where the used bin sizing was 0 _._ 25 nm. What this distribution captures for the current MD water model is essentially thermal fluctuations of the water-vapour interface, as well as small scale capillary waves. Consequently, this distribution is not invariant with respect to the averaging window. We illustrate this by showing two more density distributions in Fig. 11(a). When the averaging window is increased in time, the interface has more time to fluctuate over a larger distance and consequently the interface appears more diffuse. To assess if the diffuse interface in the PF method can be quantitatively matched with the results we obtained from MD, we recall from the PF theory [43] that in the equilibrium the phase function _C_ can be expressed analytically as _C_ = tanh - _<u>x</u>_ _~~√~~_ 2 _ϵ_ _,_ (15) where _x_ is distance from the midpoint of the interface. We use this function in conjunction with the definition of the density (2), set the vapour density to zero _ρg_ = 0 and fit the _ϵ_ parameter to match the MD results with 100 ps averaging window. The obtained fit is shown in Fig. 11(b). The agreement is very good. This fit, however, does not have a direct correspondence to the PF diffuse interface, which in theory would describe a region where two liquid species are mixed an have an intermediate density. In the MD water model, however, the density profile in this interpretation is perfectly sharp, i.e., there is no region of water/water-vapour mix having intermediate density. This comparison, however, shows the potential of the PF 18 Will be inserted by the editor (a) (b) 1 _._ 0 0 _._ 8 0 _._ 6 0 _._ 4 0 _._ 2 0 _._ 0 <u>MD</u> <u>water</u> <u>density</u> <u>across</u> <u>the</u> <u>interface</u> 10 ps window 100 ps window 1 ns window _−_ 0 _._ 5 0 _._ 0 0 _._ 5 x [nm] 1 _._ 0 0 _._ 8 0 _._ 6 0 _._ 4 0 _._ 2 0 _._ 0 <u>Fitting</u> <u>tanh(x)</u> <u>to</u> <u>MD</u> <u>water</u> <u>density</u> Fitted curve 100 ps window _−_ 0 _._ 5 0 _._ 0 0 _._ 5 x [nm] Fig. 11. Density variations across the interface from MD with various averaging windows (a) and PF equilibrium fit to MD data with 100 ps averaging window. The MD data is centred at one half of the water density. model to describe the diffusiveness due to thermal fluctuations and/or capillary waves. More detailed investigations are needed to determine the extent of such applicability. For example, it is not clear how large the averaging window should be chosen and if this interpretations holds all the way down to the contact line. 6 Conclusions We have carried out simulations of steady water drop sheared between two moving plates using of MD, PF and VOF methods. The MD simulations allow us to probe the detailed physical picture of the moving contact line and also global measures such as drop displacement amplitude, interface shape and flow field. By comparing the results from PF simulations to MD we have observed that a perfect match is not possible. There is however a choice of parameters and boundary conditions which provide a reasonable approximation of MD. We observed a trade-off between accuracy of interface shape and accuracy of the flow field. The best match with respect to the flow field provided the largest error in the interface shape and vice versa. Particularly interesting conclusion from this study is that the exact boundary condition for the flow in the PF simulation does not seem to play a major role. On the other hand, we have observed that for accurate predictions there is an upper limit of the Pclet number one can employ (Pe = 6 _._ 0). This is an important insight if one considers using PF model as a substitute for nanoscale simulations, as proposed by Kronbichler and Kreiss [50]. This is also in contrast to previous drop spreading MD and PF comparisons [22], where Pe = 1400 was used. This suggests that the PF parameters analysed here are not universal and depend on whether the contact line is advanced through forced wetting or capillary spreading. We have also concluded, that the GNBC, which in the literature is proposed as a solution for the moving contact line problem, is not necessary to model the selected configuration. Based on the results from PF and MD comparison, we have decided to only investigate a localised Navier-slip boundary condition for the VOF method. With Will be inserted by the editor 19 this approach, we managed to capture the drop displacement accurately, while the interface shape had similar local errors as observed in the PF model. By comparing the bottom water layer velocity from MD with the results of PF and VOF, we have identified an interesting open question about the accuracy of the slip condition and the wall location. It is possible that from the perspective of the continuum modelling of such small systems, the wall location might play even more important role than the chosen boundary condition. We have discussed the role of diffusion in PF model and the physical phenomena it models, which is different to what happens in MD simulations, therefore a perfect agreement should not be expected. Another possible future direction would be to investigate the width of the localised Navier-slip condition in the VOF model and its influence on the agreement between VOF and MD. Furthermore, comparing the transient behaviour between the MD and continuum methods would provide additional insight into the robustness of the obtained continuum parameters. The results of this study will lay rigid foundations for continuum models of moving contact line in realistic water/no-slip substrate two phase systems. We believe that this is the essential first step towards obtaining predictive and robust moving contact line model, suitable for many real world applications. Acknowledgements U.L. and S.B. acknowledge funding from Swedish Research Council (INTERFACE center and grant nr. VR-2014-5680). S.B. acknowledges funding from Knut and Alice Wallenberg Foundation (Grant Number KAW 2016.0255). Numerical simulations were performed on resources provided by the Swedish National Infrastructure for Computing (SNIC) at PDC and HPC2N. U.L. acknowledges Dr. Minh Do-Quang for sharing his femLego code and assisting with starting up the PF simulations. All authors acknowledge INTERFACE centre for providing collaborative environment and making this project possible. U.L., B.H., G.A. and S.Z. acknowledge the participants of nawet19 workshop for stimulating and interesting discussions. Author contributions The idea of this study was conceived by S.B., S.Z., G.A., B.H. and U.L.; the paper was written by U.L., S.Z., P.J. and T.F. with feedback from all authors. MD simulations were carried out by P.J., PF simulations were carried out by U.L. and T.F. carried out VOF simulations. All authors analysed the obtained results. A Details of molecular dynamics simulations The system described in section 2 and figure 2 consists of two parts: the water slab and the moving walls. The water molecules forming the slab are modeled as SPC/E water [51]. This is a relatively cheap water model which retains important qualities of real water: the three-point structure and a dipole moment. These features gives the ability for the molecule to form hydrogen bonds with other molecules, which leads to a very low slip length ( _ls_ = 0 _._ 17 nm, which is smaller than a molecular diameter) and high surface tension. The walls are built of rigid SiO2 molecules. Partial charges _q_ Si = _−_ 2 _q_ O are set to the atoms, making the molecules overall charge neutral but with a quadrupole moment. This electrostatic interaction works with the water molecules to create the 20 Will be inserted by the editor aforementioned hydrogen bonding. The charge value _q_ O = _−_ 0 _._ 40 _e_ is used to yield the static contact angle _θ_ 0 = 97 _._ 5 <sup>_◦_</sup> . The molecules are set in an fcc (111) structure with a spacing of 0.45 nm. They are kept in the desired formation by applying harmonic restraints with spring constant _k_ = 10,000 kJ mol <sup>_−_</sup> <sup>1</sup> nm <sup>_−_</sup> <sup>2</sup> to the oxygen atoms of each molecule. The molecules are thus free to rotate in the surface normal plane. To move the walls at a desired speed we shift these restraining positions which pulls the molecules along with them while still allowing for natural thermal motion. Remaining details about the wall are described in [22]. Simulations are performed using Gromacs 2019 [52] in double precision. Atomic positions and velocities are updated using the leap-frog integrator with a time step of 2 fs. Non-bonded van der Waals interactions are treated fully up to a cutoff of 0.9 nm. Coulomb interactions are treated using PME electrostatics which interact over infinite range, including all periodic images of the system. Periodic boundary conditions are applied along _x_ and _z_ . Along the _y_ axis reflecting walls are placed at each end to contain molecules to the system, although water molecules are kept from reaching these reflecting walls by the physical SiO2 walls. A velocity rescaling thermostat is applied to the SiO2 walls to dissipate excess energy with a time scale of 10 ps and keep the system at simulation temperature _T_ = 300 K. Outside of the initial 100 ps equilibration period, the thermostat is not applied to the water molecules which can only dissipate energy by interacting with the walls through friction. The size of the full simulation domain along _x_ is 150 nm, twice that of the water slab. We have checked that the dissipation of the heat through walls is sufficient to keep the average droplet temperature near _T_ = 300 K. For evaluating the initial equilibration of the system, we have used the water vapour pressure and density from the literature [45] to compute the average number of water molecules in the vapour phase at the equilibrium, which for the current system size yield 15 _._ 2 molecules on average. This is roughly the amount we see in vapour phase after equilibration. The reason why the system equilibrates in such a short time is that the evaporation is a surface effect. Whereas a continuum model can be purely two-dimensional, a molecular system is naturally three-dimensional. A quasi-2D system is created with a system thickness of 4.667 nm in addition to the domain width and height. With this thickness, a width of 75 nm and height 50 nm, the water slab for the simulation is constructed with _∼_ 580,000 water molecules. The small simulation used to determine the water density variation over the interface (section 5.4) is modified as follows. The binning resolution has been increased from the previous 0.25 nm _×_ 0.25 nm (Fig. 2,b) to 0.025 nm _×_ 0.025 nm to smoothly capture the density variation. The data in each bin is sampled over a time interval of 10 ps and the density variations are captured from this data. The simulation is run over 32 ns to obtain sufficient sampling of the density variation, which is the average of 3200 samples. To obtain the results for larger average windows, we have combined 10 and 100 of the original samples for 100 ps and 1 ns averaging windows, respectively, in one sample. This construction does not shift the profile of each individual profile to the center position, and therefore produces more spread of the interface. Then final result is obtained from centred average of 320 and 32 samples for 100 ps and 1 ns averaging windows, respectively. B Details of phase-field simulations In this appendix, we describe in more details the non-dimensional governing equations as well as numerical implementation of these equations. Will be inserted by the editor 21 B.1 Dimensionless equations and dimensionless numbers In order to render the dimensional governing equations (1,3,4) and the corresponding boundary conditions dimensionless, we choose the relative plate velocity _U_ = 2 _Uw_, the drop height _L_ and the ration _U/L_ as characteristic scales for velocity, length and time, respectively. Under this assumption, the convection-diffusion equation for phase-field variable _C_ (1) becomes _<u>∂C</u>_ <u>3</u> _∂t_ <sup>+</sup> <sup>u</sup> <sup>_· ∇C_</sup> <sup>=</sup> 2 _~~√~~_ 2 <u>1</u> with _φ_ = _Ψ_ <sup>_′_</sup> ( _C_ ) _−_ _Cn_ Pe <sup>_∇_</sup> <sup>2</sup> <sup>_φ,_</sup> (B1) 2 _∇_ 2 _C,_ where all variables are now dimensionless. This procedure gives rise to P´eclet number and Cahn number, <sup>_<u>UϵL</u>_</sup> and _Cn_ = <sup>_<u>ϵ</u>_</sup> _Mσ_ _L_ Pe = <sup>_<u>UϵL</u>_</sup> <sup>_<u>ϵ</u>_</sup> (B2) _L_ <sup>_._</sup> The P´eclet number is quite important as it provides a measure of relative importance between convective and diffusive transport of the PF concentration function _C_ . This number we use in the main text to report the needed PF mobility values for the agreement between PF and MD, see Tabs. 1, 2 and 3. The incompressible Navier-Stokes equations (3–4) in non-dimensional form becomes - _<u>∂</u>_ <u>u</u> _∂t_ <sup>+ (</sup> <sup>u</sup> <sup>_· ∇_</sup> <sup>)</sup> <sup>u</sup> = _−∇P_ + _∇·_ _<u>C ∇φ</u>_ 2 _Cn_ Ca <sup>_,_</sup> <sup>(B3)</sup> - _∇_ u + ( _∇_ u ) <sup>_T_</sup> <sup>��</sup> <u>3</u> _−_ 2 _~~√~~_ Re _ρ_ ( _C_ ) = _−∇P_ + _∇·_ _µ_ ( _C_ ) where again all variables now are non-dimensional. During this process, two new dimensionless numbers are introduced, namely Reynolds and capillary numbers, as Re = <sup>_<u>ρwUL</u>_</sup> _µw_ and Ca = <sup>_<u>µwU</u>_</sup> _._ (B4) _σ_ The density and viscosity is normalised with respect to the parameters of water, and therefore in the dimensionless setting becomes _,_ _µ_ ( _C_ ) = <sup><u>1</u></sup> ( _C −_ 1) _,_ (B5) _ρ_ ( _C_ ) = <sup><u>1</u></sup> 2 �( _C_ + 1) _−_ _ρ_ <sup>_<u>ρ</u>_</sup> _w_ <sup>_<u>g</u>_</sup> ( _C −_ 1) 2 �( _C_ + 1) _−_ _µ_ <sup>_<u>µ</u>_</sup> _w_ <sup>_<u>g</u>_</sup> where _ρg_ and _µg_ are the density and the viscosity of the vapour part, as shown in Fig. 1. Finally, the dimensionless wetting condition becomes - _<u>∂C</u>_ _∂t_ <sup>+</sup> <sup>u</sup> <sup>_· ∇C_</sup> - = _Cn∇C ·_ ˆ _n −_ <sup><u>2</u></sup> <u>2</u> cos ( _θ_ 0) _g_ <sup>_′_</sup> ( _C_ ) _._ (B6) 3 _<u>√</u>_ _−_ _µf_ <u>2</u> _<u>√</u>_ <u>2</u> 3 <sup>Ca</sup> <sup>_Cn_</sup> _√_ Note that the numerical pre-factors 2 Note that the numerical pre-factors 2 2 _/_ 3 appearing in certain places of the dimen sional governing equation stems from relationship betweconstants _α_ and _β_ and the surface tension, i.e., _σ_ = 2 <sup>_√_</sup> <u>en th2</u> _αβ/_ e dimensional phase-field3. B.2 Numerical implementation The dimensionless governing equations introduced in the appendix B.1 are linearised, cast into the weak form and solved using a symbolic finite-element toolbox _femLego_ [53], which allows easy specification of finite-element weak form to solve. The solver 22 Will be inserted by the editor is based on finite-element package _deal.II_ and includes adaptive mesh refinement to resolve the sharp transition of phase-field variables over a thin interface [54]. Linear elements were used for the phase-field variables, while the fluid flow was resolved using Taylor-Hood elements (quadratic for velocity and linear for pressure). Mesh resolution was selected after a refinement study based on PF simulation with a no-slip condition. The final resolution selected and used for all other simulations is _∆s_ 1 = 3 _._ 125 nm far from the interface, and down to _∆s_ 2 = 0 _._ 195 nm within the interface region. Constant time step was used through the simulation as _∆t_ = 0 _._ 002 dimensionless time units. C Volume-of-fluids model In this appendix, we describe in more details the numerical implementation of the solver, the height functions employed for the VOF model, as well as the implementation of velocity boundary condition. C.1 Numerical implementation In our study of the sheared droplet system, we used the free software _Basilisk_, successor of _Gerris_, developed at the Institut Jean le Rond d’Alembert (Sorbonne Universit) [55], [56], [47], [57]. The incompressible Navier-Stokes equations are discretised using the finite volume method and are solved using second order Bell-Colella-Glaz projection scheme [58]. The solver is coupled with VOF method for interface tracking. For obtaining the solution, we have used a uniform mesh spacing of _∆s_ = 0 _._ 782 nm. C.2 Height functions Fig. 12. Construction of the 2D height-functions. The height-function methodology is a VOF-based technique for calculating interface normals and curvatures. About each interface cell, fluid “heights” are calculated by summing fluid volume in the direction most normal to the interface. In 2D, a 7 _×_ 3 stencil around an interface cell is constructed (Fig. 12) and the heights are evaluated by summing volume fractions horizontally, i.e. _hi_ = _k_ = _j_ +3 _k_ = _j−_ 3 _Ci,k∆,_ (C1) Will be inserted by the editor 23 where _∆_ is the grid spacing. The heights are then used to compute the the interface normal _n_ ˆ and the curvature _κ_ as _<u>∂</u>_ <sup>2</sup> _n_ ˆ = ( _∂xh, −_ 1) and _κ_ = (1 + ( _∂_ _<u>xx</u>_ <sup>2</sup> <sup>_<u>h</u>_</sup> (1 + ( _∂xh_ ) <sup>2</sup> ) <sup>3</sup> <sup>_/_</sup> <sup>2</sup> <sup>_,_</sup> (C2) respectively. Here, _∂xh_ and _∂xx_ <sup>2</sup> <sup>_h_</sup> <sup>are discretised using second-order central differences.</sup> C.3 Implementation of velocity boundary condition y No-Slip Slip _ls_ u _x_ = _ls_ <sup>_<u>∂</u>_</sup> <sup><u>u</u></sup> <sup>_<u>x</u>_</sup> _∂y_ _ughost_ values are imposed _u_ <sup>_i_</sup> _j_ <sup>_−_</sup> +1 <sup>1</sup> _u_ <sup>_i_</sup> _j_ <sup>_−_</sup> <sup>1</sup> <sup>_i_</sup> _j_ +1 _u_ <sup>_i_</sup> _j_ <sup>+1</sup> +1 _u_ <sup>_i_</sup> _j_ _j_ +1 _u_ <sup>_i_</sup> _j_ _u_ <sup>_i_</sup> _j_ <sup>+1</sup> u _x_ = 0 _uj_ <sup>_i−_</sup> _−_ <sup>1</sup> 1 _j_ <sup>_i−_</sup> _−_ <sup>1</sup> 1 _u_ <sup>_i_</sup> _j_ x <sup>_i_</sup> _j−_ 1 _u_ <sup>_i_</sup> _j_ <sup>+1</sup> _−_ 1 _j−_ 1 Fig. 13. Left side : velocities profiles at the solid interface for the no-slip and slip boundary conditions. Right side : 3x3 stencils with the ghost boundary layer used to impose the boundary condition. In order to impose the velocity boundary condition at the wall in the selected numerical implementation, one has to work with discretisation stencils near the solid boundary. These stencils will extend beyond beyond the wall and make use of so called ghost points (Fig 13). The stencil values outside the domain (ghost values) need to be initialised. These values are set in order to provide the discrete equivalent of the NBC as <u>] +</u> <u>u</u> _<u>x</u>_ <u>[ ]</u> + <sup><u>u</u></sup> <sup>_<u>x</u>_</sup> <sup><u>[</u></sup> <sup>_<u>ghost</u>_</sup> <sup><u>]</u></sup> <sup>_<u>−</u>_</sup> <sup><u>u</u></sup> <sup>_<u>x</u>_</sup> <sup><u>[ ]</u></sup> 2 _∆_ <u>u</u> _<u>x</u>_ <u>[</u> _<u>ghost</u>_ <u>] +</u> <u>u</u> _<u>x</u>_ <u>[ ]</u> <sup><u>]</u></sup> <sup>_<u>−</u>_</sup> <sup><u>u</u></sup> <sup>_<u>x</u>_</sup> <sup><u>[ ]</u></sup> = _Uw_ _∆_ <u>2</u> _<u>∆</u>_ _⇐⇒_ u _x_ [ _ghost_ ] = 2 _ls_ + _∆_ <sup>_Uw_</sup> <sup>+</sup> 2 <sup><u>2</u></sup> _l_ <sup>_<u>l</u>_</sup> _s_ <sup>_<u>s</u>_</sup> + <sup>_<u>−</u>_</sup> _∆_ <sup>_<u>∆</u>_</sup> <sup>u</sup> <sup>_t_</sup> <sup>[ ]</sup> <sup>_,_</sup> (C3) where u _x_ [ _ghost_ ] is the tangential velocity at the ghost cell, u _x_ [ ] is the tangential velocity of the cell inside the domain and _∆_ is the grid spacing. This implementation is used to impose the locally specified Navier-slip condition, presented in equation (11). 24 Will be inserted by the editor References 1. C. Huh and L. E. Scriven. Hydrodynamic model of steady movement of a solid/liquid/fluid contact line. _J._ _Colloid_ _Interf._ _Sci._, 35(1):85–101, 1971. 2. D. Bonn, J. Eggers, J. Indekeu, J. Meunier, and E. Rolley. Wetting and spreading. _Rev._ _Mod._ _Phys._, 81:739–805, 2009. 3. J. H. Snoeijer and B. Andreotti. Moving contact lines: scales, regimes, and dynamical transitions. _Annu._ _Rev._ _Fluid_ _Mech._, 45, 2013. 4. Y. Sui, H. Ding, and P. D. M. Spelt. Numerical Simulations of Flows with Moving Contact Lines. _Annu._ _Rev._ _Fluid_ _Mech._, 46(1):97–119, 2014. 5. C.-L. Navier. M´emoire sur les lois du mouvement des fluides. _M´emoires_ _de_ _lAcad´emie_ _Royale_ _des_ _Sciences_ _de_ _lInstitut_ _de_ _France_, 6(1823):389–440, 1823. 6. O. Voinov. Hydrodynamics of wetting. _Fluid_ _Dyn._, 11:714, 1976. 7. R. G. Cox. The dynamics of the spreading of liquids on a solid surface. Part 1. Viscous flow. _J._ _Fluid_ _Mech._, 168:169–194, 1986. 8. Y. D. Shikhmurzaev. Mathematical modeling of wetting hydrodynamics. _Fluid_ _Dyn._ _Res._, 13(1):45–64, jan 1994. 9. Y. D. Shikhmurzaev. Moving contact lines in liquid/liquid/solid systems. _J. Fluid Mech._, 334:211–249, 1997. 10. S. Kalliadasis, C. Bielarz, and G. M. Homsy. Steady free-surface thin film flows over topography. _Phys._ _Fluids_, 12(8):1889–1898, 2000. 11. J. Eggers. Hydrodynamic theory of forced dewetting. _Phys._ _Rev._ _Lett._, 93(9):094502, 2004. 12. J. C. Flitton and J. R. King. Surface-tension-driven dewetting of Newtonian and powerlaw fluids. _J._ _Eng._ _Math._, 50(2-3):241–266, 2004. 13. J. H. Snoeijer. Free-surface flows with large slopes: Beyond lubrication theory. _Phys._ _Fluids_, 18(2):021701, 2006. 14. L. M. Pismen and J. Eggers. Solvability condition for the moving contact line. _Phys._ _Rev._ _E_, 78(5):056304, 2008. 15. J. H. Snoeijer and J. Eggers. Asymptotic analysis of the dewetting rim. _Phys._ _Rev._ _E_, 82(5):056314, 2010. 16. T. S. Chan, J. H. Snoeijer, and J. Eggers. Theory of the forced wetting transition. _Phys._ _Fluids_, 24(7):072104, 2012. 17. A. Nold, L. Gonz´alez MacDowell, D. N. Sibley, B. D. Goddard, and S. Kalliadasis. The vicinity of an equilibrium three-phase contact line using density-functional theory: density profiles normal to the fluid interface. _Mol._ _Phys._, 116(17):2239–2243, 2018. 18. T. D. Blake, J.-C. Fernandez-Toledano, G. Doyen, and J. De Coninck. Forced wetting and hydrodynamic assist. _Phys._ _Fluids_, 27(11):112101–26, 2015. 19. Y. Deng, L. Chen, Q. Liu, J. Yu, and H. Wang. Nanoscale view of dewetting and coating on partially wetted solids. _J._ _Phys._ _Chem._ _Lett._, 7(10):1763–1768, 2016. 20. M. Fricke, M. K¨ohne, and D. Bothe. On the Kinematics of Contact Line Motion. _Proc._ _Appl._ _Math._ _Mech._, 18(1):e201800451–2, 2018. 21. M. Fricke, M. K¨ohne, and D. Bothe. A kinematic evolution equation for the dynamic contact angle and some consequences. _Physica_ _D:_ _Nonl._ _Phen._, 394:26–43, 2019. 22. P. Johansson, A. Carlson, and B. Hess. Water–substrate physico-chemistry in wetting dynamics. _J._ _Fluid_ _Mech._, 781:695–711, 2015. 23. P. Johansson and B. Hess. Molecular origin of contact line friction in dynamic wetting. _Phys._ _Rev._ _Fluids_, 3(7):074201, 2018. 24. N. G. Hadjiconstantinou. Hybrid atomistic–continuum formulations and the moving contact-line problem. _J._ _Comput._ _Phys._, 154(2):245–265, 1999. 25. J. Zhang, M. K. Borg, and J. M. Reese. Multiscale simulation of dynamic wetting. _Int._ _J._ _Heat_ _Mass_ _Tran._, 115:886–896, 2017. 26. E. R. Smith, P. E. Theodorakis, R. V. Craster, and O. K. Matar. Moving contact lines: Linking molecular dynamics and continuum-scale modeling. _Langmuir_, 34(42):12501– 12518, 2018. Will be inserted by the editor 25 27. M. K. Borg, D. A. Lockerby, K. Ritos, and J. M. Reese. Multiscale simulation of water flow through laboratory-scale nanotube membranes. _J._ _Membrane_ _Sci._, 567:115–126, 2018. 28. L. M. Pismen. Discussion notes on “Some dry facts about dynamic wetting”, by Y. D. Shikhmurzaev. _Eur._ _Phys._ _J._ _-_ _Spec._ _Top._, 197(1):63, 2011. 29. T. D. Blake. _Dynamic_ _Contact_ _Angles_ _and_ _Wetting_ _Kinetics_, volume 49 of _Surfactant_ _science_ _series_, chapter 5, pages 251–309. Marcel Dekker, Inc., 1993. 30. T. Qian, X.-P. Wang, and P. Sheng. Molecular scale contact line hydrodynamics of immiscible flows. _Phys._ _Rev._ _E_, 68(1):016306, 2003. 31. T. Qian, X.-P. Wang, and P. Sheng. A variational approach to moving contact line hydrodynamics. _J._ _Fluid_ _Mech._, 564:333–28, 2006. 32. A. Carlson, M. Do-Quang, and G. Amberg. Dissipation in rapid dynamic wetting. _J._ _Fluid_ _Mech._, 682:213–240, 2011. 33. D. Jacqmin. Contact-line dynamics of a diffuse fluid interface. _J. Fluid Mech._, 402:57–88, 2000. 34. T. Laurila, A. Carlson, M. Do-Quang, T. Ala-Nissila, and G. Amberg. Thermohydrodynamics of boiling in a van der Waals fluid. _Phys._ _Rev._ _E_, 85(2):026320, 2012. 35. J. J. Eggleston, G. B. McFadden, and P. W. Voorhees. A phase-field model for highly anisotropic interfacial energy. _Physica_ _D:_ _Nonl._ _Phen._, 150(1-2):91–103, 2001. 36. A. Carlson, M. Do-Quang, and G. Amberg. Modeling of dynamic wetting far from equilibrium. _Phys._ _Fluids_, 21(12):121701, 2009. 37. W. Villanueva and G. Amberg. Some generic capillary-driven flows. _Int._ _J._ _Multiphas._ _Flow_, 32(9):1072–1086, 2006. 38. D. Jacqmin. Onset of wetting failure in liquid–liquid systems. _J._ _Fluid_ _Mech._, 517:209– 228, 2004. 39. M. Sbragaglia, K. Sugiyama, and L. Biferale. Wetting failure and contact line dynamics in a Couette flow. _J._ _Fluid_ _Mech._, 614:471–493, 2008. 40. W. Ren and W. E. Boundary conditions for the moving contact line problem. _Phys._ _Fluids_, 19(2):022101, 2007. 41. P. L. Barclay and J. R. Lukes. Cahn-Hilliard mobility of fluid-fluid interfaces from molecular dynamics. _Phys._ _Fluids_, 31(9):092107, 2019. 42. H. S. H. Mohand, H. Hoang, G. Galliero, and D. Legendre. On the use of a friction model in a Volume of Fluid solver for the simulation of dynamic contact lines. _J._ _Comput._ _Phys._, 393:29–45, 2019. 43. A. Carlson. _Capillarity_ _and_ _dynamic_ _wetting_ . PhD thesis, KTH Royal Institute of Technology, 2012. 44. D. Jacqmin. Calculation of two-phase Navier–Stokes flows using phase-field modeling. _J._ _Comput._ _Phys._, 155(1):96–127, 1999. 45. Engineering ToolBox. Water Vapor and Saturation Pressure in Humid Air, 2004. [online] Available at: https://www.engineeringtoolbox.com/water-vapor-saturationpressure-air-d ~~6~~ 89.html [Accessed 5th of February, 2020]. 46. Engineering ToolBox. Gases - Dynamic Viscosity, 2014. [online] Available at: https://www.engineeringtoolbox.com/gases-absolute-dynamic-viscosity-d ~~1~~ 888.html [Accessed 5th of February, 2020]. 47. S. Afkhami, J. Buongiorno, A. Guion, S. Popinet, R. Scardovelli, and S. Zaleski. Transition in a numerical model of contact line dynamics and forced dewetting. _J._ _Comput._ _Phys._, 374, 2017. 48. I. Bitsanis, T. K. Vanderlick, M. Tirrell, and H. T. Davis. A tractable molecular theory of flow in strongly inhomogeneous fluids. _J._ _Chem._ _Phys._, 89(5):3152–3162, 1988. 49. H. Hoang and G. Galliero. Local viscosity of a fluid confined in a narrow pore. _Phys._ _Rev._ _E_, 86(2):021202, 2012. 50. M. Kronbichler and G. Kreiss. A phase-field microscale enhancement for macro models of capillary-driven contact point dynamics. _J._ _Comput._ _Multiphas._ _Flows_, 9(3):114–126, 2017. 51. H. J. C. Berendsen, J. R. Grigera, and T. P. Straatsma. The missing term in effective pair potentials. _J._ _Phys._ _Chem._, 91:6269–6271, 1987. 26 Will be inserted by the editor 52. M. J. Abraham, T. Murtola, R. Schulz, S. P´all, J. C. Smith, B. Hess, and E. Lindahl. GROMACS: High performance molecular simulations through multi-level parallelism from laptops to supercomputers. _SoftwareX_, 1-2:19–25, 2015. 53. G. Amberg, R. T¨onhardt, and C. Winkler. Finite element simulations using symbolic computing. _Math._ _Comput._ _Simulat._, 49(4-5):257–274, 1999. 54. M. Do-Quang, W. Villanueva, I. Singer-Loginova, and G. Amberg. Parallel adaptive computation of some time-dependent materials-related microstructural problems. _B._ _Pol._ _Acad._ _Sci.:_ _Tech._, 2007. 55. S. Afkhami and M. Bussmann. Height functions for applying contact angles to 2D VOF simulations. _Int._ _J._ _Numer._ _Meth._ _Fl._, 57(4):453–472, 2008. 56. S. Popinet. Numerical Models of Surface Tension. _Annu._ _Rev._ _Fluid_ _Mech._, 50(1):49–75, 2018. 57. S. Afkhami and M. Bussmann. Height functions for applying contact angles to 3D VOF simulations. _Int._ _J._ _Numer._ _Meth._ _Fl._, 61(8):827–847, 2009. 58. J. B. Bell, P. Colella, and H. M. Glaz. A second-order projection method for the incompressible Navier-Stokes equations. _J._ _Comput._ _Phys._, 85(2):257–283, 1989.

섹션 본문 153문단 · 93,796자

(제목 없음)

1The movement of the triple contact line plays a crucial role in many applications such as ink-jet printing, liquid coating and drainage (imbibition) in porous media. To design accurate computational tools for these applications, predictive models of the moving contact line are needed. However, the basic mechanisms responsible for movement of the triple contact line are not well understood but still debated. We investigate the movement of the contact line between water, vapour and a silica-like solid surface under steady conditions in low capillary number regime. We use molecular dynamics (MD) with an atomistic water model to simulate a nanoscopic drop between two moving plates. We include hydrogen bonding between the water molecules and the solid substrate, which leads to a sub-molecular slip length. We benchmark two continuum methods, the Cahn-Hilliard phase field (PF) model and a volume of fluid (VOF) model, against MD results. We show that both continuum models can reproduce the statistical measures obtained from MD reasonably well, with a trade-off in accuracy. We demonstrate the importance of the phase field mobility parameter and the local slip length.

Introduction

2The motion of a two-fluid interface contacting a flat solid surface poses a particularly difficult problem of continuum fluid mechanics. If the traditional point of view of a no-slip wall-a sharp transition between the phases and constant surface tension-is to be believed, then a contradiction ensues since at the triple point or contact line the velocity is both zero and non zero [1]. Attempts to solve this paradox and make progress on the issue abound [2,3,4]. One of the most popular is the assumption of Navier slip [5], but in general all solutions to the paradox amount to the introduction of a small length scale l µ below which the continuum model ceases to be valid a e-mail: ugis@mech.kth.se arXiv:2003.12246v1 [physics.flu-dyn] 27 Mar 2020 as discussed by Voinov [6]. Cox [7] extended Voinov's theory to arbitrary viscosity ratios and contact angles. Since then, many theoretical endeavours has been directed towards solving this problem [8,9,10,11,12,13,14,15,16,17] and the effort continues. Nevertheless, the microscopic scale physics remain somewhat mysterious as described for example in the review of [18]. Indeed, and beyond the paradox described above, there are many uncertain features of the nanoscopic flow and interface shape: there is uncertainty about the value of the contact angle at the smallest scale, and about the nature of the deviation from equilibrium, the effect of molecular forces, the presence of evaporation, etc. Despite recent advancements [19], experiments have difficulty providing interface shape and velocity field data for moving contact lines below the micron scale. From the applied mathematical point of view, Navier slip regularisation leads to an approximation in which the curvature still diverges logarithmically at the contact line and to a contradiction if the velocity field is continuous [20,21]. Moreover certain fluid and surface combinations have very small slip lengths, below the nanometer scale [22,23]. In such systems, if one considers the problem at smaller and smaller scales, other molecular effects will become relevant before the slippage effects.

3Thus a full experimental characterisation at the nanometer scale is difficult and it very well may be that, at least for some time, only molecular dynamics (MD) "numerical experiments" will provide the insight necessary to understand which regularisation is adequate, and particularly so when the slip length is small and other effects than slip are required for a well-posed problem. However the largest possible MD simulations in three dimensions are limited in physical size to only tens of nanometers in each direction. This would make it impossible to perform asymptotic matching with numerical solutions of the Navier-Stokes equations. Indeed, in order to perform the matching over all scales necessary, the Navier-Stokes equations would have to be solved down to the nanometer scale. Moreover, for a 1 mm droplet, refining the calculation to the nanometer scale would require a range of scales of 10 6 , which implies the impossible-to-attain number of 10 18 grid points. Even restricting the computations to two dimensions of space, 10 12 grid points sit on the borderline of currently feasible computations (and not all problems warrant the use of a supercomputer). This creates the necessity either for investigations limited to much smaller scales, or for an intermediate-scale model, between the molecular scales and the scale of the sharp-interface model. Such an intermediate scale model may be provided by the diffuse interface approach, in which the hypothesis of a sharp transition between phases is replaced by that of a smooth transition over a small length scale . In the words of Len Pismen [24] "Multiscale methods employing different techniques at disparate length and time scales is the only feasible way to overcome the scale gap in practical computations". Simultaneous usage of MD, a diffuse interface model and a sharp interface model would be an implementation of this program, with the diffuse interface approach playing a key role at the intermediate scale. In such a framework, MD would help design and define parameters for the diffuse interface model, which in turn would perform a similar service for larger scale sharp interface models.

4Beyond offering an intermediate scale, diffuse interface models open the possibility of regularising the contact line problem in an efficient and physically meaningful way. Indeed, together with MD, they have led to a generalisation of the Navier slip boundary condition (so called GNBC) that takes into account the "uncompensated Young's stress" 1 and makes the contact line motion problem well posed [26,27]. On the other hand, diffuse interface models [28,29] introduce at least two additional length Fig. 1. Illustration of the two-phase forced wetting configuration. Water parameters are determined from the molecular dynamics water model, at temperature T = 300 K. The vapour parameters for phase field and volume of fluid models are 1000 times smaller. The chosen parameters lead to capillary number Ca = 2µwU b /σ = 0.05. scales, the interface thickness = β/α and the diffusion length l d = √ µ l M (the reader is referred to section 3 and appendix B for a presentation of the diffusion-based phase field (PF) model parameters). The number of length scales is different, for example, for van der Waals model [30] or Cahn-Allen model [31]. Since the newly introduced length scales come in addition of the slip length l s there are potentially three length scales that can play an important role in the physics of the contact line. In addition a diffuse interface model has several other parameters specifically related to the contact line: the so called contact line friction [32,28], the surface energies (that lead to the equilibrium contact angle through Young's relation) and their spatial distribution. This makes the selection of the parameters rather difficult: there are three length scales and two or more other parameters to adjust or select. In a way, this is the price to pay to have a more realistic continuum description of the nanoscale. This motivates our choice of a physical situation where two simplifications occur: small slip and negligible evaporation. Indeed, for water on silica far from the critical point, slip is relatively small and evaporation is moderate. This situation may be reproduced using MD based on the SPC/E water model, which allows us to capture the strong hydrogen bonds between the water molecules and silica molecules on the surface [22]. Many possible application targeted configurations can be investigated, such as capillary driven flows [33] or forced wetting flows [18]. For the purpose of this work, we use a two-dimensional water drop enclosed by two moving walls, as shown in Fig. 1 at sufficiently small capillary number Ca = 2µ w U b /σ = 0.05 for existence of steady state configuration [34,35]. Here, U b is wall velocity, µ w is water viscosity and σ is surface tension. The choice of water in contact with a silica-line substrate makes the work reported here markedly different from previous MD investigations of the contact line dynamics in the same geometrical configuration [26,36,18]. The chose geometrical configuration is also known for its simplicity: it involves a symmetrical setting with identical solid walls providing us with identical two phase interfaces. Using this configuration we report on a first attempt to match MD, PF, and volume of fluid (VOF) simulations. By matching we mean finding the PF or VOF parameters that best reproduces the steady shape of the interface and the steady velocity field from the MD. This procedure is, as far as we know, original. Several other studies of the correspondence between the PF parameters and MD were performed [37] but not the direct attack on the contact line dynamics problem we suggest here. This paper is organised as follows. In section 2 we describe the MD simulations and the measurements, later used for the benchmarking of PF and VOF. Then, in section 3 we describe the PF model we use, the matching procedure to reproduce the MD results and show how does PF and MD compare. The VOF model and comparison between the VOF and MD is shown in section 4. Next, in section 5 we discuss the presented results and some open questions that remain. Finally, in section 6 we draw conclusions from this study.

52 Molecular dynamics simulations of water over silica-like substrate Molecular dynamics describes the system on a molecular level. The simulated system consists of water molecules, which interact with other water molecules as in the system as well as the substrate through a specified force field. Molecule positions and velocities are then integrated over time and the results sampled to obtain a representation of continuum variables.

Setup

6To represent the chosen water-vapour geometry (Fig. 1), a two-dimensional shear system with water in vacuum is created by placing a water slab between two walls, as shown in Fig. 2(a). After the initial equilibration step, some of the water molecules move to the void and essentially form a very sparse water vapour. The walls consist of rigid SiO 2 molecules which are neutral electric quadrupoles. Water cannot easily slip over this substrate due to the electrostatic interactions between water molecules, which are dipoles, and the substrate quadrupoles. Water forms hydrogen bonds with this substrate, a form of bond that is transient but strong enough to prohibit slip [23]. The surface-water interaction is tuned to yield equilibrium contact angle θ 0 = 97.5 • .

7Data is collected inside bins of size 0.25 × 0.25 nm 2 along x and y. These bins form a regular grid covering the entire system. The binning is visualised along the y axis in . Average water molecule velocity, mass and temperature is sampled inside all bins over a period of 50 ps, after which the data is stored and the bins are reset for the next sampling period. We perform four simulations from different starting configurations. These configurations are created by generating the initial velocity field with different seeds for the random generator. Before the shear is applied each configuration is allowed to relax over a period of 100 ps. More details about the procedure are available in appendix A.

System parameter measurements

8Parameters for the MD system are reported in Fig. 1. Bulk water density ρ w , viscosity µ w and surface tension σ are measured in separate simulations of pure water. Following Quan et al. [26] the water slip over the substrate is characterised through a friction parameter β f = µ w /l s , where l s is the corresponding Navier slip length. The friction parameter β f = 5.9 µ w nm −1 is measured in a Couette flow setup using the boundary layer of water molecules in direct contact with the wall molecules. From this measurement, the Navier slip length l s = 0.17 nm is extracted. Finally, the interface width is taken as the length over which the density goes from bulk to vapour density. This changes over a range of three bins, giving = 0.75 nm.

Results

9Shear experiments consist of two stages. Once the shear is applied the water slab deforms until reaching its equilibrium (steady) state. For the transient state we measure the separation ∆x(t) between the upper and lower contact line positions, which begins at zero in the original slab geometry and increases to x 1 in the steady state. The contact line (and liquid interface) positions are identified as the bins with a density half that of the bulk density. The mean separation for the four simulations is shown in Fig. 3(a). The steady state is reached in 5.9 ns, after which the data has been used to generate the mean result. We obtain a mean displacement ∆x = 5.87 nm.

10In the steady state the slabs are characterised using the full interface shape x(y) and the flow field. We mirror the right interface along both axes and overlay it on top of the left interface. Thus the lower end represents the receding contact line and the upper end the advancing. The average of all interfaces from MD in the steady regime is shown in Fig. 3(b). To gain more detailed insight into the agreement between MD and continuum models, we introduce parametric coordinate s as illustrated in Fig. 3(b). The interface angle θ (s) is shown in the inset of Fig. 3(a). Finally, we extract an averaged flow field from the MD runs, which we will use to discuss the agreement between MD, PF and VOF (Figs. 4, 5, 6 and 9).

Phase field model

11We consider a 2D phase field (PF) model of a binary mixture to model two regions of different densities and viscosities. The water and vapour phases in Fig. 1 are assumed to be incompressible and the interface between the regions to be diffuse, i.e. that quantities vary smoothly over the interface.

Governing equations for the binary mixture

12The phase field model introduces a phase variable C(x, y) ranging from 1 in the water phase to −1 in the vapour. The derivation of the governing equations for the phase variable can be found in [38,29]. The phase field variable is governed by a convectiondiffusion equation in a yet undetermined flow field u as

13The diffusive flux J d = −M ∇φ is proportional to the gradient of the chemical potential, defined as φ = βΨ (C) − α∇ 2 C, with proportionality coefficient M , which is called the phase field mobility. Due to the assumption of an incompressible flow, the convective flux takes the simple form J c = u · ∇C. In the chemical potential, we have two parameters α and β, which are related to the surface tension as σ = 2 √ 2αβ/3 and the characteristic thickness of the diffuse interface as = α/β. In addition, it contains the derivative of the standard double-well potential Ψ (C) = (C + 1) 2 (C − 1) 2 /4. The motion of the fluids is described by the incompressible Navier-Stokes equations with variable density and viscosity. We define the density and viscosity as

14respectively. Here ρ w and µ w are the density and the viscosity of the water, and ρ g and µ g are the density and the viscosity of the vapour component. The Navier-Stokes equations then become

15where the volume force f σ = −C ∇φ corresponds to the surface tension force and acts over the diffuse interface region. This form of the surface tension forcing is the so called potential form [39], which uses a reduced pressure.

Boundary conditions for the phase field model

16The convection-diffusion equation (1) is a fourth-order partial differential equation and requires two boundary conditions. First, we impose a non-equilibrium wetting condition [29,26,28],

17where µ f is a contact line friction parameter, having the same units as bulk dynamic viscosity, and Γ is the triple contact line between the water, vapour and solid wall.

18Here, θ 0 is the equilibrium contact angle and g (C) = 0.5−0.75C +0.25C 3 a switching function describing a smooth transition from water to vapour side. The unit normal vectorn is defined for the fluid domain and is directed into the surrounding surface.

19If one sets µ f = 0, the dynamic contact angle is always enforced to the equilibrium angle θ 0 . Non-zero contact line friction allows the dynamic contact angle to evolve naturally as a function of contact line speed. The second boundary condition for the phase function is zero diffusive flux of chemical potential through the boundaries, i.e. ∇φ ·n = 0. The fluid momentum equations are subject to zero wall-normal velocity, u y = 0. For the tangential velocity component, we first consider the classical no-slip condition, which is equivalent to setting the fluid velocity near the moving wall to the velocity of the wall, u x = U w . In this situation, the only mechanism through which the contact line can move is the diffusion of the phase field variable. We also impose the Navier slip condition, u x = U w − l s ∂ y u xny , where l s is the Navier slip length. Interestingly, it has been recently shown using basic kinematic considerations that the Navier slip condition is not the appropriate way to regularise the contact line region [21]. The final boundary condition which we investigate for the PF model is the generalised Navier boundary condition (GNBC). This boundary condition (using the friction factor β f for the slip velocity [26]) takes the form

20where the second term is the uncompensated Young's stress. We assume a constant slip length l s over the whole solid surface. This leads to a friction coefficient β f , which varies in the same way as the liquid viscosity. The equations are implemented in a finite-element solve. For more details see appendix B.

Comparison with molecular dynamics

21The PF parameters contain quantities uniquely determined from MD (ρ w , µ w , σ, θ 0 , ) and quantities that are less known or fully unknown (µ f , M , ρ g and µ g ). The vapour properties are not known due to the small system size, which renders any measurements from the MD outside of the liquid phase impractical. Therefore we have fixed both ρ g and µ g in the PF (and also later in the VOF) simulations as small as numerically feasible, ρ g = 10 −3 ρ w and µ g = 10 −3 µ w , see also Owing to the fact that we have two independent parameters to fit, we set out to find a set of parameters for PF simulations, which would agree with MD results up to the accuracy we see in the MD. The fitting procedure, later referred to fit I, is as follows:

221. Adjust the contact line friction (µ f ) individually for advancing and receding contact lines to match the MD dynamic contact angles. 2. Adjust the phase field mobility (M ) to match the MD drop displacement.

23Results are shown in Fig. 4(a,b). There is a local error in the interface angle (Fig. 4b) near the advancing contact line. The drop displacement error in comparison to MD does not exceed 2%, which we consider a very good match. The parameters needed to arrive with the corresponding phase field results are listed in Tab. 1. With red line, we illustrate the isoline of C = 0, which we use as the representation of the interface, and the blue background field show the variation of phase field variable C.

240.070 0.070 0.075 Table 1. Summary of the unknown phase field parameters obtained using fitting procedure I.

2510 nm × 10 nm close-ups of MD streamlines near the advancing and receding contact lines are shown in Fig. 4(c,e), respectively. For comparison, in Fig. 4(d,f) we show 20 nm × 10 nm close-ups of streamlines from PF with GNBC. We observe that PF streamlines cross the interface and extend several nanometers into the vapour. This is in contrast to the MD results and therefore the PF predictions obtained through fitting procedure I provide un-physical flow fields. The PF flow with no-slip and Navier-slip conditions show slightly worse agreement and are not reported. The extent of which PF streamlines cross from water to vapour in the PF results can be characterised with the Pe number (appendix B), quantifying the relative importance between convection and diffusion. From the last row in Tab. 1 we observe that all fits have resulted in a Pe which is much smaller than unity: a high diffusion regime, in contrast to the convection dominated MD data. The high diffusion leads to the many streamlines crossing the PF interface. If one would use a much larger Pe number (a smaller mobility) but keep other parameters the same, the obtained steady state drop displacement ∆x would be largely overestimated.

26To obtain a more physical flow field, we devise another fitting procedure, in which we relax the requirement on the dynamic contact angle. Fitting procedure II is defined as:

271. For no-slip simulation, we select µ f = µ w and then vary M to match the drop displacement observed in MD. 2. For Navier-slip and GNBC boundary conditions, we adjust µ f to match the contact angle in the no-slip simulation and then fit M to match the drop displacement in the MD. Table 2. Summary of the unknown phase field parameters obtained using fitting procedure II.

28We carry out these fits for all considered boundary conditions. By investigating the obtained interface angle distribution (Fig. 5,a) we see that overall agreement is good, while the local error near contact lines is increased. This difference is, however, not visible in the interface shape: practically the same agreement as presented in Fig. 4(a) is obtained. However, investigating the flow field near the advancing contact line reveals much better agreement with the MD results, although there is a small overshoot through the interface of streamlines originating from close to the wall (for fair measurement of the overshoot, we have identified a single streamline in all the simulations, which originates 0.25 nm away from the wall within the drop). The improved agreement with the MD (and smaller overshoot of the streamlines) is due to a smaller phase field mobility (or larger Pe number, see Tab. 2). The reduced contact line friction is the reason why it is possible to use smaller phase field mobility. Reducing contact line friction leads to smaller displacement of the drop, which consequently allows to reduce the phase field mobility to increase the drop displacement back to the amount measured in the MD. These results suggest that as the phase field mobility M is reduced (or Pe number is increased), the flow field near contact line approaches the one observed in MD. Therefore we devise the final fitting procedure III, which is defined as:

291. Set the contact line friction µ f = 0 (fixing the dynamic contact angle to the equilibrium one). This gives minimum friction at the contact line. 2. Fit the phase field mobility M to obtain the drop displacement observed in MD results.

30The obtained Pe numbers using fitting procedure III are given in Tab. 3. The obtained results for PF are shown in Fig. 6 along with Navier-slip results from fitting procedures I and II. For the fitting procedure III it is meaningless to use GNBC, since the GNBC is equivalent to Navier-slip boundary condition for µ f = 0. In Fig. 6(a) we see the increasing local error of angle near the contact lines, which remains localised in a thin region near both walls. By investigating the streamlines (Fig. 6,b-e) we conclude that indeed as the PF mobility is reduced, the overshoot of the streamlines in PF is reduced and consequently the agreement with MD improves. 2.9 6.0 Table 3. Summary of the unknown phase field parameters obtained using fitting procedure III.

Volume-of-fluid model

31The VOF model is known to be well-suited for solving interfacial flows. The interface between water and vapour in VOF-in contrast to the PF-is reconstructed in a sharp manner. Therefore the VOF model a good candidate and is typically used to solve two-phase flows in macroscopic systems. In this section we investigate how accurately the model can capture the behaviour of the nanoscopic droplet.

Governing equations for the two-phase flow with VOF model

32In the VOF method, the fluid momentum is governed by exactly the same equations as in the PF method, namely, incompressible Navier-Stokes equations with variable density and viscosity (3)(4). The difference in methods lies in three aspects. First, the governing equation for the concentration function C, which within VOF method is typically called volume fraction, is a convection equation

33instead of the convection-diffusion equation (1) for the PF concentration. Second, the volume fraction C varies from 0 in the vapour phase to 1 in the fluid phase and consequently fluid density and viscosity becomes ρ (C) = C ρ w + (C − 1) ρ g and µ (C) = C µ w + (C − 1) µ g ,

34respectively. The third difference lies in the fact that the surface tension force within the momentum equation (3) takes form

35where κ is the local curvature of the interface, δ s is a discrete Dirac distribution function used to spread the surface tension force to the fluid mesh andn is the normal of the two-phase interface. The curvature and interface normal are approximated using the Continuum-Surface-Force approach, which states that

36The accuracy of the surface tension term is directly dependent on the accuracy of the curvature calculation. The height-function methodology is a VOF-based technique for calculating interface normals and curvatures. The interested reader can find more details on the VOF method in appendix C.

Boundary conditions for the VOF model

37For the VOF model used in this work, we use a similar set of boundary conditions as for the PF model. As we have two sets of unknowns (flow field and volume fraction), we need boundary conditions to determine both. Due to the fact that we are interested in steady regime only, we use a constant angle wetting condition. The angle is imposed through modification of height functions near the boundary and essentially sets the orientation of interface normal as illustrated in Fig. 7. The imposed contact angle affects the overall flow calculation in two ways. First, it defines the orientation of the VOF interface reconstruction in cells that contain the contact line and, second, it influences the calculation of the surface tension term by affecting the curvature computed in cells at and near the contact line. The second boundary condition is the velocity condition for the fluid flow. Although the VOF method does not allow for any diffusive transport of the contact line, there is always some mesh dependent numerical slip of the contact line [41]. This, however, does not provide accurate control over the results, therefore the explicit specification of a boundary condition compatible with a moving contact line is desired. As we have observed from PF result comparison with MD, the Navier-slip condition alone is sufficient to match the MD results, therefore we restrict the study on VOF only on the Navier-slip condition. Furthermore, since the observed slip length from the MD is very small -recall l s = 0.17 nm -we made choice to localise the slip condition in the near vicinity of the moving contact line and away from the contact line impose the wall velocity u x = U w . The localised Navier-slip condition takes form

38Here locality of the slip condition is enforced using the bell function

39The bell function takes as an argument the distance from the contact line d = x−x CL and the width of the bell function b . For coordinates further than b away from the contact line the function is set to zero to recover the no-slip condition. The wall normal velocity component is set to zero u y = 0, same as in PF. For more details on implementation of the velocity condition in the VOF model, see appendix C.

Comparison with molecular dynamics

40To obtain results from the VOF method, we carry out a fitting procedure, described as follows.

411. Fix the width of the bell function b = 3.91 nm or five grid sizes in order to capture the variation of the slip length with sufficiently many points. 2. Fix the advancing and receding contact angle to θ a = 101 • and θ r = 93 • to represent the dynamic angle in the steady regime. 3. Adjust the magnitude of the local slip length l s to match the drop displacement from the MD.

42Note that for the wetting condition, ideally we would like impose some relationship or governing law relating contact angle and contact line velocity. However, because we are looking only at steady regime currently, we bypass the implementation of a proper dynamic contact angle model for simplicity. Interf. shape Using this procedure, we have found that the local slip length, which provides the best match between the VOF and the MD is l s = 8 nm. In Fig. 8 we show the interface shape and interface angle comparison between the VOF, PF and MD results. From Fig. 8(a) we observe that interface shapes are practically indistinguishable. The interface angles from VOF, however, show similar local errors as the PF angles. Interestingly, for the first and last interface angle we observe a rather large jump in the VOF result, which might be an artefact of the constant contact angle imposition on the first mesh cell next to the wall.

The role of the velocity boundary condition

43As we have observed in the results of the PF simulations, the velocity boundary condition applied to the fluid momentum equation does not seem to be important for global measures, such as the drop displacement. Regardless of the imposed boundary condition, the drop displacement can be captured correctly. Therefore, for the VOF investigations, we have focused only on local Navier-slip boundary condition.

44As for the interface shape, which is a more local measure, we have concluded that both benchmarked continuum models (PF and VOF) had their shortcomings and the obtained interface angle always has some local errors near contact line. Notably, the PF has been successful in describing the interface angle at the receding contact line (Fig. 4,b), but it always produced local error near the advancing contact line. However, when trying to match the interface angle as close to the MD as possible, we observe that the PF model provides non-physical flow field near the interface (Fig. 4,c-f), with streamlines crossing the interface and continuing in the vapour phase. This inaccuracy can be averted by allowing larger local errors for the interface angle (Figs. 5,a and 6,a), which then reduces the streamline crossing into the vapour phase significantly (Figs. 5,c-e and 6,c-e). Note that the local error can be only observed when plotting the interface angle (Figs. 5,a and 6,a), while the interface shape is globally indistinguishable (Fig. 4,a).

45The improvement of the flow field was obtained irrespective of chosen boundary condition (Fig. 5,c-e), while the choice of the boundary condition introduce minor local improvements in either the flow field (if we demand the same accuracy of local interface angle near contact line) or in the local interface angle near contact line (if we demand the same accuracy of local flow field, set by the chosen PF mobility). The reason for improved flow field is that adding more slippage (first with Navier-slip, and then with GNBC) allows us to use smaller PF mobility M and consequently obtain streamlines that follow the two phase interface more accurately.

46For the best possible representation of the flow field, we have set the dynamic contact angle to the equilibrium values, which allowed us to use the smallest PF mobility parameter. This choice renders the GNBC condition obsolete. By comparing no-slip and Navier-slip conditions, Navier-slip has produced the most accurate streamlines with still acceptable representation of the interface shape. However, it is also possible to use the no slip condition with minor decrease of the flow field accuracy. Therefore our results indicate that the GNBC condition (or even Navier-slip condition) is not necessary for physically acceptable predictions for the flow system considered in the present work using the PF model. In addition, increase of the diffusive transport near the contact line seem to always worsen the flow field prediction, which suggests that sharp interface method could bet the best possible choice for modelling the present system.

47For the accurate representation of the drop displacement in the VOF, we have fixed the width of the local Navier-slip condition and adjusted the amplitude. We have observed that using one particular slip length locally near the contact line allowed us to reach exactly the same drop displacement as MD. However, similar as for PF, the interface shape has small local errors in angle (Fig. 8), while interface shapes are globally indistinguishable.

Wall location and slip condition

48To gain further insight into which boundary condition would be the most appropriate to model the system consisting of a water drop between two no-slip plates, we look at velocity distribution as a function of a distance from the contact line. The MD results are obtained as an average over the 4 runs centred to the moving contact line. The MD results are shown in Fig. 9 with black crosses. For comparison we show PF with Navier-slip condition, zero contact line friction µ f = 0 and Pe = 6, which yielded the best fit of streamlines. Sampling the velocity field along the wall (Fig. 9, red dashed) provides unsatisfactory agreement with the MD both in the near vicinity of the contact line and also deeper in the drop. However, if the sampling location is moved 0.75 nm away from the wall (Fig. 9, green dashdotted), very good agreement is observed between MD and PF. Similar observations we have also made with the VOF method, see Fig. 9, blue dotted line, in which we present VOF results sampled 0.39 nm away from the wall. Moving the sampling location up or down would provide similar influence as in the PF. Here, an interesting observation is that the VOF flow field seems to be less sharp compared to the PF, which probably stems from the fact that mesh resolution near the interface in VOF (∆s V OF = 0.782 nm) is much coarser than the resolution of the PF model (∆s P F = 0.195 nm, appendix B.2).

49These observations raise two important questions about the presented benchmark. First, the Navier-slip condition-based on the slip length measured from the MD (l s = 0.17 nm)-does not seem to produce accurate slip velocity even more than 10 nm away from the contact line. This naturally leads to a question about where the solid wall in the continuum modelling viewpoint should be located, compared to the MD molecular picture (Fig. 2). The wall location is important for application of the Navier-slip condition, as displacement of the wall would cause a direct influence on the needed slip length. The velocity profile agreement at 0.75 nm distance from the wall in the continuum simulation seem to suggest that for the best agreement between MD and PF, the wall in the PF simulations should be shifted downwards by 0.75 nm corresponding to the center of the first bin in Fig. 2(a). The other option would be to use much larger slip length at the wall (larger by a factor of 4 compared to what is currently measured in the MD). The same discussion applies also to the VOF results. The slip and wall location therefore remain open questions.

Diffusion of phase field model

50The Péclet number in theory exists in the MD system, because one can define a self-diffusion or a heat diffusion coefficient. For the currently used MD water the self diffusivity is [22] D w = 2.3 · 10 −9 m 2 /s.

51However, the MD system has a single species and thus has no mass diffusion. By "mass diffusion" we mean that one species diffuses relative to the other, that is if you consider the mass m 1 of one of the species, or its density ρ 1 , it obeys a diffusion equation.

52The PF model in the current work, on the other hand, is incompressible and consequently does not contain any state, energy or heat equation and does not model any self diffusion. The PF model is, however, based on the diffusion of the phase field variable C, see equation (1), and consequently models mass diffusion of liquid. This consequently leads to mismatch between the parameters used in the PF model and diffusion properties determined from the MD system. The Péclet number determined using the self diffusion of the water, relative wall velocity and height of the water drop is P e = 2U w L D w = 20 · 50 · 10 −9 6 · 2.3 · 10 −9 = 72.5,

53while maximum value we have been able to use in PF simulations and represent the MD results accurately is an order of magnitude smaller, i.e. P e = 6 (see Tab. 3). In our opinion, the reason we need to have a moderate P e number in the PF is twofold; (i) the P e number can not be tow small because we need to capture the phenomena of very small cross-interface mass transport (equivalent to evaporation), but on the other hand (ii) P e number can not be too large because it also controls the amount of diffusive transport very close to the contact line and controls the finally obtained drop displacement. Nevertheless, due to differences in physical effects MD and PF capture, a perfect agreement in results should not be expected.

Conclusions

54We have carried out simulations of steady water drop sheared between two moving plates using of MD, PF and VOF methods. The MD simulations allow us to probe the detailed physical picture of the moving contact line and also global measures such as drop displacement amplitude, interface shape and flow field.

55By comparing the results from PF simulations to MD we have observed that a perfect match is not possible. There is however a choice of parameters and boundary conditions which provide a reasonable approximation of MD. We observed a trade-off between accuracy of interface shape and accuracy of the flow field. The best match with respect to the flow field provided the largest error in the interface shape and vice versa. Particularly interesting conclusion from this study is that the exact boundary condition for the flow in the PF simulation does not seem to play a major role. On the other hand, we have observed that for accurate predictions there is an upper limit of the Pclet number one can employ (Pe = 6.0). This is an important insight if one considers using PF model as a substitute for nanoscale simulations, as proposed by Kronbichler and Kreiss [42]. This is also in contrast to previous drop spreading MD and PF comparisons [22], where Pe = 1400 was used. This suggests that the PF parameters analysed here are not universal and depend on whether the contact line is advanced through forced wetting or capillary spreading. We have also concluded, that the GNBC, which in the literature is proposed as a solution for the moving contact line problem, is not necessary to model the selected configuration.

56Based on the results from PF and MD comparison, we have decided to only investigate a localised Navier-slip boundary condition for the VOF method. With this approach, we managed to capture the drop displacement accurately, while the interface shape had similar local errors as observed in the PF model.

57By comparing the bottom water layer velocity from MD with the results of PF and VOF, we have identified an interesting open question about the accuracy of the slip condition and the wall location. It is possible that from the perspective of the continuum modelling of such small systems, the wall location might play even more important role than the chosen boundary condition. We have discussed the role of diffusion in PF model and the physical phenomena it models, which is different to what happens in MD simulations, therefore a perfect agreement should not be expected.

58There are also aspects, which has not been investigated in the present work. Although the interface width has been set based on insight from MD results, in general more thorough look at the interface thickness influence on nanoscopic PF results could be interesting. Also, the width of the localised Navier-slip condition in the VOF model and its influence on the agreement between VOF and MD has not been investigated. Additional investigations would contain a comparison of the transient behaviour, not only the steady regime. This could be a very challenging problem, because if the steady regime is not perfectly described, then capturing the transient correctly would pose even harder restrictions. A Details of molecular dynamics simulations

59The system described in section 2 and figure 2 consists of two parts: the water slab and the moving walls. The water molecules forming the slab are modeled as SPC/E water [43]. This is a relatively cheap water model which retains important qualities of real water: the three-point structure and a dipole moment. These features gives the ability for the molecule to form hydrogen bonds with other molecules, which leads to a very low slip length (l s = 0.17 nm, which is smaller than a molecular diameter) and high surface tension.

60The walls are built of rigid SiO 2 molecules. Partial charges q Si = −2q O are set to the atoms, making the molecules overall charge neutral but with a quadrupole moment. This electrostatic interaction works with the water molecules to create the aforementioned hydrogen bonding. The charge value q O = −0.40e is used to yield the static contact angle θ 0 = 97.5 • . The molecules are set in an fcc (111) structure with a spacing of 0.45 nm. They are kept in the desired formation by applying harmonic restraints with spring constant k = 10,000 kJ mol −1 nm −2 to the oxygen atoms of each molecule. The molecules are thus free to rotate in the surface normal plane. To move the walls at a desired speed we shift these restraining positions which pulls the molecules along with them while still allowing for natural thermal motion. Remaining details about the wall are described in [22].

61Simulations are performed using Gromacs 2019 [44] in double precision. Atomic positions and velocities are updated using the leap-frog integrator with a time step of 2 fs. Non-bonded van der Waals interactions are treated fully up to a cutoff of 0.9 nm. Coulomb interactions are treated using PME electrostatics which interact over infinite range, including all periodic images of the system. Periodic boundary conditions are applied along x and z. Along the y axis reflecting walls are placed at each end to contain molecules to the system, although water molecules are kept from reaching these reflecting walls by the physical SiO 2 walls. A velocity rescaling thermostat is applied to the SiO 2 walls to dissipate excess energy with a time scale of 10 ps and keep the system at simulation temperature T = 300 K. Outside of the initial 100 ps equilibration period, the thermostat is not applied to the water molecules which can only dissipate energy by interacting with the walls through friction. The size of the full simulation domain along x is 150 nm, twice that of the water slab. Whereas a continuum model can be purely two-dimensional, a molecular system is naturally three-dimensional. A quasi-2D system is created with a system thickness of 4.667 nm in addition to the domain width and height. With this thickness, a width of 75 nm and height 50 nm, the water slab for the simulation is constructed with ∼ 580,000 water molecules.

B Details of phase field simulations

62In this appendix, we describe in more details the non-dimensional governing equations as well as numerical implementation of these equations.

B.1 Dimensionless equations and dimensionless numbers

63In order to render the dimensional governing equations (1,3,4) and the corresponding boundary conditions dimensionless, we choose the relative plate velocity U = 2 U w , the drop height L and the ration U/L as characteristic scales for velocity, length and time, respectively. Under this assumption, the convection-diffusion equation for phase field variable C (1) becomes

64where all variables are now dimensionless. This procedure gives rise to Péclet number and Cahn number,

65The Péclet number is quite important as it provides a measure of relative importance between convective and diffusive transport of the PF concentration function C. This number we use in the main text to report the needed PF mobility values for the agreement between PF and MD, see Tabs. 1, 2 and 3.

66The incompressible Navier-Stokes equations (3)(4) in non-dimensional form becomes

67where again all variables now are non-dimensional. During this process, two new dimensionless numbers are introduced, namely Reynolds and capillary numbers, as

68The density and viscosity is normalised with respect to the parameters of water, and therefore in the dimensionless setting becomes

69where ρ g and µ g are the density and the viscosity of the vapour part, as shown in Fig. 1. Finally, the dimensionless wetting condition becomes

70Note that the numerical pre-factors 2 √ 2/3 appearing in certain places of the dimensional governing equation stems from relationship between the dimensional phase field constants α and β and the surface tension, i.e., σ = 2 √ 2αβ/3.

B.2 Numerical implementation

71The dimensionless governing equations introduced in the appendix B.1 are linearised, cast into the weak form and solved using a symbolic finite-element toolbox femLego [45], which allows easy specification of finite-element weak form to solve. The solver is based on finite-element package deal.II and includes adaptive mesh refinement to resolve the sharp transition of phase field variables over a thin interface [46]. Linear elements were used for the phase field variables, while the fluid flow was resolved using Taylor-Hood elements (quadratic for velocity and linear for pressure). Mesh resolution was selected after a refinement study based on PF simulation with a no-slip condition. The final resolution selected and used for all other simulations is ∆s 1 = 3.125 nm far from the interface, and down to ∆s 2 = 0.195 nm within the interface region. Constant time step was used through the simulation as ∆t = 0.002 dimensionless time units.

C Volume of fluids

72In this appendix, we describe in more details the numerical implementation of the solver, the height functions employed for the VOF model, as well as the implementation of velocity boundary condition.

C.1 Numerical implementation

73In our study of the sheared droplet system, we used the free software Basilisk, successor of Gerris, developed at the Institut Jean le Rond d'Alembert (Sorbonne Universit) [40], [47], [41], [48]. The incompressible Navier-Stokes equations are discretised using the finite volume method and are solved using second order Bell-Colella-Glaz projection scheme [49]. The solver is coupled with VOF method for interface tracking. For obtaining the solution, we have used a uniform mesh spacing of ∆s = 0.782 nm. The height-function methodology is a VOF-based technique for calculating interface normals and curvatures. About each interface cell, fluid "heights" are calculated by summing fluid volume in the direction most normal to the interface. In 2D, a 7 × 3 stencil around an interface cell is constructed (Fig. 10) and the heights are evaluated by summing volume fractions horizontally, i.e.

C.2 Height functions

74where ∆ is the grid spacing. The heights are then used to compute the the interface normaln and the curvature κ aŝ n = (∂ x h, −1) and κ =

75respectively. Here, ∂ x h and ∂ 2 xx h are discretised using second-order central differences.

C.3 Implementation of velocity boundary condition

76In order to impose the velocity boundary condition at the wall in the selected numerical implementation, one has to work with discretisation stencils near the solid boundary. These stencils will extend beyond beyond the wall and make use of so called ghost points (Fig 11). The stencil values outside the domain (ghost values) need to be initialised. These values are set in order to provide the discrete equivalent of the NBC as

77where u x [ghost] is the tangential velocity at the ghost cell, u x [ ] is the tangential velocity of the cell inside the domain and ∆ is the grid spacing. This implementation is used to impose the locally specified Navier-slip condition, presented in equation (10).

Introduction

78The motion of a two-fluid interface contacting a flat solid surface poses a particularly difficult problem of continuum fluid mechanics. If the traditional point of view of a no-slip wall-a sharp transition between the phases and constant surface tension-is to be believed, then a contradiction ensues since at the triple point or contact line the velocity is both zero and non zero [1]. Attempts to solve this paradox and make progress on the issue abound [2,3,4]. One of the most popular is the assumption of Navier slip [5], but in general all solutions to the paradox amount to the introduction of a small length scale l µ below which the continuum model ceases to be valid a e-mail: ugis@mech.kth.se arXiv:2003.12246v1 [physics.flu-dyn] 27 Mar 2020 as discussed by Voinov [6]. Cox [7] extended Voinov's theory to arbitrary viscosity ratios and contact angles. Since then, many theoretical endeavours has been directed towards solving this problem [8,9,10,11,12,13,14,15,16,17] and the effort continues. Nevertheless, the microscopic scale physics remain somewhat mysterious as described for example in the review of [18]. Indeed, and beyond the paradox described above, there are many uncertain features of the nanoscopic flow and interface shape: there is uncertainty about the value of the contact angle at the smallest scale, and about the nature of the deviation from equilibrium, the effect of molecular forces, the presence of evaporation, etc. Despite recent advancements [19], experiments have difficulty providing interface shape and velocity field data for moving contact lines below the micron scale. From the applied mathematical point of view, Navier slip regularisation leads to an approximation in which the curvature still diverges logarithmically at the contact line and to a contradiction if the velocity field is continuous [20,21]. Moreover certain fluid and surface combinations have very small slip lengths, below the nanometer scale [22,23]. In such systems, if one considers the problem at smaller and smaller scales, other molecular effects will become relevant before the slippage effects.

79Thus a full experimental characterisation at the nanometer scale is difficult and it very well may be that, at least for some time, only molecular dynamics (MD) "numerical experiments" will provide the insight necessary to understand which regularisation is adequate, and particularly so when the slip length is small and other effects than slip are required for a well-posed problem. However the largest possible MD simulations in three dimensions are limited in physical size to only tens of nanometers in each direction. This would make it impossible to perform asymptotic matching with numerical solutions of the Navier-Stokes equations. Indeed, in order to perform the matching over all scales necessary, the Navier-Stokes equations would have to be solved down to the nanometer scale. Moreover, for a 1 mm droplet, refining the calculation to the nanometer scale would require a range of scales of 10 6 , which implies the impossible-to-attain number of 10 18 grid points. Even restricting the computations to two dimensions of space, 10 12 grid points sit on the borderline of currently feasible computations (and not all problems warrant the use of a supercomputer). This creates the necessity either for investigations limited to much smaller scales, or for an intermediate-scale model, between the molecular scales and the scale of the sharp-interface model. Such an intermediate scale model may be provided by the diffuse interface approach, in which the hypothesis of a sharp transition between phases is replaced by that of a smooth transition over a small length scale . In the words of Len Pismen [24] "Multiscale methods employing different techniques at disparate length and time scales is the only feasible way to overcome the scale gap in practical computations". Simultaneous usage of MD, a diffuse interface model and a sharp interface model would be an implementation of this program, with the diffuse interface approach playing a key role at the intermediate scale. In such a framework, MD would help design and define parameters for the diffuse interface model, which in turn would perform a similar service for larger scale sharp interface models.

80Beyond offering an intermediate scale, diffuse interface models open the possibility of regularising the contact line problem in an efficient and physically meaningful way. Indeed, together with MD, they have led to a generalisation of the Navier slip boundary condition (so called GNBC) that takes into account the "uncompensated Young's stress" 1 and makes the contact line motion problem well posed [26,27]. On the other hand, diffuse interface models [28,29] introduce at least two additional length Fig. 1. Illustration of the two-phase forced wetting configuration. Water parameters are determined from the molecular dynamics water model, at temperature T = 300 K. The vapour parameters for phase field and volume of fluid models are 1000 times smaller. The chosen parameters lead to capillary number Ca = 2µwU b /σ = 0.05. scales, the interface thickness = β/α and the diffusion length l d = √ µ l M (the reader is referred to section 3 and appendix B for a presentation of the diffusion-based phase field (PF) model parameters). The number of length scales is different, for example, for van der Waals model [30] or Cahn-Allen model [31]. Since the newly introduced length scales come in addition of the slip length l s there are potentially three length scales that can play an important role in the physics of the contact line. In addition a diffuse interface model has several other parameters specifically related to the contact line: the so called contact line friction [32,28], the surface energies (that lead to the equilibrium contact angle through Young's relation) and their spatial distribution. This makes the selection of the parameters rather difficult: there are three length scales and two or more other parameters to adjust or select. In a way, this is the price to pay to have a more realistic continuum description of the nanoscale. This motivates our choice of a physical situation where two simplifications occur: small slip and negligible evaporation. Indeed, for water on silica far from the critical point, slip is relatively small and evaporation is moderate. This situation may be reproduced using MD based on the SPC/E water model, which allows us to capture the strong hydrogen bonds between the water molecules and silica molecules on the surface [22]. Many possible application targeted configurations can be investigated, such as capillary driven flows [33] or forced wetting flows [18]. For the purpose of this work, we use a two-dimensional water drop enclosed by two moving walls, as shown in Fig. 1 at sufficiently small capillary number Ca = 2µ w U b /σ = 0.05 for existence of steady state configuration [34,35]. Here, U b is wall velocity, µ w is water viscosity and σ is surface tension. The choice of water in contact with a silica-line substrate makes the work reported here markedly different from previous MD investigations of the contact line dynamics in the same geometrical configuration [26,36,18]. The chose geometrical configuration is also known for its simplicity: it involves a symmetrical setting with identical solid walls providing us with identical two phase interfaces. Using this configuration we report on a first attempt to match MD, PF, and volume of fluid (VOF) simulations. By matching we mean finding the PF or VOF parameters that best reproduces the steady shape of the interface and the steady velocity field from the MD. This procedure is, as far as we know, original. Several other studies of the correspondence between the PF parameters and MD were performed [37] but not the direct attack on the contact line dynamics problem we suggest here. This paper is organised as follows. In section 2 we describe the MD simulations and the measurements, later used for the benchmarking of PF and VOF. Then, in section 3 we describe the PF model we use, the matching procedure to reproduce the MD results and show how does PF and MD compare. The VOF model and comparison between the VOF and MD is shown in section 4. Next, in section 5 we discuss the presented results and some open questions that remain. Finally, in section 6 we draw conclusions from this study.

812 Molecular dynamics simulations of water over silica-like substrate Molecular dynamics describes the system on a molecular level. The simulated system consists of water molecules, which interact with other water molecules as in the system as well as the substrate through a specified force field. Molecule positions and velocities are then integrated over time and the results sampled to obtain a representation of continuum variables.

Setup

82To represent the chosen water-vapour geometry (Fig. 1), a two-dimensional shear system with water in vacuum is created by placing a water slab between two walls, as shown in Fig. 2(a). After the initial equilibration step, some of the water molecules move to the void and essentially form a very sparse water vapour. The walls consist of rigid SiO 2 molecules which are neutral electric quadrupoles. Water cannot easily slip over this substrate due to the electrostatic interactions between water molecules, which are dipoles, and the substrate quadrupoles. Water forms hydrogen bonds with this substrate, a form of bond that is transient but strong enough to prohibit slip [23]. The surface-water interaction is tuned to yield equilibrium contact angle θ 0 = 97.5 • .

83Data is collected inside bins of size 0.25 × 0.25 nm 2 along x and y. These bins form a regular grid covering the entire system. The binning is visualised along the y axis in . Average water molecule velocity, mass and temperature is sampled inside all bins over a period of 50 ps, after which the data is stored and the bins are reset for the next sampling period. We perform four simulations from different starting configurations. These configurations are created by generating the initial velocity field with different seeds for the random generator. Before the shear is applied each configuration is allowed to relax over a period of 100 ps. More details about the procedure are available in appendix A.

System parameter measurements

84Parameters for the MD system are reported in Fig. 1. Bulk water density ρ w , viscosity µ w and surface tension σ are measured in separate simulations of pure water. Following Quan et al. [26] the water slip over the substrate is characterised through a friction parameter β f = µ w /l s , where l s is the corresponding Navier slip length. The friction parameter β f = 5.9 µ w nm −1 is measured in a Couette flow setup using the boundary layer of water molecules in direct contact with the wall molecules. From this measurement, the Navier slip length l s = 0.17 nm is extracted. Finally, the interface width is taken as the length over which the density goes from bulk to vapour density. This changes over a range of three bins, giving = 0.75 nm.

Results

85Shear experiments consist of two stages. Once the shear is applied the water slab deforms until reaching its equilibrium (steady) state. For the transient state we measure the separation ∆x(t) between the upper and lower contact line positions, which begins at zero in the original slab geometry and increases to x 1 in the steady state. The contact line (and liquid interface) positions are identified as the bins with a density half that of the bulk density. The mean separation for the four simulations is shown in Fig. 3(a). The steady state is reached in 5.9 ns, after which the data has been used to generate the mean result. We obtain a mean displacement ∆x = 5.87 nm.

86In the steady state the slabs are characterised using the full interface shape x(y) and the flow field. We mirror the right interface along both axes and overlay it on top of the left interface. Thus the lower end represents the receding contact line and the upper end the advancing. The average of all interfaces from MD in the steady regime is shown in Fig. 3(b). To gain more detailed insight into the agreement between MD and continuum models, we introduce parametric coordinate s as illustrated in Fig. 3(b). The interface angle θ (s) is shown in the inset of Fig. 3(a). Finally, we extract an averaged flow field from the MD runs, which we will use to discuss the agreement between MD, PF and VOF (Figs. 4, 5, 6 and 9).

Phase field model

87We consider a 2D phase field (PF) model of a binary mixture to model two regions of different densities and viscosities. The water and vapour phases in Fig. 1 are assumed to be incompressible and the interface between the regions to be diffuse, i.e. that quantities vary smoothly over the interface.

Governing equations for the binary mixture

88The phase field model introduces a phase variable C(x, y) ranging from 1 in the water phase to −1 in the vapour. The derivation of the governing equations for the phase variable can be found in [38,29]. The phase field variable is governed by a convectiondiffusion equation in a yet undetermined flow field u as

89The diffusive flux J d = −M ∇φ is proportional to the gradient of the chemical potential, defined as φ = βΨ (C) − α∇ 2 C, with proportionality coefficient M , which is called the phase field mobility. Due to the assumption of an incompressible flow, the convective flux takes the simple form J c = u · ∇C. In the chemical potential, we have two parameters α and β, which are related to the surface tension as σ = 2 √ 2αβ/3 and the characteristic thickness of the diffuse interface as = α/β. In addition, it contains the derivative of the standard double-well potential Ψ (C) = (C + 1) 2 (C − 1) 2 /4. The motion of the fluids is described by the incompressible Navier-Stokes equations with variable density and viscosity. We define the density and viscosity as

90respectively. Here ρ w and µ w are the density and the viscosity of the water, and ρ g and µ g are the density and the viscosity of the vapour component. The Navier-Stokes equations then become

91where the volume force f σ = −C ∇φ corresponds to the surface tension force and acts over the diffuse interface region. This form of the surface tension forcing is the so called potential form [39], which uses a reduced pressure.

Boundary conditions for the phase field model

92The convection-diffusion equation (1) is a fourth-order partial differential equation and requires two boundary conditions. First, we impose a non-equilibrium wetting condition [29,26,28],

93where µ f is a contact line friction parameter, having the same units as bulk dynamic viscosity, and Γ is the triple contact line between the water, vapour and solid wall.

94Here, θ 0 is the equilibrium contact angle and g (C) = 0.5−0.75C +0.25C 3 a switching function describing a smooth transition from water to vapour side. The unit normal vectorn is defined for the fluid domain and is directed into the surrounding surface.

95If one sets µ f = 0, the dynamic contact angle is always enforced to the equilibrium angle θ 0 . Non-zero contact line friction allows the dynamic contact angle to evolve naturally as a function of contact line speed. The second boundary condition for the phase function is zero diffusive flux of chemical potential through the boundaries, i.e. ∇φ ·n = 0. The fluid momentum equations are subject to zero wall-normal velocity, u y = 0. For the tangential velocity component, we first consider the classical no-slip condition, which is equivalent to setting the fluid velocity near the moving wall to the velocity of the wall, u x = U w . In this situation, the only mechanism through which the contact line can move is the diffusion of the phase field variable. We also impose the Navier slip condition, u x = U w − l s ∂ y u xny , where l s is the Navier slip length. Interestingly, it has been recently shown using basic kinematic considerations that the Navier slip condition is not the appropriate way to regularise the contact line region [21]. The final boundary condition which we investigate for the PF model is the generalised Navier boundary condition (GNBC). This boundary condition (using the friction factor β f for the slip velocity [26]) takes the form

96where the second term is the uncompensated Young's stress. We assume a constant slip length l s over the whole solid surface. This leads to a friction coefficient β f , which varies in the same way as the liquid viscosity. The equations are implemented in a finite-element solve. For more details see appendix B.

Comparison with molecular dynamics

97The PF parameters contain quantities uniquely determined from MD (ρ w , µ w , σ, θ 0 , ) and quantities that are less known or fully unknown (µ f , M , ρ g and µ g ). The vapour properties are not known due to the small system size, which renders any measurements from the MD outside of the liquid phase impractical. Therefore we have fixed both ρ g and µ g in the PF (and also later in the VOF) simulations as small as numerically feasible, ρ g = 10 −3 ρ w and µ g = 10 −3 µ w , see also Owing to the fact that we have two independent parameters to fit, we set out to find a set of parameters for PF simulations, which would agree with MD results up to the accuracy we see in the MD. The fitting procedure, later referred to fit I, is as follows:

981. Adjust the contact line friction (µ f ) individually for advancing and receding contact lines to match the MD dynamic contact angles. 2. Adjust the phase field mobility (M ) to match the MD drop displacement.

99Results are shown in Fig. 4(a,b). There is a local error in the interface angle (Fig. 4b) near the advancing contact line. The drop displacement error in comparison to MD does not exceed 2%, which we consider a very good match. The parameters needed to arrive with the corresponding phase field results are listed in Tab. 1. With red line, we illustrate the isoline of C = 0, which we use as the representation of the interface, and the blue background field show the variation of phase field variable C.

1000.070 0.070 0.075 Table 1. Summary of the unknown phase field parameters obtained using fitting procedure I.

10110 nm × 10 nm close-ups of MD streamlines near the advancing and receding contact lines are shown in Fig. 4(c,e), respectively. For comparison, in Fig. 4(d,f) we show 20 nm × 10 nm close-ups of streamlines from PF with GNBC. We observe that PF streamlines cross the interface and extend several nanometers into the vapour. This is in contrast to the MD results and therefore the PF predictions obtained through fitting procedure I provide un-physical flow fields. The PF flow with no-slip and Navier-slip conditions show slightly worse agreement and are not reported. The extent of which PF streamlines cross from water to vapour in the PF results can be characterised with the Pe number (appendix B), quantifying the relative importance between convection and diffusion. From the last row in Tab. 1 we observe that all fits have resulted in a Pe which is much smaller than unity: a high diffusion regime, in contrast to the convection dominated MD data. The high diffusion leads to the many streamlines crossing the PF interface. If one would use a much larger Pe number (a smaller mobility) but keep other parameters the same, the obtained steady state drop displacement ∆x would be largely overestimated.

102To obtain a more physical flow field, we devise another fitting procedure, in which we relax the requirement on the dynamic contact angle. Fitting procedure II is defined as:

1031. For no-slip simulation, we select µ f = µ w and then vary M to match the drop displacement observed in MD. 2. For Navier-slip and GNBC boundary conditions, we adjust µ f to match the contact angle in the no-slip simulation and then fit M to match the drop displacement in the MD. Table 2. Summary of the unknown phase field parameters obtained using fitting procedure II.

104We carry out these fits for all considered boundary conditions. By investigating the obtained interface angle distribution (Fig. 5,a) we see that overall agreement is good, while the local error near contact lines is increased. This difference is, however, not visible in the interface shape: practically the same agreement as presented in Fig. 4(a) is obtained. However, investigating the flow field near the advancing contact line reveals much better agreement with the MD results, although there is a small overshoot through the interface of streamlines originating from close to the wall (for fair measurement of the overshoot, we have identified a single streamline in all the simulations, which originates 0.25 nm away from the wall within the drop). The improved agreement with the MD (and smaller overshoot of the streamlines) is due to a smaller phase field mobility (or larger Pe number, see Tab. 2). The reduced contact line friction is the reason why it is possible to use smaller phase field mobility. Reducing contact line friction leads to smaller displacement of the drop, which consequently allows to reduce the phase field mobility to increase the drop displacement back to the amount measured in the MD. These results suggest that as the phase field mobility M is reduced (or Pe number is increased), the flow field near contact line approaches the one observed in MD. Therefore we devise the final fitting procedure III, which is defined as:

1051. Set the contact line friction µ f = 0 (fixing the dynamic contact angle to the equilibrium one). This gives minimum friction at the contact line. 2. Fit the phase field mobility M to obtain the drop displacement observed in MD results.

106The obtained Pe numbers using fitting procedure III are given in Tab. 3. The obtained results for PF are shown in Fig. 6 along with Navier-slip results from fitting procedures I and II. For the fitting procedure III it is meaningless to use GNBC, since the GNBC is equivalent to Navier-slip boundary condition for µ f = 0. In Fig. 6(a) we see the increasing local error of angle near the contact lines, which remains localised in a thin region near both walls. By investigating the streamlines (Fig. 6,b-e) we conclude that indeed as the PF mobility is reduced, the overshoot of the streamlines in PF is reduced and consequently the agreement with MD improves. 2.9 6.0 Table 3. Summary of the unknown phase field parameters obtained using fitting procedure III.

Volume-of-fluid model

107The VOF model is known to be well-suited for solving interfacial flows. The interface between water and vapour in VOF-in contrast to the PF-is reconstructed in a sharp manner. Therefore the VOF model a good candidate and is typically used to solve two-phase flows in macroscopic systems. In this section we investigate how accurately the model can capture the behaviour of the nanoscopic droplet.

Governing equations for the two-phase flow with VOF model

108In the VOF method, the fluid momentum is governed by exactly the same equations as in the PF method, namely, incompressible Navier-Stokes equations with variable density and viscosity (3)(4). The difference in methods lies in three aspects. First, the governing equation for the concentration function C, which within VOF method is typically called volume fraction, is a convection equation

109instead of the convection-diffusion equation (1) for the PF concentration. Second, the volume fraction C varies from 0 in the vapour phase to 1 in the fluid phase and consequently fluid density and viscosity becomes ρ (C) = C ρ w + (C − 1) ρ g and µ (C) = C µ w + (C − 1) µ g ,

110respectively. The third difference lies in the fact that the surface tension force within the momentum equation (3) takes form

111where κ is the local curvature of the interface, δ s is a discrete Dirac distribution function used to spread the surface tension force to the fluid mesh andn is the normal of the two-phase interface. The curvature and interface normal are approximated using the Continuum-Surface-Force approach, which states that

112The accuracy of the surface tension term is directly dependent on the accuracy of the curvature calculation. The height-function methodology is a VOF-based technique for calculating interface normals and curvatures. The interested reader can find more details on the VOF method in appendix C.

Boundary conditions for the VOF model

113For the VOF model used in this work, we use a similar set of boundary conditions as for the PF model. As we have two sets of unknowns (flow field and volume fraction), we need boundary conditions to determine both. Due to the fact that we are interested in steady regime only, we use a constant angle wetting condition. The angle is imposed through modification of height functions near the boundary and essentially sets the orientation of interface normal as illustrated in Fig. 7. The imposed contact angle affects the overall flow calculation in two ways. First, it defines the orientation of the VOF interface reconstruction in cells that contain the contact line and, second, it influences the calculation of the surface tension term by affecting the curvature computed in cells at and near the contact line. The second boundary condition is the velocity condition for the fluid flow. Although the VOF method does not allow for any diffusive transport of the contact line, there is always some mesh dependent numerical slip of the contact line [41]. This, however, does not provide accurate control over the results, therefore the explicit specification of a boundary condition compatible with a moving contact line is desired. As we have observed from PF result comparison with MD, the Navier-slip condition alone is sufficient to match the MD results, therefore we restrict the study on VOF only on the Navier-slip condition. Furthermore, since the observed slip length from the MD is very small -recall l s = 0.17 nm -we made choice to localise the slip condition in the near vicinity of the moving contact line and away from the contact line impose the wall velocity u x = U w . The localised Navier-slip condition takes form

114Here locality of the slip condition is enforced using the bell function

115The bell function takes as an argument the distance from the contact line d = x−x CL and the width of the bell function b . For coordinates further than b away from the contact line the function is set to zero to recover the no-slip condition. The wall normal velocity component is set to zero u y = 0, same as in PF. For more details on implementation of the velocity condition in the VOF model, see appendix C.

Comparison with molecular dynamics

116To obtain results from the VOF method, we carry out a fitting procedure, described as follows.

1171. Fix the width of the bell function b = 3.91 nm or five grid sizes in order to capture the variation of the slip length with sufficiently many points. 2. Fix the advancing and receding contact angle to θ a = 101 • and θ r = 93 • to represent the dynamic angle in the steady regime. 3. Adjust the magnitude of the local slip length l s to match the drop displacement from the MD.

118Note that for the wetting condition, ideally we would like impose some relationship or governing law relating contact angle and contact line velocity. However, because we are looking only at steady regime currently, we bypass the implementation of a proper dynamic contact angle model for simplicity. Interf. shape Using this procedure, we have found that the local slip length, which provides the best match between the VOF and the MD is l s = 8 nm. In Fig. 8 we show the interface shape and interface angle comparison between the VOF, PF and MD results. From Fig. 8(a) we observe that interface shapes are practically indistinguishable. The interface angles from VOF, however, show similar local errors as the PF angles. Interestingly, for the first and last interface angle we observe a rather large jump in the VOF result, which might be an artefact of the constant contact angle imposition on the first mesh cell next to the wall.

The role of the velocity boundary condition

119As we have observed in the results of the PF simulations, the velocity boundary condition applied to the fluid momentum equation does not seem to be important for global measures, such as the drop displacement. Regardless of the imposed boundary condition, the drop displacement can be captured correctly. Therefore, for the VOF investigations, we have focused only on local Navier-slip boundary condition.

120As for the interface shape, which is a more local measure, we have concluded that both benchmarked continuum models (PF and VOF) had their shortcomings and the obtained interface angle always has some local errors near contact line. Notably, the PF has been successful in describing the interface angle at the receding contact line (Fig. 4,b), but it always produced local error near the advancing contact line. However, when trying to match the interface angle as close to the MD as possible, we observe that the PF model provides non-physical flow field near the interface (Fig. 4,c-f), with streamlines crossing the interface and continuing in the vapour phase. This inaccuracy can be averted by allowing larger local errors for the interface angle (Figs. 5,a and 6,a), which then reduces the streamline crossing into the vapour phase significantly (Figs. 5,c-e and 6,c-e). Note that the local error can be only observed when plotting the interface angle (Figs. 5,a and 6,a), while the interface shape is globally indistinguishable (Fig. 4,a).

121The improvement of the flow field was obtained irrespective of chosen boundary condition (Fig. 5,c-e), while the choice of the boundary condition introduce minor local improvements in either the flow field (if we demand the same accuracy of local interface angle near contact line) or in the local interface angle near contact line (if we demand the same accuracy of local flow field, set by the chosen PF mobility). The reason for improved flow field is that adding more slippage (first with Navier-slip, and then with GNBC) allows us to use smaller PF mobility M and consequently obtain streamlines that follow the two phase interface more accurately.

122For the best possible representation of the flow field, we have set the dynamic contact angle to the equilibrium values, which allowed us to use the smallest PF mobility parameter. This choice renders the GNBC condition obsolete. By comparing no-slip and Navier-slip conditions, Navier-slip has produced the most accurate streamlines with still acceptable representation of the interface shape. However, it is also possible to use the no slip condition with minor decrease of the flow field accuracy. Therefore our results indicate that the GNBC condition (or even Navier-slip condition) is not necessary for physically acceptable predictions for the flow system considered in the present work using the PF model. In addition, increase of the diffusive transport near the contact line seem to always worsen the flow field prediction, which suggests that sharp interface method could bet the best possible choice for modelling the present system.

123For the accurate representation of the drop displacement in the VOF, we have fixed the width of the local Navier-slip condition and adjusted the amplitude. We have observed that using one particular slip length locally near the contact line allowed us to reach exactly the same drop displacement as MD. However, similar as for PF, the interface shape has small local errors in angle (Fig. 8), while interface shapes are globally indistinguishable.

Wall location and slip condition

124To gain further insight into which boundary condition would be the most appropriate to model the system consisting of a water drop between two no-slip plates, we look at velocity distribution as a function of a distance from the contact line. The MD results are obtained as an average over the 4 runs centred to the moving contact line. The MD results are shown in Fig. 9 with black crosses. For comparison we show PF with Navier-slip condition, zero contact line friction µ f = 0 and Pe = 6, which yielded the best fit of streamlines. Sampling the velocity field along the wall (Fig. 9, red dashed) provides unsatisfactory agreement with the MD both in the near vicinity of the contact line and also deeper in the drop. However, if the sampling location is moved 0.75 nm away from the wall (Fig. 9, green dashdotted), very good agreement is observed between MD and PF. Similar observations we have also made with the VOF method, see Fig. 9, blue dotted line, in which we present VOF results sampled 0.39 nm away from the wall. Moving the sampling location up or down would provide similar influence as in the PF. Here, an interesting observation is that the VOF flow field seems to be less sharp compared to the PF, which probably stems from the fact that mesh resolution near the interface in VOF (∆s V OF = 0.782 nm) is much coarser than the resolution of the PF model (∆s P F = 0.195 nm, appendix B.2).

125These observations raise two important questions about the presented benchmark. First, the Navier-slip condition-based on the slip length measured from the MD (l s = 0.17 nm)-does not seem to produce accurate slip velocity even more than 10 nm away from the contact line. This naturally leads to a question about where the solid wall in the continuum modelling viewpoint should be located, compared to the MD molecular picture (Fig. 2). The wall location is important for application of the Navier-slip condition, as displacement of the wall would cause a direct influence on the needed slip length. The velocity profile agreement at 0.75 nm distance from the wall in the continuum simulation seem to suggest that for the best agreement between MD and PF, the wall in the PF simulations should be shifted downwards by 0.75 nm corresponding to the center of the first bin in Fig. 2(a). The other option would be to use much larger slip length at the wall (larger by a factor of 4 compared to what is currently measured in the MD). The same discussion applies also to the VOF results. The slip and wall location therefore remain open questions.

Diffusion of phase field model

126The Péclet number in theory exists in the MD system, because one can define a self-diffusion or a heat diffusion coefficient. For the currently used MD water the self diffusivity is [22] D w = 2.3 · 10 −9 m 2 /s.

127However, the MD system has a single species and thus has no mass diffusion. By "mass diffusion" we mean that one species diffuses relative to the other, that is if you consider the mass m 1 of one of the species, or its density ρ 1 , it obeys a diffusion equation.

128The PF model in the current work, on the other hand, is incompressible and consequently does not contain any state, energy or heat equation and does not model any self diffusion. The PF model is, however, based on the diffusion of the phase field variable C, see equation (1), and consequently models mass diffusion of liquid. This consequently leads to mismatch between the parameters used in the PF model and diffusion properties determined from the MD system. The Péclet number determined using the self diffusion of the water, relative wall velocity and height of the water drop is P e = 2U w L D w = 20 · 50 · 10 −9 6 · 2.3 · 10 −9 = 72.5,

129while maximum value we have been able to use in PF simulations and represent the MD results accurately is an order of magnitude smaller, i.e. P e = 6 (see Tab. 3). In our opinion, the reason we need to have a moderate P e number in the PF is twofold; (i) the P e number can not be tow small because we need to capture the phenomena of very small cross-interface mass transport (equivalent to evaporation), but on the other hand (ii) P e number can not be too large because it also controls the amount of diffusive transport very close to the contact line and controls the finally obtained drop displacement. Nevertheless, due to differences in physical effects MD and PF capture, a perfect agreement in results should not be expected.

Conclusions

130We have carried out simulations of steady water drop sheared between two moving plates using of MD, PF and VOF methods. The MD simulations allow us to probe the detailed physical picture of the moving contact line and also global measures such as drop displacement amplitude, interface shape and flow field.

131By comparing the results from PF simulations to MD we have observed that a perfect match is not possible. There is however a choice of parameters and boundary conditions which provide a reasonable approximation of MD. We observed a trade-off between accuracy of interface shape and accuracy of the flow field. The best match with respect to the flow field provided the largest error in the interface shape and vice versa. Particularly interesting conclusion from this study is that the exact boundary condition for the flow in the PF simulation does not seem to play a major role. On the other hand, we have observed that for accurate predictions there is an upper limit of the Pclet number one can employ (Pe = 6.0). This is an important insight if one considers using PF model as a substitute for nanoscale simulations, as proposed by Kronbichler and Kreiss [42]. This is also in contrast to previous drop spreading MD and PF comparisons [22], where Pe = 1400 was used. This suggests that the PF parameters analysed here are not universal and depend on whether the contact line is advanced through forced wetting or capillary spreading. We have also concluded, that the GNBC, which in the literature is proposed as a solution for the moving contact line problem, is not necessary to model the selected configuration.

132Based on the results from PF and MD comparison, we have decided to only investigate a localised Navier-slip boundary condition for the VOF method. With this approach, we managed to capture the drop displacement accurately, while the interface shape had similar local errors as observed in the PF model.

133By comparing the bottom water layer velocity from MD with the results of PF and VOF, we have identified an interesting open question about the accuracy of the slip condition and the wall location. It is possible that from the perspective of the continuum modelling of such small systems, the wall location might play even more important role than the chosen boundary condition. We have discussed the role of diffusion in PF model and the physical phenomena it models, which is different to what happens in MD simulations, therefore a perfect agreement should not be expected.

134There are also aspects, which has not been investigated in the present work. Although the interface width has been set based on insight from MD results, in general more thorough look at the interface thickness influence on nanoscopic PF results could be interesting. Also, the width of the localised Navier-slip condition in the VOF model and its influence on the agreement between VOF and MD has not been investigated. Additional investigations would contain a comparison of the transient behaviour, not only the steady regime. This could be a very challenging problem, because if the steady regime is not perfectly described, then capturing the transient correctly would pose even harder restrictions. A Details of molecular dynamics simulations

135The system described in section 2 and figure 2 consists of two parts: the water slab and the moving walls. The water molecules forming the slab are modeled as SPC/E water [43]. This is a relatively cheap water model which retains important qualities of real water: the three-point structure and a dipole moment. These features gives the ability for the molecule to form hydrogen bonds with other molecules, which leads to a very low slip length (l s = 0.17 nm, which is smaller than a molecular diameter) and high surface tension.

136The walls are built of rigid SiO 2 molecules. Partial charges q Si = −2q O are set to the atoms, making the molecules overall charge neutral but with a quadrupole moment. This electrostatic interaction works with the water molecules to create the aforementioned hydrogen bonding. The charge value q O = −0.40e is used to yield the static contact angle θ 0 = 97.5 • . The molecules are set in an fcc (111) structure with a spacing of 0.45 nm. They are kept in the desired formation by applying harmonic restraints with spring constant k = 10,000 kJ mol −1 nm −2 to the oxygen atoms of each molecule. The molecules are thus free to rotate in the surface normal plane. To move the walls at a desired speed we shift these restraining positions which pulls the molecules along with them while still allowing for natural thermal motion. Remaining details about the wall are described in [22].

137Simulations are performed using Gromacs 2019 [44] in double precision. Atomic positions and velocities are updated using the leap-frog integrator with a time step of 2 fs. Non-bonded van der Waals interactions are treated fully up to a cutoff of 0.9 nm. Coulomb interactions are treated using PME electrostatics which interact over infinite range, including all periodic images of the system. Periodic boundary conditions are applied along x and z. Along the y axis reflecting walls are placed at each end to contain molecules to the system, although water molecules are kept from reaching these reflecting walls by the physical SiO 2 walls. A velocity rescaling thermostat is applied to the SiO 2 walls to dissipate excess energy with a time scale of 10 ps and keep the system at simulation temperature T = 300 K. Outside of the initial 100 ps equilibration period, the thermostat is not applied to the water molecules which can only dissipate energy by interacting with the walls through friction. The size of the full simulation domain along x is 150 nm, twice that of the water slab. Whereas a continuum model can be purely two-dimensional, a molecular system is naturally three-dimensional. A quasi-2D system is created with a system thickness of 4.667 nm in addition to the domain width and height. With this thickness, a width of 75 nm and height 50 nm, the water slab for the simulation is constructed with ∼ 580,000 water molecules.

B Details of phase field simulations

138In this appendix, we describe in more details the non-dimensional governing equations as well as numerical implementation of these equations.

B.1 Dimensionless equations and dimensionless numbers

139In order to render the dimensional governing equations (1,3,4) and the corresponding boundary conditions dimensionless, we choose the relative plate velocity U = 2 U w , the drop height L and the ration U/L as characteristic scales for velocity, length and time, respectively. Under this assumption, the convection-diffusion equation for phase field variable C (1) becomes

140where all variables are now dimensionless. This procedure gives rise to Péclet number and Cahn number,

141The Péclet number is quite important as it provides a measure of relative importance between convective and diffusive transport of the PF concentration function C. This number we use in the main text to report the needed PF mobility values for the agreement between PF and MD, see Tabs. 1, 2 and 3.

142The incompressible Navier-Stokes equations (3)(4) in non-dimensional form becomes

143where again all variables now are non-dimensional. During this process, two new dimensionless numbers are introduced, namely Reynolds and capillary numbers, as

144The density and viscosity is normalised with respect to the parameters of water, and therefore in the dimensionless setting becomes

145where ρ g and µ g are the density and the viscosity of the vapour part, as shown in Fig. 1. Finally, the dimensionless wetting condition becomes

146Note that the numerical pre-factors 2 √ 2/3 appearing in certain places of the dimensional governing equation stems from relationship between the dimensional phase field constants α and β and the surface tension, i.e., σ = 2 √ 2αβ/3.

B.2 Numerical implementation

147The dimensionless governing equations introduced in the appendix B.1 are linearised, cast into the weak form and solved using a symbolic finite-element toolbox femLego [45], which allows easy specification of finite-element weak form to solve. The solver is based on finite-element package deal.II and includes adaptive mesh refinement to resolve the sharp transition of phase field variables over a thin interface [46]. Linear elements were used for the phase field variables, while the fluid flow was resolved using Taylor-Hood elements (quadratic for velocity and linear for pressure). Mesh resolution was selected after a refinement study based on PF simulation with a no-slip condition. The final resolution selected and used for all other simulations is ∆s 1 = 3.125 nm far from the interface, and down to ∆s 2 = 0.195 nm within the interface region. Constant time step was used through the simulation as ∆t = 0.002 dimensionless time units.

C Volume of fluids

148In this appendix, we describe in more details the numerical implementation of the solver, the height functions employed for the VOF model, as well as the implementation of velocity boundary condition.

C.1 Numerical implementation

149In our study of the sheared droplet system, we used the free software Basilisk, successor of Gerris, developed at the Institut Jean le Rond d'Alembert (Sorbonne Universit) [40], [47], [41], [48]. The incompressible Navier-Stokes equations are discretised using the finite volume method and are solved using second order Bell-Colella-Glaz projection scheme [49]. The solver is coupled with VOF method for interface tracking. For obtaining the solution, we have used a uniform mesh spacing of ∆s = 0.782 nm. The height-function methodology is a VOF-based technique for calculating interface normals and curvatures. About each interface cell, fluid "heights" are calculated by summing fluid volume in the direction most normal to the interface. In 2D, a 7 × 3 stencil around an interface cell is constructed (Fig. 10) and the heights are evaluated by summing volume fractions horizontally, i.e.

C.2 Height functions

150where ∆ is the grid spacing. The heights are then used to compute the the interface normaln and the curvature κ aŝ n = (∂ x h, −1) and κ =

151respectively. Here, ∂ x h and ∂ 2 xx h are discretised using second-order central differences.

C.3 Implementation of velocity boundary condition

152In order to impose the velocity boundary condition at the wall in the selected numerical implementation, one has to work with discretisation stencils near the solid boundary. These stencils will extend beyond beyond the wall and make use of so called ghost points (Fig 11). The stencil values outside the domain (ghost values) need to be initialised. These values are set in order to provide the discrete equivalent of the NBC as

153where u x [ghost] is the tangential velocity at the ghost cell, u x [ ] is the tangential velocity of the cell inside the domain and ∆ is the grid spacing. This implementation is used to impose the locally specified Navier-slip condition, presented in equation (10).

참고문헌 59건

  1. GROMACS: High performance molecular simulations through multi-level parallelism from laptops to supercomputers SoftwareX · Elsevier BV · 2015 10.1016/j.softx.2015.06.001
  2. Capillarity and dynamic wetting 2012
  3. Parallel adaptive computation of some time-dependent materials-related microstructural problems Bulletin of the Polish Academy of Sciences Technical Sciences · De Gruyter Open · 2007
  4. Discussion notes on “Some dry facts about dynamic wetting”, by Y.D. Shikhmurzaev The European Physical Journal Special Topics · Springer Science+Business Media · 2011 10.1140/epjst/e2011-01437-8
  5. Forced wetting and hydrodynamic assist Physics of Fluids · American Institute of Physics · 2015 10.1063/1.4934703
  6. A second-order projection method for the incompressible navier-stokes equations Journal of Computational Physics · Elsevier BV · 1989 10.1016/0021-9991(89)90151-4
  7. Hydrodynamics of wetting Fluid Dynamics · Pleiades Publishing · 1976 10.1007/bf01012963
  8. Molecular scale contact line hydrodynamics of immiscible flows Physical review. E, Statistical physics, plasmas, fluids, and related interdisciplinary topics · American Physical Society · 2003 10.1103/physreve.68.016306
  9. Surface-tension-driven dewetting of Newtonian and power-law fluids Journal of Engineering Mathematics · Springer Science+Business Media · 2004 10.1007/s10665-004-3688-7
  10. Onset of wetting failure in liquid–liquid systems Journal of Fluid Mechanics · Cambridge University Press · 2004 10.1017/s0022112004000643
  11. Uniformly Movable Categories and Uniform Movability of Topological Spaces Bulletin of the Polish Academy of Sciences Mathematics · Institute of Mathematics, Polish Academy of Sciences · 2007 10.4064/ba55-3-5
  12. Some generic capillary-driven flows International Journal of Multiphase Flow · Elsevier BV · 2006 10.1016/j.ijmultiphaseflow.2006.05.003
  13. A tractable molecular theory of flow in strongly inhomogeneous fluids The Journal of Chemical Physics · American Institute of Physics · 1988 10.1063/1.454972
  14. Steady free-surface thin film flows over topography Physics of Fluids · American Institute of Physics · 2000 10.1063/1.870438
  15. Free-surface flows with large slopes: Beyond lubrication theory Physics of Fluids · American Institute of Physics · 2006 10.1063/1.2171190
  16. The dynamics of the spreading of liquids on a solid surface. Part 1. Viscous flow Journal of Fluid Mechanics · Cambridge University Press · 1986 10.1017/s0022112086000332
  17. Height functions for applying contact angles to 2D VOF simulations International Journal for Numerical Methods in Fluids · Wiley · 2007 10.1002/fld.1651
  18. Moving contact lines in liquid/liquid/solid systems Journal of Fluid Mechanics · Cambridge University Press · 1997 10.1017/s0022112096004569
  19. Calculation of Two-Phase Navier–Stokes Flows Using Phase-Field Modeling Journal of Computational Physics · Elsevier BV · 1999 10.1006/jcph.1999.6332
  20. Hydrodynamic Theory of Forced Dewetting Physical Review Letters · American Physical Society · 2004 10.1103/physrevlett.93.094502
  21. Thermohydrodynamics of boiling in a van der Waals fluid Physical Review E · American Physical Society · 2012 10.1103/physreve.85.026320
  22. The dynamics of the spreading of liquids on a solid surface. Part 2. Surfactants Journal of Fluid Mechanics · Cambridge University Press · 1986 10.1017/s0022112086000344
  23. Moving Contact Lines: Scales, Regimes, and Dynamical Transitions Annual Review of Fluid Mechanics · Annual Reviews · 2013 10.1146/annurev-fluid-011212-140734
  24. The missing term in effective pair potentials The Journal of Physical Chemistry · American Chemical Society · 1987 10.1021/j100308a038
  25. Modeling of dynamic wetting far from equilibrium Physics of Fluids · American Institute of Physics · 2009 10.1063/1.3275853
  26. Solvability condition for the moving contact line Physical Review E · American Physical Society · 2008 10.1103/physreve.78.056304
  27. Finite element simulations using symbolic computing Mathematics and Computers in Simulation · Elsevier BV · 1999 10.1016/s0378-4754(99)00054-3
  28. Theory of the forced wetting transition Physics of Fluids · American Institute of Physics · 2012 10.1063/1.4736531
  29. Boundary conditions for the moving contact line problem Physics of Fluids · American Institute of Physics · 2007 10.1063/1.2646754
  30. Contact-line dynamics of a diffuse fluid interface Journal of Fluid Mechanics · Cambridge University Press · 2000 10.1017/s0022112099006874
  31. A variational approach to moving contact line hydrodynamics Journal of Fluid Mechanics · Cambridge University Press · 2006 10.1017/s0022112006001935
  32. Wetting and spreading Reviews of Modern Physics · American Physical Society · 2009 10.1103/revmodphys.81.739
  33. Hydrodynamic model of steady movement of a solid/liquid/fluid contact line Journal of Colloid and Interface Science · Elsevier BV · 1971 10.1016/0021-9797(71)90188-3
  34. Asymptotic analysis of the dewetting rim Physical Review E · American Physical Society · 2010 10.1103/physreve.82.056314
  35. Mathematical modeling of wetting hydrodynamics Fluid Dynamics Research · IOP Publishing · 1994 10.1016/0169-5983(94)90063-9
  36. Numerical Simulations of Flows with Moving Contact Lines Annual Review of Fluid Mechanics · Annual Reviews · 2013 10.1146/annurev-fluid-010313-141338
  37. Dissipation in rapid dynamic wetting Journal of Fluid Mechanics · Cambridge University Press · 2011 10.1017/jfm.2011.211
  38. Hybrid Atomistic–Continuum Formulations and the Moving Contact-Line Problem Journal of Computational Physics · Elsevier BV · 1999 10.1006/jcph.1999.6302
  39. A phase-field model for highly anisotropic interfacial energy Physica D Nonlinear Phenomena · Elsevier BV · 2001 10.1016/s0167-2789(00)00222-0
  40. Water–substrate physico-chemistry in wetting dynamics Journal of Fluid Mechanics · Cambridge University Press · 2015 10.1017/jfm.2015.517
  41. Local viscosity of a fluid confined in a narrow pore Physical Review E · American Physical Society · 2012 10.1103/physreve.86.021202
  42. Nanoscale View of Dewetting and Coating on Partially Wetted Solids The Journal of Physical Chemistry Letters · American Chemical Society · 2016 10.1021/acs.jpclett.6b00620
  43. Transition in a numerical model of contact line dynamics and forced dewetting Journal of Computational Physics · Elsevier BV · 2018 10.1016/j.jcp.2018.06.078
  44. A phase-field microscale enhancement for macro models of capillary-driven contact point dynamics The Journal of Computational Multiphase Flows · SAGE Publishing · 2017 10.1177/1757482x17700148
  45. Numerical Models of Surface Tension Annual Review of Fluid Mechanics · Annual Reviews · 2017 10.1146/annurev-fluid-122316-045034
  46. Multiscale simulation of dynamic wetting International Journal of Heat and Mass Transfer · Elsevier BV · 2017 10.1016/j.ijheatmasstransfer.2017.07.034
  47. Molecular origin of contact line friction in dynamic wetting Physical Review Fluids · American Physical Society · 2018 10.1103/physrevfluids.3.074201
  48. Moving Contact Lines: Linking Molecular Dynamics and Continuum-Scale Modeling Langmuir · American Chemical Society · 2018 10.1021/acs.langmuir.8b00466
  49. The vicinity of an equilibrium three-phase contact line using density-functional theory: density profiles normal to the fluid interface Molecular Physics · Taylor & Francis · 2018 10.1080/00268976.2018.1471223
  50. Multiscale simulation of water flow through laboratory-scale nanotube membranes Journal of Membrane Science · Elsevier BV · 2018 10.1016/j.memsci.2018.08.049
  51. A kinematic evolution equation for the dynamic contact angle and some consequences Physica D Nonlinear Phenomena · Elsevier BV · 2019 10.1016/j.physd.2019.01.008
  52. On the Kinematics of Contact Line Motion PAMM · Wiley · 2018 10.1002/pamm.201800451
  53. Dynamic Contact Angles and Wetting Kinetics Routledge eBooks · Informa · 2017 10.1201/9780203742860-7
  54. Height functions for applying contact angles to 3D VOF simulations International Journal for Numerical Methods in Fluids · Wiley · 2008 10.1002/fld.1974
  55. On the use of a friction model in a Volume of Fluid solver for the simulation of dynamic contact lines Journal of Computational Physics · Elsevier BV · 2019 10.1016/j.jcp.2019.05.005
  56. Cahn-Hilliard mobility of fluid-fluid interfaces from molecular dynamics Physics of Fluids · American Institute of Physics · 2019 10.1063/1.5116576
  57. Dynamic Contact Angles and Wetting Kinetics CRC Press eBooks · Informa · 1993 10.1201/9781482277500-11
  58. Wetting failure and contact line dynamics in a Couette flow Journal of Fluid Mechanics · Cambridge University Press · 2008 10.1017/s0022112008003649
  59. Deleted Work 1955