원시데이터 수집 시스템
선정목록으로

Surface tension and wetting at free surfaces in smoothed particle hydrodynamics

간접 관련 필름·전자재료 · (11) 배리어 필름 (12) 증착 필름(15) 디스플레이 패널재료(18) VENT(방수통기 부품)

기본 정보

저자
  1. Michael Blank — Institute for Multiscale Simulation, Friedrich-Alexander-Universität Erlangen-Nürnberg, Erlangen, Germany
  2. P.M. Nair — Department of Applied Mechanics, Indian Institute of Technology Delhi, New Delhi, India
  3. Thorsten Pöschel — Institute for Multiscale Simulation, Friedrich-Alexander-Universität Erlangen-Nürnberg, Erlangen, Germany
DOI
10.1017/jfm.2024.410
저널
Journal of Fluid Mechanics
발행년도
2024
발행기관
Cambridge University Press
피인용수
4
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1017/jfm.2024.410
토픽
Surface Modification and Superhydrophobicity
OpenAlex ID
W4397011459

평가 내용

관련도
간접 관련
사업분야
필름·전자재료 · (11) 배리어 필름
부 분야
(12) 증착 필름, (15) 디스플레이 패널재료, (18) VENT(방수통기 부품)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
surface tension, wetting, contact angle, smoothed particle hydrodynamics, free-surface
판단 근거
이 논문은 유체 역학 시뮬레이션 기법인 SPH를 이용해 표면 장력과 젖음성(wetting), 접촉각을 모델링하는 수치 해석 연구입니다. 이는 코오롱인더스트리의 필름 코팅, 표면 처리, 멤브레인 제조 공정의 유동 및 계면 특성을 시뮬레이션하는 데 간접적으로 활용될 수 있습니다.
R&D 활용 포인트
배리어 필름의 코팅 공정이나 멤브레인(VENT) 제조 시 액체-기체 계면의 거동 및 표면 젖음성을 수치적으로 예측하여 공정 최적화 및 품질 관리에 활용 가능함.
평가 입력
본문 91,504자 중 30,032자 발췌

초록

Surface tension and wetting are dominating physical effects in microscale and nanoscale flows. We present an efficient and reliable model of surface tension and equilibrium contact angles in smoothed particle hydrodynamics for free-surface problems. We demonstrate its robustness and accuracy by simulating several three-dimensional free-surface flow problems driven by interfacial tension.

본문 91,504자

