1. Introduction
The task of calculating the equilibrium shape of a sessile droplet on an arbitrary surface, including the effects of gravity, is surprisingly difficult, despite the simplicity of the problem description. In the simplest case of a flat horizontal surface, one can proceed by solving the Young–Laplace equation for the droplet shape given the droplet volume and the prescribed contact angle (Danov et al. Reference Danov, Dimova, Ivanov and Novev2016). However, even for a similar geometry such as an inclined plane, the lack of rotational symmetry leads to numerous additional complications that make the problem considerably more challenging. In particular, the boundary of the wetted area on the substrate (the contact line) is then completely unknown, as is the contact angle at each point on this boundary. Therefore, certain approximations are often made to make progress on this more difficult problem, such as assuming a circular contact line (Brown, Orr & Scriven Reference Brown, Orr and Scriven1980; Tredenick et al. Reference Tredenick, Forster, Pethiyagoda, van Leeuwen and McCue2021), or using empirical models for the contact angle distribution around the contact line (Ravi Annapragada, Murthy & Garimella Reference Ravi Annapragada, Murthy and Garimella2012). For a more general surface geometry, the challenges are even more stark, as deviations in surface topology lead to a highly non-trivial formulation, again with an unknown contact line location and unknown contact angles.
A related problem is to study the evolving shape of a droplet that has been released on a surface with a relatively low energy field, and to determine the dynamics of the droplet shape as it settles towards equilibrium. In addition to the inherent challenges described above for the sessile droplet, this time-dependent problem is further complicated by the unknown relationship between the speed of the contact line and the contact angle (Hocking Reference Hocking1992). For our purposes, we are interested in using this time-dependent framework as a means to compute shapes of sessile droplets on arbitrary surfaces.
Some promise is shown in this area by energy minimisation methods, although these methods do not incorporate viscous effects, or model the temporal behaviour of settling droplets (Jamali & Tafreshi Reference Jamali and Tafreshi2021). In contrast, in this study, we develop a numerical method based on smoothed particle hydrodynamics (SPH) to tackle these challenging problems. In the context of computing shapes of sessile droplets, one advantage of our approach is that the geometry of the droplet at the contact line arises naturally as a consequence of the SPH formulation, rather than as an input to the model.
Smoothed particle hydrodynamics is a computational method for discretising fluid flow problems using ‘particles’ that carry information about the fluid, originally developed by Gingold & Monaghan (Reference Gingold and Monaghan1977) and Lucy (Reference Lucy1977), and more recently reviewed by Wang et al. (Reference Wang, Chen, Wang, Liao, Zhu and Li2016) and Ye et al. (Reference Ye, Pan, Huang and Liu2019), for example. The particles serve as interpolation nodes for fluid properties such as density and velocity. The particles are not stationary and not connected; rather, they are advected with the flow according to the fluid velocity field
$\boldsymbol{v}(\boldsymbol{x},\!t)$
. This Lagrangian discretisation transforms partial differential equations for any given field value
$\varphi (\boldsymbol{x}, t)$
into ordinary differential equations for each particle’s value
$\varphi _i(t)$
, coupled with the advection equation
${\textrm{d}}\boldsymbol{x}_i/{\textrm{d}}t = \boldsymbol{v}_i$
for the particle’s position
$\boldsymbol{x}_i$
. Provided that sufficiently many particles are used in the simulation, the particle properties can then be interpolated to reconstruct the full fields everywhere in the domain.
Since its inception, SPH has been applied to a wide variety of problems, including astrophysics (Springel Reference Springel2010), coastal engineering (Barreiro et al. Reference Barreiro, Crespo, Domínguez and Gómez-Gesteira2013), porous medium flow (Zhu & Fox Reference Zhu and Fox2001) and even blood flow in injured arteries (Müller et al. Reference Müller, Schirm and Teschner2004). The key advantage of SPH in simulating droplet behaviour is that the scheme does not necessitate the tracking of the sharp interface between the liquid and the air. Indeed, it does not track the interface directly at all; instead, the interface is deduced a posteriori based on the density field.
Some practitioners of SPH introduce surface tension effects by means of the continuum surface force (CSF). This idea dates back to Brackbill, Kothe & Zemach (Reference Brackbill, Kothe and Zemach1992) (in general) and Morris (Reference Morris2000) (applied to SPH). The CSF method starts with the Young–Laplace pressure boundary condition at the liquid–gas interface, but translates the normal force per unit area on the interface into a force per unit volume throughout the liquid by means of a smoothing function. That is, a force
$\boldsymbol{F}_{\!\textit{CSF}}$
is introduced everywhere in the fluid

