Introduction

The well-regarded Young’s equation, \( \cos \theta = {{{\left( {{\gamma_{\text{sl}}} - {\gamma_{\text{sv}}}} \right)}} \left/ {{{\gamma_{\text{lv}}}}} \right.} \), defines the balance of the horizontal components of the three interfacial tensions when a liquid droplet is in contact with an ideal flat surface [1]. A specific contact angle (CA) θ can be obtained for a certain liquid–solid–vapor system from the Young’s equation. However, one can almost never obtain a unique CA in practice. Instead, the measured CA of a sessile droplet usually lies within a range bounded by the receding and advancing angles θ r and θ a, i.e., θ r ≤ θ ≤ θ a. The advancing and receding angles are defined as the maximum and the minimum of the CA without increasing the solid–liquid interfacial area, which means that they are measured just before the motion of the contact line (CL). The difference between the advancing and the receding CAs is defined as the contact angle hysteresis (CAH) [2].

CAH is of significant current scientific interest, not only for its important contribution to understanding of the wetting mechanism, but also due to many technological applications, such as self-cleaning surfaces preparation, oil recovery, filtration and impregnation of textiles, and so on [3]. In the past several decades, CAH has been studied extensively in experiments [47] and theoretical analysis [810]. According to the conventional definition, CAH is related to the pinning of the CL. Thus, the sources of CAH concern the properties of the solid substrate as well as the liquid. Concerning the substrate, the surface roughness and defects [6], chemical heterogeneities [8], liquid penetration [11], and surface deformation [12] have been discussed. Besides, gradient of chemical potential along the surface is associated with the gradient of surface curvature [13] and thereby it contributes to the CAH. For the liquid properties, it has been found that CAH increases with decreasing chain length of the liquid molecule [5]. CAH is also sensitive to the volume fraction of the microbead suspension [14]. Experiments on CAH were carried out under various situations such as electrowetting-on-dielectric [15] and asymmetric vibration [16]. Recently, Bormashenko et al. presented an ingenious experimental technique to measure CAH based on the slow deformation of the droplet [3]. The appearance of CAH would affect the evaporation mode of the droplet. Large CAH leads to a constant contact area of the droplet until the receding angle is reached [17, 18]. This phenomenon is associated with the “coffee ring effect” [19]. If the CAH is large enough, a pattern would be formed near the pinned CL of the droplet after its evaporation. Otherwise, it is not easy to observe the coffee ring effect because the CL cannot be pinned. Various theoretical models related to the CAH have been proposed, mainly focusing on the surface roughness and heterogeneity [8]. Even for the substrates without any physical or chemical heterogeneity, an intrinsic CAH can be observed [9]. Extrand derived a thermodynamic expression for free energy of CAH, in which the advancement and recession of CL was modeled as an adsorption and desorption process [10].

Recent advances in microfluidic and nanofluidic technology have promoted the manipulation of much smaller droplets and a wide use of soft materials. For the dynamic behavior of the nanodroplet, the effect of disjoining pressure resulting from van der Waals and electrostatic forces should be included [2]. From a physical perspective, CAH can be regarded as a measure of energy dissipation in response to an exerted force [20] or to a resistive force during the flow of the droplet [21]. If a nanodroplet alters its shape in response to an applied force, the presence of the disjoining pressure promotes the advancement of CL while it hinders the recession of CL. When a droplet is deposited on soft and flexible substrates, the substrate will deform and a ridge along the CL can be pulled up by the vertical component of the surface tension [2224]. Even for the rigid substrates, Tadmor pointed out that the vertical component of the surface tension would result in molecular reorientation of the surface molecules [25]. Consequently, both the disjoining pressure and the surface deformation of the flexible substrate should be attributed as the sources of the CAH at the nanoscale. Figure 1 summarizes the sources and some influencing factors of the CAH. Molecular level phenomena of CAH and their investigation are becoming significant. As far as we are aware, there are only a few studies which have reported the investigation of CAH of nanodroplets using molecular dynamics (MD) simulations [26, 27]. Hong and coworkers studied the static and dynamic CAs of water droplets on solid surfaces of different surface energies [26]. Zeng and coworkers carried out MD simulations of CAH for droplets on nanopillared surfaces [27]. However, these MD studies mainly focus on the rigid substrates. In spite of many investigations, the underlying mechanism of CAH and its origin are still not completely understood.

Fig. 1
figure 1