본문 펼치기
<u>j</u> # Surface tension and wetting at free surfaces in smoothed part i cle hydrod y namics Michael Blank <sup>1</sup>, Prapanch Nair <sup>2</sup> and Thorsten Pöschel <sup>1,</sup> 1Institute for Multiscale Simulation, Friedrich-Alexander-Universität Erlangen-Nürnberg, Erlangen, Germany 2Department of Applied Mechanics, Indian Institute of Technology Delhi, New Delhi, India (Received 21 May 2023; revised 17 April 2024; accepted 17 April 2024) Surface tension and wetting are dominating physical effects in ~~microscale~~ and nanoscale flows. We present an efficient and reliable model of surface tension and equilibrium contact angles in ~~smoothed~~ ~~particle~~ ~~hydrodynam~~ ics for free-surface problems. We demonstrate its robustness and accuracy by simulating several three-dimensional ~~free-surface~~ flow problems driven by interfacial tension. Key words: contact lines, capillary flows 1. Introduction At the ~~microscale~~ ~~and~~ ~~nanoscale,~~ fluid flows are dominated by interfacial tension that arises at the interface between different phases. When a liquid drop is in contact with a plane solid substrate, the wetting force acting at the triple line leads to an equilibrium contact angle as illustrated in figure 1. Surface tension and wetting are essential for many phenomena, including technological processes ~~such~~ as oil recovery (Babadagli 2002; Babadagli & Boluk 2005), two-phase heat transfer (Ebadian & Lin 2011) ~~and~~ ink-jet printing (Calvert 2001). The wetting properties of a solid surface depend on its chemical composition and morphology, determining its repellent or attractive ~~behaviour~~ (Kam, Bhattacharya & Mazumder 2012; Lai _et al._ 2013). In ~~smoothed~~ ~~particle~~ ~~hydrodynami~~ cs (SPH) (Gingold & Monaghan 1977; Lucy 1977), surface tension can be ~~modelled~~ either by pairwise forces between the particles (Nugent & Posch 2000; Tartakovsky & Meakin 2005; Tartakovsky & Panchenko 2016; Nair & Pöschel 2018) or by a phenomenological ~~cont~~ i ~~nuum~~ ~~surface~~ ~~force~~ (CSF) (Brackbill, Kothe & Zemach 1992; Morris 2000; Sirotkin & Yoh 2012). The concept of pairwise forces between [† Email address for correspondence: thorsten.poeschel@fau.de](mailto:thorsten.poeschel@fau.de) © The Author(s), 2024. Published by Cambridge University Press. This is an Open Access article, [distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/](http://creativecommons.org/licenses/by/4.0) [licenses/by/4 0)](http://creativecommons.org/licenses/by/4.0) which permits unrestricted re use distribution and reproduction provided the original _M. Blank, P. Nair and T. Pöschel_ Liquid–gas interface Gas Three-phase contact line Liquid _Θ_ ∞ Solid Contact point Solid–liquid interface Solid–gas interface Figure 1. Sketch of a droplet in contact with a solid substrate in equilibrium. SPH particles is motivated by the molecular origin of surface tension (Rowlinson & Widom 2013) and readily applies to the simulation of free surfaces. Here, the attractive forces between particles of different phases must be calibrated to obtain a desired equilibrium contact angle. This approach is widely used for solving problems in droplet dynamics, drop interaction with textured surfaces (Shigorina, Kordilla & Tartakovsky 2017) ~~and~~ contact angle hysteresis (Bao _et al._ 2019). When used in simulations, however, such models require a large support domain for particles, affecting the computational performance significantly (Nair & Pöschel 2018). A CSF can reliably predict the dynamics due to surface tension gradients at phase boundaries, known as the Marangoni effect. A CSF is also widely used in Eulerian, mesh-based two phase flow simulations and in the la ~~ttice~~ ~~Boltzmann~~ ~~method~~ (Bagheri, Siavashi & Mousavi 2023), where the dynamics of the contact line is only empirically ~~modelled~~ (see e.g. Bogdanov _et_ _al._ (2022)), relating the contact angle to the velocity, based on experimental observations (Fries & Dreyer 2008; Saha & Mitra 2009). Eulerian mesh-based methods can also employ phase fields for simulating wetting phenomena, which are limited to low density ratio. In the SPH method, known for its Lagrangian nature and mass conservation at free surfaces, the application of CSF to the free surface is problematic since the truncation of the kernel near the free surface leads to unacceptable errors in the local curvature. Incompressible ~~gas–liquid~~ two phase flow problems can be reliably modelled as ~~free-surface~~ flows whenever the shear stress due to the gas phase is negligible. Thus the limitation in ~~modelling~~ surface tension at the free surface has severely restricted the scope of ~~three-dimensional~~ free surface SPH simulations to high Weber number flows. This kernel truncation error at the free surface in CSF has been addressed using several strategies. Mirror particles were employed by Ordoubadi, Yaghoubi & Yeganehdoust (2017) to produce robust two-dimensional flow simulations in weakly compressible SPH. Hirschler _et al._ (2017) used CSF to simulate two-dimensional droplet collisions at the free surface using kernel correction parameters. Unfortunately, only two-dimensional systems can be described using any of these approaches. For ~~three-dimensional~~ cases, Geara _et al._ (2022) introduced an analytical coefficient to account for truncation of kernels near a free surface in SPH operators. The curvature estimate at the free surface was recently improved by Fürstenau, Weißenfels & Wriggers (2020), while Blank, Nair & Pöschel (2023) developed a method to describe surface tension using a Young–Laplace pressure boundary condition in SPH. When using CSF, the wetting force in the triple line region can be ~~modelled~~ using the smoothed normal correction scheme introduced by Breinlinger _et_ _al._ (2013). Here, the _Surface tension and wetting at free surfaces in SPH_ normal vectors (pointing from the liquid into the gas phase), computed at the positions of SPH particles that are located in the vicinity of the three-phase contact line, are modified. Doing so, the curvature is computed at the positions of those SPH particles, and thus, wetting is incorporated into CSF. This approach can, however, not be applied to ~~free-surface~~ flow problems due to the inaccurate force computation caused by insufficient support of particles near the triple contact line region. The current paper proposes a CSF model that relies on an improved smoothed normal correction scheme. We will show that this model reliably describes three-dimensional ~~free-surface~~ problems. We simulate several problems using ~~incompressible~~ ~~smoothed~~ ~~particle~~ ~~hydrodynami~~ cs (ISPH) to demonstrate the model’s accuracy and robustness. These problems comprise plane Poiseuille flow, the Laplace jump of a droplet, the oscillation and relaxation of a perturbed droplet, the equilibrium shape of a droplet in contact with a wetting/non-wetting substrate and its relaxation to this equilibrium, the flattening of a droplet under the action of ~~grav~~ ity and the interaction of a droplet with a barrier under the action of gravity. 2. Smoothed particle hydrodynamics Smoothed ~~particle hydrodynami~~ cs is a numerical method for solving continuum problems (Gingold & Monaghan 1977; Lucy 1977; Monaghan 2005). Unlike in mesh-based methods, the domain is discretized by SPH particles with a certain mass at which properties such as velocity, _u_, pressure, _p_, or density, _ρ_, are defined. The integral interpolant, _Φ_ <sup>_I_</sup> _(r)_, of a physical property, _Φ(r)_, at position, _r_, can be obtained from a spatial convolution with a kernel function, _W(r_ - _r_ <sup>′</sup> _, h),_ having a compact support, _Φ_ <sup>_I_</sup> _(r)_ = _Φ(r_ <sup>′</sup> _)W(r_ - _r_ <sup>′</sup> _, h)_ d _r_ <sup>′</sup> _._ (2.1) _Ωc_ Here, _h_ is the smoothing length, and _Ωc_ denotes the whole continuous domain. We approximate the integral in (2.1) by a sum over the set _Ω_ of all SPH particles, _Φ_ <sup>_s_</sup> _(r)_ = _b_ _<u>mb</u>_ _ρb_ _Φ (rb) W (r_ - _rb, h),_ (2.2) where _rb_, _mb_ ~~and~~ _ρb_ are the position, ~~mass~~ and density of particle _b_ . In particular, the summation interpolant at the position _ra_ of an SPH particle reads _Φ_ <sup>_s_</sup> _(ra)_ = _b_ _<u>mb</u>_ _ρb_ _Φ (rb) W (ra_ - _rb, h) ._ (2.3) In the same approximation, the spatial derivative of a physical quantity, ∇ _Φ(r)_, at position _ra_, can be expressed in terms of the kernel gradient ∇ _W(ra_ - _rb, h)_ by ∇ _Φ_ <sup>_s_</sup> _(ra)_ = _b_ _<u>mb</u>_ _ρb_ _Φ (rb)_ ∇ _W (ra_ - _rb, h) ._ (2.4) We introduce shorthand notations and rewrite (2.3) and (2.4), _Φa_ <sup>_s_</sup> <sup>=</sup> _b_ _<u>mb</u>_ _ρb_ _ΦbWab,_ ∇ _Φa_ <sup>_s_</sup> <sup>=</sup> _b_ _<u>mb</u>_ _ρb_ _Φb_ ∇ _Wab._ (2.5 _a_, _b_ ) _M. Blank, P. Nair and T. Pöschel_ Here we use the _C_ <sup>2</sup> kernel function by Wendland (1995) normalized for three spatial dimensions, _,_ _rab_ ≡∥ _ra_ - _rb_ ∥ _._ (2.6 _a_, _b_ ) _rab_ ≤ 2 _h_ 1 − <sup>_<u>rab</u>_</sup> 2 _h_ �4 <sup>�</sup> <u>2</u> _<u>rab</u>_ + 1 _h_ _Wab_ ≡ _W (ra_ - _rb, h)_ = ⎧ ⎨ ⎩ <u>21</u> <u>1</u> 16π _h_ <sup>3</sup> 0 _rab_ _>_ 2 _h_ We describe the dynamics of a Newtonian incompressible fluid using the Navier–Stokes equation <u>D</u> _u_ (2.7) _ρ_ <sup><u>1</u></sup> <sup>∇</sup> <sup>_p_</sup> <sup>+</sup> <sup>_ν_</sup> <sup>∇2</sup> <sup>_u_</sup> <sup>+</sup> <sup>_f s_</sup> <sup>+</sup> <sup>_f b,_</sup> <u>D</u> _u_ D _t_ <sup>= −</sup> _ρ_ <sup><u>1</u></sup> and the continuity equation _∂ρ_ _∂t_ <sup>= −</sup> <sup>∇·</sup> <sup>_(ρu),_</sup> (2.8) where _u_, _ρ_, _p_, _ν_, are the velocity, density, ~~pressure~~ and kinematic viscosity, _f_ <sup>_b_</sup> is an acceleration due to a body force such as ~~grav~~ ity and _t_ is time. The acceleration caused by surface tension, _f_ <sup>_s_</sup>, is incorporated into (2.7) as a body force according to the ~~CSF~~ model by Brackbill _et al._ (1992). The total acceleration of a particle _a_ given by (2.7) is, thus, a sum of accelerations <u>D</u> _ua_ _a_ <sup>+</sup> <sup>_f v_</sup> _a_ <sup>_b_</sup> _a_ (2.9) <sup>_s_</sup> _a_ <sup>+</sup> <sup>_f b_</sup> _a_ D _t_ <sup>=</sup> <sup>_f p_</sup> _a_ <sup>_v_</sup> _a_ <sup>+</sup> <sup>_f s_</sup> _a_ due to pressure gradient, _f_ <sup>_p_</sup> _a_ <sup>,</sup> <sup>_v_</sup> _a_ <sup>,</sup> <sup>surface</sup> <sup>tension,</sup> <sup>_f s_</sup> _a_ <sup>_p_</sup> _a_ <sup>,</sup> <sup>viscosity,</sup> <sup>_f v_</sup> _a_ due to pressure gradient, _f_ <sup>_p_</sup> _a_ <sup>,</sup> <sup>viscosity,</sup> <sup>_f v_</sup> _a_ <sup>,</sup> <sup>surface</sup> <sup>tension,</sup> <sup>_f s_</sup> _a_ <sup>~~and~~</sup> <sup>body</sup> <sup>forces</sup> <sup>per</sup> <sup>unit</sup> mass, _f_ <sup>_b_</sup> _a_ <sup>.</sup> The first contribution, the acceleration due to pressure gradient, can be approximated by (Monaghan 2005) _b_ _f_ <sup>_p_</sup> _a_ <sup>= −</sup> _b_ _mb_ _<u>pa</u>_ _ρa_ <sup>2</sup> + <sup>_<u>pb</u>_</sup> _ρ_ <sup>2</sup> _b_ ∇ _Wab,_ (2.10) where _pa_ ≡ _p(ra)_, _pb_ ≡ _p(rb)_, _ρa_ ≡ _ρ(ra)_, _ρb_ ≡ _ρ(rb)_ . Equation (2.10) ensures conservation of linear momentum, and is appropriate for SPH particles, _a_, that are fully embedded by other SPH particles, _b_ . This is the case with particles that are in the bulk of the material, far from surfaces. This approximation cannot be applied to particles, _a_, near a free surface. This case will be discussed in § 4. The second contribution to the acceleration in (2.9), the viscous acceleration of particle _a_, is given by (Morris, Fox & Zhu 1997) _f_ <sup>_v_</sup> _a_ <sup>=</sup> _b_ _<u>mb (ηa</u>_ + _ηb)_ _uab_ _Fab,_ _uab_ ≡ _ua_ - _ub,_ (2.11 _a_, _b_ ) _ρaρb_ where _ua_ and _ub_ are the velocities of particle _a_ and _b_, _ηa_ and _ηb_ are the dynamic viscosity coefficients assigned to particles _a_ and _b_, and _Fab_ is given by _rab_ · ∇ _<u>Wab</u>_ _Fab_ ≡ _F (ra_ - _rb)_ = _rab_ ≡ _ra_ - _rb._ (2.12 _a_, _b_ ) _r_ <sup>2</sup> _ab_ <sup>+</sup> <sup>_(_</sup> <sup>0</sup> <sup>_._</sup> <sup>01</sup> <sup>_h)_</sup> <sup>2</sup> <sup>_,_</sup> Here the term _(_ 0 _._ 01 _h)_ <sup>2</sup> in the denominator avoids divergence of _Fab_ when particles _a_ and _b_ come very close to each other. The third contribution in (2.9), the acceleration of a particle _a_ due to surface tension, _f_ <sup>_s_</sup>, will be described in § 5. _Surface tension and wetting at free surfaces in SPH_ 3. Incompressible smoothed particle hydrodynamics For incompressible fluids, the velocity field is divergence-free, and the continuity equation, (2.8), turns into ∇· _u_ = 0 _._ (3.1) The idea of ~~ISPH~~ is to enforce (3.1) by imposing a pressure field in such a way that the velocity field becomes divergence-free (Cummins & Rudman 1999). In ISPH, we use the ~~predictor–corrector~~ integration scheme by Cummins & Rudman (1999) to advance particles in space. At time step _n_, the prediction step computes the positions of the SPH particles from their current positions and velocities, _r_ <sup>∗</sup> _a_ <sup>_n_</sup> _a_ <sup>+</sup> <sup>_u_</sup> _a_ <sup>_n_</sup> _a_ <sup>_n�t_</sup> <sup>;</sup> _a_ = 1 _,_ 2 _,_ 3 _, . . ._ _._ (3.2) <sup>∗</sup> _a_ <sup>=</sup> <sup>_rn_</sup> _a_ The corresponding velocities are <sup>_s_</sup> _a_ <sup>∗</sup> <sup>+</sup> <sup>_f b_</sup> _a_ _a_ _u_ <sup>∗</sup> _a_ <sup>_n_</sup> _a_ <sup>+</sup> <sup>∗</sup> _a_ <sup>=</sup> <sup>_un_</sup> _a_ _f_ <sup>_v_</sup> _a_ _a_ <sup>∗</sup> _�t_ with _f_ <sup>_v_</sup> _a_ <sup>_v_</sup> _a_ <sup>∗</sup> <sup>+</sup> <sup>_f s_</sup> _a_ <sup>_v_</sup> _a_ <sup>∗</sup> <sup>≡</sup> <sup>_f v_</sup> <sup>�</sup> _r_ <sup>∗</sup> _a_ _,_ etc. (3.3) The pressure, _p_ <sup>∗</sup> _a_ The pressure, _p_ <sup>∗</sup> _a_ <sup>, corresponding</sup> <sup>to</sup> <sup>the predicted</sup> <sup>velocity</sup> <sup>can be</sup> <sup>obtained</sup> <sup>by solving</sup> <sup>the</sup> pressure Poisson equation (PPE) - ∇ _<u>p</u>_ ∗ _<u>a</u>_ _ρa_ ∇· _<u>a</u>_ = <sup>∇·</sup> <sup>_u_</sup> <sup>∗</sup> _<u>a</u>_ <sup>_u_</sup> <sup>∗</sup> _._ (3.4) _�t_ From the predicted velocities, _u_ <sup>∗</sup> _a_ <sup>∗</sup> _a_ <sup>, and the corresponding pressure,</sup> <sup>_p_</sup> <sup>∗</sup> _a_ From the predicted velocities, _u_ <sup>∗</sup> _a_ <sup>, and the corresponding pressure,</sup> <sup>_p_</sup> <sup>∗</sup> _a_ <sup>, the correction step</sup> yields the divergence-free velocities at time step _n_ + 1, _ua_ <sup>_n_</sup> <sup>+1</sup> _a_ <sup>_n_</sup> <sup>+1</sup> = _u_ <sup>∗</sup> _a_ <sup>∗</sup> _a_ <sup>−</sup> <sup><u>1</u></sup> _ρa_ ∇ _p_ <sup>∗</sup> _a_ <sup>_�t._</sup> (3.5) ∇ _p_ <sup>∗</sup> _a_ The corresponding particle positions at time step _n_ + 1 are _�t._ (3.6) _ra_ <sup>_n_</sup> <sup>+1</sup> <sup>_n_</sup> _a_ <sup>+</sup> _a_ <sup>_n_</sup> <sup>+1</sup> = _r_ <sup>_n_</sup> _a_ - _una_ <sup>+</sup> <sup>_u_</sup> _<u>a</u>_ <sup>_n_</sup> <sup>+1</sup> _<u>a</u>_ 2 The left-hand side of the PPE, (3.4), can be discretized to obtain (Cummins & Rudman 1999) - ∇ _<u>p</u>_ ∗ _<u>a</u>_ _ρa_ = _b_ _<u>mb</u>_ _ρb_ <sup>∗</sup> _a_ <sup>−</sup> <sup>_p_</sup> _b_ <sup>∗</sup> _b_ _Fab,_ (3.7) <u>4</u> _ρa_ + _ρb_ _p_ <sup>∗</sup> _a_ ∇· and its right-hand side results in (Monaghan 2005) <sup>· ∇</sup> <sup>_Wab_</sup> _,_ _u_ <sup>∗</sup> _ab_ _�t_ ∇· _u_ <sup>∗</sup> _<u>a</u>_ = _�t_ _b_ - <sup>_<u>mb</u>_</sup> _ρb_ <sup>∗</sup> _ab_ <sup>≡</sup> <sup>_u_</sup> _a_ <sup>∗</sup> _b_ <sup>∗</sup> <sup>_._</sup> (3.8 _a_, _b_ ) - <sup>_<u>mb</u>_</sup> _u_ <sup>∗</sup> <sup>∗</sup> _<u>ab</u>_ <sup>· ∇</sup> <sup>_Wab_</sup> _a_ <sup>∗</sup> <sup>−</sup> <sup>_u_</sup> _b_ <sup>∗</sup> Substituting (3.7) and (3.8 _a_, _b_ ) into (3.4) yields the discretized PPE _b_ _._ (3.9) _�t_ _b_ _Fab_ = _b_ - <sup>_<u>mb</u>_</sup> _ρb_ _u_ <sup>∗</sup> <sup>∗</sup> _<u>ab</u>_ <sup>· ∇</sup> <sup>_Wab_</sup> _<u>mb</u>_ <u>4</u> _ρb_ _ρa_ + _ρb_ _p_ <sup>∗</sup> _a_ <sup>∗</sup> _a_ <sup>−</sup> <sup>_p_</sup> _b_ <sup>∗</sup> Equation (3.9) can be uniquely solved using any iterative linear solver such as the BiCGSTAB ~~(biconjugate~~ ~~gra~~ d ~~ient~~ stab ~~ilized)~~ method by Sleijpen, Van der Vorst & Fokkema (1994), provided the linear system is not singular, e.g. if a Dirichlet boundary condition is applied. The discretized PPE, (3.9), is an appropriate approximation of (3.4) for well-embedded SPH particles, that is, for particles in the bulk of the material. The corresponding approximation for SPH particles near a free surface is described in the subsequent section. _M. Blank, P. Nair and T. Pöschel_ 4. Kernel correction for particles near a free surface In the vicinity of boundaries, the summations in (2.3) and (2.4) underestimate _Φ_ <sup>_I_</sup> _(r)_ and ∇ _Φ_ <sup>_I_</sup> _(r)_, due to lacking SPH particles in the ~~neighbourhood~~ of _r_ . We call such SPH particles ~~insuff~~ i ~~ciently~~ ~~supported~~ by ~~neighbouring~~ SPH particles. To account for such particles, ~~semia~~ nalyt ~~ical~~ (Nair & Tomar 2014) or numerical normalization techniques (Bonet & Lok 1999; Oger _et al._ 2007) are used near free boundaries. In the current paper, akin to Nair & Tomar (2014) we do not model the gas phase by SPH particles, but we describe the influence of the ambient gas on the liquid through boundary conditions for the liquid phase at the free surface. To identify SPH particles with insufficient support we use the Shepard filter (Shepard 1968), _Sa_ = _b_ _<u>mb</u>_ _Wab._ (4.1) _ρb_ However, unlike the approaches described by Lee _et_ _al._ (2008) where a thin layer of particles comprises the pressure boundary condition (which deteriorates the accuracy and the stability (see Asai _et al._ (2012) ~~and~~ Nair & Tomar (2014)), in the present approach, the pressure at these particles is also solved for. Particles with insufficient support are close to interfaces, therefore, this method defines the ~~fuid–gas~~ l boundary region. Whether a particle _a_ belongs to the subset of particles representing the bulk, _Ω_ <sup>_b_</sup> ⊂ _Ω_, or to the subset representing the boundary, _Ω_ <sup>_fs_</sup> ⊂ _Ω_ is determined by _a_ ∈ _Ω_ <sup>_fs_</sup> if _Sa_ ≤ 0 _._ 95 _._ (4.2) _a_ ∈ _Ω_ <sup>_b_</sup> else For well supported particles, _a_ ∈ _Ω_ <sup>_b_</sup>, we evaluate (2.10) using the pressure gradient approximation (Monaghan 2005); for _a_ ∈ _Ω_ <sup>_fs_</sup> we use the approximation given by (Blank _et al._ 2023), _b_ _b_ - <sup>�</sup> _ρ_ <sup>2</sup> _b_ _<u>pa</u>_ _ρa_ <sup>2</sup> _<u>a</u>_ _ρ_ <sup>2</sup> _b_ + <sup>_<u>pb</u>_</sup> _f_ <sup>_p_</sup> _a_ <sup>=</sup> ⎧ ⎪⎪⎪⎪⎪⎨ ⎪⎪⎪⎪⎪⎩ - <sup>�</sup> _b_ ∇ _Wab_ _a_ ∈ _Ω_ <sup>_b_</sup> ∇ _Wab_ _a_ ∈ _Ω_ <sup>_fs_</sup> _._ (4.3) _mb_ _mb_ _<u>pb</u>_ - _<u>p</u>_ <sup>_o_</sup> _<u>a</u>_ _b_ Here, _p_ <sup>_o_</sup> _a_ Here, _p_ <sup>_o_</sup> _a_ <sup>is the external pressure representing the Dirichlet boundary condition of a particle</sup> _a_ . Since pressure appears in the Navier–Stokes equation only as a gradient, we set _p_ <sup>_o_</sup> _a_ <sup>= 0.</sup> _a_ . Since pressure appears in the Navier–Stokes equation only as a gradient, we set _p_ <sup>_o_</sup> _a_ <sup>= 0.</sup> In this work, we assume that the motion of the gas phase follows the liquid phase, that is, the relative velocity between the gas and liquid phase ceases. As a consequence, there is no contribution of the gas phase to the viscous acceleration of SPH particles (2.11 _a_, _b_ ). Analogously, using the same assumption the contribution of the gas phase to the divergence of velocity approximation on the right-hand side of the PPE in (3.9) is zero. Therefore, (2.11 _a_, _b_ ) and (3.9) can be used for both: SPH particles located in the vicinity of a free surface; and SPH particles located in the bulk of the simulated material. _Surface tension and wetting at free surfaces in SPH_ To approximate the left-hand side of (3.9) for SPH ~~particles~~ that are located in the vicinity of a free surface, we use (Nair & Tomar 2014; Blank _et al._ 2023) _<u>mb</u>_ _ρb_ _Fab_ _pa_ - _p_ <sup>_o_</sup> _a_ - <sup>�</sup> <u>4</u> _ρa_ + _ρb_ <u>4</u> _<u>pb</u>_ _ρa_ + _ρb_ _b_ _<u>mb</u>_ _ρb_ _Fab_ _b_ - _b_ - ~~�~~ _β_ <sup>· ∇</sup> <sup>_Wab_</sup> <u>4</u> _<u>p</u>_ <sup>_o_</sup> _<u>a</u>_ _�t_ _ρa_ + _ρb_ _Fab_ - <sup>_u_</sup> _<u>ab</u>_ <sup>∗</sup> _<u>ab</u>_ <sup>∗</sup> <sup>· ∇</sup> <sup>_Wab_</sup> = _b_ _<u>mb</u>_ _ρb_ _._ (4.4) Note that the term marked by _β_ is constant if the mass and volume assigned to the SPH particles ~~are~~ uniform throughout the domain. In conclusion, we approximate the PPE by (3.9) if _Sa_ _>_ 0 _._ 95 (4.5) (4.4) if _Sa_ ≤ 0 _._ 95 <sup>_._</sup> This ambient pressure application can be used to model surface tension by computing the Young–Laplace pressure boundary condition, as shown by Blank _et al._ (2023). 5. Surface tension at free boundaries The ~~CSF~~ model by Brackbill _et al._ (1992) evaluates the acceleration of a particle _a_ due to surface tension by <sup>_s_</sup> _a_ <sup>=</sup> <sup><u>1</u></sup> _f_ <sup>_s_</sup> _a_ _ρa_ _F_ <sup>_s_</sup> _a_ <sup>_,_</sup> (5.1) _F_ <sup>_s_</sup> _a_ where _F_ <sup>_s_</sup> _a_ <sup>_s_</sup> _a_ <sup>is a force per unit volume (Morris 2000),</sup> _F_ <sup>_s_</sup> _a_ <sup>=</sup> - 2 _σaκa_ ˆ _na_ + ∇ <sup>_s_</sup> _σa_ _δa_ <sup>_s_</sup> _a_ <sup>_s._</sup> (5.2) Here, the index _a_ to _F_ <sup>_s_</sup> _a_ Here, the index _a_ to _F_ <sup>_s_</sup> _a_ <sup>and</sup> <sup>its</sup> <sup>constituents</sup> <sup>must</sup> <sup>be</sup> <sup>interpreted</sup> <sup>such</sup> <sup>that</sup> <sup>the</sup> <sup>quantity</sup> refers to a local property of the surface, but is assigned to SPH particle _a_ . In this sense, _σa_ is the local coefficient of surface tension of the phase boundary, assigned to particle _a_ . In the SPH literature, we speak briefly of ‘surface tension of particle _a_ ’. Similarly, _κa_, is the local value of the mean curvature of the surface, assigned to particle _a_ . It is termed ~~the~~ ‘curvature of particle _a_ ’. Analogously, the local values of the unit normal vector to the interface pointing from phase I to phase II are assigned to the SPH particles. The contribution _n_ ˆ _a_ assigned to particle _a_ is called ~~the~~ ‘unit normal vector of particle _a_ ’ and can be computed by _<u>mb</u>_ _ρb_ _na_ ∇ _Wab,_ _n_ ˆ _a_ = ∥ _na_ ∥ <sup>_._</sup> (5.3 _a_, _b_ ) _na_ = − _b_ The same applies to the surface gradient of the surface tension, ∇ <sup>_s_</sup> _σa_ . For the translation between surface tension into a volumetric force at the position of an SPH particle _a_ we employ the surface delta function, _δa_ <sup>_s_</sup> <sup>, that peaks at the interface.</sup> The second term in (5.2) drives fluid flow tangential to the interface due to the surface tension gradient. In the current paper, we assume constant surface tension. Therefore, the surface tension gradient and, thus, the second term in (5.2) vanish. The first term in (5.2) describes a force (per unit volume) directed perpendicular to the interface. This force counteracts the curvature of the interface and, thus, minimizes the surface area. _M. Blank, P. Nair and T. Pöschel_ We represent the surface delta function of an SPH particle in (5.2) by (Fürstenau _et al._ 2020) _δa_ <sup>_s_</sup> <sup>= ∥</sup> <sup>_na_</sup> <sup>∥</sup> <sup>_,_</sup> _a_ ∈ _Ω_ <sup>_l_</sup> _,_ (5.4) where _Ω_ <sup>_l_</sup> ⊂ _Ω_ is the subset of SPH particles representing the liquid phase. Both the absolute value and the direction of _na_ obtained from (5.3 _a_, _b_ ) depend sensitively on the positions of ~~neighbouring~~ particles _b_, therefore, naïve computation of the normal unit ~~vect~~ or, _n_ ˆ _a_ ≡ _na/_ ∥ _na_ ∥, is subject to large fluctuations leading eventually to inaccurate _F_ <sup>_s_</sup> _a_ <sup>when used in (5.2). Therefore, instead of using the naïve value, we use a</sup> smoothed normal vector (Morris _et al._ 1997; Fürstenau _et al._ 2020), _n_ ˜ _a_ = <sup><u>1</u></sup> _Sa_ _b_ _<u>mb</u>_ _ρb_ _nbWab._ (5.5) The smoothing increases the region where particles contribute to surface tension. Following our previous notation, _nb_ is a normal vector at the position of particle _b_ . In the bulk of the fluid, the smoothed normal vectors have small magnitudes and their orientation is of low significance. Therefore, we discard the normal unit vectors of such SPH particles _a_ ∈ _Ω_ <sup>_l_</sup>, whose normal vector’s magnitude is smaller than a threshold, _ε_ <sup>_n_</sup> ∈ [0 _._ 1 _/h,_ 0 _._ 2 _/h_ ]. In the simulations presented in this paper, we have used _ε_ <sup>_n_</sup> = 0 _._ 01 throughout. Subsequently, the smoothed and filtered normal vectors from (5.5) are normalized by _n_ ˜ _<u>a</u>_ _n_ ˆ˜ _a_ = ∥˜ _na_ ∥ <sup>_._</sup> (5.6) The set of unit vectors provided by (5.6), is used to compute the mean curvature which is needed to evaluate the first term in (5.2) (Monaghan 1992; Morris 2000), · ∇ _Wab._ (5.7) _κa_ = − <sup><u>1</u></sup> 2 _b_ _<u>mb</u>_ _ρb_ _n_ ˆ˜ _a_ −ˆ˜ _nb_ To increase the accuracy of the curvature approximation in (5.7), we substitute the kernel gradient with ∇ <sup>ˆ</sup> _Wab_ ≡ _C_ _a_ ∇ _Wab_ (Bonet & Lok 1999; Oger _et al._ 2007), where _C_ _a_ = �� _b_ _<u>mb</u>_ _ρb_ _rab_ ⊗ ∇ _Wab_ �−1 (5.8) is the correction matrix computed from all ~~neighbouring~~ SPH particles _b_ . This yields the following curvature approximation with _O(h_ <sup>2</sup> _)_ convergence (Bonet & Lok 1999; Oger _et al._ 2007): · ∇ <sup>ˆ</sup> _Wab._ (5.9) _κa_ = − <sup><u>1</u></sup> 2 _b_ _<u>mb</u>_ _ρb_ _n_ ˆ˜ _a_ −ˆ˜ _nb_ Using (5.2), (5.1),(5.6), (5.9) ~~and~~ assuming a constant surface tension coefficient in the simulated material, yields the acceleration of a particle _a_ in the normal direction <sup>_s_</sup> _a_ <sup>= 2</sup> <sup>_σa_</sup> _f_ <sup>_s_</sup> _ρa_ _κan_ <sup>ˆ</sup> ˜ _aδa_ <sup>_s._</sup> (5.10) _Surface tension and wetting at free surfaces in SPH_ Similar to Blank _et al._ (2023), where the Shepard filter is used to increase the robustness and accuracy of the obtained Young–Laplace pressure jump, we modify (5.10) to - _σa_ _ρa_ _f_ <sup>_s_</sup> _a_ <sup>=</sup> 1 + <sup><u>1</u></sup> _Sa_ <sup>_n_</sup> _κan_ <sup>ˆ</sup> ˜ _aδa_ <sup>_s._</sup> (5.11) _κan_ <sup>ˆ</sup> ˜ _aδa_ <sup>_s_</sup> Here, _Sa_ <sup>_n_</sup> _a_ <sup>_n_</sup> <sup>is the Shepard filter computed by</sup> _<u>mb</u>_ _ρb_ _Wab,_ (5.12) _Sa_ <sup>_n_</sup> <sup>=</sup> _b_ ∈ _Ω_ <sup>_n_</sup> where _Ω_ <sup>_n_</sup> ⊂ _Ω_ is the subset of SPH particles satisfying ∥˜ _na_ ∥≥ _ε_ <sup>_n_</sup> . The use of the factor _(_ 1 + 1 _/Sa_ <sup>_n)_</sup> <sup>which</sup> <sup>replaces</sup> <sup>the</sup> <sup>theoretical</sup> <sup>factor</sup> <sup>of</sup> <sup>2</sup> <sup>is</sup> <sup>empirical</sup> <sup>and</sup> <sup>is</sup> <sup>obtained</sup> <sup>from</sup> numerical experimentation. 6. Wetting forces at free boundaries The spreading force per unit length at the three-phase contact line can be described as a function of the contact angle, _Θ_, and the equilibrium contact angle, _Θ_ ∞, by (de Gennes 1985) _S_ <sup>_w_</sup> = _σ (_ cos _Θ_ ∞ - cos _Θ) ._ (6.1) According to Breinlinger _et_ _al._ (2013), (6.1) can be imposed on SPH particles located in the vicinity of the three-phase contact line by modifying their normal vector orientations. As a result, the curvature is modified, and (5.11) includes the acceleration due to wetting phenomena. The scheme by Breinlinger _et_ _al._ (2013) cannot be directly applied to ~~free-surface~~ problems since the gas phase is not represented by SPH particles. Therefore, in the following subsections, we describe two alternative approaches for ~~modelling~~ wetting and non-wetting contact for ~~free-surface~~ problems. 6.1. _Wetting contact angle, Θ_ ∞ ≤ 90 <sup>◦</sup> To model wetting contact angles (hydrophilic substrates), we compute the normal vectors of those SPH particles located near the three-phase contact line as a function of the required equilibrium contact angle. Following Brackbill _et_ _al._ (1992) the normal vector associated with a desired equilibrium contact angle, _Θ_ ∞, can be computed for a particle _a_ ∈ _Ω_ <sup>_l_</sup> by <sup>∞</sup> _a_ <sup>= ˆ˜</sup> <sup>_tsf_</sup> _a_ <sup>_sf_</sup> _a_ <sup>cos</sup> <sup>_Θ_</sup> <sup>∞</sup> <sup>_._</sup> (6.2) _n_ ˆ˜ <sup>∞</sup> _a_ <sup>_sf_</sup> _a_ <sup>sin</sup> <sup>_Θ_</sup> <sup>∞</sup> <sup>−ˆ˜</sup> <sup>_nsf_</sup> _a_ Here, <sup>ˆ</sup> ˜ _t_ <sup>_sf_</sup> _a_ <sup>is the smoothed normalized tangent vector between the solid and fluid phases, and</sup> _n_ ˆ˜ <sup>_sf_</sup> _a_ <sup>is</sup> <sup>the</sup> <sup>smoothed</sup> <sup>normalized</sup> <sup>normal</sup> <sup>vector</sup> <sup>pointing</sup> <sup>from</sup> <sup>the</sup> <sup>solid</sup> <sup>to</sup> <sup>the</sup> <sup>fluid</sup> <sup>phase</sup> computed at the position of particle _a_ . The normal vector, _n_ <sup>ˆ</sup> ˜ <sup>_sf_</sup> _a_ <sup>, at the position of particle</sup> <sup>_a_</sup> <sup>,</sup> is given by <sup>_sf_</sup> _a_ <sup>=</sup> _n_ ˜ <sup>_sf_</sup> _<u>a</u>_ _n_ ˆ˜ <sup>_sf_</sup> _a_ _<u>a</u>_ ∥˜ _n_ <sup>_sf_</sup> _a_ <sup>_sf_</sup> _a_ <sup>∥</sup> _Sa_ <sup>_s_</sup> <sup>_sf_</sup> _a_ <sup>= −</sup> _b_ ∈ _Ω_ <sup>_s_</sup> _<u>mb</u>_ _ρb_ ∇ _Wab,_ (6.3 _a_ - _c_ ) _b_ ∈ _Ω_ <sup>_s_</sup> _<u>mb</u>_ _ρb_ _n_ <sup>_sf_</sup> _a_ <sup>_sf_</sup> _a_ <sup>_Wab,_</sup> _n_ <sup>_sf_</sup> _a_ _,_ _n_ ˜ <sup>_sf_</sup> _a_ <sup>_sf_</sup> _a_ <sup>=</sup> <sup><u>1</u></sup> where _Ω_ <sup>_s_</sup> ⊂ _Ω_ is the subset of all SPH particles representing the solid phase, and _Sa_ <sup>_s_</sup> <sup>is</sup> the Shepard filter computed by _Sa_ <sup>_s_</sup> <sup>=</sup> _b_ ∈ _Ω_ <sup>_s_</sup> _<u>mb</u>_ _ρb_ _Wab._ (6.4) _M. Blank, P. Nair and T. Pöschel_ Analogous to the computation of _n_ <sup>ˆ</sup> ˜ _a_, we discard the unit normal vectors of SPH particles if ∥˜ _n_ ∥ _a_ _< ε_ <sup>_n_</sup> . The unit tangent vector in (6.2), <sup>ˆ</sup> ˜ _ta_ <sup>_sf_</sup> <sup>, is computed by</sup> ˆ˜ _tsfa_ <sup>=</sup> ˜ _t_ <sup>_sf_</sup> _<u>a</u>_ _n_ ˆ˜ _a_ · _n_ ˆ˜ <sup>_sf_</sup> _a_ _n_ ˆ˜ _a_ · _n_ ˆ˜ <sup>_sf_</sup> _a_ <sup>_sf_</sup> _a_ <sup>_,_</sup> ˆ˜ _tsfa_ _<u>a</u>_ ∥˜ _t_ <sup>_sf_</sup> _a_ <sup>_sf_</sup> _a_ <sup>∥</sup> ˜ _t_ <sup>_sf_</sup> _a_ <sup>=</sup> <sup>_n_</sup> <sup>ˆ˜</sup> <sup>_a_</sup> <sup>−</sup> <sup>_sf_</sup> _a_ <sup>=</sup> <sup>_n_</sup> <sup>ˆ˜</sup> <sup>_a_</sup> <sup>−</sup> _n_ ˆ˜ <sup>_sf_</sup> _a_ _._ (6.5 _a_, _b_ ) The normal vectors computed in (6.2) could be used to replace the normal vectors given by (5.6) to model wetting. However, as shown by Breinlinger _et al._ (2013), it is preferable to avoid an instantaneous change of the normal vectors of those SPH particles located near the three-phase contact line region. Instead, a smooth transition from _n_ <sup>ˆ</sup> ˜ _a_ to _n_ <sup>ˆ</sup> ˜ <sup>∞</sup> _a_ <sup>(6.2)</sup> <sup>depending</sup> <sup>on</sup> <sup>a</sup> <sup>particle’s</sup> distance to the solid phase (wall) should be applied: <sup>_lg_</sup> _a_ <sup>=</sup> ~~�~~ <u>�</u> _<u>ffaa</u>_ ˆ˜ _nn_ <sup>ˆ</sup> ˜ _<u>aa</u>_ ++ _<u>( (</u>_ <u>11 − −</u> _<u>ffaa))</u>_ ˆ˜ _nn_ <sup>ˆ</sup> ˜ <sup>∞</sup> _<u>a</u>_ ∞ _n_ ˆ˜ <sup>_lg_</sup> _a_ ~~�~~ <u>�</u> _fa_ ˆ˜ _na_ + _(_ 1 − _fa)_ ˆ˜ _na_ ∞ _a_ ~~�~~ <u>�</u> _._ (6.6) Here, _fa_ is given by _da_ <sup>_s_</sup> <sup>_/rmax_</sup> ∀ 0 ≤ _da_ <sup>_s_</sup> <sup>≤</sup> <sup>_rmax_</sup> 1 ∀ _da_ <sup>_s_</sup> <sup>_> rmax_</sup> _a_ <sup>_s_</sup> <sup>_> rmax_</sup> 0 ∀ _da_ <sup>_s_</sup> _fa_ = ⎧ ⎪⎨ ⎪⎩ 0 ∀ _da_ <sup>_s_</sup> <sup>_<_</sup> <sup>0</sup> <sup>_,_</sup> _da_ <sup>_s_</sup> <sup>_/rmax_</sup> ∀ 0 ≤ _da_ <sup>_s_</sup> _a_ <sup>_s_</sup> <sup>_/rmax_</sup> ∀ 0 ≤ _da_ <sup>_s_</sup> _,_ (6.7) where _rmax_ is the kernel radius ( _rmax_ = 2 _h_ when using the Wendland kernel in (2.5 _a_, _b_ )), and _da_ <sup>_s_</sup> <sup>is the shortest distance of a particle</sup> <sup>_a_</sup> <sup>∈</sup> <sup>_Ω_</sup> <sup>_l_</sup> <sup>to the particles</sup> <sup>_b_</sup> <sup>∈</sup> <sup>_Ω_</sup> <sup>_s_</sup> <sup>:</sup> _a_ <sup>_s_</sup> <sup>is the shortest distance of a particle</sup> <sup>_a_</sup> <sup>∈</sup> <sup>_Ω_</sup> <sup>_l_</sup> <sup>to the particles</sup> <sup>_b_</sup> <sup>∈</sup> <sup>_Ω_</sup> <sup>_s_</sup> <sup>:</sup> _da_ <sup>_s_</sup> <sup>= min</sup> _(ra_ - _rb)_ · _n_ <sup>ˆ</sup> ˜ <sup>_sf_</sup> _a_ _a_ - _�x._ (6.8) Here, _�x_ is the spacing between two SPH particles when arranged on a square lattice, and _�x_ <sup>3</sup> is the volume assigned to an SPH particle. The lower limit of _fa_ ensures that particles that are located closer to the wall than _�x_ are prescribed with _n_ <sup>ˆ</sup> ˜ <sup>∞</sup> _a_ <sup>. The upper limit of</sup> <sup>_fa_</sup> restricts the normal correction to particles in a range of _rmax_ to the solid phase. The curvature at the position of a particle _a_ ∈ _Ω_ <sup>_l_</sup> can be computed by _b_ _b_ _κa_ = − <sup><u>1</u></sup> 2 _κa_ = − <sup><u>1</u></sup> _<u>mb</u>_ _ρb_ <sup>_lg_</sup> _a_ <sup>−ˆ˜</sup> <sup>_nlg_</sup> _b_ _n_ ˆ˜ <sup>_lg_</sup> _a_ ∇ ˆ _Wab._ (6.9) In the course of this work, it was found that computing the curvature in (6.9) is not accurate enough to obtain stable equilibrium droplet shapes for _~~Θ~~_ ~~∞~~ ~~≤~~ ~~90~~ <sup><u>◦</u></sup> ~~.~~ In particular, underestimated curvatures of SPH particles located near the three-phase contact line lead to unlimited spreading of drops on a plane solid substrate. For this reason, we propose to compute the curvature at the position of an SPH particle _a_ ∈ _Ω_ <sup>_l_</sup> by _b_ _b_ ∈ _Ω_ <sup>_s_</sup> _<u>mb</u>_ _ρb_ <sup>_lg_</sup> _a_ <sup>−ˆ˜</sup> <sup>_n_</sup> _b_ <sup>_s_</sup> _b_ _κa_ = − <sup><u>1</u></sup> 2 _b_ ∈ _Ω_ <sup>_l_</sup> _<u>mb</u>_ _ρb_ _n_ ˆ˜ <sup>_lg_</sup> _a_ _n_ ˆ˜ <sup>_lg_</sup> _a_ <sup>_lg_</sup> _a_ <sup>−ˆ˜</sup> <sup>_nlg_</sup> _b_ ∇ ˆ _Wab,_ (6.10) ∇ ˆ _Wab_ - <sup><u>1</u></sup> 2 ∇ ˆ _Wab_ - <sup><u>1</u></sup> where _n_ ˆ <sup>_s_</sup> _b_ <sup>is</sup> <sup>the</sup> <sup>normal</sup> <sup>vector</sup> <sup>of</sup> <sup>a</sup> <sup>~~neighbouring~~</sup> <sup>particle</sup> <sup>_b_</sup> <sup>∈</sup> <sup>_Ω_</sup> <sup>_s_</sup> <sup>(particles</sup> <sup>representing</sup> the solid phase) given by where _n_ ˆ <sup>_s_</sup> _b_ ∞ <sup>_s_</sup> <sup>−ˆ˜</sup> <sup>_n_</sup> _a_ <sup>_sf_</sup> _a_ <sup>_lg_</sup> <sup>≥</sup> <sup>0</sup> ∞ <sup>_s_</sup> if _rab_ · _n_ <sup>ˆ</sup> ˜ _a_ <sup>_lg_</sup> _a_ <sup>_sf_</sup> <sup>cos</sup> <sup>_Θ_</sup> <sup>_s_</sup> _._ (6.11) _n_ ˆ˜ <sup>_s_</sup> _b_ <sup>=</sup> ⎧ ⎨ ⎩ ˆ˜ _t_ <sup>_sf_</sup> _a_ _n_ ˆ˜ <sup>_lg_</sup> _a_ else _n_ ˆ˜ <sup>_lg_</sup> _a_ <sup>_sf_</sup> _a_ <sup>sin</sup> <sup>_Θ_</sup> <sup>_s_</sup> _Surface tension and wetting at free surfaces in SPH_ _rmax_ _n_ ˆ˜ _a_ <sup>_lg_</sup> _a_ _r_ _ab_ _b_ _r_ _ab_ · _n_ ˆ˜ _a_ <sup>_lg_</sup> ⩾ 0 Figure 2. Identification of neighbouring particles _b_ ∈ _Ω_ <sup>_s_</sup> which contribute to the curvature computation of a particle _a_ ∈ _Ω_ <sup>_l_</sup> . This schematic shows SPH particles near the three-phase contact of a droplet resting on a solid boundary. Grey and blue spheres represent the solid boundary and the liquid phase, respectively. The normal vector _n_ <sup>ˆ</sup> ˜ <sup>_lg_</sup> _a_ <sup>is used to compute the distance of a neighbouring particle</sup> <sup>_b_</sup> <sup>∈</sup> <sup>_Ω_</sup> <sup>_s_</sup> <sup>to the tangent plane (here shown</sup> vector _n_ <sup>ˆ</sup> ˜ <sup>_lg_</sup> _a_ <sup>is used to compute the distance of a neighbouring particle</sup> <sup>_b_</sup> <sup>∈</sup> <sup>_Ω_</sup> <sup>_s_</sup> <sup>to the tangent plane (here shown</sup> as a dashed black line) by _rab_ · _n_ <sup>ˆ</sup> ˜ <sup>_lg_</sup> _a_ <sup>.</sup> <sup>Particles</sup> <sup>_b_</sup> <sup>∈</sup> <sup>_Ω_</sup> <sup>_s_</sup> <sup>which</sup> <sup>satisfy</sup> <sup>_r_</sup> _ab_ <sup>·</sup> <sup>_n_</sup> <sup>ˆ˜</sup> _a_ <sup>_lg_</sup> <sup>≥</sup> <sup>0</sup> <sup>contribute</sup> <sup>to</sup> <sup>the</sup> <sup>curvature</sup> <sup>_lg_</sup> _a_ <sup>.</sup> <sup>Particles</sup> <sup>_b_</sup> <sup>∈</sup> <sup>_Ω_</sup> <sup>_s_</sup> <sup>which</sup> <sup>satisfy</sup> <sup>_r_</sup> _ab_ <sup>·</sup> <sup>_n_</sup> <sup>ˆ˜</sup> _a_ <sup>_lg_</sup> as a dashed black line) by _rab_ · _n_ <sup>ˆ</sup> ˜ <sup>_lg_</sup> _a_ <sup>.</sup> <sup>Particles</sup> <sup>_b_</sup> <sup>∈</sup> <sup>_Ω_</sup> <sup>_s_</sup> <sup>which</sup> <sup>satisfy</sup> <sup>_r_</sup> _ab_ <sup>·</sup> <sup>_n_</sup> <sup>ˆ˜</sup> _a_ <sup>_lg_</sup> <sup>≥</sup> <sup>0</sup> <sup>contribute</sup> <sup>to</sup> <sup>the</sup> <sup>curvature</sup> computation and are shown by black spheres. ( _a_ ) ( _b_ ) Figure 3. Identified solid SPH particles (red) representing an extension of the liquid–gas interface: ( _a_ ) _Θ_ ∞ = 30 <sup>◦</sup> ; ( _b_ ) _Θ_ ∞ = 60 <sup>◦</sup> . Here, _Θ_ <sup>_s_</sup> Here, _Θ_ ∞ <sup>_s_</sup> <sup>is</sup> <sup>a</sup> <sup>calibration</sup> <sup>parameter</sup> <sup>used</sup> <sup>to</sup> <sup>obtain</sup> <sup>corrected</sup> <sup>normal</sup> <sup>vectors</sup> <sup>of</sup> ~~neighbouring~~ SPH particles _b_ ∈ _Ω_ <sup>_s_</sup> . By setting _Θ_ ∞ <sup>_s_</sup> <sup>_> Θ_</sup> <sup>∞, the curvatures at the position</sup> ~~neighbouring~~ SPH particles _b_ ∈ _Ω_ <sup>_s_</sup> . By setting _Θ_ ∞ <sup>_s_</sup> <sup>_> Θ_</sup> <sup>∞, the curvatures at the position</sup> of SPH particles _a_ ∈ _Ω_ <sup>_l_</sup> are shifted to larger values, which prevents the continuous spreading of the drop on the solid substrate, which otherwise happens if _Θ_ ∞ is used. This parameter may require calibration for different discretization parameters such as the kernel and the smoothing length. The value of this parameter is listed where relevant, for example, in the table in § 8.4. The condition in (6.11) measures the distance of a ~~neighbouring~~ particle _b_ ∈ _Ω_ <sup>_s_</sup> to particle _a_ in the normal direction. The sign of the distance allows us to distinguish between ~~neighbouring~~ particles _b_ ∈ _Ω_ <sup>_s_</sup> located on the liquid or on the gas side of particle _a_, as illustrated in figure 2. ~~Neighbouring~~ SPH particles that are located on the gas side of particle _a_, _rab_ · _n_ <sup>ˆ</sup> ˜ _a_ <sup>_lg_</sup> <sup>_>_</sup> <sup>0, do not contribute to the curvature estimate obtained in</sup> gas side of particle _a_, _rab_ · _n_ <sup>ˆ</sup> ˜ _a_ <sup>_lg_</sup> <sup>_>_</sup> <sup>0, do not contribute to the curvature estimate obtained in</sup> (6.10). Figure 3 shows cuts through the axis of symmetry of two drops resting on a plane surface. For a desired equilibrium contact angle of _Θ_ ∞ = 30 <sup>◦</sup> (figure 3 _a_ ) and _Θ_ ∞ = 60 <sup>◦</sup> (figure 3 _b_ ), the proposed approach modifies the normal vectors of the ~~red-coloured~~ SPH _M. Blank, P. Nair and T. Pöschel_ particles during the curvature computation. Note that each SPH particle _a_ ∈ _Ω_ <sup>_l_</sup> in the vicinity of the three-phase contact line has its own set of SPH particle ~~neighbours~~ _b_ ∈ _Ω_ <sup>_s_</sup> . The acceleration due to surface tension and wetting experienced by a particle _a_ ∈ _Ω_ <sup>_l_</sup> is now given by _a_ <sup>_s._</sup> (6.12) _f_ <sup>_s_</sup> _a_ <sup>=</sup> 1 + <sup><u>1</u></sup> _Sa_ <sup>_n_</sup> - _σa_ _ρa_ _κan_ <sup>ˆ</sup> ˜ <sup>_lg_</sup> _a_ <sup>_lg_</sup> _a_ <sup>_δ_</sup> _a_ <sup>_s_</sup> Here, _Sa_ <sup>_n_</sup> <sup>is the Shepard filter computed by</sup> _b_ ∈ _Ωs_ <sup>_n_</sup> _<u>mb</u>_ _ρb_ _Sa_ <sup>_n_</sup> <sup>=</sup> _b_ ∈ _Ωl_ <sup>_n_</sup> _<u>mb</u>_ _Wab_ + _ρb_ _Wab,_ (6.13) where _Ωl_ <sup>_n_</sup> <sup>⊂</sup> <sup>_Ω_</sup> <sup>_l_</sup> <sup>is the subset of SPH particles satisfying ∥˜</sup> <sup>_na_</sup> <sup>∥</sup> <sup>_> εn_</sup> <sup>and</sup> <sup>_Ω_</sup> _s_ <sup>_n_</sup> <sup>⊂</sup> <sup>_Ω_</sup> <sup>_s_</sup> <sup>is the</sup> subset of ~~neighbouring~~ SPH particles satisfying _rab_ · _n_ <sup>ˆ</sup> ˜ _a_ <sup>_lg_</sup> <sup>≥</sup> <sup>0 in (6.11).</sup> _l_ <sup>_n_</sup> <sup>⊂</sup> <sup>_Ω_</sup> <sup>_l_</sup> <sup>is the subset of SPH particles satisfying ∥˜</sup> <sup>_na_</sup> <sup>∥</sup> <sup>_> εn_</sup> <sup>and</sup> <sup>_Ω_</sup> _s_ <sup>_n_</sup> where _Ωl_ <sup>_n_</sup> subset of ~~neighbouring~~ SPH particles satisfying _rab_ · _n_ <sup>ˆ</sup> ˜ _a_ <sup>_lg_</sup> <sup>≥</sup> <sup>0 in (6.11).</sup> Using (6.12) and (6.13), the acceleration of an SPH particle _a_ due to surface tension and wetting is now given by _a_ <sup>_s._</sup> (6.14) _f_ <sup>_s_</sup> _a_ <sup>=</sup> 1 + <sup><u>1</u></sup> _Sa_ <sup>_n_</sup> - _σa_ _ρa_ _κan_ <sup>ˆ</sup> ˜ <sup>_lg_</sup> _a_ <sup>_lg_</sup> _a_ <sup>_δ_</sup> _a_ <sup>_s_</sup> 6.2. _Non-wetting contact angle, Θ_ ∞ _>_ 90 Instead of computing the curvature using the approach presented in § 6.1, we model non-wetting contact angles by computing the curvature of an SPH particle _a_ ∈ _Ω_ <sup>_l_</sup> using only SPH particle ~~neighbours~~ _b_ ∈ _Ω_ <sup>_l_</sup> representing the liquid phase. In the following, we use the superscript _l_ to denote that a property is computed using only the subset of SPH particles representing the liquid phase. Analogous to the correction scheme in § 6.1, the normal vector assigned to an SPH particle _a_ ∈ _Ω_ <sup>_l_</sup> is _n_ ˆ <sup>_l_</sup> _a_ <sup>_,_</sup> <sup>∞</sup> <sup>_l_</sup> _a_ <sup>_,_</sup> <sup>∞</sup> = ˆ _ta_ <sup>_sf_</sup> <sup>_,l_</sup> _a_ <sup>_sf_</sup> <sup>_,l_</sup> sin _Θ_ ∞ - _n_ <sup>ˆ</sup> ˜ <sup>_sf_</sup> _a_ <sup>_sf_</sup> _a_ <sup>cos</sup> <sup>_Θ_</sup> <sup>∞</sup> <sup>_._</sup> (6.15) Here, _t_ <sup>_sf_</sup> _a_ <sup>_,l_</sup> is the tangent vector at the position of a liquid SPH particle given by _n_ ˆ˜ <sup>_sf_</sup> _a_ <sup>_sf_</sup> _a_ <sup>_,_</sup> ˆ _ta_ <sup>_sf_</sup> <sup>_,l_</sup> _a_ <sup>_sf_</sup> <sup>_,l_</sup> = _ta_ <sup>_sf_</sup> <sup>_,l_</sup> _a_ <sup>_sf_</sup> <sup>_,l_</sup> = _n_ <sup>ˆ</sup> ˜ _a_ <sup>_lg,l_</sup> _ta_ <sup>_sf_</sup> <sup>_,l_</sup> _a_ <sup>_lg,l_</sup> _<u>a</u>_ ∥ _ta_ <sup>_sf_</sup> <sup>_,l_</sup> _a_ <sup>_sf_</sup> <sup>_,l_</sup> <sup>∥</sup> _n_ ˆ˜ <sup>_lg_</sup> _a_ <sup>_,l_</sup> · _n_ <sup>ˆ</sup> ˜ <sup>_sf_</sup> _a_ _n_ ˆ˜ <sup>_lg_</sup> _a_ <sup>_,l_</sup> _,_ (6.16 _a_, _b_ ) where the normal vector, _n_ <sup>ˆ</sup> ˜ <sup>_l_</sup> _a_ <sup>, is computed from liquid SPH particles by</sup> <sup>_l_</sup> _a_ <sup>=</sup> <sup><u>1</u></sup> _n_ ˜ <sup>_l_</sup> _<u>a</u>_ otherwise. _,_ _n_ ˜ <sup>_l_</sup> ∥˜ _n_ <sup>_l_</sup> _a_ ∥ �� _n_ ˜ _la_ �� _< εn_ ∇ _Wab._ (6.17 _a_ - _c_ ) _n_ ˆ˜ <sup>_l_</sup> _a_ <sup>=</sup> ⎧ ⎨ ⎩ 0 if <sup>_l_</sup> _a_ <sup>= −</sup> _n_ ˜ <sup>_l_</sup> _Sa_ <sup>_l_</sup> _b_ ∈ _Ω_ <sup>_l_</sup> _<u>mb</u>_ _ρb_ _b_ ∈ _Ω_ <sup>_l_</sup> _<u>mb</u>_ _ρb_ _n_ <sup>_l_</sup> _a_ <sup>_l_</sup> _a_ <sup>_Wab,_</sup> _n_ <sup>_l_</sup> _a_ Here, _Sa_ <sup>_l_</sup> <sup>is the Shepard filter applied to liquid SPH particles</sup> _Sa_ <sup>_l_</sup> <sup>=</sup> _b_ ∈ _Ω_ <sup>_l_</sup> _<u>mb</u>_ _Wab._ (6.18) _ρb_ _Surface tension and wetting at free surfaces in SPH_ Finally, the normal vector of an SPH particle _a_ ∈ _Ω_ <sup>_l_</sup> located in the vicinity of the three-phase contact line region is given by _<u>fan</u>_ <sup>ˆ</sup> ˜ <sup>_l_</sup> _<u>a</u>_ _a_ <sup>_slg,l_</sup> = ~~�~~ <u>�</u> _fa_ ˆ˜ _n_ ~~�~~ <u>�</u> _._ (6.19) _n_ ˆ˜ _a_ <sup>_slg,l_</sup> _<u>a</u>_ ~~�~~ <u>�</u> _fa_ ˆ˜ _nla_ + _(_ 1 − _fa)_ ˆ _nal,_ ∞ <sup>_l_</sup> _<u>a</u>_ <sup>+</sup> <sup>_<u>(</u>_</sup> <sup><u>1 −</u></sup> <sup>_<u>fa)</u>_</sup> <sup>_n_</sup> <sup>ˆ</sup> _<u>a</u>_ <sup>_l,_</sup> <sup>∞</sup> The modified normal vectors, _n_ <sup>ˆ</sup> ˜ _a_ <sup>_slg,l_</sup>, replace the normal vectors computed in (6.16 _a_, _b_ ) if the SPH particle is located in the vicinity of the three-phase contact line _._ (6.20) _n_ ˆ˜ <sup>_lg_</sup> _a_ <sup>=</sup> ⎧ ⎨ ⎩ _n_ ˆ˜ <sup>_slg_</sup> _a_ <sup>_,l_</sup> if _a_ ∈ _Ω_ <sup>_slg_</sup> _n_ ˆ˜ <sup>_slg_</sup> _a_ <sup>_,l_</sup> _n_ ˆ˜ <sup>_lg_</sup> _a_ <sup>_,l_</sup> else _n_ ˆ˜ <sup>_lg_</sup> _a_ <sup>_,l_</sup> Finally, the mean curvature of a liquid SPH particle is given by _b_ _κa_ = − <sup><u>1</u></sup> 2 _b_ ∈ _Ω_ <sup>_l_</sup> _<u>mb</u>_ _ρb_ _n_ ˆ˜ <sup>_lg_</sup> _a_ <sup>_lg_</sup> _a_ <sup>−ˆ˜</sup> <sup>_nlg_</sup> _b_ ∇ ˆ <sup>_l_</sup> _Wab,_ (6.21) where the renormalized kernel gradient, ∇ <sup>ˆ</sup> <sup>_l_</sup> _Wab_, is computed from liquid SPH particles _b_ ∈ _Ω_ <sup>_l_</sup> by (Bonet & Lok 1999; Oger _et al._ 2007) ∇ ˆ <sup>_l_</sup> _Wab_ ≡ _C_ <sup>_l_</sup> _a_ <sup>_l_</sup> _a_ <sup>=</sup> <sup>_l_</sup> _a_ <sup>∇</sup> <sup>_Wab,_</sup> _C_ <sup>_l_</sup> _a_ �� _b_ ∈ _Ω_ <sup>_l_</sup> _<u>mb</u>_ _ρb_ _rab_ ⊗ ∇ _Wab_ �−1 _._ (6.22 _a_, _b_ ) Here, _C_ <sup>_l_</sup> _a_ <sup>is the correction matrix computed for SPH particles</sup> <sup>_b_</sup> <sup>∈</sup> <sup>_Ω_</sup> <sup>_l_</sup> <sup>. The acceleration of</sup> an SPH particle _a_ ∈ _Ω_ <sup>_l_</sup> due to surface tension and wetting forces is then given by - _σa_ _ρa_ _a_ <sup>_s,l,_</sup> (6.23) _f_ <sup>_s_</sup> _a_ <sup>=</sup> _f_ <sup>_s_</sup> _a_ 1 + <sup><u>1</u></sup> _Sa_ <sup>_n_</sup> _κan_ <sup>ˆ</sup> ˜ <sup>_lg_</sup> _a_ <sup>_lg_</sup> _a_ <sup>_δ_</sup> _a_ <sup>_s,l_</sup> with ��� _nla_ ��� _._ (6.24 _a_, _b_ ) _Sa_ <sup>_n_</sup> <sup>=</sup> _b_ ∈ _Ωl_ <sup>_n_</sup> _<u>mb</u>_ _ρb_ _Wab,_ _δa_ <sup>_s,l_</sup> <sup>=</sup> _Wab,_ _δa_ <sup>_s,l_</sup> For desired equilibrium contact angles approaching 90 <sup>◦</sup>, a slight discrepancy between the wetting and the non-wetting approach is observed, with the wetting approach yielding greater accuracy. 6.3. _Extreme wetting and thin films_ Obtaining stable drops on a plane surface with _Θ_ ∞ ≤ 30 <sup>◦</sup> is challenging because the particles near the three-phase contact line have ~~many fewer neighbours~~ within their support radius ( _b_ ∈ _Ω_ <sup>_l_</sup> ) than for larger contact angles. Further, for low contact angles, the resulting sharp curvatures cannot be estimated accurately due to the smoothing of the normals (see (6.20) and (6.11)). When the liquid phase spreads thinner than the SPH kernel radius on the substrate, the aforementioned approach will result in all particles being identified as near the contact line because all particles will be near the free surface and the substrate. Consequently, the normal correction in (5.6) and (6.16 _a_, _b_ ) will be applied to all particles _a_ ∈ _Ω_ <sup>_l_</sup> in the liquid layer, resulting in unphysical surface forces. _M. Blank, P. Nair and T. Pöschel_ For the case of small contact angle, as simulated in § 8.5, we substitute the curvature computation in (6.10) by (6.21) (where a renormalized kernel gradient is used) for an SPH particle _a_ ∈ _Ω_ <sup>_slg_</sup> if there is an insufficient ~~neighbour~~ particle support which we identify by _Sa_ _<_ 0 _._ 6. For a thin film of liquid, the thickness of the film may be less than the kernel support radius. This leads to incorrect identification of particles. However, these particles are not necessarily near the triple contact line, but their surface normals can be parallel to the substrate normals. Therefore, we use the threshold _n_ <sup>ˆ</sup> ˜ <sup>_lg_</sup> _a_ <sup>·</sup> <sup>_n_</sup> <sup>ˆ˜</sup> <sup>_sf_</sup> _a_ <sup>≤</sup> <sup>0</sup> <sup>_._</sup> <sup>995,</sup> <sup>for</sup> <sup>the</sup> <sup>normal</sup> <sup>_lg_</sup> _a_ <sup>·</sup> <sup>_n_</sup> <sup>ˆ˜</sup> <sup>_sf_</sup> _a_ the substrate normals. Therefore, we use the threshold _n_ <sup>ˆ</sup> ˜ <sup>_lg_</sup> _a_ <sup>·</sup> <sup>_n_</sup> <sup>ˆ˜</sup> <sup>_sf_</sup> _a_ <sup>≤</sup> <sup>0</sup> <sup>_._</sup> <sup>995,</sup> <sup>for</sup> <sup>the</sup> <sup>normal</sup> correction (6.6) of particles near the triple contact line to avoid the particles in a thin film being classified as located near the triple line. 7. Wall boundary To model wetting phenomena on an impermeable substrate using SPH, the wall must satisfy the no penetration and the no-slip boundary conditions (Violeau 2015). Several techniques were proposed to ensure no penetration. For instance, wall boundaries can be ~~modelled~~ using repulsive forces (Monaghan 1994), dummy particles (Crespo, Gómez-Gesteira & Dalrymple 2007), mirror particles (Morris _et_ _al._ 1997), immersed boundary methods (Nasar _et_ _al._ 2019) or ~~semia~~ nalyt ~~ical~~ approaches (Leroy _et_ _al._ 2014). To simultaneously satisfy no-penetration and no-slip boundary conditions at walls, we modify the PPE in (3.7) following Adami, Hu & Adams (2012). We define the set of wall particles _Ω_ <sup>_w_</sup> as a subset of solid particles, _Ω_ <sup>_w_</sup> ⊂ _Ω_ <sup>_s_</sup> . Wall particles, _a_ ∈ _Ω_ <sup>_w_</sup>, are thus near fluid particles. In mathematical terms, an SPH particle represents the solid wall boundary, _a_ ∈ _Ω_ <sup>_w_</sup>, if _a_ ∈ _Ω_ <sup>_s_</sup> and _Sa_ <sup>_l_</sup> <sup>_>_</sup> <sup>10−3</sup> <sup>_._</sup> (7.1 _a_, _b_ ) The threshold _Sa_ <sup>_l_</sup> <sup>_>_</sup> <sup>10−3</sup> <sup>must</sup> <sup>be</sup> <sup>chosen</sup> <sup>large</sup> <sup>enough</sup> <sup>to</sup> <sup>allow</sup> <sup>the</sup> <sup>convergence</sup> <sup>of</sup> <sup>the</sup> iterative solver solving the PPE. The PPE for particles representing the wall ( _a_ ∈ _Ω_ <sup>_w_</sup> ) is _b_ ∈ _Ω_ <sup>_l_</sup> _._ (7.2) _�t_ _b_ _b_ ∈ _Ω_ <sup>_l_</sup> - <sup>_<u>mb</u>_</sup> _ρb_ _u_ <sup>∗</sup> <sup>∗</sup> _<u>ab</u>_ <sup>· ∇</sup> <sup>_Wab_</sup> _<u>mb</u>_ _ρb_ <u>4</u> _ρa_ + _ρb_ _p_ <sup>∗</sup> _a_ <sup>∗</sup> _a_ <sup>−</sup> <sup>_p_</sup> _b_ <sup>∗</sup> _Fab_ = Thus, the ~~neighbourhood~~ of wall particles includes exclusively fluid particles. In summary, the pressure of a particle _a_ follows from different PPEs depending on whether it is a liquid particle in the bulk of the fluid, a liquid particle near the free surface, or a wall particle, ⎧ ⎪⎨ ⎪⎩ (3.9) if _a_ ∈ _/_ _Ω_ <sup>_w_</sup> and _Sa_ _>_ 0 _._ 95 (4.4) if _a_ ∈ _/_ _Ω_ <sup>_w_</sup> and _Sa_ ≤ 0 _._ 95 (7.2) if _a_ ∈ _Ω_ <sup>_w_</sup> _._ (7.3) To enforce the no-slip boundary condition at the wall, the wall’s velocity is calculated via an SPH interpolation of the liquid ~~neighbourhood~~ of _a_ ∈ _ω_ <sup>_w_</sup> as _u_ ˜ _a_ = <sup><u>1</u></sup> _Sa_ <sup>_l_</sup> _b_ ∈ _Ω_ <sup>_l_</sup> _<u>mb</u>_ _ρb_ _ubWab._ (7.4) Subsequently, the wall particle velocity, _u_ <sup>_w_</sup> _a_ <sup>,</sup> <sup>that</sup> <sup>replaces</sup> <sup>the</sup> <sup>velocity</sup> <sup>of</sup> <sup>~~neighbouring~~</sup> particles _b_ ∈ _Ω_ <sup>_w_</sup> in (2.11 _a_, _b_ ), is given by _u_ <sup>_w_</sup> _a_ <sup>= 2</sup> <sup>_ua_</sup> <sup>−˜</sup> <sup>_ua._</sup> (7.5) _Surface tension and wetting at free surfaces in SPH_ Parameter Symbol Value Surface tension _σ_ 0 _._ 01 N m <sup>−1</sup> Dynamic viscosity _η_ 0 _._ 05 N m <sup>−1</sup> Mass density _ρ_ 1000 kg m <sup>−3</sup> Ambient pressure _p_ <sup>_amb_</sup> 0 Smoothing length _h_ 2 _�x_ Threshold for significance of vectors, see (6.16 _a_, _b_ ) _ε_ <sup>_n_</sup> 0 _._ 1 _/h_ Spacing of SPH particles when arranged on a square lattice _�x_ 5 × 10 <sup>−5</sup> m Table 1. Numerical parameters used in the test simulations. 8. Validation of the proposed CSF and wetting model 8.1. _Numerical parameters_ Table 1 summarizes the numerical parameters used in all tests unless otherwise stated. The parameter chosen, albeit arbitrary, belong to the realm of realistic fluids. Stable simulations with properties of water may also be achieved with a higher spatial resolution than provided. The integration time step was chosen due to the Courant–Friedrich–Lewy condition (Morris 2000) from the maximum acceleration _amax_, the maximum velocity _umax_, the viscous diff ~~usion~~ and the surface tension, ~~�~~ _<u>h</u>_ _<u>h</u>_ ∥ _amax_ ∥ <sup>_,_</sup> ∥ _umax_ ∥ <sup>_,_</sup> <sup>_<u>h</u>_</sup> 2 <sup>2</sup> _η_ <sup>_ρ_</sup> <sup>_,_</sup> - <u>⎞</u> _<u>h</u>_ <sup>3</sup> _ρ_ ⎠ _._ (8.1) 2π _σ_ _�t_ = <sup><u>1</u></sup> 4 <sup>min</sup> ⎛ ⎝ The solid SPH particles (including the wall particles) are kept at zero velocity throughout the simulations. 8.2. _Test case: plane Poiseuille flow_ We simulate plane Poiseuille flow between two stationary, infinite planes, located at _x_ = ± _L_ with _L_ = 0 _._ 5 m. The fluid is accelerated in the _y_ -direction by the body force _gy_ . The analytical solution for the _y_ -component of the time-dependent velocity, _uy_, as a function of the _x_ -position reads (Morris _et al._ 1997) - <sup>_<u>(</u>_</sup> <sup><u>2</u></sup> <sup>_<u>n</u>_</sup> <sup>+ 1</sup> <sup>_<u>)</u>_</sup> <sup>2</sup> <sup>π2</sup> <sup>_ν_</sup> _t_ _L_ <sup>2</sup> exp - π _<u>x</u>_ _L_ <sup>_(_</sup> <sup>2</sup> <sup>_n_</sup> <sup>+ 1</sup> <sup>_)_</sup> _._ _uy(x, t)_ = <sup>_gy_</sup> 2 _ν_ <sup>_x (x_</sup> <sup>−</sup> <sup>_L)_</sup> <sup>+</sup> �∞ _n_ =0 <u>4</u> _gyL_ <sup>2</sup> _ν_ π <sup>3</sup> _(_ 2 _n_ + 1 _)_ <sup>3</sup> <sup>sin</sup> <u>4</u> _gyL_ <sup>2</sup> (8.2) In the simulation, we apply periodic boundary conditions in ~~the~~ _y_ - and _z_ -directions, thus, in this example, there is no free boundary. Consequently, to solve the PPE, we apply a Dirichlet boundary condition for the pressure to the solid SPH particles, which are not identified as wall SPH particles. The pressure of the solid phase is computed implicitly by solving ⎧ ⎪⎨(7.2) if _a_ ∈ _Ω_ <sup>_w_</sup> (7.2) if _a_ ∈ _Ω_ <sup>_w_</sup> ⎪⎩ (4.4) if _a_ ∈ _Ω_ <sup>_fs_</sup> ∧ _a_ ∈ _/_ _Ω_ <sup>_w_</sup> (3.9) else _._ (8.3) _M. Blank, P. Nair and T. Pöschel_ ∞ 1.2 0.8 0.4 0.2 _tv/L_ <sup>2</sup> = 0.1 1.0 0.8 0.6 0.4 0.2 Eq. (8.2) SPH 0 –1.0 –0.5 0 0.5 1.0 _x/L_ Figure 4. Instantaneous velocity profiles for viscous fluid flow between two parallel plates driven by the pressure gradient: the fluid flows in the _y_ -direction and its non-dimensional velocity is plotted along the normal direction to the plates. In this validation example, we disregard surface tension effects, hence the momentum balance of the fluid reads <u>D</u> _ua_ _a_ <sup>+</sup> <sup>_f v_</sup> _a_ <sup>_b_</sup> _a_ <sup>_._</sup> (8.4) D _t_ <sup>=</sup> <sup>_f p_</sup> _a_ <sup>_v_</sup> _a_ <sup>+</sup> <sup>_f b_</sup> _a_ The flow is characterized by the Reynolds number, _Re_ = 2 _Lu_ <sup>_max_</sup> _y_ _/ν_ = 125. The SPH particles representing the liquid phase are initially placed on a rectangular lattice in the three-dimensional interval _x_ ∈ _(_ - _L,_ _L)_ <sup>3</sup> . At _x_ = ± _L_, the boundary is ~~modelled~~ by SPH wall particles, placed at _L_ ≤ _x_ ≤ _L_ + 2 _rmax_ and _L_ - 2 _rmax_ ≤ _x_ ≤ _L_ . The thickness of the walls is twice the Wendland kernel radius, _rmax_ = 2 _h_ . This is required to apply the zero-pressure Dirichlet boundary condition in (4.4) to solid SPH particles, in order to solve the PPE. The liquid phase is represented by _L/�x_ ∈{10 _,_ 20 _,_ 40} SPH particles in each spatial dimension leading to a total of {8 000 _,_ 64 000 _,_ 512 000} liquid SPH particles in the simulation. Figure 4 compares the analytical solution, (8.2), of the transient velocity field with the numerical result for _L/�x_ = 40. To evaluate the precision of the numerical model, we compute the relative deviation of the numerical SPH particles’ velocities from the corresponding analytical values for SPH particles located in the interval − _�x_ ≤ _y_ ≤ _�x_ and - _�x_ ≤ _z_ ≤ _�x_, as a function of their _x_ -position. For _tν/L_ <sup>2</sup> = 4 for _L/�x_ = 40 we obtain the mean relative error 1 _._ 6 %. Reducing the spatial discretization to _L/�x_ = 10 we obtain the mean relative error 3 _._ 8 %. 8.3. _Test case: Laplace pressure jump_ At equilibrium, the pressure inside a drop exceeds the ambient pressure due to the surface tension. This effect is termed the Laplace pressure jump. In this simulation, we arrange _N_ SPH particles on a rectangular lattice inside a sphere of radius _r_ 0 = 10 <sup>−3</sup> m, using the discretization given in table 2. All smoothed normal vectors of magnitude smaller than _ε_ <sup>_n_</sup> = 0 _._ 3 _/h_ are discarded from the computation of the curvature. _Surface tension and wetting at free surfaces in SPH_ _N_ _�x_ 4 224 _r_ 0 _/_ 10 9 915 _r_ 0 _/_ 13 _._ 3 <sup>¯</sup> 14 321 _r_ 0 _/_ 15 113 104 _r_ 0 _/_ 30 268 096 _r_ 0 _/_ 40 Table 2. Number of SPH particles and discretization spacing used to validate the Young–Laplace pressure boundary condition. ( _a_ ) ( _b_ ) 1.0 0.5 _r_ 0 _/�x_ = 10 _r_ 0 _/�x_ = 15 _r_ 0 _/�x_ = 40 15 10 5 0 0 −1 0 1 _x/r_ 0 10 20 30 40 _r_ 0 _/�x_ Figure 5. Comparison of the computed equilibrium pressure inside a droplet with the analytical solution of the Young–Laplace equation, (8.5). The simulation result is averaged over the time interval 0 _._ 8 ≤ _t_ ≤ 1 s. ( _a_ ) Pressure profile along the _x_ -axis ( _y/r_ 0 = _z/r_ 0 = 0) for a drop centred at _(x, y, z)_ = _(_ 0 _,_ 0 _,_ 0 _)_ for different spatial resolutions. The dashed line shows the analytical solution, (8.5). ( _b_ ) Relative deviation of the simulated equilibrium pressure inside the droplet from the analytical value, (8.5). According to the Young–Laplace equation, the pressure drop across a ~~liquid–gas~~ interface at equilibrium is given by (Mugele & Heikenfeld 2019) _�p_ <sup>_YL_</sup> = 2 _σκ._ (8.5) For the parameters given above, we find that the pressure inside the drop, _pi_, exceeds the ambient pressure by 20 Pa according to _p_ <sup>_i_</sup> = _p_ <sup>_amb_</sup> + <sup><u>2</u></sup> <sup>_σ_</sup> _r_ 0 _._ (8.6) Figure 5 shows the equilibrium pressure along a cut through the symmetry axis of the drop after a sufficient relaxation time _(t_ = 1 s _)_ when equilibrium was achieved. For increasing number of SPH particles (increasing resolution), the equilibrium pressure inside the droplet converges to the analytical solution, given by (8.6). The relative error is 18 _._ 0 % when using 4 224 SPH particles, 0 _._ 8 % using 113 104 SPH ~~par~~ t ~~icles~~ and 1 _._ 0 % when 268 096 SPH particles are used to discretize the droplet. 8.4. _Test case: droplet oscillations_ In this validation case, we study the damped oscillation of a viscous drop. The analytical solution for the shape of a drop as a function of time reads (Aalilija, Gandin & _M. Blank, P. Nair and T. Pöschel_ Figure 6. Ellipsoid according to (8.10), represented by 33 240 SPH particles. Hachem 2020) _r (θ, t)_ = _r_ 0 - 1 + _ε_ 2 _(t)P_ 2 _(_ cos _(θ))_ - <sup><u>1</u></sup> 5 <sup>_ε_</sup> 2 <sup>2</sup> <sup>_(t)_</sup> _._ (8.7) Here, _θ_ is the polar angle, _r_ 0 is the radius of the (spherical) droplet in ~~equi~~ li ~~brium~~ and _P_ 2 _(x)_ ≡ <sup><u>1</u></sup> 2 <sup>_(_</sup> <sup>3</sup> <sup>_x_</sup> <sup>2 −</sup> <sup>1</sup> <sup>_)_</sup> <sup>is the second-order Legendre polynomial. The governing parameter</sup> <sup><u>1</u></sup> 2 <sup>_(_</sup> <sup>3</sup> <sup>_x_</sup> <sup>2 −</sup> <sup>1</sup> <sup>_)_</sup> <sup>is the second-order Legendre polynomial. The governing parameter</sup> _ε_ 2 _(t)_ ≈ 0 _._ 08e <sup>−λ2</sup> <sup>_t_</sup> cos _ω_ 2 _,_ 0 _t_ (8.8) contains the oscillation frequency and the damping constant, _ω_ 2 _,_ 0 ≡ ~~�~~ <u>8</u> _σ_ _ρr_ <sup>3</sup> 0 _,_ λ2 ≡ <sup><u>5</u></sup> <sup>_η_</sup> <sup>3</sup> _ρr_ <sup>2</sup> 0 0 _ρr_ <sup>2</sup> 0 _._ (8.9 _a_, _b_ ) <sup>2</sup> 0 For the initial condition, we assume (Aalilija _et al._ 2020) _r (θ, t_ = 0 _)_ = _r_ 0 1 + 0 _._ 08 _P_ 2 _(_ cos _(θ))_ - <sup><u>1</u></sup> 5 <sup>0</sup> <sup>_._</sup> <sup>082�</sup> _,_ (8.10) which describes a weakly deformed sphere. For the simulation, we assume _η_ = 5 × 10 <sup>−3</sup> Pa s and the values given in table 1. For initialization, the shape described in (8.10) is represented by 33 240 SPH particles placed on a square lattice, see figure 6. Figure 7 shows the major and minor axis oscillation caused by the initial deformation of the drop from its equilibrium shape, as obtained from the numerical simulation. For a quantitative comparison with the analytical result, we fit the parameters of a damped harmonic oscillator, _r_ = _Aosc_ exp _(_ −λ _osc)_ cos _(ωosct),_ (8.11) to the simulation data. We take the amplitude _Aosc_ from the initialization and obtain the best fit for the damping constant λ _osc_ = 22 _._ 44 s <sup>−1</sup> and the oscillation frequency _ωosc_ = 261 _._ 5 s <sup>−1</sup> . We compare these numerical values with the analytical quantities. For the given material and system parameters, according to (8.9 _a_, _b_ ), they read _ω_ 2 _,_ 0 = 283 _,_ 03 s <sup>−1</sup> and λ2 = 25 s <sup>−1</sup>, resulting in the relative deviation | _ω_ 2 _,_ 0 − _ωosc_ | _/ω_ 2 _,_ 0 ≈ 7 % and |λ2 − λ _osc_ | _/_ λ2 ≈ 5 _._ 1 %. An appropriate value of the normal threshold, _ε_ <sup>_n_</sup>, was found to be crucial for stable oscillations, see (6.16 _a_, _b_ ). Choosing _ε_ <sup>_n_</sup> too small results in incorrect curvature computation due to contributions from SPH particles located far away from the interface. _Surface tension and wetting at free surfaces in SPH_ 0.05 0 −0.05 0 1 2 3 4 5 _t/Tosc_ Major axis Minor axis 6 7 8 9 Figure 7. Damped oscillation of a viscous droplet. The curves show the drop extension along the major and minor axes as functions of time, normalized by the oscillation period, _Tosc_ = 2π _/ω_ 2 _,_ 0 = 2 _._ 22 × 10 <sup>−2</sup> s. _Θ_ ∞ _/_ <sup>◦</sup> 15 30 45 60 75 90 105 120 135 150 _Θ_ ∞ <sup>_s_</sup> <sup>_/_</sup> <sup>◦</sup> 15 32 50 65 85 105 - - - Table 3. Equilibrium contact angles used to correct the normal vectors of liquid and solid SPH particles in the vicinity of the three-phase contact line. For _Θ_ ∞ ≤ 95 <sup>◦</sup> we employ _Θ_ <sup>_s_</sup> ∞ <sup>_s_</sup> <sup>≥</sup> <sup>_Θ_</sup> <sup>∞, see § 6.1.</sup> Choosing _ε_ <sup>_n_</sup> too large results in large statistical errors since only a small number of SPH particles contributes to the surface tension forces. An appropriate choice of _ε_ <sup>_n_</sup> compromises between these limits. 8.5. _Test case: equilibrium shape of a drop in contact with a plane_ The numerical simulation of a drop in contact with a plane is a challenging problem. Depending on the choice of the equilibrium contact angle, _Θ_ ∞, which is a parameter of the simulation (see (6.1)), we describe wetting or ~~dewetting~~ contact of the liquid drop on the solid substrate. Here, we demonstrate the stability of the numerical method by considering the relaxation of a particular initial state towards equilibrium for varying values of _Θ_ ∞. The initial condition is described by a hemispherical liquid drop resting on a solid substrate. We place liquid SPH particles on a square lattice with spacing _�x_ inside a hemisphere of radius _r_ 0 = 10 <sup>−3</sup> m. The flat side of the hemisphere is in contact with the plane, ~~modelled~~ as a circular disk of radius 3 × 10 <sup>−3</sup> m and thickness 5 _�x_ . In all cases studied, the disk’s radius was much larger than the equilibrium radius of the drop. The disk is represented by solid SPH particles arranged on a square lattice of spacing _�x_ . At time _t_ = 0, we start the simulation, and the initially hemispherical drop relaxes to its asymptotic equilibrium shape. For the simulation, we use the parameters in table 1, the smoothing length _h_ = 2 _._ 5 _�x_ ~~and~~ _ε_ <sup>_n_</sup> = 0 _._ 2 _/h_ . The equilibrium contact angles used to modify the normal vectors are shown in table 3. Figure 8 shows the drop in equilibrium for contact angles _Θ_ ∞ ∈{15 <sup>◦</sup> _,_ 60 <sup>◦</sup> _,_ 120 <sup>◦</sup> _,_ 150 <sup>◦</sup> }. During relaxation, the kinetic energy of the drop and, thus, its constituting SPH particles decays by several orders of magnitude, see figure 9. We note that the asymptotic value of the kinetic energy of drops with non-wetting exceeds the value for wetting _M. Blank, P. Nair and T. Pöschel_ ( _a_ ) ( _b_ ) ( _c_ ) ( _d_ ) Figure 8. At large time, _t_ = 1 s, the drops have assumed their equilibrium shape. Liquid SPH particles are shown in red, and solid particles are shown in blue. For _Θ_ ∞ ∈{120 <sup>◦</sup> _,_ 150 <sup>◦</sup> }, some particles near the three-phase contact line disintegrated from the body of the liquid phase: ( _a_ ) _Θ_ ∞ = 15 <sup>◦</sup> ; ( _b_ ) _Θ_ ∞ = 60 <sup>◦</sup> ; ( _c_ ) _Θ_ ∞ = 120 <sup>◦</sup> ; ( _d_ ) _Θ_ ∞ = 150 <sup>◦</sup> . Refer to figure 10 for the radial profile of the free surface. 10 <sup>–9</sup> 10 <sup>–11</sup> 10 <sup>–13</sup> _Θ_ ∞ = 15° _Θ_ ∞ = 120° _Θ_ ∞ = 60° _Θ_ ∞ = 150° 10 <sup>–15</sup> 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 _t/_ s Figure 9. Total kinetic energy of relaxing droplets as a function of time. In agreement with physical reality, drops with wetting contact angles relax to a lower value of kinetic energy than drops with non-wetting contact angles. Similarly, the fluctuations are smaller for wetting contact contacts by at least two orders of magnitude: at _t_ = 1 s we find for wetting contact _Ekin_ ≈ 1 _._ 16 × 10 <sup>−14</sup> J for _Θ_ ∞ = 15 <sup>◦</sup> and _Ekin_ ≈ 6 _._ 94 × 10 <sup>−15</sup> J for _Θ_ ∞ = 60 <sup>◦</sup> ; while for non-wetting contact, we find _Ekin_ ≈ 7 _._ 43 × 10 <sup>−12</sup> J for _Θ_ ∞ = 120 <sup>◦</sup> and _Ekin_ ≈ 1 _._ 38 × 10 <sup>−12</sup> J for _Θ_ ∞ = 150 <sup>◦</sup> . Similarly, the fluctuations of the kinetic energy are much larger _Surface tension and wetting at free surfaces in SPH_ ( _a_ ) ( _b_ ) 2.0 16.6° (15°) 29.8° (30°) 2.0 109.5° (105°) 122.1° (120°) 1.5 1.0 0.5 46.0° (45°) 60.3° (60°) 76.6° (75°) 91.1° (90°) 1.5 1.0 0.5 136.1° (135°) 140.8° (150°) 0 0.5 1.0 1.5 2.0 0 0.5 1.0 1.5 2.0 _x/r_ 0 _x/r_ 0 Figure 10. A cut-through of a drop at _y_ = 0 at large time, _t_ = 1 s, when it assumed its equilibrium shape. The lines show the free liquid–gas interface for different contact angles. The legend shows the momentary value _Θ_ of the contact angle defined in (8.12) and the equilibrium contact angle, _Θ_ ∞, in brackets. ( _a_ ) Wetting contact angles; ( _b_ ) non-wetting contact angles. for non-wetting contact than for wetting contact. This ~~behaviour~~ agrees with physical reality: ~~drops~~ of ultrahydrophobic surfaces are much less bound than wetting drops and can reveal interesting dynamics, e.g. the lotus effect (Lafuma & Quéré 2003). In terms of the numerical model, this effect can be understood from the influence of the normal threshold, _ε_ <sup>_n_</sup>, used to identify SPH particles with valid normal vectors. The vectors of SPH particles that are located near the three-phase contact line have magnitude, below the threshold _ε_ <sup>_n_</sup> ~~and,~~ therefore, do not experience surface tension. This leads to a vortex flow of particles in this region, which also promotes the translational motion of the liquid drop across the solid substrate which in turn increases the total kinetic energy. Figure 10 shows the position of the free surface of the drop in equilibrium at position _y_ = 0, that is, a ~~cut-through~~ the drop, for wetting and non-wetting contact. The legend shows in brackets the desired equilibrium contact angle ( _Θ_ ∞) of the drop (input parameter), and the momentary value - _<u>H</u>_ - _<u>r</u>_ _Θ_ = <sup>π</sup> 2 <sup>+ arctan</sup> _B_ _,_ (8.12) where _H_ and _B_ are the drop’s height and base radius, and _r_ = <sup>_<u>H</u>_</sup> <sup>2</sup> <sup>+</sup> <sup>_<u>B</u>_</sup> <sup>2</sup> (8.13) 2 _H_ is the radius of the drop. The precision of the numerical model can be evaluated by comparing the simulation results for the drop’s height and base radius with the analytical results, _Banl_ = ~~�~~ 2 _ranlHanl_ - _Hanl_ <sup>2</sup> (8.14) _Hanl_ = _ranl (_ 1 − cos _(Θ_ ∞ _)),_ (8.15) _M. Blank, P. Nair and T. Pöschel_ ( _a_ ) ( _b_ ) 6 4 2 2 _Banl/r_ 0 _Hanl/r_ 0 2 _B/r_ 0 _H/r_ 0 1.1 1.0 0.9 0 50 100 150 0 50 100 150 _Θ_ ∞ _/_ ° _Θ_ ∞ _/_ ° Figure 11. Comparison between simulation and theory for the drop’s base radius, height and simulated contact angle, as a function of the equilibrium contact angle. ( _a_ ) Analytical (solid lines) and simulated (circles) values of the drop base diameter (2 _B_ ) and height ( _H_ ). ( _b_ ) Simulated contact angle, _Θ_, as a function of the equilibrium contact angle, _Θ_ ∞. with the analytical value of the drop’s radius, _ranl_ = - �1 _/_ 3 2 _r_ <u>0</u> <sup>3</sup> _._ (8.16) 2 − 3 cos _(Θ_ ∞ _)_ + cos <sup>3</sup> _(Θ_ ∞ _)_ Figure 11 shows this comparison for various contact angle values, _Θ_ ∞. In the range 15 <sup>◦</sup> ≤ _Θ_ ∞ ≤ 135 <sup>◦</sup>, the deviation of the simulated contact angle from the analytical value is below 4 _._ 5 %, see figure 11( _b_ ), and increases to 14 _._ 3 % for _Θ_ ∞ ≤ 150 <sup>◦</sup> . This deviation is due to the unprecise contributions to the force from SPH particles located near the three-phase contact line. The precision could be improved by decreasing _ε_ <sup>_n_</sup>, however, this would deteriorate the accuracy of the computed curvature. As in the preceding example, we have to compromise between large and small values of _ε_ <sup>_n_</sup> . 8.6. _Test case: droplet deformation due to gravity_ In the test cases presented so far, we did not consider the action of gravity. In the current test case, we study the deformation of a drop resting on a horizontal plate as a function of the value of the gravity constant, _g_ . Gravity gives rise to a body-force acceleration, _f_ <sup>_g_</sup> = [0 _,_ 0 _,_ - _g_ ], acting on the SPH particles. This force leads to flattening the drop, which shall be studied here. We use the properties given in table 1 and the set-up geometry introduced in § 8.5: a total of 16 776 liquid SPH particles are placed on a square lattice inside a hemisphere of radius _r_ 0 = 10 <sup>−3</sup> m, resting on a plane solid substrate of radius 4 × 10 <sup>−3</sup> m. The equilibrium contact angle is _Θ_ ∞ = 50 <sup>◦</sup> ( _Θ_ ∞ <sup>_s_</sup> <sup>= 55◦).</sup> Figure 12 shows the height of the drop, _H_, as a function of the acceleration due to gravity, _g_ . Here, gravity is expressed by the Bond number that quantifies the ratio of gravitational to surface tension forces, _Bo_ ≡ <sup>_ρgr_</sup> <u>0</u> <sup>2</sup> _._ (8.17) _σ_ The drop height, _H_, is scaled by the drop height in the absence of gravity _H_ 0 where _Bo_ = 0. In figure 12, the Bond number covers the interval _Bo_ ∈ [10 <sup>−3</sup> _,_ 10 <sup>2</sup> ], and the function _Surface tension and wetting at free surfaces in SPH_ 1.2 1.0 0.8 0.6 0.4 0.2 _H_ 0 _/H_ 0 10 <sup>−3</sup> 10 <sup>−2</sup> 10 <sup>−1</sup> 10 <sup>0</sup> 10 <sup>1</sup> 10 <sup>2</sup> _Bo_ Figure 12. Drop height as a function of the Bond number. For small gravity, _Bo_ → 0, the regime is dominated by surface tension, and _H_ approaches _H_ 0. For large gravity, _Bo_ →∞, the regime is gravity-dominated, and _H_ approaches _H_ ∞ given by (8.18). The symbols show the drop height obtained from SPH simulations, and the solid lines show the limits _H_ 0 and _H_ ∞. 2.0 _Bo_ = 10 <sup>−3</sup> 1.5 1.0 0.5 _Bo_ = 1 _Bo_ = 5 _Bo_ = 40 0 1 2 3 4 _x/H_ 0 Figure 13. A cut-through of the drop at _y_ = 0 (liquid–gas interface position) as a function of the Bond number for _Θ_ ∞ = 50 <sup>◦</sup> . _H(Bo)_ decays ~~monotonically.~~ For small _Bo_, the situation is surface-tension dominated, thus, _H_ → _H_ 0 for _Bo_ → 0. For large gravity, _Bo_ →∞, the regime is gravity-dominated, and ~~the~~ height of the drop converges to the capillary length (Dupont & Legendre 2010) - _<u>σ</u>_ _H_ ∞ = 2 _ρgz_ sin - _Θ_ <u>∞</u> 2 _._ (8.18) Figure 13 shows the drop profile for several values of _Bo_, that is, the position of the free surface at _y_ = 0. For real-life applications, a dynamic contact angle model (such as Göhl _et_ _al._ 2018) may be implemented for taking into account chemical heterogeneity of the substrate. _M. Blank, P. Nair and T. Pöschel_ _Θ_ < _Θ_ ∞ _Θ_ ∞+ _Ψ_ _f_ <sup>_b_</sup> _Ψ_ Figure 14. Sketch of a pinned drop at the contact line between two planes of different inclinations. The applied body acceleration _f_ <sup>_b_</sup> drives the droplet towards the contact line between the planes. It can pass the barrier only if the contact angle exceeds the threshold _Θ_ = _Θ_ ∞ + _Ψ_ . 8.7. _Test case: droplet pinning_ The three-dimensional test cases presented so far are axisymmetric. While this symmetry makes the analytical solution considerably easier in many cases, it does not simplify the numerical solution using the method presented here. At no point in the numerical procedure is the symmetry of the solution assumed. In this respect, the significance of the test cases is not reduced by their axial symmetry. On the contrary, the fact that the numerical solution exhibits the required symmetry is a further proof of the stability of our method. The problem in the current section is not axisymmetric. The contact line of two planes with different inclinations represents a barrier for liquid droplets. To pass the barrier, the droplet’s contact angle must exceed _Θ_ ∞ + _Ψ_ (Breinlinger _et al._ 2013), where _Ψ_ is the difference between the inclinations of the planes. To overcome this threshold, sufficient force is needed. In the absence of such a force, the droplet remains attached at the contact line of the planes, see figure 14. We describe the numerical experiment similar to §§ 8.5 and 8.6 with the parameters specified in table 1, viscosity _η_ = 5 × 10 <sup>−3</sup> Pa s ~~and~~ the equilibrium contact angle _Θ_ ∞ = 75 <sup>◦</sup> ( _Θ_ ∞ <sup>_s_</sup> <sup>= 80◦).</sup> Similar to the preceding test cases, we fill a hemisphere with radius _r_ 0 = 10 <sup>−3</sup> m with 16 776 liquid SPH particles arranged on a square lattice. This half-sphere rests on a solid horizontal plane ~~modelled~~ as a block of size _(_ 2 _._ 6 × 3 × 0 _._ 25 _)_ mm <sup>3</sup> filled by SPH particles arranged in a square lattice. The initial condition is sketched in the ~~left-hand~~ part of figure 14. The second plane is ~~modelled~~ in the same way but inclined by _Ψ_ ∈{22 _._ 5 <sup>◦</sup> _,_ 45 <sup>◦</sup> _,_ 67 _._ 5 <sup>◦</sup> }, see ~~the right-hand~~ part of figure 14. To prepare our initial conditions, we simulate relaxing the drop on the horizontal substrate to equilibrium. After _t_ = 50 ms of relaxation, the equilibrium shape was assumed. For _t >_ 50 ms a constant body acceleration, _f_ <sup>_b_</sup> = [7 _._ 5 _,_ 0 _,_ −7 _._ 5], drives the drop towards the contact line of the planes. Figure 15 shows snapshots of the simulation. Figure 15( _a_ ~~i–iv)~~ shows the equilibrated drops at _t_ = 50 ms. Figure 15( _b_ ~~i–iv)~~ shows the drops at _t_ = 100 ms under the influence of the acceleration _f_ <sup>_b_</sup> . Due to the weighting concept of the SPH method, pinning starts to occur when the contact line of the two planes enters the smoothing length of an SPH particle. Instead of a sharp force, the particles experience a smooth counteracting force, enabling some SPH particles to pass the contact line. Figure 15( _c_ ~~i–iv)~~ shows the droplets at _t_ = 150 ms. For _Ψ_ ∈{22 _._ 5 <sup>◦</sup> _,_ 45 <sup>◦</sup> _,_ 67 _._ 5 <sup>◦</sup> } the drop passes the discontinuity. For _Ψ_ = 90, the external acceleration is insufficient to _Surface tension and wetting at free surfaces in SPH_ ( _a_ ) ( _b_ ) ( _c_ ) (i) (i) (i) (ii) (ii) (ii) (iii) (iii) (iii) (iv) (iv) (iv) Figure 15. Simulation snapshots of droplets that are accelerated towards the contact line of two planes with different inclinations. Panel ( _a_ i–iv) shows the droplets at time _t_ = 50 ms resting in equilibrium on a horizontal solid plane with the equilibrium contact angle _Θ_ ∞ = 50 <sup>◦</sup> . Panel ( _b_ i–iv) shows the droplets at time _t_ = 100 ms when approaching the contact line under the action of acceleration _f_ <sup>_b_</sup> . Panel ( _c_ i–iv) at time _t_ = 150 ms: For _Ψ_ ∈{22 _._ 5 <sup>◦</sup> _,_ 45 <sup>◦</sup> _,_ 67 _._ 5 <sup>◦</sup> } the contact angle exceeds the threshold, thus, the drop passed over the surface discontinuity. For _Ψ_ = 90 <sup>◦</sup>, the contact angle is below the threshold, thus, the drop remains pinned. generate the threshold contact angle _Θ_ ∞ + _Ψ_ = 165 <sup>◦</sup> (based on the contact-line energy balance (Breinlinger _et al._ 2013; Wang, Lin & Zhao 2019)). A maximum contact angle of ~~approximately~~ 118 <sup>◦</sup> is achieved at the pinned state. Figure 16 shows the total kinetic energy of the liquid SPH particles as a function of time. During the relaxation, _t_ ∈ [0 _,_ 50 ms], the drop finds its equilibrium shape, therefore, energy decays. For _t >_ 50 ms, the decline is accelerated by _f_ <sup>_b_</sup> acting on the liquid SPH particles leading to a sharp increase in the total kinetic energy. At _t_ ≈ 55 ms, the drop approaches the contact line between the two planes, indicated by a decrease of the kinetic energy for _t >_ 55 ms. As expected, the smallest deceleration of the drop is experienced for _Ψ_ = 22 _._ 5 <sup>◦</sup> and the most significant for _Ψ_ = 90 <sup>◦</sup> . The subsequent increase in kinetic energy for _t_ ≳ 85 ms, for _ψ_ _<_ 90 <sup>◦</sup> corresponds to the drop’s passing of the discontinuity. For _Ψ_ = 90 <sup>◦</sup>, the kinetic energy remains ~~approximately~~ three orders of magnitude below, indicating the pinning of the drop at the contact line. The kinetic energy curves in figure 16 show sharp peaks. These peaks are caused by SPH particles on the rear side of the moving droplet. Due to the small number of liquid SPH particles attached to the solid phase behind the moving droplet, the calculated curvatures of these particles can adopt large, inaccurate values. As a result, these particles experience either high accelerations ~~towards~~ the solid substrate or into the surrounding environment. The wall boundary condition prevents liquid SPH particles from entering 10 <sup>−7</sup> 10 <sup>−10</sup> _M. Blank, P. Nair and T. Pöschel_ _Ψ_ = 22.5° _Ψ_ = 67.5° _Ψ_ = 45° _Ψ_ = 90° 10 <sup>−13</sup> 0 20 40 60 80 100 120 140 _t/_ ms Figure 16. Kinetic energies of the drops over time for different inclinations, _Ψ_, of the plane. The time _t <_ 50 ms corresponds to the relaxation of the drop to find its equilibrium shape. For _Ψ_ ∈{22 _._ 5 <sup>◦</sup> _,_ 45 <sup>◦</sup> _,_ 67 _._ 5 <sup>◦</sup> } the drop passes the discontinuity. For _Ψ_ = 90 it remains pinned. the solid plane due to the large pressure of the solid SPH particles. However, this also leads to a strong repulsion of the liquid particles into the environment. This problem could be solved by calculating the mean curvature of the liquid SPH particles only when there is a sufficient number of ~~neighbours~~ of the liquid phase. Otherwise, the particles should remain unaffected by the surface tension. 9. Conclusion We introduce a surface tension model based on the CSF approach and applicable to three-dimensional ~~free-surface~~ flows. In contact with a substrate, the model can handle wetting and non-wetting ~~behaviour~~ in a wide range of parameters. This is made possible with the use of primarily three empirical parameters, namely the Shepard sum correction for free surface introduced in (5.12), the threshold for magnitude of surface normal vectors, (5.5), _ϵ_ <sup>_n_</sup> and the desired equilibrium contact angle associated with the substrate _Θ_ ∞ <sup>_s_</sup> <sup>listed</sup> in table 3. We have shown that the model performs numerically stable in several test cases. By directly comparing analytical results and ~~the~~ literature results, we ~~were~~ ~~able~~ to show that the model delivers quantitatively reliable results. To demonstrate the model’s performance, we applied the new simulation method to (i) plane Poiseuille flow and a set of ~~free-surface~~ problems, including (ii) the Laplace jump of a droplet, ~~(iii)~~ the oscillation and relaxation of a perturbed droplet, (iv) the equilibrium shape of a droplet in contact with a wetting/non-wetting substrate and its relaxation to this equilibrium, (v) the flattening of a droplet under the action of gravity ~~and~~ ~~(vi)~~ the interaction of a droplet with a barrier under the action of gravity. For all of the test cases, we provide detailed quantitative comparisons with analytical results and results from the literature and discuss the reasons for deviations. Funding. This work was funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) - Project-ID 61375930-SFB 814 ‘Additive Manufacturing’ TP B1. We thank the Gauss Centre for Supercomputing for providing computer time through the John von Neumann Institute for Computing on the GCS Supercomputer JUWELS at Jülich Supercomputing Centre. The authors gratefully acknowledge the scientific support and HPC resources provided by the Erlangen National High-Performance Computing Center (NHRFAU) of the Friedrich-Alexander-Universität Erlangen-Nürnberg (FAU). The hardware is funded by the German Research Foundation (DFG). The work was also supported by the Interdisciplinary Center for Nanostructured Films (IZNF), the Competence Unit for Scientific Computing (CSC) and the Interdisciplinary Center for Functional Particle Systems (FPS) at Friedrich-Alexander University Erlangen-Nürnberg. The work _Surface tension and wetting at free surfaces in SPH_ was also partially supported by the Science Education and Research Board (SERB) through the Startup Research Grant (SRG) number SRG2022000436. Declaration of interests. The authors report no conflict of interest. Author ORCIDs. [Prapanch Nair https://orcid.org/0000-0002-4918-5806;](https://orcid.org/0000-0002-4918-5806) [Thorsten Pöschel https://orcid.org/0000-0001-5913-1070.](https://orcid.org/0000-0001-5913-1070) REFERENCES AALILIJA, A., GANDIN, CH.-A. & HACHEM, E. 2020 On the analytical and numerical simulation of an oscillating drop in zero-gravity. _Comput. Fluids_ 197, 104362. ADAMI, S., HU, X.Y. & ADAMS, N.A. 2012 A generalized wall boundary condition for smoothed particle hydrodynamics. _J. Comput. Phys._ 231, 7057–7075. ASAI, M., ALY, A.M., SONODA, Y. & SAKAI, Y. 2012 A stabilized incompressible SPH method by relaxing the density invariance condition. _J. Appl. Maths_ 2012, 139583. BABADAGLI, T. 2002 Dynamics of capillary imbibition when surfactant, polymer, and hot water are used as aqueous phase for oil recovery. _J. Colloid Interface Sci._ 246, 203–213. BABADAGLI, T. & BOLUK, Y. 2005 Oil recovery performances of surfactant solutions by capillary imbibition. _J. Colloid Interface Sci._ 282, 162–175. BAGHERI, M., SIAVASHI, M. & MOUSAVI, S. 2023 An improved three-dimensional lattice Boltzmann-volume of fluid (LB-VOF) method for simulation of laminar liquid jet breakup with high density ratio. _Comput. Fluids_ 263, 105969. BAO, Y., LI, L., SHEN, L., LEI, C. & GAN, Y. 2019 Modified smoothed particle hydrodynamics approach for modelling dynamic contact angle hysteresis. _Acta Mechanica Sin._ 35, 472–485. BLANK, M., NAIR, P. & PÖSCHEL, T. 2023 Modeling surface tension in smoothed particle hydrodynamics using Young–Laplace pressure boundary condition. _Comput. Meth. Appl. Mech. Engng_ 406, 115907. BOGDANOV, V., SCHRANNER, F.S., WINTER, J.M., ADAMI, S. & ADAMS, N.A. 2022 A level-set-based sharp-interface method for moving contact lines. _J. Comput. Phys._ 467, 111445. BONET, J. & LOK, T.S.L. 1999 Variational and momentum preservation aspects of Smooth Particle Hydrodynamic formulations. _Comput. Meth. Appl. Mech. Engng_ 180, 97–115. BRACKBILL, J.U., KOTHE, D.B. & ZEMACH, C. 1992 A continuum method for modeling surface tension. _J. Comput. Phys._ 100, 335–354. BREINLINGER, T., POLFER, P., HASHIBON, A. & KRAFT, T. 2013 Surface tension and wetting effects with smoothed particle hydrodynamics. _J. Comput. Phys._ 243, 14–27. CALVERT, P. 2001 Inkjet printing for materials and devices. _Chem. Mater._ 13, 3299–3305. CRESPO, A.J.C., GÓMEZ-GESTEIRA, M. & DALRYMPLE, R.A. 2007 Boundary conditions generated by dynamic particles in SPH methods. _Comput. Mater. Contin._ 5, 173–184. CUMMINS, S.J. & RUDMAN, M. 1999 An SPH projection method. _J. Comput. Phys._ 152, 584–607. DUPONT, J.-B. & LEGENDRE, D. 2010 Numerical simulation of static and sliding drop with contact angle hysteresis. _J. Comput. Phys._ 229, 2453–2478. EBADIAN, M.A. & LIN, C.X. 2011 A review of high-heat-flux heat removal technologies. _Trans._ _ASME_ _J. Heat Transfer_ 133, 110801. FRIES, N. & DREYER, M. 2008 The transition from inertial to viscous flow in capillary rise. _J._ _Colloid_ _Interface Sci._ 327 (1), 125–128. FÜRSTENAU, J.-P., WEISSENFELS, C. & WRIGGERS, P. 2020 Free surface tension in incompressible smoothed particle hydrodynamcis (ISPH). _Comput. Mech._ 65, 487–502. GEARA, S., MARTIN, S., ADAMI, S., PETRY, W., ALLENOU, J., STEPNIK, B. & BONNEFOY, O. 2022 A new SPH density formulation for 3D free-surface flows. _Comput. Fluids_ 232, 105193. DE GENNES, P.G. 1985 Wetting: statics and dynamics. _Rev. Mod. Phys._ 57, 827–863. GINGOLD, R.A. & MONAGHAN, J.J. 1977 Smoothed particle hydrodynamics: theory and application to non-spherical stars. _Mon. Not. R. Astron. Soc._ 181, 375–389. GÖHL, J., MARK, A., SASIC, S. & EDELVIK, F. 2018 An immersed boundary based dynamic contact angle framework for handling complex surfaces of mixed wettabilities. _Intl J. Multiphase Flow_ 109, 164–177. HIRSCHLER, M., OGER, G., NIEKEN, U. & LE TOUZÉ, D. 2017 Modeling of droplet collisions using Smoothed Particle Hydrodynamics. _Intl J. Multiphase Flow_ 95, 175–187. _M. Blank, P. Nair and T. Pöschel_ KAM, D.H., BHATTACHARYA, S. & MAZUMDER, J. 2012 Control of the wetting properties of an AISI 316L stainless steel surface by femtosecond laser-induced surface modification. _J. Micromech. Microengng_ 22, 105019. LAFUMA, A. & QUÉRÉ, D. 2003 Superhydrophobic states. _Nat. Mater._ 2, 457–460. LAI, Y., PAN, F., XU, C., FUCHS, H. & CHI, L. 2013 In situ surface-modification-induced superhydrophobic patterns with reversible wettability and adhesion. _Adv. Mater._ 25, 1682–1686. LEE, E.-S., MOULINEC, C., XU, R., VIOLEAU, D., LAURENCE, D. & STANSBY, P. 2008 Comparisons of weakly compressible and truly incompressible algorithms for the SPH mesh free particle method. _J. Comput. Phys._ 227, 8417–8436. LEROY, A., VIOLEAU, D., FERRAND, M. & KASSIOTIS, C. 2014 Unified semi-analytical wall boundary conditions applied to 2-D incompressible SPH. _J. Comput. Phys._ 261, 106–129. LUCY, L.B. 1977 A numerical approach to the testing of the fission hypothesis. _Astron. J._ 82, 1013–1024. MONAGHAN, J.J. 1992 Smoothed particle hydrodynamics. _Annu. Rev. Astron. Astrophys._ 30, 543–574. MONAGHAN, J.J. 1994 Simulating free surface flows with SPH. _J. Comput. Phys._ 110, 399–406. MONAGHAN, J.J. 2005 Smoothed particle hydrodynamics. _Rep. Prog. Phys._ 68, 1703–1759. MORRIS, J.P. 2000 Simulating surface tension with Smoothed Particle Hydrodynamics. _Intl J. Numer. Meth._ _Fluids_ 33, 333–353. MORRIS, J.P., FOX, P.J. & ZHU, Y. 1997 Modeling low Reynolds number incompressible flows using SPH. _J. Comput. Phys._ 136, 214–226. MUGELE, F. & HEIKENFELD, J. 2019 _Electrowetting – Fundamental Principles and Practical Applications_ . John Wiley & Sons. NAIR, P. & PÖSCHEL, T. 2018 Dynamic capillary phenomena using incompressible SPH. _Chem. Engng Sci._ 176, 192–204. NAIR, P. & TOMAR, G. 2014 An improved free surface modeling for incompressible SPH. _Comput._ _Fluids_ 102, 304–314. NASAR, A.M.A., ROGERS, B.D., REVELL, A. & STANSBY, P.K. 2019 Flexible slender body fluid interaction: vector-based discrete element method with Eulerian smoothed particle hydrodynamics. _Comput. Fluids_ 179, 563–578. NUGENT, S. & POSCH, H.A. 2000 Liquid drops and surface tension with smoothed particle applied mechanics. _Phys. Rev._ E 62, 4968. OGER, G., DORING, M., ALESSANDRINI, B. & FERRANT, P. 2007 An improved SPH method: towards higher order convergence. _J. Comput. Phys._ 225, 1472–1492. ORDOUBADI, M., YAGHOUBI, M. & YEGANEHDOUST, F. 2017 Surface tension simulation of free surface flows using smoothed particle hydrodynamics. _Sci. Iran_ 24, 2019–2033. ROWLINSON, J.S. & WIDOM, B. 2013 _Molecular Theory of Capillarity_ . Courier Corporation. SAHA, A.A. & MITRA, S.K. 2009 Effect of dynamic contact angle in a volume of fluid (VOF) model for a microfluidic capillary flow. _J. Colloid Interface Sci._ 339, 461–480. SHEPARD, D. 1968 A two-dimensional interpolation function for irregularly-spaced data. In _Proceedings_ _of_ _the 1968 23rd ACM National Conference_ (ed. R.B. Blue & A.M. Rosenberg), pp. 517–524. Association for Computing Machinery. SHIGORINA, E., KORDILLA, J. & TARTAKOVSKY, A.M. 2017 Smoothed particle hydrodynamics study of the roughness effect on contact angle and droplet flow. _Phys. Rev._ E 96, 033115. SIROTKIN, F.V. & YOH, J.J. 2012 A new particle method for simulating breakup of liquid jets. _J._ _Comput._ _Phys._ 231, 1650–1674. SLEIJPEN, G.L.G., VAN DER VORST, H.A. & FOKKEMA, D.R. 1994 BiCGstab(l) and other hybrid Bi-CG methods. _Numer. Algorithms_ 7, 75–109. TARTAKOVSKY, A. & MEAKIN, P. 2005 Modeling of surface tension and contact angles with smoothed particle hydrodynamics. _Phys. Rev._ E 72, 026301. TARTAKOVSKY, A.M. & PANCHENKO, A. 2016 Pairwise force smoothed particle hydrodynamics model for multiphase flow: surface tension and contact line dynamics. _J. Comput. Phys._ 305, 1119–1146. VIOLEAU, D. 2015 _Fluid Mechanics and the SPH Method_ . Oxford University Press. WANG, Z., LIN, K. & ZHAO, Y.-P. 2019 The effect of sharp solid edges on the droplet wettability. _J. Colloid_ _Interface Sci._ 552, 563–571. WENDLAND, H. 1995 Piecewise polynomial, positive definite and compactly supported radial functions of minimal degree. _Adv. Comput. Maths_ 4, 389–396.