where
$\delta$
is the smoothing function (maximised at the interface, and vanishing away from it),
$\sigma$
is the surface tension,
$K = -\boldsymbol{\nabla }\boldsymbol{\cdot }\hat {\boldsymbol{n}}$
is the curvature of the interface and
$\hat {\boldsymbol{n}}(\boldsymbol{x})$
the unit normal of the interface, extended into the fluid (Morris Reference Morris2000). The success of these methods hinges on robust calculation of the smoothing function and the unit normal ‘field’. Recent approaches (Vergnaud et al. Reference Vergnaud, Oger, Le Touzé, DeLeffe and Chiron2022; Blank, Nair & Pöschel Reference Blank, Nair and Pöschel2024; Antuono, Marrone & Colagrossi Reference Antuono, Marrone and Colagrossi2025) require kernel corrections, which increase the computational burden of the method significantly, and smoothing of the normal field, as well as special corrections for thin jets. The matter is further complicated when one considers contact angle effects for droplets on substrates – Chiron et al. (Reference Chiron, De Leffe, Oger and Le Touzé2019) resort to tracking the liquid–solid interface explicitly. This additional complexity yields accurate results; however, our aim is to produce a robust method applicable to droplet simulations on arbitrarily rough substrates. As such, we seek a method that is more computationally efficient and robust to interfaces with high curvatures, which we expect to be prevalent in our application.
We choose the SPH method because it provides the needed flexibility to model droplets with non-trivial shapes on complex substrates that would otherwise pose a significant challenge for interface tracking or fixed grid methods (Ye et al. Reference Ye, Pan, Huang and Liu2019). In the spirit of this interface-free approach, in the past decade a modified SPH method has emerged in which the Young–Laplace pressure boundary condition at the free surface is replaced with inter-particle forces that mimic cohesion and adhesion, in what is known as the pairwise-force SPH method (PF-SPH).
Kordilla, Tartakovsky & Geyer (Reference Kordilla, Tartakovsky and Geyer2013), Tartakovsky & Panchenko (Reference Tartakovsky and Panchenko2016) and Shigorina, Kordilla & Tartakovsky (Reference Shigorina, Kordilla and Tartakovsky2017) all used a PF-SPH method to study droplet shapes on rough surfaces, although each used a different function for the pairwise force. Santacruz-Yunga et al. (Reference Santacruz-Yunga, Guerrero-Rodríguez, Silva-Rojas, Pérez-Roa, Sigalotti, Trejo and Plaza2025) use a potential based on the popular Lennard–Jones potential for the pairwise interactions, which in this framework is analogous to a pairwise force. There is, in general, a lack of consensus regarding the best pairwise-force formulation, and a lack of understanding about what effect the formulation has on the simulated surface tension and contact angle. Existing pairwise-force profiles in the literature are rarely physically motivated and seldom investigated in their own right. Nevertheless, the PF-SPH method is very attractive for its simplicity, computational efficiency and robustness to thin features of both substrates and droplets. With this in mind, our main contribution is to propose a new force profile for PF-SPH that is physically motivated, scale-independent and carefully validated through the reproduction of multiple independent physical phenomena. To this end, we have developed a new method for calibrating the contact angle on an ideal surface by fitting whole droplet shapes obtained from semi-analytical solutions to the Young–Laplace equation. With the new PF-SPH model thoroughly calibrated and validated, we then demonstrate its application to several important test problems from the literature. First, we calculate the equilibrium shape of settling droplets on microscopically rough and chemically patterned substrates. Then, we apply the model to simulate a scenario from an agricultural application: a droplet impacting and settling on a virtual plant leaf.
The paper is structured as follows. In § 2 we outline the details of our weakly compressible pairwise-force SPH model. We describe a new, scale-independent, pairwise-force term, and give some details on boundary handling, time integration and computational implementation. Several validation tests are carried out in § 3, in which we ensure the model reproduces expected interfacial phenomena in both static and dynamic scenarios. In particular, in § 3.3 we detail our method of calibrating the pairwise force to semi-analytical solutions for droplet shapes on flat surfaces. Section 4 is then devoted to some numerical experiments of interest. Firstly, we simulate two small (
$3\,\unicode{x03BC} {\textrm{l}}$
) droplets with different initial velocities on a surface with regular, sharp, square pillars, reproducing the experimental results of Dupuis & Yeomans (Reference Dupuis and Yeomans2005) and showing a transition between wetting states. Next, we simulate a droplet settling on a flat, hydrophobic, surface with a hydrophilic stripe, and observe a smooth transition in the droplet’s contact angle from the equilibrium hydrophobic contact angle to the equilibrium hydrophilic contact angle. We then simulate a droplet settling on a virtually reconstructed wheat leaf surface in the context of broader work on understanding spray–canopy interactions on plants (Dorr et al. Reference Dorr, Wang, Mayo, McCue, Forster, Hanan and He2015, Reference Dorr, Forster, Mayo, McCue, Kempthorne, Hanan, Turner, Belward, Young and Zabkiewicz2016; Mayo et al. Reference Mayo, McCue, Moroney, Forster, Kempthorne, Belward and Turner2015; Tredenick et al. Reference Tredenick, Forster, Pethiyagoda, van Leeuwen and McCue2021). We note that our PF-SPH scheme is quite flexible and should be applicable to a broad range of time-dependent droplet-related problems on complex substrates such as droplet impaction and spreading. Finally, the julia code containing our implementation of the model is available online on GitHub.
2. Numerical formulation
2.1. Governing equations
The continuum model we use is the weakly compressible, barotropic Navier Stokes equations


with
$\boldsymbol{x}$
the position,
$\boldsymbol{v}$
the velocity,
$\rho$
the density,
$P$
the pressure,
$\mu$
the dynamic viscosity and
$\boldsymbol{g}$
the gravitational acceleration. The main focus of this work will be the body force (per unit mass)
$\boldsymbol{F}^{(\textit{pf})}$
, which we will construct in § 2.4 to reproduce surface tension and contact angle effects. The derivative
${\textrm{D}}/{\textrm{D}}t$
is the Lagrangian derivative

which, as we shall see, lends itself naturally to discretisation using SPH.
2.2. Discretisation
As is standard in SPH methods, we represent the fluid by
$N$
particles, each with their own position, velocity, density and label (to distinguish fluid from solid, for example). Using
$i$
and
$j$
as particle indices, the discretised SPH form of the model (2.1)–(2.2) is



where
$\boldsymbol{x}_{\textit{ij}} = \boldsymbol{x}_i - \boldsymbol{x}_j$
for notational convenience,
$W_{\textit{ij}} = W(\boldsymbol{x}_{\textit{ij}}; H)$
is an SPH kernel with compact support radius
$H$
,
$V_j = m_j / \rho _j$
is the volume of particle
$j$
and
$d$
is the spatial dimension (always equal to 3 in this work). The pressure
$P_i$
is calculated from the density
$\rho _i$
with the equation of state (2.6). The constants
$c_0$
and
$\rho _0$
are the artificial speed of sound and the reference density, respectively. Note that we have switched from using the material derivative
${\textrm{D}}/{\textrm{D}}t$
to the total derivative
${\textrm{d}}/{\textrm{d}}t$
, as the time derivative of a particle’s property follows the flow by definition.
In this work we use the quintic Wendland function (Wendland Reference Wendland1995) as the SPH kernel, which we parameterise by
$H$
, its radius of support, also called the kernel cutoff radius

Wendland functions were developed independently of SPH for their smoothness properties, but have been found to give accurate and stable SPH results (Dehnen & Aly Reference Dehnen and Aly2012). In the literature, this kernel is sometimes parameterised by its smoothing length
$h$
, which is defined as half the kernel cutoff radius. To avoid this confusion, we parameterise the kernel by its cutoff, which we denote
$H$
, and set
$H / \Delta x = \kappa = 4$
, where
$\Delta x$
is the particle width.
With the exception of the pairwise-force term
$\boldsymbol{F}^{(\textit{pf})}$
, which will be the main focus of this work, the discretisation summarised above is well established in the literature: see, for example, Monaghan (Reference Monaghan2005). In this work we will implement and validate a new form of the pairwise-force term to model surface tension and contact angle effects, and highlight some particular properties of
$\boldsymbol{F}^{(\textit{pf})}$
that yield stable and accurate simulations of droplets.
2.2.1. Continuity equation
The operator we use for the divergence of velocity is from Monaghan (Reference Monaghan2005)

and is specifically constructed to vanish when
$\boldsymbol{v}$
is constant.
2.2.2. Pressure gradient and equation of state
The discretisation of the gradient of pressure that we use, namely