Sources (ae) and some influencing factors (fg) of the CAH

Here, we present MD simulations of liquid droplets in contact with both rigid and flexible substrates with different wetting properties. A body force was applied to the equilibrium droplet to alter its shape until the contact area increased. The motivation for this work is to examine the motion of the CL in the presence of the applied force and further give a description of the correlation between the motion of the CL and the CAH at the nanoscale. The motion of the CL is analogous to the boundary slip behavior. Our previous MD simulations have shown that the boundary slip will not occur unless the shear stress exceeds a critical value, i.e., the critical shear stress (CSS) [28]. Moreover, the CSS depends on the strength of the liquid–solid interactions. In the present study, the motion of the CL is also actuated by the external force to overcome the corresponding energy barrier. Our results indicated that the CA of nanodroplets depends strongly on the wetting properties of the substrate. For the modeled hydrophobic surfaces, the CAH is too small to be detected. Thus, we concluded that there is no obvious CAH due to weak liquid–solid interactions. On hydrophilic surfaces, however, there is strong CAH due to higher energy barrier. The rest of the paper is organized as follows. In the “Simulation details” section, the simulation models and methodology are described. Then, we present our results related to the CA and CAH of droplets on both rigid and flexible substrates in the “Results and discussion” section. In the “Conclusion” section, we summarize the main conclusions of the present work.

Simulation details

Simulation models

To study the CAH using MD simulations, we first set up the model consisting of a liquid droplet and a solid substrate, as shown in Fig. 2a–c. Here, we used the model presented in the work of De Coninck and Blake [29]. The liquid molecules are 16-atom chains. The advantage of using this kind of liquid molecules is that the viscosity of the liquid can be increased to more realistic values and the evaporation can be considerably reduced. The liquid droplet contains 48,000 atoms, unless otherwise specified. We would discuss the CA dependence on the droplet size and droplets with different diameters would be investigated. Two types of substrates, rigid and flexible, were used. Each substrate was composed of five layers of atoms with a total number of atoms of 80,100, which were modeled based on its face-centered cubic crystal structure and the lattice parameter is 5.56 Å. The mass for all the atoms was assigned to be m l = m s = 12 g mol−1. This choice is arbitrary but does not affect the results qualitatively [29].

Fig. 2
figure 2

ac MD snapshots of liquid droplets placed on rigid substrates with different wetting properties. df The time-averaged density profiles along the centerline of each droplet are also given. The values of the density are indicated in the legend and the unit is 103 kg/m3. The dotted lines are used to fit the shapes of the droplets

The nonbonded interactions in the droplet–substrate system were described by the Lennard–Jones (LJ) potential:

$$ {E_{\text{ab}}}(r) = 4{\varepsilon_{\text{ab}}}\left[ {{{\left( {\frac{{{\sigma_{\text{ab}}}}}{r}} \right)}^{12}} - {{\left( {\frac{{{\sigma_{\text{ab}}}}}{r}} \right)}^6}} \right] $$
(1)

where r is the distance between any pair of atoms. The parameters ε ab and σ ab are related, respectively, to the depth of the potential well and the distance at which the potential is zero. The subscripts a and b denote different atom types, which can be substituted by l (liquid) or s (solid). To simulate the solid substrates with different wetting properties, ε ls was set to be ε ls =  ll, where A was chosen to be 0.3, 0.65, and 1.0. ε ll for liquid–liquid interaction was set to be 4.6 × 10−22 J and σ ll = σ ss = 3.5 Å. All the LJ interactions were truncated at a cutoff distance of 2.5σ ll to accelerate the simulation.

The bond interactions in the liquid droplet between two adjacent atoms within a liquid molecule was modeled by E(r) = Br 6, in which the constant was defined as \( B = {{{{\varepsilon_{\text{ll}}}}} \left/ {{{{\left( {{\sigma_{\text{ll}}}} \right)}^6}}} \right.} \). For the rigid substrates, each solid atom is fixed to its lattice site. For the flexible substrates, the solid atom is constrained to its lattice site by a harmonic potential, \( {E_{\text{H}}}(r) = C{\left( {r - {r_0}} \right)^2} \), in which the spring constant \( C = {{{2.5{\varepsilon_{\text{ss}}}{{\left( {{\sigma_{\text{ll}}}} \right)}^2}}} \left/ {D} \right.} \). r 0 is the equilibrium position of the atom and D is used to adjust the elasticity of the substrate.