섹션 본문 147문단 · 45,822자

(제목 없음)

1Surface tension and wetting are dominating physical effects in micro and nanoscale flows.We present an efficient and reliable model of surface tension and equilibrium contact angles in Smoothed Particle Hydrodynamics for free-surface problems.We demonstrate its robustness and accuracy by simulating several notoriously difficult three-dimensional free surface flow problems driven by interfacial tension.

Introduction

2At the micro and nano scale, fluid flows are dominated by interfacial tension that arises at the interface between different phases.When a liquid drop is in contact with a plane solid substrate, the wetting force acting at the triple line leads to an equilibrium contact angle as illustrated in Fig. 1.Surface tension and wetting are essential for many phenomena, solid liquid gas Θ ∞ solid-liquid interface three-phase contact line liquid-gas interface contact point solid-gas interface including technological processes like oil recovery [1,2], two-phase heat transfer [3], and inkjet printing [4].The wetting properties of a solid surface depend on its chemical composition and morphology, determining its repellent or attractive behavior [5,6].

3In Smoothed Particle Hydrodynamics (SPH) [7,8], surface tension can be modeled either by pairwise forces between the particles [9,10,11,12] or by a phenomenological Continuum Surface Force (CSF) [13,14,15].The concept of pairwise forces between SPH particles is motivated by the molecular origin of surface tension [16] and readily applies to the simulation of free surfaces.Here, the attractive forces between particles of different phases must be calibrated to obtain a desired equilibrium contact angle.This approach is widely used for solving problems in droplet dynamics, drop interaction with textured surfaces [17], and contact angle hysteresis [18].When used in simulations, however, such models require a large support domain for particles, affecting the computational performance significantly [12].CSF can reliably predict the dynamics due to surface tension gradients at phase boundaries, known as the Marangoni effect.However, its application to free surfaces is problematic since the truncation of the kernel near the free surface leads to unacceptable errors in the local curvature.Incompressible Gas-liquid two phase flow problems can be reliably modelled as free surface flows whenever the shear stress due to the gas phase is negligible.Thus the limitation in modeling surface tension at the free surface has severely restricted the scope of 3D free surface SPH simulations to high Weber number flows.This kernel truncation error at the free surface in CSF has been addressed using several strategies.Mirror particles were employed by Ordoubadi et al. [19] to produce robust twodimensional flow simulations in weakly compressible SPH.Hirschler et al. [20] used CSF to simulate two-dimensional droplet collisions at the free surface using kernel correction parameters.Unfortunately, only two-dimensional systems can be described using any of these approaches.For three dimensional cases, [21] introduced an analytical coefficient to account for truncation of kernels near free surface in SPH operators.The curvature estimate at the free surface was recently improved by Fürstenau et al. [22], while Blank et al. [23] developed a method to describe surface tension using a Young-Laplace pressure boundary condition in SPH.When using CSF, the wetting force in the triple line region can be modeled using the smoothed normal correction scheme introduced by Breinlinger et al. [24].Here, the normal vectors (pointing from the liquid into the gas phase), computed at the positions of SPH particles that are located in the vicinity of the three-phase contact line, are modified.Doing so, the curvature is computed at the positions of those SPH particles, and thus, wetting is incorporated into CSF.This approach can, however, not be applied to free surface flow problems due to the inaccurate force computation caused by insufficient support of particles near the triple contact line region.