is due to Bonet & Lok (Reference Bonet and Lok1999) (and recently used by Domínguez et al. (Reference Domínguez2022)), who showed it to be consistent with (2.4) and to conserve linear momentum exactly. Note that since
$\boldsymbol{\nabla }_i W_{\textit{ij}} = -\boldsymbol{\nabla }_j W_{\textit{ji}}$
, we have the anti-symmetry
$(\boldsymbol{\nabla } P)_i = -(\boldsymbol{\nabla } P)_j$
. This is the property that conserves momentum, since the contribution of particle
$j$
to
${{\textrm{d}}\boldsymbol{v}_i}/{{\textrm{d}}t}$
is equal and opposite to the contribution of particle
$i$
to
${{\textrm{d}}\boldsymbol{v}_j}/{{\textrm{d}}t}$
.
The pressure is calculated from the density by the equation of state. We follow Monaghan (Reference Monaghan1994, Reference Monaghan2005) in using

which was originally reported by Cole (Reference Cole1948, p. 44) in the study of underwater explosions. Cole notes that they chose the exponent
$7$
to approximately fit experimental data. In our case, we find that the results are not at all sensitive to the particular equation of state in use – even the first-order approximation
$P(\rho ) = c_0^2 (\rho - \rho _0)$
gives almost indistinguishable results. The coefficient
$c_0$
is an artificial speed of sound that controls the compressibility of the fluid. The actual speed of sound in water is around
$1500\, {\textrm{m s}}^{-1}$
, but such a value would require the use of extremely small time steps to properly resolve pressure waves travelling at that speed. Instead, in the weakly compressible model, we use an artificial value of
$c_0$
of the order of
$100\;{\textrm{m s}}^{-1}$
such that density fluctuations are kept to within
$1\, \%$
of the reference value
$\rho _0$
(Monaghan Reference Monaghan2005). The artificial speed of sound required for a particular problem can be estimated as
$10 v_{\textit{max}}$
, an order of magnitude greater than the maximum expected fluid speed.
2.2.3. Viscosity
The discrete operator we use to approximate the Laplacian is that of Monaghan & Gingold (Reference Monaghan and Gingold1983), namely

where
$d$
is the spatial dimension. More recently proposed operators exist with favourable properties, but we have chosen this particular discretisation based on the analysis by Colagrossi, Antuono & Le Touzé (Reference Colagrossi, Antuono and Le Touzé2009) that suggests it is more appropriate for the simulation of free surfaces.
2.2.4. Solid boundary treatment
At the fluid–solid interface, we have the no-slip condition:
$\boldsymbol{v} = \boldsymbol{0}$
. We impose this condition indirectly, representing the solid substrate with fixed dummy particles, initialised on a regular grid with spacing
$\Delta x$
. Multiple layers of these particles are used to avoid an SPH neighbourhood deficiency at the boundary. The solid particles have the same physical properties as the fluid at rest, with mass
$\rho _0 \Delta x^3$
and density
$\rho _0$
, but with zero velocity. This simple approximation of the no-slip condition has been shown to be consistent in the limit as
$H\rightarrow 0$
, although does not reproduce it exactly in simulations. Other schemes utilise mirroring approaches (Macia et al. Reference Macia, Antuono, Gonzalez and Colagrossi2011), in which fluid properties are interpolated and extended into the solid boundary using surface normals. In our study of droplets on rough surfaces, however, this approach would be quite complex to implement for a general surface. For example, it is not straightforward to map any point in space to its closest surface point and thus the appropriate surface normal. Furthermore, some boundary points may be assigned incorrect properties because their associated interpolation point above the solid is in the gas phase, which we do not discretise with SPH particles. The subject of more accurate boundary condition treatment is thus left to future work, and the interested reader is referred to Macia et al. (Reference Macia, Antuono, Gonzalez and Colagrossi2011) for more details.
The ‘dummy’ solid particles are included in the summations over
$j$
in the discrete continuity and momentum (2.4) and (2.5), as if they were fluid particles. Pressure forces and the repulsion due to pairwise forces ensure that fluid particles do not penetrate the boundary. Figure 1 shows a typical set-up in which a droplet of fluid particles is about to impact a flat solid boundary.

Figure 1. A side view of a three-dimensional particle simulation in which a droplet of fluid particles (blue) is about to impact solid boundary particles (grey). Insets show closeups of each type of particle. Fluid particles are advected with the flow and thus disorganised, while solid particles are fixed on a cubic lattice. The particles are rendered as spheres of volume
$m_j / \rho _j$
, but we note that this is for visualisation only: in the SPH scheme, they are better understood as interpolation nodes.
2.2.5. Time integration
The time integration scheme we use is a second-order, symplectic, position-Verlet scheme. It is modified from Leimkuhler & Matthews (Reference Leimkuhler and Matthews2015) by Domínguez et al. (Reference Domínguez2022) to include a velocity half-step, which is necessary to integrate the continuity equation and calculate the viscous term. We will use the following notation for the discretised governing equations (2.1) and (2.2):

Dropping particle indices for clarity, and letting the value of a quantity
$\varphi$
at time step
$k$
be denoted
$\varphi ^{(k)}$
, the original position-Verlet scheme (Leimkuhler & Matthews Reference Leimkuhler and Matthews2015, p. 107) reads

However, the viscous term in
$\boldsymbol{A}^{ (k + (1/2))}$
involves the velocity at the half time step, so Domínguez et al. (Reference Domínguez2022) introduce the intermediate step

Simplifying the expression for
$\boldsymbol{x}^{ (k+1 )}$
, and including the integration of the continuity equation, the full scheme reads


The time step is chosen adaptively according to viscous, maximum force and acoustic constraints

In the present application, the acoustic constraint determining
$\Delta t_c$
is almost always far smaller than the other two in (2.17), due to the small scale of the droplets and the comparatively large artificial speed of sound
$c_0$
.
2.3. Implementation details
The Lagrangian nature of SPH, while making it a very flexible method, also makes it challenging to implement efficiently. We follow the work of Ihmsen et al. (Reference Ihmsen, Akinci, Becker and Teschner2011) in the use of some key data structures and parallel methods, which we will briefly summarise here.
Implemented naively, each sum in the discretised equations (2.4) and (2.5) has a time complexity of
${\mathcal{O}}(N^2)$
. This is made more efficient by pre-computing a neighbour list