Simulation methodology

We implemented a two-step protocol after the initial configuration of the droplet–substrate system was modeled. In the first step, the equilibrium state of the system was obtained. The static CA and the deformation of the flexible substrates could be evaluated. After that, we performed MD simulations to determine the CAH. All the simulations were carried out in the NVT ensemble (i.e., the number of atoms N, the volume V, and the temperature T of the system are kept constant). The equations of motion were solved using a velocity Verlet algorithm with a time step of 5.0 fs. The MD simulations presented in this work were performed using the parallelized code LAMMPS [30].

For the equilibrium MD part, the liquid droplet with a cubic shape was initially placed at a certain separation distance (2.0 Å) above the substrate. Then, the system was thermally equilibrated using a Nose–Hoover thermostat for 2 × 106 steps, i.e., 10.0 ns. To minimize the edge effects, periodic boundary condition was imposed in the X and Y directions. We modeled the substrates with large enough dimensions to exclude the interactions between the droplet and its periodic images. During the equilibrium run, the liquid droplet started to wet the substrate and then formed a shape with a certain CA due to the wettability of the substrate. Variations of the CAs of droplets placed on rigid substrates versus time during the equilibrium run were shown in Fig. 3.

Fig. 3
figure 3

Variations of the CAs of droplets versus time during the equilibrium run. The rigid substrates were modeled with ε ls = 0.3ε ll (open squares), ε ls = 0.65ε ll (open circles), and ε ls = 1.0ε ll (open triangles)

Experimentally, there are two conventional methods to measure the CAH. One is the tilting plate method, and the other one is the add/remove volume method. Generally speaking, one cannot adopt the tilting plate approach to investigate the CAH at the nanoscale. This is because, for the nanodroplets, the Bond number is quite small (typically smaller that 10−10), which means that the gravitational effect can be totally neglected compared with the surface tension effect. The second approach to determine the CAH is also not appropriate for MD simulations either since adding or removing molecules during the simulation may cause serious computational inefficiency. To determine the CAH in the MD simulations, a body force was thus applied to the droplet after the equilibrium run. A series of body force values were tested to find when the CL started to move. The critical value of the applied force divided by the contact area was defined as the CSS. In the presence of the exerted force, the shape of the liquid droplet would change to exhibit the advancing and receding angles, which is similar to the behavior of the macroscopic droplet in the experiment using the tilting plate method. Based on the MD results, the advancing and receding angles can be determined and, therefore, the CAH can be obtained.

Evaluation of CA, CAH, and the substrate deformation

To evaluate the static CA, as well as the advancing and receding angles of the droplet, the density profiles of the droplet were obtained by time-averaging the MD trajectories of all the liquid molecules. The simulation box was divided into many cubic cells, each with a length scale of 5.0 Å. The density in each cell was averaged every two time steps during the last 2 × 105 steps of each equilibrium run. The liquid domain was specified where the local density was larger than half of the bulk liquid density. Consequently, the liquid–vapor interface of the droplet can be determined, as shown in Fig. 2d–f. Since we carried out three-dimensional MD simulations, the density profile across the plane through the center of each droplet was extracted. The static CA of the droplet is defined as the angle between the tangential line of the circular droplet surface and the horizontal line representing the surface of the substrate. For the measurement of the advancing and receding angles, two circles with different diameters were used to fit the droplet surfaces at each three-phase contact point. The surface deformation of the flexible substrate was determined in a similar way. After the substrate was divided using a mesh with a grid length of 5.0 Å, the heights of all the substrate atoms were time-averaged.

Results and discussion

The static CA

We first summarize the MD results for the static CA. For the substrates with different wetting properties, the static CAs of the droplets placed on rigid and flexible substrates are listed in Table 1. The static CA depends strongly on the liquid–solid interactions set in the MD simulations. Hydrophobic and hydrophilic surfaces were modeled with ε ls = 0.3ε ll and ε ls = 1.0ε ll, respectively. The CA on rigid substrate of which the LJ parameter ε ls = 0.65ε ll is approximately 90.0°. From Table 1, we can find that, for the same liquid–solid interaction, the CA of the droplet on flexible substrate is larger than that on rigid substrate.

Table 1 Comparison of static CA of droplets on rigid and flexible substrates

