You are on page 1of 12

JOURNAL OF COLLOID AND INTERFACE SCIENCE 196, 136–147 (1997)

ARTICLE NO. CS975214

Axisymmetric Drop Shape Analysis: Computational Methods


for the Measurement of Interfacial Properties from the Shape
and Dimensions of Pendant and Sessile Drops
O. I. del RıB o and A. W. Neumann 1
Department of Mechanical and Industrial Engineering, University of Toronto, Toronto, Ontario M5S 3G8, Canada

Received September 27, 1996; accepted October 9, 1997

Numerous methodologies have been developed for the


State-of-the-art axisymmetric drop shape analysis (ADSA) measurement of interfacial tensions and contact angles,
techniques for the computation of interfacial tensions and contact as outlined in Refs. ( 8, 9 ) . Of these, axisymmetric drop
angles by fitting the Laplace equation of capillarity to the shape
shape analysis ( ADSA ) methods are considered to be the
and dimensions of pendant and sessile drops are presented. More
accurate, efficient, and reliable versions of the technique for the
most powerful because of their accuracy, simplicity, and
measurement of contact angles from the volume and diameter of versatility ( 3, 10 ) . They are also very suitable for auto-
sessile drops [axisymmetric drop shape analysis—diameter mated computer implementation by means of digital im-
(ADSA-D)] and for interfacial tension measurements from a se- age analysis ( 2 ) .
ries of arbitrary profile coordinates of sessile and pendant drops ADSA methods are based on the numerical fit between
[axisymmetric drop shape analysis—profile (ADSA-P)] have the shape of experimental drops (or bubbles) and the mathe-
been developed. Advanced numerical methods have been used to matical model given by the classical Laplace equation of
improve the numerical stability and global convergence, for more capillarity. They are applicable to pendant and sessile drops
accurate results and a wider range of applicability of the methods.
in a very wide range of surface tensions, for any fluid–liquid
A new technique called axisymmetric drop shape analysis—height
system that can be represented by the Laplace equation of
and diameter (ADSA-HD) has been developed to estimate interfa-
cial tensions from the height and diameter of sessile and pendant capillarity. Early efforts in the analysis of axisymmetric
drops. Numerical simulations using numerically generated drop drops to determine surface tensions were those of Bashforth
profiles were used to evaluate the accuracy and applicability of and Adams (11) and Maze and Burnet (12), who developed
the methods. q 1997 Academic Press the numerical strategy on which modern methods are based,
Key Words: interfacial tension; surface tension; contact angle; i.e., the numerical integration of the Laplace equation and
drop shape analysis; pendant drop; sessile drop. the use of nonlinear least-squares optimization techniques.
The most powerful and widely used method to date is that
of Rotenberg et al. (1), called axisymmetric drop shape
1. INTRODUCTION
analysis—profile (ADSA-P). Jennings and Pallas (10) de-
In recent years, the use of automated computer software veloped a similar method, built on Rotenberg and col-
for the measurement of interfacial properties of fluids, i.e., leagues’ work, in an attempt to make the method computa-
surface tensions g and contact angles uc , has not only im- tionally more efficient, but they introduced numerical simpli-
proved the accuracy of the measurements considerably (1– fications that affect the accuracy of the method.
4) but it has also permitted the study of phenomena that Another advantage of ADSA methods is that contact
were not possible or difficult to investigate in the past, such angles, as well as volume and surface area, can be computed
as ultralow interfacial tensions (5), the relaxation of adsorp- simultaneously. This led to the development of axisymmetric
tion layers (6), and dynamic surface tensions (7). Using a drop shape analysis—diameter (ADSA-D), which com-
desktop computer, the time required for a single interfacial putes contact angles based on the volume and diameter of
tension measurement has been reduced from hours of dedi- sessile drops with known surface tension (13, 14). ADSA-
cated work to just a few seconds, allowing thousands of D is particularly powerful for low contact angles (e.g., uc
time-dependent measurements to be performed, unattended, õ 207 ) where other methods present difficulties.
in a single day. Another popular method for estimating surface tensions
is the one developed by Malcolm and Elliott (15), which
1
To whom correspondence should be addressed. uses a semiempirical equation to approximate surface ten-

0021-9797/97 $25.00 136


Copyright q 1997 by Academic Press
All rights of reproduction in any form reserved.

AID JCIS 5214 / 6g38$$$$21 12-22-97 11:02:57 coidas


AXISYMMETRIC DROP SHAPE ANALYSIS 137
dV
Å px 2 sin u, [1d]
ds
dA
Å 2px, [1e]
ds
x(0) Å z(0) Å u(0) Å V (0) Å A(0) Å 0, [1f]

where b is the curvature at the origin of coordinates and c


Å ( Dr )g/ g is the capillary constant of the system. u is the
FIG. 1. Coordinate system used in the numerical solution of the Laplace tangential angle which, for sessile drops, becomes the con-
equation for axisymmetric liquid–fluid interfaces. tact angle uc at the three-phase contact line. Although the
surface area A and the volume V are not required to define
sion from the total height H and maximum diameter D of a the Laplacian profile, they are included here because of their
sessile drop or captive bubble with a 1807 contact angle. importance and the fact that they can be integrated simulta-
Although this method is limited to a particular case, their neously with little computational overhead. It should also
approach has been extended to sessile drops of any contact be noted that since at the apex of the drop,
angle (16) and can be further generalized to pendant drops.
This approach has been applied to measure low interfacial sin u
Åb at s Å 0,
tensions that can be generated in pulmonary surfactant by x
compressed captive bubbles (17–20) and other systems with
ultralow interfacial tensions (5). then Eq. [1c] becomes
This paper describes recent developments in the ADSA-
P and ADSA-D methodologies and introduces a new tech-
nique, axisymmetric drop shape analysis—height and diam- du
Åb at s Å 0, [1g]
eter (ADSA-HD), to determine surface tension based on the ds
height and diameter of sessile and pendant drops. Efficient,
general-purpose numerical algorithms that make use of re- which avoids a division by zero, and there is no need to use
cent developments in numerical analysis have been imple- analytical approximations to initialize the integration as done
mented, and a numerical library of ADSA algorithms has by Dimitrov et al. (21).
been created to facilitate implementation and further devel- For given values of b and c, a unique shape of a Laplacian
opment of the methodologies. Emphasis has been given to axisymmetric fluid–liquid interface can be obtained by si-
the numerical accuracy, efficiency, flexibility, and stability multaneous integration of the above initial value problem.
of the methods. The only assumptions made are that the However, there is no known analytical solution for this prob-
drops or bubbles are Laplacian and axisymmetric. lem, except for very limited cases, and a numerical integra-
tion scheme must be used, as implemented in the axisymme-
2. NUMERICAL SOLUTION FOR AXISYMMETRIC tric liquid–fluid interfaces (ALFI) computer program de-
LIQUID–FLUID INTERFACES (ALFI) scribed below.
There exist several numerical methods to solve systems
The classical Laplace equation of capillarity describes the of ordinary diferential equations for initial value problems
mechanical equilibrium conditions for two homogeneous and considerable research is still devoted to this subject
fluids separated by an interface. For axisymmetric interfaces (22). The three major types of methods most commonly
it can be written as the following system of ordinary differen- used are the Runge–Kutta, Burlisch–Stoer extrapolation,
tial equations as a function of the arc length s, as shown in and predictor–corrector methods (23). For simple equations
Fig. 1 (1): and when efficiency is of no concern, fixed stepsize imple-
mentations are often used, but they are not suitable when
dx
Å cos u, [1a] accuracy and computational efficiency are important. Hart-
ds land and Hartley (24) used a fourth-order Runge–Kutta
dz method with truncation error control to solve the Laplace
Å sin u, [1b] equation (1). Rotenberg et al. (1) and Jennings and Pallas
ds
(10) implemented a second-order implicit Euler method.
du sin u After testing and comparing other methods, it was found that
Å 2b / cz 0 , [1c]
ds x the Burlisch–Stoer scheme with adaptive stepsize control is