for each fluid particle
$i$
. Any sum over
$j = 1,\ldots ,N$
then becomes a sum over
$j \in \mathcal{J}(i)$
. Since density fluctuations are small in this weakly compressible scheme, the number of neighbours is approximately constant (around
$4\pi \kappa ^3/3$
). Thus, the complexity of calculating the particle interactions becomes
${\mathcal{O}}(N)$
.
We accelerate the neighbour search by using a background grid with cells of width
$H$
. Each grid cell is uniquely identified by a tuple of integer coordinates
$(c_1, c_2, c_3)$
, and we keep a hash table of lists of particles contained in each cell. To minimise memory allocations, we pre-allocate enough storage for each of these lists to contain
$\kappa ^d$
indices. Density fluctuations are low, so the maximum number of fluid particles that one cell may contain is roughly constant. The neighbour search then only considers particles in neighbouring cells (the number of which is roughly constant), therefore reducing the time complexity to
${\mathcal{O}}(N)$
.
Finally, we make use of shared memory parallelism with many CPU cores wherever possible. The particle–particle interactions are calculated in parallel, as are the neighbour lists. For more optimisation details we refer the interested reader to Ihmsen et al. (Reference Ihmsen, Akinci, Becker and Teschner2011) for CPU implementations, or for GPU implementations see Domínguez et al. (Reference Domínguez, Crespo, Gómez-Gesteira and Marongiu2011), Crespo et al. (Reference Crespo, Dominguez, Barreiro, Gómez-Gesteira and Rogers2011, Reference Crespo, Domínguez, Rogers, Gómez-Gesteira, Longshaw, Canelas, Vacondio, Barreiro and García-Feal2015) and Domínguez et al. (Reference Domínguez2022). Simulations were run using up to 64 processors in parallel.
2.4. Pairwise-force model for interfacial phenomena
Surface tension and wetting are both effects of intermolecular forces (Bormashenko Reference Bormashenko2017). A molecule at an interface misses approximately half of its interactions with neighbours when compared with a molecule in the bulk, and the resulting imbalance of forces leads to free-surface energy. For surface tension, the relevant forces are cohesive (fluid–fluid interactions) while, for wetting, the relevant forces are adhesive (fluid–solid interactions). Depending on the relative strengths of these forces, a droplet could be almost spherical, spread to completely wet a solid or any configuration in between, to minimise the free-surface energy.
We aim to reproduce this behaviour on a much larger scale by mimicking intermolecular forces between SPH particles. This is conceptually similar to the Lennard–Jones potentials used in molecular dynamics simulations (Jones Reference Jones1924). The basis for these forces in SPH is empirical; nevertheless, in § 3 we will show that the pairwise-force SPH model reproduces interfacial phenomena consistently and predictably.
The pairwise particle interaction forces are included in the momentum equation (2.5) via the term
$\boldsymbol{F}_i^{(\textit{pf})}$

where
$s_{\textit{ij}}$
controls the strength of the pairwise force between particles
$i$
and
$j$
. Following the analogy with intermolecular potentials, we construct the pairwise-force profile
$f_{\textit{ij}}( \| \boldsymbol{x}_{\textit{ij}} \| / H )$
to be repulsive at short distances (less than one particle width), attractive at medium distances and vanish outside the SPH kernel support radius,
$H$
. In other works, this term has been constructed as a combination of Gaussians (Tartakovsky & Panchenko Reference Tartakovsky and Panchenko2016), SPH kernels (Kordilla et al. Reference Kordilla, Tartakovsky and Geyer2013; Shigorina et al. Reference Shigorina, Kordilla and Tartakovsky2017) or part of a cosine curve (Tartakovsky & Meakin Reference Tartakovsky and Meakin2005; Nair & Pöschel Reference Nair and Pöschel2018). For simplicity, we will instead use polynomials for the force profile, with some intuitive constraints at key points. Those constraints are

The last constraint, controlling the zero crossing of the force profile, is intentionally different for the fluid–fluid (
${\textrm{ff}}$
) and the fluid–solid (
${\textrm{fs}}$
) interactions. We choose
$\kappa ^*$
to be
$1.1$
and
$2$
for the fluid–fluid and the fluid–solid interactions, respectively. The fluid–fluid force profile is attractive at a shorter distance than the fluid–solid to prioritise cohesion over adhesion for stability at the contact line.
We have chosen the zero crossing of the fluid–fluid pairwise-force curve to be approximately the ‘rest distance’ of the particles. To do this, we imagine optimally packed spheres in a face-centred cubic layout. The Voronoi diagram of this arrangement is the rhombic dodecahedral honeycomb. If we equate the volume of one of our particles (
$(\Delta x)^3$
) with the volume of a rhombic dodecahedron, we find that the distance between neighbouring particles in such a packing is approximately
$1.1 \Delta x$
. This is the geometric motivation behind the location of the zero crossing of the force profile in (2.19).
The minimum degree of a polynomial satisfying our five constraints is four, and so we have

where we use
$\alpha _{\textit{ff}} = -23.5$
for fluid–fluid interactions, and
$\alpha _{\textit{fs}} = -11$
for fluid–solid interactions, to satisfy the zero crossing constraints above. Figure 2 shows these force profiles over the range of possible particle distances.

Figure 2. Distance-dependent pairwise-force profiles
$f_{\textit{ff}}$
and
$f_{\textit{fs}}$
over the kernel support,
$\tau \in [0,1]$
or
$\|\boldsymbol{x}_{\textit{ij}}\| / \Delta x \in [0,\kappa ]$
. Positive values indicate repulsion and negative values indicate attraction. Note that we have plotted the force profiles with respect to the particle width
$\Delta x$
rather than the dimensionless
$\tau$
, to highlight the physically motivated choice of zero crossing discussed in § 4.4.
The parameter
$s_{\textit{ij}}$
in (2.19) controls the strength of the pairwise force and, like
$f_{\textit{ij}}(\tau )$
, depends on the labels of the particles
$i$
and
$j$
: fluid or solid. We denote the cohesive force strength
$s_{\textit{ff}}$
(fluid–fluid) and the adhesive force strength
$s_{\textit{fs}}$
(fluid–solid). Note the inclusion of the length scale
$H$
in the form of
$\boldsymbol{F}_i^{(\textit{pf})}$
in (2.19): this is a departure from established pairwise-force methods (Kordilla et al. Reference Kordilla, Tartakovsky and Geyer2013; Nair & Pöschel Reference Nair and Pöschel2018; Tartakovsky & Meakin Reference Tartakovsky and Meakin2005; Liu, Meakin & Huang Reference Liu, Meakin and Huang2006; Tartakovsky & Panchenko Reference Tartakovsky and Panchenko2016; Shigorina et al. Reference Shigorina, Kordilla and Tartakovsky2017; Arai et al. Reference Arai, Tartakovsky, Holt, Grace and Ryan2020), which have a scale dependency on
$H$
. Our approach ensures that the units of
$s$
are that of an interfacial tension. Taking
$f_{\textit{ij}}(\tau )$
to be dimensionless, the units of (2.19) are

Thus, the units of
$s$
are
${\textrm{Nm}}^{-1}$
, analogous to the true surface tension
$\sigma$
, which ensures the simulated surface tension is independent of the resolution.
While the PF-SPH model may seem an oversimplification of the complex (and small-scale) behaviour that is molecular cohesion and adhesion, it is best thought of as a coarse approximation of these phenomena, at the resolution of the SPH discretisation. We will show in the next section that the resulting surface tension is linearly related to the pairwise-force strength
$s_{\textit{ff}}$
, and that this simple model captures complex behaviour in a predictable way.
3. Validation of numerical scheme
In this section we present three validation tests to verify that the pairwise-force model correctly reproduces surface tension and contact angle effects. These tests not only validate the model’s ability to reproduce interfacial phenomena, they also serve to calibrate the model parameters
$s_{\textit{ff}}$
and
$s_{\textit{fs}}$
to the material properties of interest – the surface tension
$\sigma$
(a property of the liquid) and equilibrium contact angle
$\theta _{\textit{CA}}$
(a property of the liquid–substrate pair).
3.1. Laplace pressure
The first test we use will validate the surface tension of the fluid in a static scenario, independent of fluid–solid interactions. The Young–Laplace equation describes the difference in pressure
$\Delta P$
due to surface tension
$\sigma$
in a spherical droplet of radius
$R$
(Bormashenko Reference Bormashenko2017)