To determine the line tension effect in the range of the droplet diameters we studied, we performed simulations of droplets with different sizes (16,000, 48,000, 80,000, 160,000, and 320,000 atoms). The corresponding CAs were shown in Fig. 4. It can be observed that the variation of the CA for different droplet sizes is <3°. These results are consistent with MD results of water droplet containing 12,000–100,000 molecules placed on nanopillared surfaces [27]. Thus, we concluded that the line tension effect was limited for the droplet we studied. These results clearly indicate that the line tension has limited effect in the range of droplet diameters we studied. The influence of the line tension effect on the CAH needs to be further examined.

Fig. 4
figure 4

Size dependence of the CAs of droplets on flexible and rigid substrates of different wettabilities (open squares flexible substrate modeled with ε ls = 0.3ε ll, solid squares rigid substrate modeled with ε ls = 0.3ε ll, open triangles flexible substrate modeled with ε ls = 0.65ε ll, solid triangles rigid substrate modeled with ε ls = 0.65ε ll, open circles flexible substrate modeled with ε ls = 1.0ε ll, solid circles rigid substrate modeled with ε ls = 1.0ε ll)

The deformation of the flexible substrate

When a droplet is placed on a soft and flexible substrate, the substrate would deform and a ridge appears along the CL, which is induced by the vertical component of liquid–vapor interfacial tension [2224]. Shanahan and de Gennes [22] proposed theoretical estimation of the height of the ridge as \( {h^* } = {{{{\gamma_{\text{lv}}}\sin \theta }} \left/ {G} \right.} \), where G is the shear modulus of the substrate. The maximum vertical displacement induced by a droplet placed on the poly(dimethylsiloxane) membrane can be on the order of hundreds of nanometers [23, 24]. In Fig. 5, the MD snapshot of the droplet placed on the flexible substrate (ε ls = 0.65ε ll) (a) and the averaged height of the flexible substrate (b) are shown. The height of the ridge was estimated to be about 2 Å, much smaller than the theoretical prediction of Shanahan and de Gennes [22]. The reason for this difference is that there is no size effect in the theoretical prediction. The diameter of the droplet in our simulations is about 20 nm; such droplet cannot pull a ridge with a height of hundreds of nanometers. No obvious ridge was observed for the flexible substrate modeled with ε ls = 0.3ε ll or ε ls = 1.0ε ll. As the vertical component of the surface tension in these cases is small, so it can not pull up a ridge.

Fig. 5
figure 5

a MD snapshot of the liquid droplet placed on the flexible substrate modeled with ε ls = 0.65ε ll. b The averaged height (Z) of the flexible substrate

The critical shear stress for the motion of the CL

To determine the CAH, a body force was applied to the liquid droplet in the positive X direction. Then, we monitored the center of the mass as well as the contact area of the droplet. Various parallel MD simulations with different values of the applied body force were performed to determine the CSS which caused the motion of the CL. Here, the CSS for the movement of the droplet is defined as the critical value of the force applied in the MD simulations divided by the contact area of the droplet. The CSS for both rigid and flexible substrates of different wettabilities is listed in Table 2. As the liquid–solid interaction increases from ε ls = 0.3ε ll to ε ls = 1.0ε ll, the CSS increases significantly. From Table 2, we find that the response of the CSS to the liquid–solid interaction is not linear. Our previous work reported that the CSS τ c, which determines the onset of the boundary slip, increases exponentially with the liquid–solid interactions [28]. A similar form for the droplet can be obtained based on the molecular kinetic theory:

$$ {\tau_{\text{c}}}\sim \exp \left( {\frac{{{E_0}}}{{{k_{\text{B}}}T}}} \right) $$
(2)

where E 0 is the height of the energy barrier, T is the absolute temperature, and k B is the Boltzmann constant. The energy barrier results from the interactions between the droplet and the substrate. When considering nanodroplets placed on a flexible substrate, the disjoining pressure effect and the surface deformation would change the potential energy landscape. Thus, τ c is related to both the disjoining pressure and the surface deformation. Here, we propose a simple comparative analysis. The force applied to the liquid droplet for the motion of CL is πτ c R 2, in which R is the droplet base radius. The resistive force resulting from CAH could be estimated by 2 lv(cosθ r − cosθ a) [21]. Balancing the two forces, we find that cosθ r − cosθ a can be written as:

$$ \left( {\cos {\theta_{\text{r}}} - \cos {\theta_{\text{a}}}} \right)\sim \frac{R}{{{\gamma_{\text{lv}}}}}\exp \left( {\frac{{{E_0}}}{{{k_{\text{B}}}T}}} \right). $$
(3)
Table 2 Calculated CSS and CAH