AID JCIS 5214 / 6g38$$$$21 12-22-97 11:02:57 coidas


138 DEL RIO AND NEUMANN

computationally efficient but it can fail for large drops with computed) based on drop profile characteristics is a more
very low surface tension. difficult task and forms the basis of the ADSA methods
A more efficient and flexible method is the fifth- and described in the following sections.
sixth-order Runge–Kutta–Verner pair, as implemented by
Hull, Enright, and Jackson in the DVERK FORTRAN nu- 3. CONTACT ANGLE MEASUREMENTS
merical routines (25, 26). Some important features of this FROM DIAMETER AND VOLUME
code are its defect-based error and stepsize control that OF SESSILE DROPS (ADSA-D)
allows large integration steps with controlled accuracy, its
flexible design that allows the calling program to interrupt The ADSA-D methodology to compute contact angles uc
and continue the integration after any step, and its capability from the contact or maximum diameter D (usually measured
to produce continuous approximations to the solution on from a picture of the drop looking from above) and volume V
each step using very accurate interpolations. These features of sessile drops with known surface tension g was originally
are important to improve the speed and accuracy of ADSA developed by Skinner et al. (13) and Moy et al. (14). The
computations, where numerous integrations are required, as basic scheme of their implementation was to generate Lapla-
described later. cian profiles by integration of [1] for different values of b,
ALFI was written, implementing the Hull–Enright–Jack- comparing the measured and the computed volumes at the
son numerical integration scheme, to generate Laplacian pro- given diameter, until convergence, employing a Newton iter-
files of pendant and sessile drops of any size and surface ation. However, this approach, also known as single shoot-
tension by numerically integrating the initial value problem ing, has numerical deficiencies and can fail if the initial
[1]. The following are some of the features of ALFI: values are distant from the solution. In this section, a bound-
ary-value-problem approach to ADSA-D is described, which
• The volume V and surface area A are computed simulta-
is numerically more stable and easier to implement.
neously with the drop profile with negligible computational
As in the original ADSA-D, there are two cases to con-
overhead. These properties are useful in applications such
sider—(1) uc ¢ 907 and (2) uc õ 907 —which represent
as the ADSA film balance (27).
two separate boundary-value problems since in the first case
• The integration can be stopped when any given values
the maximum diameter corresponds to the equatorial diame-
of s, u, x, z, V, or A are reached, allowing the computation
ter of the drop (at u Å 907 ) and in the second case the
of drop profiles of any specified contact angle, volume, sur-
maximum diameter corresponds to the three-phase contact
face area, or size. The integration also terminates if u reaches
line (at u Å uc ) (see Fig. 2).
1807 (sessile drops) or becomes negative (pendant drops).
• The inflection point of pendant drops is accurately com- a. Contact Angle Greater than or Equal to 907
puted, which is useful for testing and evaluating drop profile
methods. Rewriting equations [1a] – [1c] as functions of x, consid-
• The origin of the coordinate system can be translated ering the curvature b as a new variable, and with the bound-
and rotated arbitrarily, and the coordinates can be scaled in ary conditions as seen in Fig. 2a, the Laplace equation can
the horizontal and vertical directions. This feature permits be written as the following boundary-value problem for uc
the comparison between theoretical and experimental drop ¢ 907:
profiles which have generally an arbitrary origin of coordi-
nates, can be vertically misaligned due to a vertical misalign-
ment of the video camera, and have an arbitrary magnifica-
du
dx
Å
1
cos u S 2b / cz 0
sin u
x D , [2a]
tion.
• The profile coordinates can be randomly perturbed in dz
Å tan u, [2b]
the normal direction, allowing the simulation of experimen- dx
tal errors, which can be used to evaluate ADSA methods.
db
Å 0, [2c]
ALFI has been found very useful not only in producing dx
tables and plots of Laplacian data as done by Hartland and
Hartley (24) and by Bashforth and Adams (11), but it is p
z(0) Å u(0) Å 0, u(R) Å [2d]
also a very important tool to test and evaluate drop shape 2
analysis methods, as described later.
As mentioned before, ALFI generates complete Laplacian where R Å D/2 is the maximum (equatorial) radius. Problem
profiles from values of b and c by integrating the initial [2] completely defines the Laplacian shape; its solution
value problem [1]. The inverse process of determining b gives directly the profile shape for 0 ° x ° R, and the
and c (from which g and contact angle uc can be easily constant value of the apex curvature b. The contact angle

AID JCIS 5214 / 6g38$$$$21 12-22-97 11:02:57 coidas


AXISYMMETRIC DROP SHAPE ANALYSIS 139
additional numerical integration since the contact angle can
be obtained simply from uc Å u(R).
To initialize ADSA-D it is necessary to determine, for
given values of Vc and R, whether uc ¢ 907 (problem [2])
or uc õ 907 (problem [3]). On occasion, the user can give
this information as input, but in many cases, especially for
uc near 907, it is not known. The approach implemented in
the program is (1) if the user knows whether the drop is
wetting ( uc õ 907 ) or nonwetting ( uc ¢ 907 ), solve the
respective problem and exit; otherwise, (2) assume uc ¢ 907
and solve problem [2] for the given R, and compute volume
V90 at u Å 907 by numerically integrating [1]. If V90 ° Vc
the initial assumption was correct, compute uc , and exit;
otherwise, (4) solve problem [3] for uc õ 907.
The nonlinear problems [2] and [3] must be solved nu-
merically. Numerical methods to solve boundary-value prob-
lems can be divided into two main categories (28, 29):
initial value or shooting methods, and finite difference or
collocation methods. The original implementation of ADSA-
D used a variation of the single shooting method, which is
known to have stability drawbacks. Multiple shooting meth-
ods are more stable but, after some tests, they were found to
FIG. 2. Boundary conditions for ADSA-D boundary-value problems
be inefficient for Laplacian problems, particularly for well-
[2] and [3]. (a) Contact angle greater than or equal to 907; (b) contact
angle less than 907. deformed drop shapes. A more efficient approach is the use
of finite-difference methods with collocation formulas, as
implemented in the COLSYS FORTRAN library by Ascher
uc can then be computed by integrating Eq. [1], for the and Bader (28), which uses collocation at Gaussian points
known values of b and g, past the maximum diameter, stop- to approximate the solution.
ping when the computed volume reaches the drop volume, COLSYS, as well as any other nonlinear numerical
Vc . This problem thus requires a boundary-value problem method, requires initialization with approximate values of
solver plus a numerical integration. the solution. For the case of uc ¢ 907, the profile and the
curvature are initialized with an elliptical approximation,
b. Contact Angle Less than 907 and for uc õ 907 the solution is initialized with zero values
and the curvature with 1/R. It was found that these rough
Similarly, as seen in Fig. 2b, the Laplace equation for approximations are sufficient for COLSYS to converge.
uc õ 907 can be written as the following boundary-value Nevertheless, a continuation algorithm (subdividing the
problem: problem into several easier-to-solve steps) was implemented

S D
to guarantee convergence to a solution in case of an initial
du 1 sin u failure of COLSYS, using the capillary constant c as the
Å 2b / cz 0 , [3a]
dx cos u x continuation parameter.
dz
Å tan u, [3b] 4. SURFACE TENSION MEASUREMENTS FROM
dx HEIGHT AND DIAMETER OF SESSILE
dV AND PENDANT DROPS (ADSA-HD)
Å px 2 tan u, [3c]
dx
Several methods to approximate g from the height H and
db diameter D of sessile drops, based on semiempirical equa-
Å 0, [3d] tions and/or Laplacian tables, have been developed in the
dx
past (15, 16). However, these methods are restricted to spe-
z(0) Å u(0) Å V (0) Å 0, V ( R) Å Vc . [3e] cial cases (e.g., sessile drops with uc É 1807 ) and their
accuracy is limited for a certain range of height/diameter
Here Vc is the total volume of the drop. Problem [3] com- ratios (20), even when perfect numerical data are used.
pletely defines the Laplacian shape. There is no need for an In this section a boundary-value-problem approach to this

AID JCIS 5214 / 6g38$$$$21 12-22-97 11:02:57 coidas


140 DEL RIO AND NEUMANN

case, problem [4] is a three-point boundary-value problem;


if H and D are measured at the same location, i.e., u1 Å u2 ,
it becomes a two-point boundary-value problem.
As in the ADSA-D implementation (see above), the COL-
SYS library can be used to solve problem [4], taking advan-
tage of its ability to handle multiple-point boundary condi-
tions. The algorithm in this case is initialized using an ellip-
tical fit that satisfies the boundary conditions [4e], an initial
curvature equal to the curvature of the fitted ellipse at the
origin, and the capillary parameter is initialized with a user-
supplied value, which can be a very rough estimate, as seen
in Section 9. A continuation algorithm has also been imple-
mented in case COLSYS fails initially.

5. SURFACE TENSION MEASUREMENTS BY


DROP PROFILE FITTING OF SESSILE
FIG. 3. Boundary conditions for ADSA-HD boundary-value prob- AND PENDANT DROPS (ADSA-P)
lem [ 4 ] .
The ADSA-P methodology to determine interfacial prop-
erties by means of a numerical fit of several arbitrary drop
problem is presented, which is exact (to a specified numeri- profile coordinates to the Laplace equation was originally
cal tolerance) and general: it is applicable to sessile drops developed by Rotenberg et al. (1) using a four-parameter
(wetting and nonwetting) and pendant drops, and it can be nonlinear least-squares fit with a Newton optimization
used with any measured height and diameter, not necessarily scheme and incremental loading or parameter continuation.
the equatorial diameter and maximum height. This method has been used successfully to measure interfa-
The most general case, as shown in Fig. 3, can be defined cial tensions in a variety of systems for several years (4)
by the following boundary-value problem, written as a func- but it has presented convergence problems for some systems
tion of the tangential angle, with both the apex curvature b with ultralow interfacial tension and very flat drop shapes
and the capillary parameter c as unknown constants: because of the limitations of Newton’s method when the
initial parameters are distant from the solution. A new ver-
dx
du S
Å cos u 2b / cz 0
sin u
x D01
, [4a]
sion of ADSA-P is presented in this section, implementing
additional optimization parameters and more efficient and

S D01
globally stable numerical methods. Also, the original optimi-
dz sin u zation parameters have been redefined, using the curvature
Å sin u 2b / cz 0 , [4b]
du x at the apex b instead of the radius of curvature (R0 Å b 01 )
and making the parameters independent of each other, which
db simplifies the algebra and the numerical analysis.
Å 0, [4c]
du Similarly to the original ADSA-P, the strategy used is to
dc construct and minimize an objective function E, defined as
Å 0, [4d] the sum of the weighted squared normal distances between
du
any N profile coordinates and the Laplacian profile (problem
x(0) Å z(0) Å 0, x( u1 ) Å R, z( u2 ) Å H. [4e] [1]), as seen in Fig. 4:
N
Here R Å D/2. Problem [4] completely defines the drop E Å ∑ wi ei , [5a]
shape; its solution determines the profile coordinates for any iÅ1
u, as well as the (constant) values of b and c from which
g and other drop properties, e.g., uc , V, and A, can be readily ei Å 12 d 2i Å 12[(xi 0 Xi ) 2 / (zi 0 Zi ) 2 ]. [5b]
computed by the numerical integration of [1]. The same
definition of the problem can be applied to pendant and Here, wi is a weighting factor, (Xi , Zi ) are the measured
sessile (wetting and nonwetting) drops. The only limitation drop coordinates, and (xi , zi ) are the Laplacian coordinates
is that, for pendant drops, the boundary conditions at u1 and closest to (Xi , Zi ). Currently, wi is set equal to 1.0 until
u2 must be measured before the inflection point ( uinf in Fig. more studies are available on the effect of weighting factors.
3) for the problem to have a unique solution. In the general By introducing the generally unknown origin (x0 , z0 ) and

AID JCIS 5214 / 6g38$$$$21 12-22-97 11:02:57 coidas


AXISYMMETRIC DROP SHAPE ANALYSIS 141
tance from the Laplacian curve to each experimental point.
This is done using a one-dimensional Newton–Raphson iter-
ation to solve, for each ith point,

de
f (s) Å Å ex cos u / ez sin u Å 0.
ds

This procedure requires several numerical evaluations of the


initial value problem [1] for each data point, and in previous
versions of ADSA-P it required several numerical integra-
tions of [1] (approximately 3N integrations) that made the
FIG. 4. Definition of error function parameters for ADSA-P optimiza- evaluation of E computationally expensive. With the imple-
tion problem [5]. mentation of the numerical integration package of Hull, En-
right, and Jackson, DVERK, only one integration of [1] is
necessary to evaluate E for any given set of the parameters
angle of rotation of the system of coordinates a, and scaling a, and any intermediate values are computed with the inex-
factors on both coordinates (Xs , Zs ), the individual error can pensive and equally accurate function approximation routine
be written (dropping the subscript i) as of DVERK, called INTRP (26).
In the work of Jennings and Pallas the residuals are com-
e Å 12 (e 2x / e 2z ), [5c] puted using a linear interpolation in an attempt to reduce
computational time. However, this approach introduces
ex Å x 0 x0 0 Xs X cos a / ZsZ sin a, [5d] larger errors on sections of the drop with larger curvature
ez Å z 0 z0 0 Xs X sin a 0 ZsZ cos a. [5e] and is not suitable for highly curved surfaces. The Newton–
Raphson approach implemented in ADSA-P is exact, to the
given numerical tolerance, for all curvatures and drop pro-
The objective is therefore to compute the set of M optimiza-
files.
tion parameters a that minimizes [5], where a Å [b c x0 z0
There exist several numerical methods to solve optimiza-
a Xs Zs ] T or any subset of it. This definition is more general
tion problems. Among them, Newton’s method is well
than the four parameters used by Rotenberg et al. and is
known for its second-order convergence if the initial values
similar to the parameter set used by Jennings and Pallas
are very close to the solution, but it is unpredictable other-
(10). It should be noted though that only one of the scaling
wise, particularly for multidimensional problems. To over-
factors, Xs or Zs , can be optimized simultaneously with b
come this problem, several Newton-like algorithms have
and c for the solution to be unique. Generally one of the
been developed with more advanced convergence strategies.
scaling factors is known from the experimental setup and
The original ADSA-P used Newton’s method with incre-
can be held constant while optimizing the other to correct for
mental loading to approach the solution, but this approach
the aspect ratio to calibrate the optical system. The rotational
is computationally expensive and its convergence is not
angle a can also be optimized to correct for the rotational
guaranteed. Jennings and Pallas (10) used a modified
misalignment of the camera for calibration purposes, but it
Gauss–Newton method with restricted step. Another method
can be held constant once the system has been calibrated,
commonly used for nonlinear least-squares optimization is
provided the camera has not been moved.
the Levenberg–Marquardt algorithm which can be described
The optimization problem can be written as
as a trust-region implementation of the Gauss–Newton
N method (30).
min E(a) Å ∑ wi ei (a). [6] In this version of ADSA-P, a combination of the New-
a iÅ1 ton and Levenberg – Marquardt methods were imple-
mented. Very often, as in the case of time-dependent stud-
Problem [6] is a multidimensional nonlinear least-squares ies, the results from a previous run can be used as initial
problem that requires an iterative optimization procedure. values and Newton’s method can be used to take advan-
When the minimum has been found, the optimization param- tage of its fast convergence. The FORTRAN linear algebra
eters determine the Laplacian profile that best fits the given packages LAPACK and BLAS were used to solve the
profile, from which g and other properties can be readily system of equations to compute the Newton iteration
computed. steps. The Newton optimization is aborted as soon as di-
Evaluating E for a trial set of a, i.e., for each optimization vergence is detected or if the Hessian matrix is found to
iteration, involves determining the minimum (normal) dis- be nonpositive-definite ( 27 ) .

AID JCIS 5214 / 6g38$$$$21 12-22-97 11:02:57 coidas


142 DEL RIO AND NEUMANN

If good initial values are not available or if Newton’s


method fails, the Levenberg–Marquardt method is used.
This method takes advantage of numerical properties partic-
ular to least-squares problems, is known to be globally con-
vergent, and needs only first-order derivatives to build the
Jacobian matrix. The numerical implementation chosen here
is the Levenberg–Marquardt with derivative (LMDER) rou-
tines from the FORTRAN MINPACK library developed by
Moré and Wright (31).
Both the first derivatives needed to construct the Jacobian
matrix used by LMDER and the second derivatives needed
to construct the Hessian used by Newton’s method are com-
puted with the same degree of accuracy as the objective
function by simultaneous numerical integration of the deriv-
atives together with the integration of [1], as described in
Ref. (1). This involves the simultaneous numerical integra-
tion of a system of 11 first-order ordinary differential equa-
tions for the LMDER routines and 20 for the Newton
method.
Of the seven possible optimization parameters, the most
difficult one to initialize is the capillary parameter c. It can
be initialized with either a call to ADSA-HD, with results
FIG. 5. Sessile and pendant drop profiles generated with ALFI for
from a previous run (e.g., time-dependent studies), or with testing and evaluating ADSA program.
user-supplied values. The effect of this initial value on the
performance of the program is evaluated in Section 10. Good
initial values for b, x0 , and z0 can be found by a least-squares 7. TESTING AND EVALUATION OF ALFI
elliptical fit of several points near the drop apex, and the
rotational angle a and the scaling factors Xs and Zs are gener- The numerical profiles obtained with ALFI agree, within
ally known from the experimental setup. a specified numerical precision, with those published by
Hartland and Hartley (24) and with other numerical integra-
tion schemes tested; they are not reproduced here. By tracing
6. TESTING AND EVALUATION PROCEDURE the numerical integration steps, it was found that, as the
numerical integration routine DVERK automatically adjusts
The evaluation of ADSA methods requires that drop pro- the stepsize along the profile to control the estimated numeri-
files of known surface tension and apex curvature be given cal errors, small steps are usually needed near the drop apex
as input data, so the numerical results can be compared and increasingly larger steps (compared to the total arc
with the known values of the parameters. Since experimental length) afterward.
values of surface tension and curvature are generally uncer- Several drop profiles, both sessile and pendant, were gen-
tain or unknown, the evaluation of ADSA numerical meth- erated during the testing and evaluation of the programs.
ods is best done by means of ‘‘synthetic’’ or theoretical Figure 5 shows some selected profiles with a variety of drop
drops, obtained by numerical integration of the Laplace shapes, with the corresponding parameters shown in Table
equation. Another advantage of using synthetic drop profiles 1. The capillary parameter c Å 13.45 cm02 used for some
is that the sensitivity of the methods can be easily measured of the profiles corresponds to a value typical of a water–air
by perturbing the input data to simulate experimental errors, system. The computational performance of ALFI is of the
and comparing the results with the known exact solution. order of 0.05 s to produce 100 plotting points for each drop.
The following sections describe how the ALFI program A numerical tolerance of 10 08 was used to generate the drop
was used to generate synthetic profiles to test and evaluate profiles.
the ADSA methods presented above. The computational
times were measured on a Sun SPARCstation 10 (60-MHz 8. TESTING AND EVALUATION OF ADSA-D
SuperSPARC CPU) and are presented here only as refer-
ence. Comparative or even faster performance can be ob- ADSA-D requires as input c, R, and V of a sessile drop,
tained on other computer systems, e.g., Intel Pentium per- and returns the contact angle uc . Table 2 shows the results
sonal computers. of running ADSA-D for sessile drops S1–S5 with arbitrarily

AID JCIS 5214 / 6g38$$$$21 12-22-97 11:02:57 coidas


AXISYMMETRIC DROP SHAPE ANALYSIS 143
TABLE 1 which causes larger changes in contact angle for small per-
Parameters of Sessile (S) and Pendant (P) Drop Profiles, Gener- turbations of any parameter, especially for large values of
ated with ALFI, Used in the Testing and Evaluation of ADSA c. Note that drop S5 with uc Å 1807, which produced the
Methods.a largest errors, corresponds to a very large value of c. Also,
for drop S1 with uc Å 57 the maximum error is due to the
S1 S2 S3 S4 S5
very small volume of the drop, but with a more accurate
c (cm02) 13.45 13.45 13.45 1.0 1000.0 volume measurement the error would be negligible.
b (cm01) 0.734 0.03 10.0 1.0 1.0
P1 P2 P3 P4 P5 9. TESTING AND EVALUATION OF ADSA-HD

c (cm02) 013.45 013.45 013.45 01.00 01000.00 The only input required by ADSA-HD is coordinate infor-
b (cm01) 5.838 10.0 1.0 2.0 50.00 mation (x, z, u ) of one or two arbitrarily selected profile
a
points, from which c (therefore g ) is computed. See Eq.
c is the capillary constant (Dd)g/g and b is the curvature at the drop [4]. The points of maximum diameter and maximum height
apex.
are usually chosen since they are easier to measure, but the
method is not limited to any particular locations. In practice
selected contact angles. The input values were obtained from these coordinates can be accurately measured from a digital
the data generated by ALFI for the respective contact angles. image.
A numerical tolerance of 10 06 was used in the computations. Table 4 shows the results and performance of ADSA-HD
It can be seen that ADSA-D returns the correct contact angle for the sessile and pendant drops of Fig. 5 using arbitrarily
with negligible errors in all the cases. Table 2 also shows selected boundary points. D, H, u1 , and u2 are the input
the computational time t required to run ADSA-D. Its perfor- data, t is the computational time required to run the program,
mance is always satisfactory, with better performance for c is the output capillary constant, and cerror is the output error.
contact angles less than 907 (less than 0.5 s). In all the cases A tolerance of 10 06 was used, and the initial value of c was
tested, the method succeeded in the first call to the boundary always given with an error greater than or equal to 25% of
problem solver COLSYS; i.e., parameter continuation was the exact solution, e.g., cinit Å 0.1, 10, 500 for c Å 1, 13.45,
not required. 1000, respectively. Every run shown in the table converged
To evaluate the sensitivity of the method to experimental in the first iteration (i.e., no parameter continuation was
errors, each input parameter can be perturbed by a small required) in less than 0.5 s, except for pendant drop P3
amount d, comparing the resulting contact angles with the which required two continuation iterations, hence the longer
original one. In practice, V can be measured with a microme- computational time. It can be seen that the method is not
ter syringe with an accuracy of 10 05 cm3 (0.01 ml), D can very sensitive to the initial estimate of c. The program suc-
be measured using digital image analysis with an accuracy ceeded for all the sessile and pendant drops tested with rela-
better than 0.15% (approximately one pixel on a 640 1 480 tive numerical errors within the specified tolerance.
image), and c can be obtained with an accuracy better than To evaluate the sensitivity of the method to experimental
1.0%. These experimental errors would produce the contact errors, the input values of H and D were perturbed by 0.15%
angle errors shown in Table 3, where each row shows the
error obtained by perturbing each input parameter (keeping
TABLE 2
the others constant) and the last row is the maximum com-
Computational Results of ADSA-D for Exact Values
bined error obtained by perturbing all the input parameters.
of Input Dataa
The tests show that the method is not very sensitive to experi-
mental errors for small contact angles, for which the best c R V t uc uerror
results are obtained (e.g., an error of less than 0.57 for contact Drop (cm02) (cm) (cm3) (s) (deg) (deg)
angles less than 307 and less than 17 for contact angles less
than 907 ). For contact angles greater than 907 the method S1, 57 13.45 0.1161 0.00011 0.19 5 2.11e-04
S1, 1207 13.45 0.6562 0.4578 1.16 120 9.83e-06
is more sensitive and more accurate measurements are re- S2, 107 13.45 1.1152 0.1236 0.23 10 6.40e-08
quired for good results. S3, 807 13.45 0.0965 0.0014 0.38 80 6.71e-07
These results agree with the experimental results obtained S4, 307 1.00 0.4849 0.0486 0.30 30 5.33e-08
by Skinner et al. in the evaluation of the original ADSA-D S5, 1807 1000.00 0.1401 0.0032 1.50 180 õ1.0e-08
method (13). The effect of nonaxisymmetry of the drops S5, 457 1000.00 0.1299 0.00089 0.26 45 5.63e-05
was also addressed by Skinner et al. The larger errors for a
uc is the output contact angle and uerror is the numerical error. The error
contact angles greater than 907 are due to the faster angular values are expressed in standard scientific notation; e.g., 1.0e-05 is equal
change of the drop profiles below the maximum diameter, to 1.0 1 1005.

AID JCIS 5214 / 6g38$$$$21 12-22-97 11:02:57 coidas


144 DEL RIO AND NEUMANN

TABLE 3
Maximum Contact Angle Errors (deg) from ADSA-D for Typical Experimental Errorsa

S1, 57 S1, 1207 S2, 107 S3, 807 S4, 307 S5, 1807 S5, 457

dc 0.0006 0.508 0.028 0.0082 0.0031 11.04 0.134


dD 0.022 0.520 0.036 0.187 0.122 9.816 0.156
dV 0.468 0.0033 0.0008 0.295 0.0056 9.498 0.492
Maximum 0.489 1.024 0.065 0.490 0.131 17.30 0.779

a
Each row represents the error obtained by perturbing the parameters c, D, and V, simulating typical experimental errors. The maximum error
corresponds to the worst-case scenario by perturbing c, D, and V simultaneously.

of the original values (approximately one pixel on a 640 1 are shown in Table 6. It can be seen that the numerical errors
480 digital image), and the resulting value of c was com- are negligible.
pared with the original one. These results are shown in Table As mentioned earlier, the ADSA-P optimization algorithm
5. It can be seen that the sensitivity of the method varies requires as input the initial values of the optimization param-
from drop to drop, with errors of less than 1% for some eters, which, except for the capillary constant c, can be
drops but higher errors in other cases. This behavior depends estimated using an elliptical least-squares fit. To evaluate
on the slope of the multidimensional topology of the given the global convergence and the sensitivity of the method to
problem and seems to be unpredictable, but it can be evalu- the initial value of c, a wide range of initial values were
ated by perturbing the input data by the estimated measure- given as input to the program and the results are shown in
ment errors as described above. Further tests show that, for Table 7 for both Newton and Levenberg–Marquardt optimi-
a given drop, the error becomes smaller when the input data zation methods. It can be seen that the Levenberg–Mar-
are measured at larger angles u1 and u2 ; e.g., the error ob- quardt method succeeds for any initial value of c without a
tained using data points near u Å 1807 for drop S4 is approxi- significant increase in computational time, while the Newton
mately 1%. method succeeds only if the initial value is very close to the
exact solution ( {10% in this particular case). However,
10. TESTING AND EVALUATION OF ADSA-P when successful, the Newton method is considerably faster
than the Levenberg–Marquardt method.
ADSA-P differs from the other ADSA methods in that it Figure 6 shows the computational performance of the
requires as input an arbitrary number N ú M of profile methods when different numbers of data points N are used.
coordinates, where M is the number of optimization parame- For the Newton optimizations, initial values of 0.9 c were
ters. To test the accuracy of the algorithm, synthetic drops used. It can be seen again that the Newton method is consid-
S1–S5 and P1–P5 were given as input to the program, using erably faster but it failed to converge for drops S1, S4, and
N Å 21 points and a numerical tolerance of 10 08 . The results S5, while the Levenberg–Marquardt method succeeded in
all the cases.
TABLE 4 TABLE 5
Computational Results of ADSA-HD for Exact Values Capillary Constant Errors (% of Exact Solution) from
of Input Dataa ADSA-HD for Typical Experimental Errorsa
D/2 H u1 u2 t c cerror S1 S2 S3 S4 S5
Drop (cm) (cm) (deg) (deg) (s) (cm02) (cm02)
dR 0.11 0.050 7.13 8.85 0.011
S1 0.6562 0.4578 90 120 0.35 13.45 õ1.0e-07 dH 0.41 0.35 7.42 9.16 0.31
S2 1.1152 0.0503 10 10 0.47 13.45 õ1.0e-07
Maximum 0.52 0.40 14.57 18.07 0.32
S3 0.0965 0.0793 80 80 0.35 13.45 4.0e-07
S4 0.4849 0.1278 30 30 0.35 1.0 õ1.0e-07 P1 P2 P3 P4 P5
S5 0.1401 0.0664 90 180 0.45 1000.0 9.8e-05
P1 0.1860 0.2705 90 100 0.50 013.45 1.0e-06 dR 0.71 1.01 5.29 6.95 1.11
P2 0.1024 0.2058 90 140 0.32 013.45 3.2e-06 dH 0.41 0.71 5.0 6.65 0.81
P3 0.1839 0.0166 10 10 1.33 013.45 4.5e-05 Maximum 1.12 1.71 10.33 13.62 1.92
P4 0.4461 0.2632 60 60 0.33 01.0 1.0e-06
a
P5 0.0217 0.0250 90 90 0.44 01000.0 4.4e-04 Each row represents the error obtained by perturbing the parameters R
and H, simulating typical experimental errors. The maximum error corre-
a
c is the output capillary constant and cerror the numerical error. sponds to the worst-case scenario of perturbing both R and H.

AID JCIS 5214 / 6g38$$$$21 12-22-97 11:02:57 coidas


AXISYMMETRIC DROP SHAPE ANALYSIS 145
TABLE 6
Numerical Results of ADSA-P for Sessile (S) and Pendant (P)
Drops Using N Å 21 Points

S1 S2 S3 S4 S5

c (cm02) 13.45 13.45 13.45 1.0 1000.0


cerror (cm02) 7.0e-08 7.6e-06 2.7e-04 8.1e-07 8.3e-05
P1 P2 P3 P4 P5

c (cm02) 013.45 013.45 013.45 01.0 1000.0


cerror (cm02) 2.4e-06 2.0e-06 1.3e-04 3.6e-06 3.6e-03

To simulate the effect of experimental errors on ADSA-


P, ALFI was used to randomly perturb the Laplacian profiles
with a maximum normal perturbation of approximately one
pixel of a 640 1 480 digital image. Sessile drops of various
contact angles and pendant drops from the apex to the inflec-
tion point were used, as seen in Table 8. The inflection
points of the pendant drops were used only for convenience; FIG. 6. Computational performance of ADSA-P for sessile and pendant
ADSA-P is not limited by nor needs information about the drops using Newton and Levenberg–Marquardt optimization methods.
inflection point. It can be seen that the larger errors corre- Computational times measured on a SPARCstation 10 computer (60 Mhz
SuperSPARC CPU). Similar results can be obtained on other computer
spond to sessile drops of low contact angle and pendant drop
systems, including personal computers.
P3, which does not have an equatorial diameter or a ‘‘neck.’’
Otherwise, the accuracy is better than 1% for sessile drops
with uc ú 907 and better than 0.5% for pendant drops with and easier to implement. No numerical simplifications were
a neck, particularly when using N ¢ 50 points. made, to make the programs as accurate as possible. This
strategy has proven successful as can be seen by the wide
11. DISCUSSION range of applicability of the methods, i.e., the wide range
of surface tensions, drop sizes, and variety of drop shapes
Recent advances in ADSA techniques have been pre- for which the programs succeed. Ultralow interfacial ten-
sented in this paper: new versions of the ADSA-D and sions and well-deformed drop shapes are no longer a limita-
ADSA-P methods that overcome the main limitations of tion of the methods.
earlier versions, e.g., numerical instability and failure to con- Numerical simulations, performed with the aid of a pro-
verge for certain ultralow interfacial tensions and well-de- gram that generates theoretical drop profiles (ALFI), show
formed drop shapes, and a new method called ADSA-HD the applicability of the methods. Contact angles can be mea-
that computes surface tension from the height and diameter sured with an accuracy better than 17 with ADSA-D from
of sessile and pendant drops. Advanced, general-purpose the volume and diameter of sessile drops, and an accuracy
numerical methods that are well known for their numerical of 0.17 is readily obtainable for drops with low contact
stability have been used, making the software more flexible angles, e.g., uc õ 307. However, more accurate measure-
ments are required to obtain accurate contact angles for drops
near 1807 contact angle. ADSA-HD can be used to estimate
TABLE 7 surface tension by measuring only height and diameter of a
Performance of ADSA-P for Initial Values pendant or sessile drop with an accuracy of about 2% for
of c from 0.1c to 2.0ca drops with an equatorial diameter, i.e., sessile drops with uc
0.1c 0.5c 0.9c 1.1c 1.5c 2.0c ¢ 907 and pendant drops with a neck. ADSA-P can be used
for more accurate surface tension measurements, with which
tN (s) — — 0.36 0.27 — — an accuracy better than 0.5% is readily obtainable, with bet-
tLM (s) 1.30 1.30 1.30 1.22 1.33 1.41 ter results for pendant drops with a neck and sessile drops
cerror (cm02) 3.3e-06 2.4e-06 7.6e-07 9.7e-07 2.0e-06 1.9e-06 with uc ú 907.
a
Drop P1 with N Å 21 points was used. tN and tLM are the computational Since the input required by ADSA programs consists of only
times required using the Newton and Levenberg–Marquardt optimization a few drop profile coordinate measurements, they can be used
methods, respectively. with any kind of data acquisition, although digital image analy-

AID JCIS 5214 / 6g38$$$$21 12-22-97 11:02:57 coidas


146 DEL RIO AND NEUMANN

TABLE 8
Computational Results of ADSA-P for Sessile (S) and Pendant (P) Drops after Perturbing Every Profile Coordinate by a Random
Normal Distance, with a Maximum Perturbation Equivalent to Approximately the Distance between Two Consecutive Pixels in a 640
1 480 Digital Image

N Å 21 N Å 51 N Å 101 N Å 501

c (cm02) cerror (%) c (cm02) cerror (%) c (cm02) cerror (%) c (cm02) cerror (%)

S1, 1207 13.419 0.22 13.415 0.26 13.407 0.32 13.408 0.31
S2, 107 13.428 0.16 13.733 2.11 13.700 1.86 13.517 0.50
S3, 807 14.371 6.84 13.667 1.61 13.679 1.70 13.426 0.18
S4, 307 1.146 14.6 1.035 3.54 0.953 4.73 1.020 2.03
S5, 1807 991.76 0.82 992.33 0.77 991.99 0.80 993.13 0.69
P1, 1107 013.432 0.14 013.433 0.13 013.428 0.16 013.425 0.19
P2, 1437 013.425 0.18 013.436 0.10 013.447 0.02 013.427 0.17
P3, 187 013.179 2.02 012.993 3.40 013.077 2.77 013.305 1.08
P4, 1277 00.995 0.52 00.996 0.35 00.997 0.27 00.998 0.21
P5, 1097 0997.03 0.30 0996.66 0.33 0997.93 0.21 0998.06 0.19

sis is recommended for more accurate results and complete ACKNOWLEDGMENTS


automation. The software was designed to be used as
standalone programs or as a numerical library that can be easily This work was supported by the Natural Science and Engineering
Research Council of Canada. The DVERK FORTRAN library was kindly
integrated with other modules such as image acquisition, image provided by W. H. Enright, Department of Computer Science, University
analysis, and volume and surface area control. of Toronto. The COLSYS, MINPACK, LAPACK, and BLAS FORTRAN
All the programs were written in C, with FORTRAN inter- libraries are available on the Internet at the Netlib Repository at the Univer-
faces to make use of the third-party FORTRAN numerical sity of Tennessee, Knoxville, and the Oak Ridge National Laboratory
libraries mentioned throughout the paper. They can be com- (http://www.netlib.org).
piled on any computer system with C and FORTRAN com-
pilers and can be obtained from the authors. REFERENCES

1. Rotenberg, Y., Boruvka, L., and Neumann, A. W., J. Colloid Interface


APPENDIX: ABBREVIATIONS Sci. 93, 169 (1983).
2. Cheng, P., Li, D., Boruvka, L., Rotenberg, Y., and Neumann, A. W.,
Colloids Surf. 43, 151 (1990).
ADSA Axisymmetric drop shape analysis 3. Cheng, P., and Neumann, A. W., Colloids Surf. 62, 297 (1992).
4. Lahooti, S., del RıB o, O. I., Cheng, P., and Neumann, A. W., in ‘‘Applied
ADSA-P ADSA based on profile coordinates of pendant
Surface Thermodynamics’’ (A. W. Neumann and J. K. Spelt, Eds.),
and sessile drops Chap. 10, pp. 509–556. Marcel Dekker, New York, 1996.
ADSA-D ADSA based on the maximum diameter of ses- 5. Kwok, D. Y., Chiefalo, P., Khorshiddoust, B., Lahooti, S.,
sile drops Cabrerizo-VıB lchez, M. A., del RıB o, O. I., and Neumann, A. W., in ‘‘Sur-
ADSA-HD ADSA based on the height and diameter of factant Adsorption and Surface Solubilization’’ (R. Sharma, Ed.), ACS
Series 615, Chap. 24, pp. 374–386, Am. Chem. Soc., Washington, DC,
pendant and sessile drops
1995.
ALFI Axisymmetric liquid–fluid interfaces 6. Miller, R., Treppo, S., Voigt, A., Zingg, W., and Neumann, A. W.,
BLAS Linear algebra package of the University of Colloids Surf. 69, 209 (1993).
Tennessee 7. Kwok, D. Y., Cabrerizo-VıB lchez, M. A., Gomez, Y., Susnar, S. S., del
COLSYS Boundary-value problem solver by Ascher and RıB o, O. I., Vollhardt, D., Miller, R., and Neumann, A. W., in ‘‘Dynamic
Bader (28) Properties of Interfaces and Association Structures’’ (V. Pillai and
D. O. Shah, Eds.) Chap. 14, pp. 278–296. AOCS Press, Champaign,
DVERK Runge–Kutta–Verner initial value problem IL, 1996.
solver by Hull et al. (25) 8. Padday, J. F., in ‘‘Surface and Colloid Science’’ (E. Matijević, Ed.),
INTRP High-order interpolation routine of DVERK Wiley, New York, Vol. 1, p. 101. 1968.
LAPACK Linear algebra package of the University of 9. Neumann, A. W., and Good, R. J., in ‘‘Experimental Methods in Sur-
Tennessee face and Colloid Science’’ (R. J. Good and R. R. Stromberg, Eds.),
Vol. 11, pp. 31–91. Plenum, New York, 1979.
LMDER Levenberg–Marquardt with derivatives sub- 10. Jennings, J. W., Jr., and Pallas, N. R., Langmuir 4, 959 (1988).
routine of MINPACK 11. Bashforth, F., and Adams, J. C., ‘‘An Attempt to Test the Theory of
MINPACK Minimization package by Moré (31) Capillary Action.’’ Cambridge, 1892.

AID JCIS 5214 / 6g38$$$$21 12-22-97 11:02:57 coidas


AXISYMMETRIC DROP SHAPE ANALYSIS 147
12. Maze, C., and Burnet, G., Surf. Sci. 13, 451 (1969). 23. Lambert, J. D., ‘‘Numerical Methods for Ordinary Differential Sys-
13. Skinner, F. K., Rotenberg, Y., and Neumann, A. W., J. Colloid Inter- tems: The Initial Value Problem.’’ Wiley, Chichester/New York, 1991.
face Sci. 130, 25 (1989). 24. Hartland, S., and Hartley, R. W., ‘‘Axisymmetric Fluid–Liquid Inter-
14. Moy, E., Cheng, P., Policova, Z., Treppo, S., Kwok, D. Y., Mack, faces.’’ Elsevier, Amsterdam, 1976.
D. R., Sherman, P. M., and Neumann, A. W., Colloids Surf. 58, 215 25. Hull, T., Enright, W. H., and Jackson, K. R., ‘‘User’s Guide for
(1991). DVERK: A Subroutine for Solving Non-stiff ODEs.’’ Tech. Rep. 100,
15. Malcolm, J. D., and Elliot, D. D., Can. J. Chem. Eng. 58, 151 (1980). Department of Computer Science, University of Toronto, 1976.
16. Prokop, R. M., del RıB o, O. I., Niyakan, N., and Neumann, A. W., Can. 26. Enright, W. H., Higham, D. J., Owren, B., and Sharp, P. W., ‘‘A Survey
J. Chem. Eng. 74, 534 (1996). of the Explicit Runge–Kutta Method.’’ Tech. Rep. 291, Department
of Computer Science, University of Toronto, 1995.
17. Schürch, S., Bachofen, H., Goerke, J., and Possmayer, F., J. Appl.
27. Kwok, D. Y., Vollhardt, D., Miller, R., Li, D., and Neumann, A. W.,
Physiol. 67, 2389 (1989).
Colloids Surf. A Physicochem. Eng. Aspects 88, 51 (1994).
18. Schürch, S., Bachofen, H., Goerke, J., and Green, F., Biochim. Biophys.
28. Ascher, U. M., Mattheij, R. M., and Russell, R. D., ‘‘Numerical Solu-
Acta 1103, 127 (1992).
tion of Boundary Value Problems for Ordinary Differential Equations.’’
19. Schürch, S., Schürch, D., Curstedt, T., and Roberston, B., J. Appl. Prentice–Hall, Englewood Cliffs, NJ, 1988.
Physiol. 77, 974 (1994). 29. Enright, W. H., and Muir, P., ‘‘A Runge–Kutta Type Boundary Value
20. Schoel, W. M., Schürch, S., and Goerke, J., Biochim. Biophys. Acta ODE Solver with Defect Control.’’ Tech. Rep. 267, Department of
1200, 281 (1994). Computer Science, University of Toronto, 1993.
21. Dimitrov, A. S., Yoshimura, H., and Nagayama, K., Langmuir 11, 3937 30. Fletcher, R., ‘‘Practical Methods of Optimization.’’ Wiley, Chichester,
(1995). New York, 1987.
22. Hull, T. E., Enright, W. H., and Jackson, K. R., Appl. Numer. Math. 31. Moré, J. J., and Wright, S. J., ‘‘Optimization Software Guide.’’ SIAM,
22, 225 (1996). Philadelphia, 1993.

AID JCIS 5214 / 6g38$$$$21 12-22-97 11:02:57 coidas

You might also like