By testing the pressure difference at different droplet radii for a fixed inter-particle force strength
$s_{\textit{ff}}$
, we can calibrate (and validate) the resulting surface tension
$\sigma$
. Given that we only model the fluid phase, and therefore have
$P_{\textit{out}} = 0$
, we need only calculate
$P_{\textit{in}}$
. We do this by borrowing a technique from molecular dynamics, calculating the total pressure from a many-body simulation (Hoover Reference Hoover1998). When calculated this way, the pressure due to particle–particle interactions is called the virial pressure, and is defined by Allen & Tildesley (Reference Allen and Tildesley1989), Tartakovsky & Meakin (Reference Tartakovsky and Meakin2005) as

where
$d$
is the spatial dimension (taken here to be
$d=3$
),
$V(r)$
is the volume of a sphere of radius
$r$
and
$\boldsymbol{F}_{\textit{ij}}$
is the sum of the pressure force and pairwise force that particle
$i$
experiences due to particle
$j$
. The outer summation (over
$i$
) includes only particles in the set
$\mathcal{I}(r)$
of particles within a distance
$r$
of the centre of the droplet. This so-called virial radius
$r \lt R$
is used in place of the actual droplet radius
$R$
to exclude the region near the interface (Tartakovsky & Meakin Reference Tartakovsky and Meakin2005). When
$r = R$
, we see a divergence of the pressure near the free surface due to the neighbourhood deficiency in the SPH approximations there. Figure 3 shows the virial pressure measured at different radii, with the pressure clearly diverging as
$r$
approaches
$R$
. For accurate estimates of the virial pressure we take an average of
$P(r)$
over the interval
$r \in [R-3H, R-2H]$
. If
$R \leqslant 4H$
, we take
$r = R - 2H$
.

Figure 3. Virial pressure calculated using (3.2) at different radii
$r$
, given here in units of the kernel support radius
$H$
. The actual radius of this spherical droplet is
$1\, \textrm{mm}$
, approximately
$8.5H$
. The calculated virial pressure diverges for
$r \gtrsim 6.5H$
due to the neighbourhood deficiency of the particles near the free surface. A red line shows the region over which we average
$P(r)$
.
For the simulations, we initialise spherical droplets consisting of particles with properties given in table 1, in zero gravity. We randomly perturb each particle, by no more than
$0.1\Delta x$
, to speed up their rearrangement due to inter-particle forces
$\boldsymbol{F}^{(\textit{pf})}$
. We then allow the droplet to reach equilibrium over
$200 \,{\textrm{ms}}$
before measuring the virial pressure. Figure 4 shows that the pairwise-force model reproduces the linear relationship
$\Delta P \propto 2/R$
; we can measure the surface tension at each value of
$s_{\textit{ff}}$
as the slope of each of these lines. We also note that the standard deviation of the virial pressure over the range
$r \in [ R-3H, R-2H ]$
is relatively small and thus does not introduce significant uncertainty in the calibrated surface tensions. Plotting the measured surface tension against the model parameter
$s_{\textit{ff}}$
reveals a simple linear relationship in figure 5, namely

This is consistent with the dimensional analysis in § 2.4, and makes the prescription of surface tension in the model very simple. We have tested this relationship for particle width
$\Delta x$
as small as
$2 \times 10^{-5} \,{\textrm{m}}$
and as large as
$8 \times 10^{-5} \,{\textrm{m}}$
and found it to be independent of the resolution, as expected.
Table 1. Fluid properties in Laplace pressure simulations.


Figure 4. Laplace pressure validation using calculated virial pressures of spherical droplets. For different values of the cohesive force strength
$s_{\textit{ff}}$
, the pressure follows
$P \propto 2 / R$
, where
$R$
is the radius of the droplet. Markers show measurements from simulations, and black lines show linear fits. Error bars show standard deviations of the virial pressure across the virial radii
$r \in [R-3H, R-2H]$
. The slope of each line gives the surface tension
$\sigma$
for the corresponding
$s_{\textit{ff}}$
.

Figure 5. Calibrating the cohesive force strength
$s_{\textit{ff}}$
to measured surface tension in two different tests. Circles show surface tensions calculated from the Laplace pressure
$P = 2\sigma /R$
(see figure 4). Squares show surface tensions calculated from ellipsoidal droplet oscillations (e.g. figure 6). The fitted line shows a simple linear relationship between
$s_{\textit{ff}}$
and the surface tension.
3.2. Oscillating droplets
With the surface tension now calibrated in a static scenario, we next validate the model for surface tension in a dynamic scenario. For this task we choose to study the oscillation of a free droplet that has been perturbed from its spherical equilibrium. The linear frequency of oscillation of an inviscid droplet (in the eigenmode of interest) was found by Rayleigh (Reference Rayleigh1879) (with a more succinct derivation given by Landau & Lifshitz (Reference Landau and Lifshitz1987)) to be

With material properties given in table 2, we initialise a spherical droplet of radius
$0.788$
mm with particles that we randomly perturb by no more than
$0.1\Delta x$
, and allow the particle distribution to settle for 1 ms. Then we ‘stretch’ the spherical droplet into an ellipsoid with the coordinate transform

Since
$\det (T) = 1$
, this transformation preserves volume, and therefore density of the fluid particles. The elements
$a,b,c$
are the relative lengths of the ellipsoid’s semi-axes, which we take to be 1.0, 0.7 and 0.7, respectively.
Table 2. Fluid properties in oscillating droplet simulations.

The simulation then proceeds, with the diameter of the droplet oscillating over 3 ms as shown in figure 6 for
$s_{\textit{ff}} = 0.00156$
(corresponding to
$\sigma = 47 \,{\textrm{mN m}}^{-1}$
). Despite the fluid having zero viscosity in the simulation, the oscillations are clearly damped – the amplitude decreases with each oscillation. Nair & Pöschel (Reference Nair and Pöschel2018) investigate possible causes of this damping, finding that some of the system’s energy is dissipated as the particles arrange themselves into a crystal-like lattice.
Despite these effects, we can recover the frequency of the oscillations to determine the surface tension of the droplet. A discrete Fourier transform of the oscillations (figure 7) shows a peak at 138 Hz. With (3.4), we can calculate the surface tension as
$\sigma = 47 \,{\textrm{mN m}}^{-1}$
when
$s_{\textit{ff}} = 0.00156$
. Figure 5 shows the surface tensions calculated this way, plotted against the cohesive force
$s_{\textit{ff}} \in [0,0.002]$
, corroborating the linear relationship from the Laplace pressure test in § 3.1. Thus, we have shown in two independent tests – one static and the other dynamic – that the surface tension induced by the pairwise forces scales linearly with the interaction strength parameter
$s_{\textit{ff}}$
.

