Wetting of actual surfaces involves diverse hysteretic phenomena stemming from ever-present imperfections. Here, we clarify the origin of wetting hysteresis for a liquid front advancing or receding across an isolated defect of nanometric size. Various kinds of chemical and topographical nanodefects, which represent salient features of actual heterogeneous surfaces, are investigated. The most probable wetting path across surface heterogeneities is identified by combining, within an innovative approach, microscopic classical density functional theory and the string method devised for the study of rare events. The computed rugged free-energy landscape demonstrates that hysteresis emerges as a consequence of metastable pinning of the liquid front at the defects; the barriers for thermally activated defect crossing, the pinning force, and hysteresis are quantified and related to the geometry and chemistry of the defects allowing for the occurrence of nanoscopic effects. The main result of our calculations is that even weak nanoscale defects, which are difficult to characterize in generic microfluidic experiments, can be the source of a plethora of hysteretical phenomena, including the pinning of nanobubbles.
Keywords: contact angle hysteresis; nanoscale; pinning; string method; wetting.