4The current paper proposes a CSF model that relies on an improved smoothed normal correction scheme.We will show that this model reliably describes three-dimensional free surface problems.We simulate several problems using Incompressible Smoothed Particle Hydrodynamics (ISPH) to demonstrate the model's accuracy and robustness.These problems comprise notoriously difficult systems like droplet oscillation, droplet spreading on a solid substrate, and the pinning of a drop at the contact line of two inclined planes.

Smoothed Particle Hydrodynamics

5Smoothed Particle Hydrodynamics (SPH) is a numerical method for solving continuum problems [7,8,25].Unlike in mesh-based methods, the domain is discretized by SPH particles with a certain mass at which properties such as velocity, u, pressure, p, or density ρ, are defined.

6The integral interpolant, Φ I (r), of a physical property, Φ(r), at position r, can be obtained from a spatial convolution with a kernel function, W (r − r ′ , h), having a compact support:

7Here, h is the smoothing length, and Ω c denotes the whole continuous domain.We approximate the integral in Eq. ( 1) by a sum over the set Ω of all SPH particles,

8where r b , m b , and ρ b are the position, mass, and density of particle b.In particular, the summation interpolant at the position r a of an SPH particle reads

9In the same approximation, the spatial derivative of a physical quantity, ∇Φ (r), at position r a , can be expressed in terms of the kernel gradient ∇W (r a − r b , h) by