Figure 6. The oscillating diameters of an inviscid, axis-aligned ellipsoidal droplet over 30 ms, for
$s_{\textit{ff}} = 0.00156$
. Material properties are given in table 2.
3.3. Young–Laplace profile fitting for contact angle
Having calibrated and validated the surface tension in both static and dynamic scenarios, we now turn our attention to wetting phenomena and the adhesive force strength
$s_{\textit{fs}}$
. The angle that a droplet’s liquid–gas interface makes with its liquid–solid interface – the contact angle – is commonly used to measure the ability of the liquid to wet the solid (Bormashenko Reference Bormashenko2017). This angle is often measured experimentally by drawing a tangent line to the liquid–gas interface where it meets the solid; however, this would seem only to validate the model in the immediate vicinity of the contact line. Instead, we will use semi-analytical solutions for whole droplet shapes to validate the model and calibrate the adhesive force to the contact angle.
For this test, we initialise a spherical droplet at a distance of
$H$
(the kernel support radius) above a flat solid surface, with a thickness of
$H$
, to ensure the neighbourhood of a fluid particle near the boundary is not deficient. In all the contact angle simulations, the fluid particles have density
$1000\, {\textrm{kg m}}^{-3}$
, viscosity
$0.89\,\textrm{mPa}\boldsymbol{\cdot}\textrm{s}$
and artificial speed of sound
$100\,{\textrm{m s}}^{-1}$
. We have simulated droplets of various surface tensions, volumes, and resolutions to ensure the model is not scale-dependent. Initially, the fluid particles are perturbed by no more than
$0.1 \Delta x$
and the particle distribution is allowed to settle for
$1\,{\textrm{ms}}$
under zero gravity, without interacting with the surface. Then, we switch on gravity (
$g = -9.81\, {\textrm{m s}}^{-2}$
), allowing the droplet to fall and spread across the solid surface. After
$50\,{\textrm{ms}}$
, the droplet settles and we are ready to extract the liquid–gas interface.
The liquid–gas interface of an SPH-simulated droplet is an isosurface of the density field defined by the SPH interpolation
$\langle \rho (\boldsymbol{x}) \rangle$

where
$\mathcal{I}_{{f}}$
is the index set of fluid particles. We realise the implicit surface
$\mathcal{S}$
using the marching cubes algorithm, with a grid spacing of
$0.1\Delta x$
. Then, to determine the contact angle of the droplet, we fit the shape of an axisymmetric sessile droplet determined by the Young–Laplace (Y–L) equation (Danov et al. Reference Danov, Dimova, Ivanov and Novev2016) to the vertices of the SPH droplet isosurface in cylindrical polar coordinates
$(R_j,Z_j)$
where the origin is given by the droplet’s centre of mass.
In order to fit the data points to the Y–L surface we minimise the function

where
$\theta _{\textit{CA}}$
is the contact angle,
$Z_{\textit{shift}}$
is a vertical shift of the data position and
$\textrm{mindist}(R,Z;\theta _{\textit{CA}})$
is the minimum distance from the point
$(R,Z)$
to the Y–L surface for the specified volume, surface tension and contact angle. The circumference of the droplet, and therefore the number of expected isosurface vertices, increases linearly with
$R$
. Thus, to account for the varying density of the samples, we weight the errors with the factor
$1 / (R_j + \epsilon )$
, where
$\epsilon \gt 0$
is a small constant to avoid division by zero.
To construct the distance function
$d(R,Z;\theta _{\textit{CA}})$
we must first compute the Y–L droplet shape for a given volume
$V_0$
, surface tension
$\sigma$
and contact angle
$\theta _{\textit{CA}}$
. Following Danov et al. (Reference Danov, Dimova, Ivanov and Novev2016) (using equations first reported by Hartland & Hartley (Reference Hartland and Hartley1976, p. 40)), we solve the system of ordinary differential equations

from the ‘initial condition’
$r=z=\theta =V=0$
until
$\theta =\theta _{\textit{CA}}$
, where
$\mathcal{B}$
is the curvature at the apex of the droplet, chosen such that the correct volume is achieved. Numerically, the Y–L drop surface is given as a series of points
$(r_i,z_i)$
with their gradient as an angle
$\theta _i$
.

Figure 8. Schematic of the transformation from the cylindrical polar world coordinates to the local polar coordinates of a surface segment.
We approximate the normal distance to the surface by transforming the coordinates for a given surface segment
$(r_i,z_i)-(r_{i+1},z_{i+1})$
into a local polar coordinate system

where the centre
$(r_c,z_c)$
is given by the intersections of two lines passing through each of the end points of the segment perpendicular to their gradients (figure 8). That is


The surface location along the segment is then given by
$\varrho _i(\psi )=\varrho _i+(\varrho _{i+1}-\varrho _i)(3t^2-2t^3)$
, where
$t=(\psi -\psi _i)/(\psi _{i+1}-\psi _i)$
. The difference
$P-\varrho _i(\varPsi )$
is taken as the approximation of the normal distance from the point
$(R,Z)$
to the segment. Therefore the minimum distance from the point
$(R,Z)$
to the surface is the minimum distance over all segments for which the surface interpolation is valid

Figure 9 shows an example of an SPH droplet isosurface and its best fit Y–L shape. Also shown are the Y–L shapes for the contact angles
$\theta _{\textit{low}}$
and
$\theta _{\textit{high}}$
, such that
$\theta _{\textit{CA}} \in [\theta _{\textit{low}}, \theta _{\textit{high}}]$
and
$L(\theta _{\textit{low}}, Z_{\textit{shift}}) = L(\theta _{\textit{high}}, Z_{\textit{shift}}) = \texttt {tol}$
, a fitting tolerance. For each simulated droplet, this approach gives a feasible range of contact angles as well as the optimal fit. The results of measuring the contact angles of simulated droplets in this way are shown in figures 10 and 11, grouped by surface tension and volume, respectively, and plotted against the ratio
$s_{\textit{fs}} / s_{\textit{ff}}$
. The contact angles for different surface tensions and volumes coincide for equal values of this ratio, suggesting that the contact angle produced by the PF-SPH model is scale-independent and making the specification of the contact angle straightforward in practice. We find that for higher contact angles, where larger changes in
$\theta _{\textit{CA}}$
result in only small changes in the droplet profile, the feasible range
$\theta _{\textit{high}} - \theta _{\textit{low}}$
is relatively large. For intermediate contact angles between
$30^\circ$
and
$120^\circ$
, however, the feasible region is smaller and we can be more precise in our specification of
$\theta _{\textit{CA}}$
via
$s_{\textit{fs}}$
.