In some reports, cosθ r − cosθ a is defined as the CAH [4] and the work of adhesion per unit area, w A, from CAH is expressed to be w A = γ lv(cosθ r − cosθ a) [7]. Anyway, cosθ r − cosθ a represents the trend of the variation of θ a − θ r. Equation 3 gives a molecular level description of the CAH, which involves the height of the energy barrier. Actually, E 0 is the activation energy which means the minimum energy required for a liquid molecule to jump from one equilibrium position to the next. E 0 characterizes the relative height of the potential energy landscape at the CL. The microscopic details, such as the surface roughness, local defects, and surface deformation, contribute to the variation of the height of the energy barrier. It is too complicated to give an analytical expression for E 0 as a function of these parameters. CAH is also found to be proportional to the reciprocal of γ lv, which means that CAH is larger on hydrophilic surfaces without regard to the details of the substrate, such as roughness, defects, or surface deformation.

The CAH of droplet on rigid and flexible substrates

In the presence of the applied body force, the liquid droplet changes its shape. As a result, the advancing CA increases and the receding CA decreases. Figures 6, 7, 8, and 9 show the advancing and receding CAs plotted versus time. Cross-sections of density profiles of the droplet were also given. In Fig. 6, the variations of the advancing and receding angles versus time for the rigid substrate (ε ls = 0.65ε ll) are plotted. The calculated CAH is approximately 13.2°. For the substrate modeled with ε ls = 1.0ε ll, the corresponding CAH is determined to be 20.9°. For the flexible substrate, the CAH values are 16.8° and 25.2° for ε ls = 0.65ε ll and ε ls = 1.0ε ll, respectively. As discussed in the “Introduction” section, CAH can be regarded as a measure of energy dissipation in response to the exerted force. The way the energy is dissipated at the CL will be critically affected by the body force. For the flexible substrate, the ridge along the CL pulled by the vertical component of the surface tension would increase the energy barrier for the motion of the CL. Consequently, for the same liquid–solid interaction, the CAH of a droplet on a flexible substrate would be larger than that on a rigid substrate, which is in agreement with our MD results. For weak liquid–solid interaction (ε ls = 0.3ε ll), it is difficult to determine the advancing and receding CAs since the CL starts to move once the CSS is achieved. Hence, we conclude that the modeled hydrophobic substrate exhibits no CAH in our simulations. This result is consistent with the theoretical model given in Eq. 3.

Fig. 6
figure 6

Variations of the advancing and receding angles versus time for rigid substrate (ε ls = 0.65ε ll) after the body force is applied. The time-averaged density profiles along the centerline of the droplet in response to the exerted force are also given: a t = 0 ns; b t = 1.0 ns; c t = 2.0 ns; d t = 3.0 ns

Fig. 7
figure 7

Variations of the advancing and receding angles versus time for rigid substrate (ε ls = 1.0ε ll) after the body force is applied. The time-averaged density profiles along the centerline of the droplet in response to the exerted force are also given: a t = 0 ns; b t = 1.0 ns; c t = 2.0 ns; d t = 3.0 ns; e t = 4.0 ns

Fig. 8
figure 8

Variations of the advancing and receding angles versus time for flexible substrate (ε ls = 0.65ε ll) after the body force is applied. The time-averaged density profiles along the centerline of the droplet in response to the exerted force are also given: a t = 0 ns; b t = 1.0 ns; c t = 2.0 ns; d t = 3.0 ns

Fig. 9
figure 9

Variations of the advancing and receding angles versus time for flexible substrate (ε ls = 1.0ε ll) after the body force is applied. The time-averaged density profiles along the centerline of the droplet in response to the exerted force are also given: a t = 0 ns; b t = 1.0 ns; c t = 2.0 ns; d t = 3.0 ns; e t = 4.0 ns

Conclusion

In summary, the CAH at the nanoscale was studied using MD simulations. Both rigid and flexible substrates with different wettabilities were modeled. The droplet size dependence of the CA was examined and the surface deformation of the flexible substrate was analyzed. The CSS for the motion of the droplet CL and the CAH were calculated from MD simulations. A simple model of CAH was proposed based on the molecular kinetic theory, which includes the liquid–solid interfacial tension and the molecular level description of the activation energy for the motion of the CL. MD results of CAH are consistent with our theoretical model.