10We introduce shorthand notations and rewrite Eqs. ( 3) and (4):

11Here we use the Wendland C 2 kernel function normalized for three spatial dimensions [26],

12We describe the dynamics of a Newtonian incompressible fluid using the Navier-Stokes equation

13and the continuity equation

14where u, ρ, p, ν, are the velocity, density, pressure, and kinematic viscosity, f b is an acceleration due to a body force such as gravity, and t is time.The acceleration caused by surface tension, f s , is incorporated into Eq.( 7) as a body force according to the Continuum Surface Force (CSF) model [13].

15The total acceleration of a particle a given by Eq. ( 7) is, thus, a sum of accelerations

16due to pressure gradient, f p a , viscosity, f v a , surface tension, f s a , and body forces per unit mass, f b a .The first contribution, the acceleration due to pressure gradient, can be approximated by [25]

17where 10) ensures conservation of linear momentum, and is appropriate for SPH particles, a, that are fully embedded by other SPH particles, b.This is the case with particles that are in the bulk of the material, far from surfaces.This approximation cannot be applied to particles, a, near a free surface.This case will be discussed in Sec. 4.

18The second contribution to the acceleration in Eq. ( 9), the viscous acceleration of particle a, is given by [27]

19where u a and u b are the velocities of particle a and b, η a and η b are the dynamic viscosity coefficients assigned to particles a and b, and F ab is given by

