A Robust Algorithm for Contact Angle and Interface Detection of Water and Argon Droplets

Sumith Yesudasan Daisy, Shalabh C. Maroo

Research output: Contribution to journalArticlepeer-review

3 Scopus citations


Contact angle estimation of a liquid droplet on a solid surface is of great importance to understand its wetting properties, capillarity, and surface interaction energy. While studying the droplet on a surface using molecular dynamics (MD) simulations, the main challenge lies in separating the liquid and vapor phases, and estimating the interface, curvature, and contact angle. Further, during transient MD simulations, large amount of data processing is required for calculating the time evolution of contact angle. This is a tedious effort to do manually or with image processing algorithms and can affect the contact angle results. In this work we propose an improved version of contact angle estimation algorithm. This algorithm segregates the droplet molecules from the vapor molecules using Mahalanobis distance technique, following which the density is smeared onto a 2D grid using various interpolation functions. The smearing is done by rotating the droplet multiple times at different angles to attain more interfacial data points. The liquid-vapor interface data is estimated from the grid using density filtering. With the interface data, a circle is accurately fitted using Landau method. The equation of this circle is solved for obtaining the contact angle. We apply this algorithm to study the hydrophilic and hydrophobic contact angles for argon and water droplets on a platinum surface with varying interaction potential parameters leading to different wettability conditions, as well as contact angle evolution of water droplet on platinum surface.

Original languageEnglish (US)
Pages (from-to)1343-1353
Number of pages11
JournalHeat Transfer Engineering
Issue number14-15
StatePublished - Oct 13 2017
Externally publishedYes

ASJC Scopus subject areas

  • Condensed Matter Physics
  • Mechanical Engineering
  • Fluid Flow and Transfer Processes


Dive into the research topics of 'A Robust Algorithm for Contact Angle and Interface Detection of Water and Argon Droplets'. Together they form a unique fingerprint.

Cite this