Figure 9. An example of a Y–L profile (a solution to the system (3.8)) fitted to an SPH droplet. Isosurface vertices are shown in cylindrical coordinates about the centre of the top of droplet. The solid line shows the profile of an axisymmetric droplet satisfying the Y–L equation, fit to the isosurface vertices with the contact angle as a free parameter. Dashed and dot-dashed lines show the extent of contact angles satisfying the fitting tolerance.

Figure 10. Contact angles, measured by fitting Y–L profiles to sessile droplet density isosurfaces, are plotted against the ratio of pairwise-force strengths,
$s_{\textit{fs}}/s_{\textit{ff}}$
, and grouped by surface tension. A droplet is excluded if the volume enclosed by the density isosurface differs from the actual droplet’s volume by more than 10 %. Inset: the curves without error bars, for clarity.
With this validation of the droplet shape and calibration of the contact angle, we now have a simple procedure for specifying the surface tension
$\sigma$
and contact angle
$\theta _{\textit{CA}}$
in the PF-SPH scheme. We can calculate the required cohesive strength
$s_{\textit{ff}} = \sigma / 30.96$
from (3.3). Then we can interpolate the data from figure 10 to find the required ratio
$s_{\textit{fs}}/s_{\textit{ff}}$
, and, knowing
$s_{\textit{ff}}$
, calculate
$s_{\textit{fs}}$
.
4. Case studies and numerical experiments
In this section we demonstrate the versatility of our PF-SPH scheme by presenting some numerical experiments that are usually challenging for competing computational frameworks such as interface-tracking or grid-based methods. Of course, these problems are not intractable for such methods – see, for example, works such as Jansen et al. (Reference Jansen, Bliznyuk, Kooij, Poelsema and Zandvliet2012) in which an interface-tracking method was used with a substrate with variable wettability, or Dupuis & Yeomans (Reference Dupuis and Yeomans2005) where a lattice-Boltzmann simulation was used with a rough substrate. The advantage of our approach that we shall highlight is that PF-SPH is capable of modelling droplets on chemically and physically heterogeneous substrates with little to no modifications to the scheme.

Figure 11. Contact angles, measured by fitting Y–L profiles to sessile droplet density isosurfaces, are plotted against the ratio of pairwise-force strengths,
$s_{\textit{fs}}/s_{\textit{ff}}$
, and grouped by volume. A droplet is excluded if the volume enclosed by the density isosurface differs from the actual droplet’s volume by more than 10 %.