20Here the term (0.01h) 2 in the denominator avoids divergence of F ab when particles a and b come very close to each other.The third contribution in Eq. ( 9), the acceleration of a particle a due to surface tension, f s , will be described in Sec. 5.

Incompressible Smoothed Particle Hydrodynamics (ISPH)

21For incompressible fluids, the velocity field is divergence-free, and the continuity equation, Eq. ( 8), turns into

22The idea of Incompressible Smoothed Particle Hydrodynamics (ISPH) is to enforce Eq. ( 13) by imposing a pressure field in such a way that the velocity field becomes divergence-free [28].In ISPH, we use the predictor-corrector integration scheme by Cummins and Rudman [28] to advance particles in space.At time step n, the prediction step computes the positions of the SPH particles from their current positions and velocities,

23The corresponding velocities are

24The pressure, p * a , corresponding to the predicted velocity can be obtained by solving the pressure Poisson equation (PPE)

25From the predicted velocities, u * a , and the corresponding pressure, p * a , the correction step yields the divergence-free velocities at time step n + 1,

26The corresponding particle positions at time step n + 1 are

27The left-hand side of the PPE, Eq. ( 16), can be discretized to obtain [28] ∇

28and its right-hand side results in [25] ∇

29Substituting Eqs.(19) and (20) into Eq.( 16)

30Equation ( 21) can be uniquely solved using any iterative linear solver such as the BiCGSTAB method [29], provided the linear system is not singular, e.g., if a Dirichlet boundary condition is applied.The discretized PPE, Eq. ( 21), is an appropriate approximation of Eq. ( 16) for well-embedded SPH particles, that is, for particles in the bulk of the material.The corresponding approximation for SPH particles near a free surface is described in the subsequent section.

Kernel correction for particles near a free surface

31In the vicinity of boundaries, the summations in Eqs. ( 3) and (4) underestimate Φ I (r) and ∇Φ I (r), due to lacking SPH particles in the neighborhood of r.We call such SPH particles insufficiently supported by neighboring SPH particles.To account for such particles, semianalytical [30] or numerical normalization techniques [31,32] are used near free boundaries.

32In the current paper, akin to [30] we do not model the gas phase by SPH particles, but we describe the influence of the ambient gas on the liquid through boundary conditions for the liquid phase at the free surface.

33To identify SPH particles with insufficient support we use the Shepard filter [33],

34However, unlike the approaches described in [34] where a thin layer of particles comprises the pressure boundary condition (which deteriorates the accuracy and the stability, see [30,35]), in the present approach, the pressure at these particles is also solved for.

