OpenDrop: Open-source software for pendant drop tensiometry & contact angle measurements

Eugene Huang, Adam Skoufis, Terence Denning, Jianzhong Qi, Raymond R. Dagastine, Rico F. Tabor, Joseph D. Berry, Jianzhong Qi 0001J. Open Source Softw 2021 · DOI · DBLP

Abstract

OpenDrop is a Python-based, open-source software suite designed for high-precision measurements of interfacial tension and contact angles. By leveraging consumer-grade hardware and sophisticated image processing, OpenDrop provides a low-cost alternative to expensive commercial instruments, democratizing essential techniques in materials science and fluid dynamics.

Introduction

Understanding surface properties, such as interfacial tension and contact angles, is critical across numerous industrial and scientific domains, including pesticide application, coating technologies, and painting. Interfacial tension describes the energy at the boundary between two fluids, while contact angles indicate how a liquid droplet interacts with a solid surface.

Traditionally, measuring these properties required specialized commercial instruments costing upwards of $50,000. While the physical setup—a needle, light source, and camera—is relatively simple, the complexity lies in the numerical analysis of 2D images to extract physical data. OpenDrop addresses this barrier by providing a transparent, modular, and high-performance software solution.

Methods and Implementation

The latest iteration of OpenDrop, nicknamed Barracuda, is built entirely in Python. It utilizes the OpenCV library for robust image processing. The software follows a three-step workflow:

  1. Profile Extraction: The silhouette of a pendant (hanging) or sessile (sitting) drop is extracted from an image using OpenCV-based edge detection.
  2. Numerical Analysis: Physical parameters are calculated from the extracted profiles using algorithms based on the Young-Laplace equation.
  3. Hardware Integration: The modular architecture allows for seamless integration with various camera drivers and automation hardware, such as syringe pumps.

Validation and Results

The software's performance was validated against established literature values and data from external studies to ensure field-leading accuracy.

Surface Tension Benchmarks

OpenDrop was tested on several fluid systems, including Water/Air, Glycerol/Air, and Toluene/Air. The results demonstrate that OpenDrop's measurements (ranging from ~10 to 72 mN/m) align almost perfectly with established literature data.

Comparison of OpenDrop surface tension measurements against literature data for various fluid systems.

Contact Angle Measurements

Validation of contact angle measurements involved comparing OpenDrop results with experimental data from three distinct studies (Nie et al. 2017, Stacy 2009, and Brown & Bhushan 2016). The software successfully reproduced contact angles across a wide range (30° to 150°) with high precision and reproducibility.

Validation of OpenDrop contact angle measurements against literature values from three independent studies.

Discussion and Conclusion

OpenDrop significantly reduces the cost of surface property analysis, enabling research in resource-constrained environments and enhancing pedagogical opportunities in the classroom. Its open-source nature allows researchers to customize the code for specific experimental needs, a feature often missing in proprietary "black-box" systems. Future developments may include deeper integration with hardware controllers to create fully automated, low-cost tensiometry stations.

Summary updated

BibTeX
@article{huang2021opendrop,
  author = {Eugene Huang and Adam Skoufis and Terence Denning and Jianzhong Qi and Raymond R. Dagastine and Rico F. Tabor and Joseph D. Berry and Jianzhong Qi},
  title = {{OpenDrop: Open-source software for pendant drop tensiometry \& contact angle measurements}},
  journal = {J. Open Source Softw.},
  year = {2021},
  doi = {10.21105/joss.02604},
}
Figure