Figure 12. A top-down view of the pillared substrate used for the simulation in figure 13. The square pillars (shown in light grey) are
$150\, \unicode{x03BC} \textrm{m}$
tall,
$120 \, \unicode{x03BC} \textrm{m}$
wide and located at regular intervals of
$240\, \unicode{x03BC} \textrm{m}$
across the substrate (dark grey).
4.1. Microstructured surface
Synthetic surfaces with manufactured microscopic roughness attract interest from scientists and engineers alike for their potential commercial applications (e.g. self-cleaning surfaces, reduced drag on marine vessels, collecting freshwater from fog (Chamakos, Sema & Papathanasiou Reference Chamakos, Sema and Papathanasiou2021). Surfaces with sharp geometric features, however, are challenging to incorporate into computational models with explicit boundary conditions on the contact line. Here we will demonstrate the ease with which the calibrated PF-SPH model can be used to calculate the shape of a sessile droplet on a geometrically patterned surface. To do this, we will follow the experimental set-up of Dupuis & Yeomans (Reference Dupuis and Yeomans2005) in simulating a
$3 \, \unicode{x03BC} \textrm{l}$
droplet on a surface featuring square pillars, as shown in figure 12. The parameters used in these simulations are given in table 3.
Table 3. Fluid properties in pillared substrate simulation in figure 13.

Figure 13 shows a comparison between two almost identical numerical experiments – the only difference being the initial kinetic energy of the droplet before ‘impact’ with the surface. Figure 13(a) shows a settled droplet that was initialised with zero velocity. This droplet sits atop the pillars on the substrate, without enough energy to infiltrate the gaps between them. The droplet in figure 13(b) was initialised with a velocity in the vertical direction of
$-0.1\,{\textrm{m s}}^{-1}$
, allowing it to overcome the energy barrier discussed by Dupuis & Yeomans (Reference Dupuis and Yeomans2005) and transition from a ‘suspended’ to a ‘collapsed’ state, in which the fluid has infiltrated between the pillars. That the present model reproduces this qualitative behaviour suggests it should be applicable to problems with complex surfaces.

Figure 13. A comparison of nearly identical simulations of a droplet settling on the physically patterned surface of square pillars depicted in figure 12. The addition of a small impact velocity changes the wetting behaviour significantly (note that these are side views of three-dimensional simulations). (a) After 10 ms of zero gravity, then 30 ms under 1 g, this droplet has settled, suspended atop the pillars, (b) 30 ms after a 0.1 m s–1 impact, this droplet has infiltrated the pillars.
4.2. Chemically patterned surface
Another type of surface heterogeneity that is widely studied is a chemically patterned surface. By manufacturing a surface with, for example, alternating hydrophobic and hydrophilic stripes, one can influence the shape or motion of a droplet. Varagnolo et al. (Reference Varagnolo, Schiocchet, Ferraro, Pierno, Mistura, Sbragaglia, Gupta and Amati2014) note that controlling the motion of very small droplets in this way is one of the key problems in the design of reliable microfluidic devices. We will demonstrate that our PF-SPH is also a suitable model for the shape of a droplet settled on such a patterned surface. To include the variable wettability in the PF-SPH model, we simply modify the adhesive force strength
$s_{\textit{fs}}$
across the surface, depending on whether a boundary particle is hydrophobic (low wettability, high
$\theta _{\textit{CA}}$
) or hydrophilic (high wettability, low
$\theta _{\textit{CA}}$
). The fluid properties for this simulation are given in table 4. For the hydrophobic surface type, we used
$s_{\textit{fs}}/s_{\textit{ff}}=1.4$
for an equilibrium contact angle of
$\theta _{\textit{hydrophobic}}\approx 155^\circ$
, and for the hydrophilic surface type,
$s_{\textit{fs}}/s_{\textit{ff}}=3.5$
for
$\theta _{\textit{hydrophilic}}\approx 45^\circ$
.
Table 4. Fluid properties in patterned substrate simulation in figure 14.

One of the advantages of our PF-SPH scheme is that the relationship between the contact angle and the position and motion of the contact line is not explicitly prescribed; instead, the simulated contact angle is ultimately a function of the adhesive force strength
$s_{\textit{fs}}/s_{\textit{ff}}$
and the geometry of the substrate. Thus, we may use the model to study the transition between contact angles on the hydrophobic and hydrophilic zones. To visualise the contact angle on the contact line, we use the surface normal of the density isosurface (3.6) at a distance of
$H/2$
above the substrate. Figure 14 shows side views of the droplet and the preferential spreading on the hydrophilic stripe. The contact line is shown, coloured by the contact angle, with smooth transitions between the contact angles
$\theta _{\textit{hydrophobic}}$
and
$\theta _{\textit{hydrophilic}}$
. The side views reveal that the contact angle the droplet makes is vastly different on the hydrophilic substrate sections as compared with the hydrophobic sections. At its extremities, the measured contact angle reaches the specified hydrophobic value of
$155^\circ$
, whereas the specified hydrophilic contact angle of
$45^\circ$
is not realised in the simulation, with the lowest measured contact angle being
$55^\circ$
. That our model is capable of producing such behaviour suggests it could be used to design and study manufactured, variable-wettability substrates for droplet motion control.

Figure 14. A droplet settles on a flat hydrophobic surface (
$\theta _{\textit{CA}} \approx 155^\circ$
) with a hydrophilic stripe (
$\theta _{\textit{CA}} \approx 45^\circ$
). (a) isometric view. (b) the contact angle is plotted around the contact line, showing a transition from one equilibrium contact angle to another. (c) side views of the droplet, showing the significant difference in apparent contact angles on the different surface types. Surface representations of the droplet are obtained from the density isosurface; (3.6).
4.3. Wheat leaf
The broader context and motivation of this work is to enable the study of droplets impacting and settling on plant leaves, for which a key challenge is calculating the shape of a droplet on a plant leaf with microscopic roughness, and chemical heterogeneity (Mayo et al. Reference Mayo, McCue, Moroney, Forster, Kempthorne, Belward and Turner2015). Here, we will demonstrate the model’s applicability to complex surfaces – specifically, a reconstructed wheat leaf surface. This virtual wheat leaf was reconstructed from a micro computed tomography scan using a radial basis function partition of unity method as described in related work: Whebell et al. (Reference Whebell, Moroney, Turner, Pethiyagoda, Wille, Cooper-White, Kumar, Taylor and McCue2025). We discretise this surface for an SPH simulation by taking a block of boundary particles on a regular grid, and discarding any for which the implicit surface indicator function is negative (
$\mathcal{F}(\boldsymbol{x}) \lt 0$
). Manually selected boundary particles are labelled as hairs and assigned a higher adhesive force strength to reflect the surface chemistry of real wheat leaves. The parameters for this simulation are given in table 5.
Table 5. Fluid properties in wheat leaf simulation in figure 15.


Figure 15. A PF-SPH simulation of a
$0.27\,\unicode{x03BC} \textrm{L}$
water droplet settled on the surface of a wheat leaf after
$12\,{\textrm{ms}}$
. The droplet’s liquid–gas interface is rendered by polygonising an isosurface of the density field,
$\langle \rho (\boldsymbol{x})\rangle = \rho _0 / 2$
. The leaf surface is rendered similarly, using only boundary particles, and coloured by height for clarity. A hair on the leaf surface is visible under the translucent droplet.
We initialised the simulation with a sphere of fluid particles just above a hair of the wheat leaf, with zero impact velocity, to study how the droplet settles onto the surface. Figure 15 shows the shape of the droplet at 50 ms, once it has lost momentum and settled on the leaf. We can visualise the contact line with a contour line on the density isosurface, where the approximate minimum distance to the leaf surface is
$2\Delta x$
. Specifically, figure 16 shows the contact line visualised as the set of points

where
$\mathcal{L}$
is the set of leaf surface points. Note the highly irregular contact line following the natural curvature of the wheat leaf. This droplet shape could be used to measure the wetted area of the leaf surface or serve as an initial condition for an evaporation model in future work.

Figure 16. The contact line of the droplet on a wheat leaf depicted in figure 15, visualised by computing the set of points on the density isosurface that are
$2\Delta x$
from the surface.
4.4. Discussion on pairwise-force profiles
The exact design of the pairwise-force profile
$f_{\textit{ij}}$
is in need of more investigation before the PF-SPH model can be applied as readily as, for example, the CSF formulation. Literature on the effect of the force profile is scarce. Tartakovsky & Panchenko (Reference Tartakovsky and Panchenko2016) report some analytical results predicting the surface tension from
$f_{\textit{ij}}(\tau )$
and
$s_{\textit{ij}}$
in multiphase simulations, but we could not verify these results in our single phase simulations. Our force profile causes most fluid–fluid particle interactions to be attractive, which could cause excess numerical stress in the fluid. In the simulations tested, the mostly attractive pairwise force has the somewhat desirable effect of keeping the particle distribution ordered – for example, in a high velocity impact event – which ensures that interpolation error is low. More investigation is needed to quantify the dissipative effect of the pairwise forces before this model is applied to viscosity-dependent scenarios.
5. Conclusion
We have presented a weakly compressible PF-SPH model and applied it to study droplet shapes on complex surfaces. A new physically motivated pairwise-force profile
$f_{\textit{ij}}(\tau )$
has been validated and calibrated to relate cohesive and adhesive parameters
$s_{\textit{ff}}$
and
$s_{\textit{fs}}$
to physical values of the surface tension and contact angle. Furthermore, we have described a method for calibrating the contact angle of PF-SPH models and shown that the liquid–gas interfaces of simulated droplets on flat surfaces are in good agreement with semi-analytical solutions to the Young–Laplace equations for a range of contact angles between
$40^\circ$
and
$180^\circ$
. The pairwise-force model is scale-independent and, since it does not rely on resolving interfaces, robust to complex surface morphology.
The test cases we present in § 4 demonstrate that this method should be applicable to a broad range of droplet-related problems on substrates of interest, at least for sessile droplets and low-inertial flows. In future work, we intend to model the chemical heterogeneity of plant leaf surfaces by varying the adhesive parameter
$s_{\textit{fs}}$
across the surface to more accurately reflect the real surface chemistry. Other potential applications include the study of spreading and impaction on rough or patterned surfaces. With the careful parameter calibration developed here, the pairwise-force model shows promise for simulating droplets on otherwise challenging substrates.
Acknowledgements
We thank the associated industry partners Syngenta, NuFarm and Plant Protection Chemistry NZ for their involvement, and collaborators J. Cooper-White and P. Taylor for many fruitful discussions. Computational resources used in this work were provided by the eResearch Office, Queensland University of Technology, Brisbane, Australia.
Funding
This work was financially supported by an Australian Research Council Research Training Program scholarship, as well as the Australian Research Council Linkage Grant LP160100707 and associated industry partners Syngenta and Nufarm.
Declaration of interests
The authors report no conflict of interest.