35Particles with insufficient support are close to interfaces, therefore, this method defines the fluid-gas boundary region.Whether a particle a belongs to the subset of particles representing the bulk, Ω b ⊂ Ω, or to the subset representing the boundary,

36For well supported particles, a ∈ Ω b , we evaluate Eq. ( 10) using the pressure gradient approximation [25]; for a ∈ Ω fs we use the approximation given in [23]:

37Here, p o a is the external pressure representing the Dirichlet boundary condition of a particle a.Since pressure appears in the Navier-Stokes equation only as a gradient, we set p o a = 0.In this work, we assume that the motion of the gas phase follows the liquid phase, that is, the relative velocity between the gas and liquid phase ceases.As a consequence, there is no contribution of the gas phase to the viscous acceleration of SPH particles Eq. (11).Analogously, using the same assumption the contribution of the gas phase to the divergence of velocity approximation on the right-hand side of the PPE in Eq. ( 21) is zero.Therefore, Eqs. ( 11) and ( 21) can be used for both, SPH particles located in the vicinity of a free surface, and SPH particles located in the bulk of the simulated material.To approximate the left-hand side of Eq. ( 21) for SPH Particles that are located in the vicinity of a free surface, we use [30,23]

38Note that the term marked by β is constant if the mass and volume assigned to the SPH particles is uniform throughout the domain.

39In conclusion, we approximate the PPE by Eq.( 21) if S a > 0.95 Eq.( 25) if S a ≤ 0.95 .

40This ambient pressure application can be used to model surface tension by computing the Young-Laplace pressure boundary condition, as shown in [23].

Surface tension at free boundaries

41The Continuum Surface Force (CSF) model [13] evaluates the acceleration of a particle a due to surface tension by

42where F s a is a force per unit volume [14]

43Here, the index a to F s a and its constituents must be interpreted such that the quantity refers to a local property of the surface, but is assigned to SPH particle a.In this sense, σ a is the local coefficient of surface tension of the phase boundary, assigned to particle a.In the SPH literature, we speak briefly of "surface tension of particle a".Similarly, κ a , is the local value of the mean curvature of the surface, assigned to particle a.It is termed "curvature of particle a".Analogously, the local values of the unit normal vector to the interface pointing from phase I to phase II are assigned to the SPH particles.The contribution na assigned to particle a is called "unit normal vector of particle a" and can be computed by

44The same applies to the surface gradient of the surface tension, ∇ s σ a .For the translation between surface tension into a volumetric force at the position of an SPH particle a we employ the surface delta function, δ s a , that peaks at the interface.The second term in Eq. ( 28) drives fluid flow tangential to the interface due to the surface tension gradient.In the current paper, we assume constant surface tension.Therefore, the surface tension gradient and, thus, the second term in Eq. ( 28) vanish.The first term in Eq. ( 28) describes a force (per unit volume) directed perpendicular to the interface.This force counteracts the curvature of the interface and, thus, minimizes the surface area.We represent the surface delta function of an SPH particle in Eq. ( 28) by [22]

45where Ω l ⊂ Ω is the subset of SPH particles representing the liquid phase.

46Both the absolute value and the direction of n a obtained from Eq. ( 29) depend sensitively on the positions of neighboring particles b, therefore, naïve computation of the normal unit vector vector, na ≡ n a / ∥n a ∥, is subject to large fluctuations leading eventually to inaccurate F s a when used in Eq. ( 28).Therefore, instead of using the naïve value, we use a smoothed normal vector [27,22]:

47The smoothing increases the region where particles contribute to surface tension.Following our previous notation, n b is a normal vector at the position of particle b.In the bulk of the fluid, the smoothed normal vectors have small magnitudes and their orientation is of low significance.Therefore, we discard the normal unit vectors of such SPH particles a ∈ Ω l , whose normal vector's magnitude is smaller than a threshold, ε n ∈ 0.1 h , 0.2 h .In the simulations presented in this paper, we have used ε n = 0.01 throughout.Subsequently, the smoothed and filtered normal vectors from Eq. ( 31) are normalized by

48The set of unit vectors provided by Eq. ( 32), is used to compute the mean curvature which is needed to evaluate the first term in Eq. ( 28) [36,14]:

49To increase the accuracy of the curvature approximation in Eq. ( 33), we substitute the kernel gradient with ∇W ab ≡ C a ∇W ab [31,32], where

50is the correction matrix computed from all neighboring SPH particles b.This yields the following curvature approximation with O(h 2 ) convergence [31,32]

51Using Eqs. ( 28), ( 27),( 32), (35), and assuming a constant surface tension coefficient in the simulated material, yields the acceleration of a particle a in the normal direction

52Similar to [23], where the Shepard filter is used to increase the robustness and accuracy of the obtained Young-Laplace pressure jump, we modify Eq. (36) to

53Here, S n a is the Shepard filter computed by

54where Ω n ⊂ Ω is the subset of SPH particles satisfying ∥ñ a ∥ ≥ ε n .The use of the factor (1 + 1/S n a ) which replaces the theoretical factor of 2 is empirical and is obtained from numerical experimentation.

Wetting forces at free boundaries

55The spreading force per unit length at the three-phase contact line can be described as a function of the contact angle, Θ, and the equilibrium contact angle, Θ ∞ , by [37]

56According to Breinlinger et al. [24], Eq. ( 39) can be imposed on SPH particles located in the vicinity of the three-phase contact line by modifying their normal vector orientations.As a result, the curvature is modified, and Eq. ( 37) includes the acceleration due to wetting phenomena.The scheme of [24] cannot be directly applied to free surface problems since the gas phase is not represented by SPH particles.Therefore, in the following subsections, we describe two alternative approaches for modeling wetting and non-wetting contact for free surface problems.

Wetting contact angle, Θ ∞ ≤ 90 •

57To model wetting contact angles (hydrophilic substrates), we compute the normal vectors of those SPH particles located near the three-phase contact line as a function of the required equilibrium contact angle.According to [13] the normal vector associated with a desired equilibrium contact angle, Θ ∞ , can be computed for a particle a ∈ Ω l by

58Here, tsf a is the smoothed normalized tangent vector between the solid and fluid phases, and nsf a is the smoothed normalized normal vector pointing from the solid to the fluid phase computed at the position of particle a.The normal vector, nsf a , at the position of particle a, is given by

59where Ω s ⊂ Ω is the subset of all SPH particles representing the solid phase, and S s a is the Shepard filter computed by

60Analogous to the computation of na , we discard the unit normal vectors of SPH particles if ∥ñ∥ a < ε n .

61The unit tangent vector in Eq. ( 40), tsf a , is computed by

62The normal vectors computed in Eq. ( 40) could be used to replace the normal vectors given by Eq. ( 32) to model wetting.However, as shown in [24], it is preferable to avoid an instantaneous change of the normal vectors of those SPH particles located near the three-phase contact line region.Instead, a smooth transition from na to n∞ a (Eq.( 40)) depending on a particle's distance to the solid phase (wall) should be applied

63Here, f a is given by

64where r max is the kernel radius (r max = 2h when using the Wendland kernel in Eq. ( 6)), and

65Here, ∆x is the spacing between two SPH particles when arranged on a square lattice, and ∆x 3 is the volume assigned to an SPH particle.The lower limit of f a ensures that particles that are located closer to the wall than ∆x are prescribed with n∞ a .The upper limit of f a restricts the normal correction to particles in a range of r max to the solid phase.The curvature at the position of a particle a ∈ Ω l can be computed by

66In the course of this work, it was found that computing the curvature in Eq. ( 47) is not accurate enough to obtain stable equilibrium droplet shapes for Θ ∞ ≤ 90 • ).In particular, underestimated curvatures of SPH particles located near the three-phase contact line lead to unlimited spreading of drops on a plane solid substrate.For this reason, we propose to compute the curvature at the position of an SPH particle a ∈ Ω l by

67where ns b is the normal vector of a neighboring particle b ∈ Ω s (particles representing the solid phase) given by

68Here, Θ s ∞ is a calibration parameter used to obtain corrected normal vectors of neighboring SPH particles b ∈ Ω s .By setting Θ s ∞ > Θ ∞ , the curvatures at the position of SPH particles a ∈ Ω l are shifted to larger values, which prevents the continuous spreading of the drop on the solid substrate, which otherwise happens if Θ ∞ is used.This parameter may require calibration for different discretization parameters such as the kernel and the smoothing length.The value of this parameter is listed where relevant, for example, in Table 3.The condition in Eq. ( 49) measures the distance of a neighboring particle b ∈ Ω s to particle a in the normal direction.The sign of the distance allows to distinguish between neighboring particles b ∈ Ω s located on the liquid or on the gas side of particle a, as illustrated in Fig. 2. Neighboring SPH particles that are located on the gas side of particle a, r ab • nlg a > 0, do not contribute to the curvature estimate obtained in Eq. (48).The acceleration due to surface tension and wetting experienced by a particle a ∈ Ω l is now given by

69Here, S n a is the Shepard filter computed by

70where Ω n l ⊂ Ω l is the subset of SPH particles satisfying ∥ñ a ∥ > ε n and Ω n s ⊂ Ω s is the subset of neighboring SPH particles satisfying r ab • nlg a ≥ 0 in Eq. (49).Using Eqs.(50) and (51), the acceleration of an SPH particle a due to surface tension and wetting for is now given by

716.2.Non-wetting contact angle, Θ ∞ > 90 Instead of computing the curvature using the approach presented in Sec.6.1, we model non-wetting contact angles by computing the curvature of an SPH particle a ∈ Ω l using only SPH particle neighbors b ∈ Ω l representing the liquid phase.In the following, we use the superscript l to denote that a property is computed using only the subset of SPH particles representing the liquid phase.Analogous to the correction scheme in Sec.6.1, the normal vector assigned to an SPH particle a

72Here, t sf,l a is the tangent vector at the position of a liquid SPH particle given by

73where the normal vector, nl a , is computed from liquid SPH particles by

74Here, S l a is the Shepard filter applied to liquid SPH particles

75Finally, the normal vector of an SPH particle a ∈ Ω l located in the vicinity of the three-phase contact line region is given by

76The modified normal vectors, nslg,l a , replace the normal vectors computed in Eq. (55) if the SPH particle is located in the vicinity of the three-phase contact line

77Finally, the mean curvature of a liquid SPH particle is given by

78where the renormalized kernel gradient, ∇l W ab , is computed from liquid SPH particles b ∈ Ω l by [31,32] ∇l

79Here, C l a is the correction matrix computed for SPH particles b ∈ Ω l .The acceleration of an SPH particle a ∈ Ω l due to surface tension and wetting forces is then given by

80with

81For desired equilibrium contact angles approaching 90 • , a slight discrepancy between the wetting and the non-wetting approach is observed, with the wetting approach yielding greater accuracy.

Extreme wetting and thin films

82Obtaining stable drops on a plane surface with Θ ∞ ≤ 30 • is challenging because the particles near the three-phase contact line have much fewer neighbors within their support radius (b ∈ Ω l ) than for larger contact angles.Further, for low contact angles, the resulting sharp curvatures cannot be estimated accurately due to the smoothing of the normals (see Eqs.

83(58) and ( 49)).When the liquid phase spreads thinner than the SPH kernel radius on the substrate, the aforementioned approach will result in all particles being identified as near the contact line because all particles will be near the free surface and the substrate.Consequently, the normal correction in Eqs. ( 32) and (55) will be applied to all particles a ∈ Ω l in the liquid layer, resulting in unphysical surface forces.

84For the case of small contact angle, as simulated in Sec.8.5, we substitute the curvature computation in Eq. ( 48) by Eq. ( 59) (where a renormalized kernel gradient is used) for an SPH particle a ∈ Ω slg if there is an insufficient neighbor particle support which we identify by S a < 0.6.

85For a thin film of liquid, the thickness of the film may be less than the kernel support radius.This leads to incorrect identification of particles.However, these particles are not necessarily near the triple contact line, but their surface normals can be parallel to the substrate normals.Therefore, we use the threshold nlg a • nsf a ≤ 0.995, for the normal correction (Eq.44) of particles near the triple contact line to avoid the particles in a thin film being classified as located near the triple line.

Wall boundary

86To model wetting phenomena on an impermeable substrate using SPH, the wall must satisfy the no penetration and the no-slip boundary conditions [38].Several techniques were proposed to ensure no penetration.For instance, wall boundaries can be modeled using repulsive forces [39], dummy particles [40], mirror particles [27], immersed boundary methods [41], or semi-analytical approaches [42].To simultaneously satisfy no-penetration and no-slip boundary conditions at walls, we modify the PPE in Eq. ( 19) following [43].We define the set of wall particles Ω w as a subset of solid particles, Ω w ⊂ Ω s .Wall particles, a ∈ Ω w , are thus near fluid particles.In mathematical terms, an SPH particle represents the solid wall boundary, a ∈ Ω w , if a ∈ Ω s and S l a > 10 −3 .

87The threshold S l a > 10 −3 must be chosen large enough to allow the convergence of the iterative solver solving the PPE.The PPE for particles representing the wall (a

88Thus, the neighborhood of wall particles includes exclusively fluid particles.In summary, the pressure of a particle a follows from different PPEs depending on whether it is a liquid particle in the bulk of the fluid, a liquid particle near the free surface, or a wall particle:

89Eq.( 21) if a / ∈ Ω w and S a > 0.95 Eq.( 25) if a /

90∈ Ω w and S a ≤ 0.95 Eq.(64) if a ∈ Ω w .

(65)

91To enforce the no-slip boundary condition at the wall, the wall's velocity is calculated via an SPH interpolation of the liquid neighborhood of a ∈ ω w as

92Subsequently, the wall particle velocity, u w a , that replaces the velocity of neighboring particles b ∈ Ω w in Eq. (11), is given by u w a = 2u a − ũa .

93(67)

948. Validation of the proposed CSF and wetting model 8.1.Numerical parameters Table 1 summarizes the numerical parameters used in all tests unless otherwise stated.The parameter chosen, albeit arbitrary, belong to the realm of realistic fluids.Stable simulations with properties of water may also be achieved with a higher spatial resolution than provided.The integration time step was chosen due to the Courant-Friedrich-Lewy condition [14] from the maximum acceleration a max , the maximum velocity u max , the viscous diffusion, and the surface tension:

95The solid SPH particles (including the wall particles) are kept at zero velocity throughout the simulations.

Test case: Plane Poiseuille flow

96We simulate plane Poiseuille flow between two stationary, infinite planes, located at x = ±L with L = 0.5 m.The fluid is accelerated in the y-direction by the body force g y .The analytical solution for the y-component of the time-dependent velocity, u y , as a function of the x-position reads [27]

97In the simulation, we apply periodic boundary conditions in y-and z-directions, thus, in this example, there is no free boundary.Consequently, to solve the PPE, we apply a Dirichlet boundary condition for the pressure to the solid SPH particles, which are not identified as wall SPH particles.The pressure of the solid phase is computed implicitly by solving

98Eq.( 64) if a ∈ Ω w Eq.( 25) if a ∈ Ω fs ∧ a / ∈ Ω w Eq.( 21) else .

99(70)

100In this validation example, we disregard surface tension effects, hence the momentum balance of the fluid reads

101The flow is characterized by the Reynolds number, Re = 2Lu max y /ν = 125.The SPH particles representing the liquid phase are initially placed on a rectangular lattice in the three-dimensional interval x ∈ (−L, L) 3 .At x = ±L, the boundary is modeled by SPH wall particles, placed at L ≤ x ≤ L + 2r max and L − 2r max ≤ x ≤ L. The thickness of the walls is twice the Wendland kernel radius, r max = 2h.This is required to apply the zero-pressure Dirichlet boundary condition in Eq. ( 25) to solid SPH particles, in order to solve the PPE.The liquid phase is represented by L/∆x ∈ {10, 20, 40} SPH particles in each spatial dimension leading to a total of {8 000, 64 000, 512 000} liquid SPH particles in the simulation.Figure 4 compares the analytical solution, Eq. ( 69), of the transient velocity field with the numerical result for L/∆x = 40.To evaluate the precision of the numerical model, we compute the relative deviation of the numerical SPH particles' velocities from the corresponding analytical values for SPH particles located in the interval −∆x ≤ y ≤ ∆x and −∆x ≤ z ≤ ∆x, as a function of their x-position.For tν/L 2 = 4 for L/∆x = 40 we obtain the mean relative error 1.6 %.Reducing the spatial discretization to L/∆x = 10 we obtain the mean relative error 3.8 %.

Test case: Laplace pressure jump

102At equilibrium, the pressure inside a drop exceeds the ambient pressure due to the surface tension.This effect is termed the Laplace pressure jump.In this simulation, we arrange N SPH particles on a rectangular lattice inside a sphere of radius r 0 = 10 −3 m, using the discretization given in Tab. 2. All smoothed normal vectors of magnitude smaller than ε n = 0.3 h are discarded from the computation of the curvature.According to the Young-Laplace equation, the pressure drop across a liquid-gas interface at equilibrium is given by [44] ∆p YL = 2σκ .

103For the parameters given above, we find that the pressure inside the drop, p i , exceeds the ambient pressure by 20 Pa according to

104Figure 5 shows the equilibrium pressure along a cut through the symmetry axis of the drop after a sufficient relaxation time (t = 1 s) when equilibrium was achieved.For increasing number of SPH particles (increasing resolution), the equilibrium pressure inside the droplet converges to the analytical solution, given by Eq. ( 73).The relative error is 18.0 % when using 4 224 SPH particles, 0.8 % using 113 104 SPH particles, and 1.0 % when 268 096 SPH particles are used to discretize the droplet.

Test case: Droplet oscillations

105In this validation case, we study the damped oscillation of a viscous drop.The analytical solution for the shape of a drop as a function of time reads [45] r

106Here, θ is the polar angle, r 0 is the radius of the (spherical) droplet in equilibrium, and

107is the second-order Legendre polynomial.The governing parameter contains the oscillation frequency and the damping constant,

108For the initial condition, we assume [45] r (θ,

109which describes a weakly deformed sphere.For the simulation, we assume η = 5 × 10 −3 Pa s and the values given in Tab. 1.For initialization, the shape described in Eq. ( 77) is represented by 33 240 SPH particles placed on a square lattice, see Fig. 6. Figure 7 shows the major and minor axis oscillation caused by the initial deformation of the drop from its equilibrium shape, as obtained from the numerical simulation For a quantitative comparison with the analytical result, we fit the parameters of a damped harmonic oscillator,

110to the simulation data.We take the amplitude A osc from the initialization and obtain the best fit for the damping constant λ osc = 22.44 s −1 and the oscillation frequency ω osc = 261.5 s −1 .

111We compare these numerical values with the analytical quantities.For the given material and system parameters, according to Eq. (76) , they read ω 2,0 = 283, 03 s −1 and λ 2 = 25 s −1 , resulting in the relative deviation |ω 2,0 − ω osc | /ω 2,0 ≈ 7% and |λ 2 − λ osc | /λ 2 ≈ 5.1% An appropriate value of the normal threshold, ε n , was found to be crucial for stable oscillations, see Eq. (55).Choosing ε n too small results in incorrect curvature computation due to contributions from SPH particles located far away from the interface.Choosing ε n too large results in large statistical errors since only a small number of SPH particles contributes to the surface tension forces.An appropriate choice of ε n compromises between these limits.

Test case: Equilibrium shape of a drop in contact with a plane

112The numerical simulation of a drop in contact with a plane is a challenging problem.Depending on the choice of the equilibrium contact angle, Θ ∞ , which is a parameter of the simulation (see Eq. ( 39)), we describe wetting or de-wetting contact of the liquid drop on the solid substrate.Here, we demonstrate the stability of the numerical method by considering the relaxation of a particular initial state towards equilibrium for varying values of Θ ∞ .The initial condition is described by a hemispherical liquid drop resting on a solid substrate.We place liquid SPH particles on a square lattice with spacing ∆x inside a hemisphere of radius r 0 = 10 −3 m.The flat side of the hemisphere is in contact with the plane, modeled as a circular disk of radius 3 × 10 −3 m and thickness 5∆x.In all cases studied, the disk's radius was much larger than the equilibrium radius of the drop.The disk is represented by solid SPH particles arranged on a square lattice of spacing ∆x.At time t = 0, we start the simulation, and the initially hemispherical drop relaxes to its asymptotic equilibrium shape.

113For the simulation, we use the parameters in Tab.(1), the smoothing length h = 2.5∆x, and ε n = 0.2/h.The equilibrium contact angles used to modify the normal vectors are shown in Tab. 3.

114Table 3: Equilibrium contact angles used to correct the normal vectors of liquid and solid SPH particles in the vicinity of the three-phase contact line.For Θ∞ ≤ 95 • we employ Θ s ∞ ≥ Θ∞, see Sec. decays by several orders of magnitude, see Fig. 9.We note that the asymptotic value of the kinetic energy of drops with non-wetting exceeds the value for wetting contacts by at least two orders of magnitude: At t = 1 s we find for wetting contact E kin ≈ 1.Similarly, the fluctuations of the kinetic energy are much larger for non-wetting contact than for wetting contact.This behavior agrees with physical reality: Drops of ultrahydrophobic surfaces are much less bound than wetting drops and can reveal interesting dynamics, e.g. the lotus effect [46].In terms of the numerical model, this effect can be understood from the influence of the normal threshold, ε n , used to identify SPH particles with valid normal vectors.The vectors of SPH particles that are located near the three-phase contact line have magnitude, below the threshold ε n and do, therefore, not experience surface tension.This leads to a vortex flow of particles in this region, which also promotes the translational motion of the liquid drop across the solid substrate which in turn increases the total kinetic energy.

115Figure 10 shows the position of the free surface of the drop in equilibrium at position y = 0, that is, a cut through the drop, for wetting and non-wetting contact.The legend shows in brackets the desired equilibrium contact angle (Θ ∞ ) of the drop (input parameter), and the momentary value

116where H and B are the drop's height and base radius, and

117is the radius of the drop.The precision of the numerical model can be evaluated by comparing the simulation results for the drop's height and base radius with the analytical results, 10: Cut through a drop at y = 0 at large time, t = 1 s , when it assumed its equilibrium shape.The lines show the free liquid-gas interface for different contact angles.The legend shows the momentary value Θ of the contact angle defined in Eq. ( 79) and the equilibrium contact angle, Θ∞, in brackets with the analytical value of the drop's radius,

118Figure 11 shows this comparison for various contact angle values, Θ ∞ .

119In the range 15 • ≤ Θ ∞ ≤ 135 • , the deviation of the simulated contact angle from the analytical value is below 4.5 %, see Fig. 11b, and increases to 14.3 % for Θ ∞ ≤ 150 • .This deviation is due to the unprecise contributions to the force from SPH particles located near the three-phase contact line.The precision could be improved by decreasing ε n , however, this would deteriorate the accuracy of the computed curvature.As in the preceding example, we have to compromise between large and small values of ε n .

Test case: Droplet deformation due to gravity

120In the test cases presented so far, we did not consider the action of gravity.In the current test case, we study the deformation of a drop resting on a horizontal plate as a function of the value of the gravity constant, g.Gravity gives rise to a body-force acceleration, f g = [0, 0, −g], acting on the SPH particles.This force leads to flattening the drop, which shall be studied here.We use the properties given in Tab. 1 and the setup geometry introduced in Sec.8.5: A total of 16 776 liquid SPH particles are placed on a square lattice inside a hemisphere of radius r 0 = 10 −3 m, resting on a plane solid substrate of radius 4 × 10 −3 m.The equilibrium contact angle is Θ ∞ = 50 • (Θ s ∞ = 55 • ). Figure 12 shows the height of the drop, H, as a function of the acceleration due to gravity, g.Here, gravity is expressed by the Bond number that quantifies the ratio of gravitational to surface tension forces: The drop height, H, is scaled by the drop height in the absence of gravity H 0 where Bo = 0.In Fig. 12, the Bond number covers the interval Bo ∈ [10 −3 , 10 2 ], and the function H(Bo) decays monotonously.For small Bo, the situation is surface-tension dominated, thus, H → H 0 for Bo → 0.

121For large gravity, Bo → ∞, the regime is gravity-dominated, and he height of the drop converges to the capillary length [47] H

122Figure 13 shows the drop profile for several values of Bo, that is, the position of the free surface at y = 0.For real-life applications, a dynamic contact angle model (such as [48]) may be implemented for taking into account chemical heterogeneity of the substrate.

Test case: Droplet pinning

123The contact line of two planes with different inclinations represents a barrier for liquid droplets.To pass the barrier, the droplet's contact angle must exceed Θ ∞ + Ψ [24], where Ψ is the difference between the inclinations of the planes.To overcome this threshold, sufficient force is needed.In the absence of such a force, the droplet remains attached at the contact line of the planes, see Fig. smooth counteracting force, enabling some SPH particles to pass the contact line.The last column of Fig. 15 shows the droplets at t = 150 ms.For Ψ ∈ {22.5 • , 45 • , 67.5 • } the drop passes the discontinuity.For Ψ = 90, the external acceleration is insufficient to generate the threshold contact angle Θ ∞ + Ψ = 165 • .Figure 16 shows the total kinetic energy of the liquid SPH particles as a function of time.

124During the relaxation, t ∈ [0, 50 ms], the drop finds its equilibrium shape, therefore, energy decays.For t > 50 ms, the decline is accelerated by f b acting on the liquid SPH particles leading to a sharp increase in the total kinetic energy.At t ≈ 55 ms, the drop approaches the contact line between the two planes, indicated by a decrease of the kinetic energy for t > 55 ms.As expected, the smallest deceleration of the drop is experienced for Ψ = 22.5 • and the most significant for Ψ = 90 • .The subsequent increase in kinetic energy for t ≳ 85 ms, for ψ < 90 • corresponds to the drop's passing of the discontinuity.For Ψ = 90 • , the kinetic energy remains about three orders of magnitude below, indicating the pinning of the drop at the contact line.

125The kinetic energy curves in Fig. 16 show sharp peaks.These peaks are caused by SPH particles on the rear side of the moving droplet.Due to the small number of liquid SPH particles attached to the solid phase behind the moving droplet, the calculated curvatures of these particles can adopt large, inaccurate values.As a result, these particles experience either high accelerations toward the solid substrate or into the surrounding environment.The wall boundary condition prevents liquid SPH particles from entering the solid plane due to the large pressure of the solid SPH particles.However, this also leads to a strong repulsion of the liquid particles into the environment.This problem could be solved by calculating the mean curvature of the liquid SPH particles only when there is a sufficient number of neighbors of the liquid phase.Otherwise, the particles should remain unaffected by the surface tension.

Conclusion

126We introduce a surface tension model based on the CSF approach and applicable to threedimensional free surface flows.In contact with a substrate, the model can handle wetting and non-wetting behavior in a wide range of parameters.This is made possible with the use of primarily 3 empirical parameters, namely the Shephard sum correction for free surface introduced in Eq. 37, the threshold for magnitude of surface normal vectors (Eq.31), ϵ n and the desired equilibrium contact angle associated with the substrate Θ s ∞ listed in Table 2.We have shown that the model performs numerically stable in several test cases.By directly comparing analytical results and literature results, we could show that the model delivers quantitatively reliable results.To demonstrate the model's performance, we applied the new simulation method to a set of free surface problems, some of which are notoriously difficult to simulate.These test examples include (a) plane Poiseuille flow, (b) the Laplace jump of a droplet, (c) the oscillation and relaxation of a perturbed droplet, (d) the equilibrium shape of a droplet in contact with a wetting/non-wetting substrate and its relaxation to this equilibrium, (e) the flattening of a droplet under the action of gravity, and (f) the interaction of a droplet with a barrier under the action of gravity.For all of the test cases, we provide detailed quantitative comparisons with analytical results and results from the literature and discuss the reasons for deviations.

Figure 1 :

127Figure 1: Sketch of a droplet in contact with a solid substrate in equilibrium

r ab • nlg a ≥ 0 Figure 2 :

128Figure 2: Identification of neighboring particles b ∈ Ω s which contribute to the curvature computation of a particle a ∈ Ω l .This schematic shows SPH particles near the three-phase contact of a droplet resting on a solid boundary.Gray and blue spheres represent the solid boundary and the liquid phase, respectively.The normal vector nlg a is used to compute the distance of a neighboring particle b ∈ Ω s to the tangent plane (here shown as a dashed black line) by r ab • nlg a .Particles b ∈ Ω s which satisfy r ab • nlg a ≥ 0 contribute to the curvature computation and are shown by black spheres.

Figure 3 Figure 3 :

129Figure3shows cuts through the axis of symmetry of two drops resting on a plane surface.For a desired equilibrium contact angle of Θ ∞ = 30 • (left) and Θ ∞ = 60 • (right), the proposed approach modifies the normal vectors of the red-colored SPH particles during the curvature computation.Note that each SPH particle a ∈ Ω l in the vicinity of the three-phase contact line has its own set of SPH particle neighbors b ∈ Ω s .

Figure 4 :

130Figure 4: Instantaneous velocity profiles for viscous fluid flow between two parallel plates driven by the pressure gradient: the fluid flows in the y-direction and its non-dimensional velocity is plotted along the normal direction to the plates.

131r 0 /∆x = 10 r 0 /∆x = 15 r 0 /∆x = 40 (a) Pressure profile along the x-axis (y/r 0 = z/r 0 = 0) for a drop centered at (x, y, z) = (0, 0, 0) for different spatial resolutions.The dashed line shows the analytical solution, Eq. (72) relative error / % (b) Relative deviation of the simulated equilibrium pressure inside the droplet from the analytical value, Eq. (72).

Figure 5 :

132Figure 5: Comparison of the computed equilibrium pressure inside a droplet with the analytical solution of the Young-Laplace equation, Eq. (72).The simulation result is averaged over the time interval 0.8 ≤ t ≤ 1 s.

Figure 6 :

133Figure 6: Ellipsoid according to Eq. (77), represented by 33 240 SPH particles.

Figure 7 :

134Figure 7: Damped oscillation of a viscous droplet.The curves show the drop extension along the major and minor axes as functions of time, normalized by the oscillation period, Tosc = 2π/ω 2,0 = 2.22 × 10 −2 s.

6 . 1 Θ ∞ / • 15 Figure 8

135Figure 8 shows the drop in equilibrium for contact angles Θ ∞ ∈ {15 • , 60 • , 120 • , 150 • }.During relaxation, the kinetic energy of the drop and, thus, its constituting SPH particles

Figure 8 :

136Figure 8: At large time, t = 1 s, the drops have assumed their equilibrium shape.Liquid SPH particles are shown in red, and solid particles are shown in blue.For Θ ∞ ∈ {120 • , 150 • }, some particles near the three-phase contact line disintegrated from the body of the liquid phase.Refer to Fig. 10 for the radial profile of the free surface.

Figure 9 :

137Figure9: Total kinetic energy of relaxing droplets as a function of time.In agreement with physical reality, drops with wetting contact angles relax to a lower value of kinetic energy than drops with non-wetting contact angles.Similarly, the fluctuations are smaller for wetting contact

6 • 5 •

138(15 • ) 29.8 • (30 • ) 46.0 • (45 • ) 60.3 • (60 • ) 76.6 • (75 • ) 91.1 • (90 • ) (105 • ) 122.1 • (120 • ) 136.1 • (135 • ) 140.8 • (150 • ) (b) Non-wetting contact angles

Figure

139Figure10: Cut through a drop at y = 0 at large time, t = 1 s , when it assumed its equilibrium shape.The lines show the free liquid-gas interface for different contact angles.The legend shows the momentary value Θ of the contact angle defined in Eq. (79) and the equilibrium contact angle, Θ∞, in brackets

6 ΘFigure 11 :

140Figure 11: Comparison between simulation and theory for the drop's base radius, height, and simulated contact angle, as a function of the equilibrium contact angle

14 .

141We describe the numerical experiment similar to Secs.8.5 and 8.6 with the parameters specified in Tab. 1, viscosity η = 5 × 10 −3 Pa s, and the equilibrium contact angle Θ ∞ = 75 • (Θ s ∞ = 80 • ).Similar to the preceding test cases, we fill a hemisphere with radius r 0 = 10 −3 m with 16 776 liquid SPH particles arranged on a square lattice.This half-sphere rests on a solid horizontal plane modeled as a block of size (2.6 × 3 × 0.25) mm 3 filled by SPH particles arranged in a square lattice.The initial condition is sketched in the left part of Fig. 14.The second plane 10 −3

142is modeled in the same way but inclined by Ψ ∈ {22.5 • , 45 • , 67.5 • }, see right part of Fig.14.To prepare our initial conditions, we simulate relaxing the drop on the horizontal substrate to equilibrium.After t = 50 ms of relaxation, the equilibrium shape was assumed.For t > 50 ms a constant body acceleration, f b = [7.5, 0, −7.5], drives the drop towards the contact line of the planes.Figure15shows snapshots of the simulation.Column (a) shows the equilibrated drops at t = 50 ms.Column (b) shows the drops at t = 100 ms under the influence of the acceleration f b .Due to the weighting concept of the SPH method, pinning starts to occur when the contact line of the two planes enters the smoothing length of an SPH particle.Instead of a sharp force, the particles experience a

Figure 13 :Figure 14 :

143Figure 13: Cut through the drop at y = 0 (liquid-gas interface position) as a function of the Bond number for Θ∞ = 50 • .

Table 1 :

144Numerical parameters used in the test simulations

Table 2 :

145Number of SPH particles and discretization spacing used to validate the Young-Laplace pressure boundary condition.

14616 × 10 −14 J for

147Drop height as a function of the Bond number.For small gravity, Bo → 0, the regime is dominated by surface tension, and H approaches H 0 .For large gravity, Bo → ∞, the regime is gravity-dominated, and H approaches H∞ given by Eq. (85).The symbols show the drop height obtained from SPH simulations, and the solid lines show the limits H 0 and H∞.

참고문헌 53건

  1. Boundary conditions generated by dynamic particles in SPH methods Cmc-computers Materials & Continua · Tech Science Press · 2007 10.3970/cmc.2007.005.173
  2. Pairwise Force Smoothed Particle Hydrodynamics model for multiphase flow: Surface tension and contact line dynamics Journal of Computational Physics · Elsevier BV · 2015 10.1016/j.jcp.2015.08.037
  3. Simulating Free Surface Flows with SPH Journal of Computational Physics · Elsevier BV · 1994 10.1006/jcph.1994.1034
  4. Modeling of surface tension and contact angles with smoothed particle hydrodynamics Physical Review E · American Physical Society · 2005 10.1103/physreve.72.026301
  5. The transition from inertial to viscous flow in capillary rise Journal of Colloid and Interface Science · Elsevier BV · 2008 10.1016/j.jcis.2008.08.018
  6. Effect of dynamic contact angle in a volume of fluid (VOF) model for a microfluidic capillary flow Journal of Colloid and Interface Science · Elsevier BV · 2009 10.1016/j.jcis.2009.07.071
  7. Comparisons of weakly compressible and truly incompressible algorithms for the SPH mesh free particle method Journal of Computational Physics · Elsevier BV · 2008 10.1016/j.jcp.2008.06.005
  8. A Stabilized Incompressible SPH Method by Relaxing the Density Invariance Condition Journal of Applied Mathematics · Hindawi Publishing Corporation · 2012 10.1155/2012/139583
  9. A new particle method for simulating breakup of liquid jets Journal of Computational Physics · Elsevier BV · 2011 10.1016/j.jcp.2011.10.020
  10. Surface tension and wetting effects with smoothed particle hydrodynamics Journal of Computational Physics · Elsevier BV · 2013 10.1016/j.jcp.2013.02.038
  11. A generalized wall boundary condition for smoothed particle hydrodynamics Journal of Computational Physics · Elsevier BV · 2012 10.1016/j.jcp.2012.05.005
  12. Modeling Low Reynolds Number Incompressible Flows Using SPH Journal of Computational Physics · Elsevier BV · 1997 10.1006/jcph.1997.5776
  13. Liquid drops and surface tension with smoothed particle applied mechanics Physical review. E, Statistical physics, plasmas, fluids, and related interdisciplinary topics · American Physical Society · 2000 10.1103/physreve.62.4968
  14. Unified semi-analytical wall boundary conditions applied to 2-D incompressible SPH Journal of Computational Physics · Elsevier BV · 2013 10.1016/j.jcp.2013.12.035
  15. A Review of High-Heat-Flux Heat Removal Technologies Journal of Heat Transfer · ASM International · 2011 10.1115/1.4004340
  16. Variational and momentum preservation aspects of Smooth Particle Hydrodynamic formulations Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 1999 10.1016/s0045-7825(99)00051-1
  17. Dynamics of Capillary Imbibition When Surfactant, Polymer, and Hot Water Are Used as Aqueous Phase for Oil Recovery Journal of Colloid and Interface Science · Elsevier BV · 2002 10.1006/jcis.2001.8015
  18. An improved SPH method: Towards higher order convergence Journal of Computational Physics · Elsevier BV · 2007 10.1016/j.jcp.2007.01.039
  19. Smoothed particle hydrodynamics Reports on Progress in Physics · IOP Publishing · 2005 10.1088/0034-4885/68/8/r01
  20. Numerical simulation of static and sliding drop with contact angle hysteresis Journal of Computational Physics · Elsevier BV · 2009 10.1016/j.jcp.2009.07.034
  21. An SPH Projection Method Journal of Computational Physics · Elsevier BV · 1999 10.1006/jcph.1999.6246
  22. Control of the wetting properties of an AISI 316L stainless steel surface by femtosecond laser-induced surface modification Journal of Micromechanics and Microengineering · IOP Publishing · 2012 10.1088/0960-1317/22/10/105019
  23. Simulating surface tension with smoothed particle hydrodynamics International Journal for Numerical Methods in Fluids · Wiley · 2000 10.1002/1097-0363(20000615)33:3<333::aid-fld11>3.0.co;2-7
  24. BiCGstab(l) and other hybrid Bi-CG methods Numerical Algorithms · Springer Science+Business Media · 1994 10.1007/bf02141261
  25. A continuum method for modeling surface tension Journal of Computational Physics · Elsevier BV · 1992 10.1016/0021-9991(92)90240-y
  26. A numerical approach to the testing of the fission hypothesis The Astronomical Journal · Institute of Physics · 1977 10.1086/112164
  27. An improved free surface modeling for incompressible SPH Computers & Fluids · Elsevier BV · 2014 10.1016/j.compfluid.2014.07.006
  28. In Situ Surface‐Modification‐Induced Superhydrophobic Patterns with Reversible Wettability and Adhesion Advanced Materials · Wiley · 2012 10.1002/adma.201203797
  29. Inkjet Printing for Materials and Devices Chemistry of Materials · American Chemical Society · 2001 10.1021/cm0101632
  30. Oil recovery performances of surfactant solutions by capillary imbibition Journal of Colloid and Interface Science · Elsevier BV · 2004 10.1016/j.jcis.2004.08.149
  31. Piecewise polynomial, positive definite and compactly supported radial functions of minimal degree Advances in Computational Mathematics · Springer Science+Business Media · 1995 10.1007/bf02123482
  32. A two-dimensional interpolation function for irregularly-spaced data 1968 10.1145/800186.810616
  33. Wetting: statics and dynamics Reviews of Modern Physics · American Physical Society · 1985 10.1103/revmodphys.57.827
  34. Smoothed particle hydrodynamics: theory and application to non-spherical stars Monthly Notices of the Royal Astronomical Society · Oxford University Press · 1977 10.1093/mnras/181.3.375
  35. Modeling of droplet collisions using Smoothed Particle Hydrodynamics International Journal of Multiphase Flow · Elsevier BV · 2017 10.1016/j.ijmultiphaseflow.2017.06.002
  36. Smoothed particle hydrodynamics study of the roughness effect on contact angle and droplet flow Physical review. E · American Physical Society · 2017 10.1103/physreve.96.033115
  37. Surface tension simulation of free surface flows using smoothed particle hydrodynamics Scientia Iranica · Sharif University of Technology · 2017 10.24200/sci.2017.4291
  38. An immersed boundary based dynamic contact angle framework for handling complex surfaces of mixed wettabilities International Journal of Multiphase Flow · Elsevier BV · 2018 10.1016/j.ijmultiphaseflow.2018.08.001
  39. Flexible slender body fluid interaction: Vector-based discrete element method with Eulerian smoothed particle hydrodynamics Computers & Fluids · Elsevier BV · 2018 10.1016/j.compfluid.2018.11.024
  40. Electrowetting: Fundamental Principles and Practical Applications 2019
  41. Molecular theory of capillarity Journal of Electroanalytical Chemistry · Elsevier BV · 1984 10.1016/0368-1874(84)87080-x
  42. The effect of sharp solid edges on the droplet wettability Journal of Colloid and Interface Science · Elsevier BV · 2019 10.1016/j.jcis.2019.05.081
  43. Dynamic capillary phenomena using Incompressible SPH Chemical Engineering Science · Elsevier BV · 2017 10.1016/j.ces.2017.10.042
  44. Modified smoothed particle hydrodynamics approach for modelling dynamic contact angle hysteresis Acta Mechanica Sinica · Springer Science+Business Media · 2019 10.1007/s10409-018-00837-8
  45. On the analytical and numerical simulation of an oscillating drop in zero-gravity Computers & Fluids · Elsevier BV · 2019 10.1016/j.compfluid.2019.104362
  46. Free surface tension in incompressible smoothed particle hydrodynamcis (ISPH) Computational Mechanics · Springer Science+Business Media · 2019 10.1007/s00466-019-01780-6
  47. Smoothed Particle Hydrodynamics Annual Review of Astronomy and Astrophysics · Annual Reviews · 1992 10.1146/annurev.aa.30.090192.002551
  48. A new SPH density formulation for 3D free-surface flows Computers & Fluids · Elsevier BV · 2021 10.1016/j.compfluid.2021.105193
  49. Superhydrophobic states Nature Materials · Nature Portfolio · 2003 10.1038/nmat924
  50. Fluid Mechanics and the SPH Method 2012 10.1093/acprof:oso/9780199655526.001.0001
  51. A level-set-based sharp-interface method for moving contact lines Journal of Computational Physics · Elsevier BV · 2022 10.1016/j.jcp.2022.111445
  52. Modeling surface tension in Smoothed Particle Hydrodynamics using Young–Laplace pressure boundary condition Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2023 10.1016/j.cma.2023.115907
  53. An improved three-dimensional lattice Boltzmann-volume of fluid (LB-VOF) method for simulation of laminar liquid jet breakup with high density ratio Computers & Fluids · Elsevier BV · 2023 10.1016/j.compfluid.2023.105969