Computing the viscous effect in early-time drop impact dynamics
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
기본 정보
- 저자
- DOI
- 10.1017/jfm.2022.445
- 저널
- Journal of Fluid Mechanics
- 발행년도
- 2022
- 발행기관
- Cambridge University Press
- 피인용수
- 4
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1017/jfm.2022.445
- 토픽
- Surface Modification and Superhydrophobicity
- OpenAlex ID
- W3194913627
평가 내용
- 관련도
- 사업분야
- 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 119,806자
본문 펼치기
섹션 본문 167문단 · 122,690자
(제목 없음)
1The impact of a liquid drop on a solid surface involves many intertwined physical effects, and is influenced by drop velocity, surface tension, ambient pressure and liquid viscosity, among others. Experiments byKolinski et al. (2014b)show that the liquid-air interface begins to deviate away from the solid surface even before contact. They found that the lift-off of the interface starts at a critical time that scales with the square root of the kinematic viscosity of the liquid. To understand this, we study the approach of a liquid drop towards a solid surface in the presence of an intervening gas layer. We take a numerical approach to solve the Navier-Stokes equations for the liquid, coupled to the compressible lubrication equations for the gas, in two dimensions. With this approach, we recover the experimentally captured early time effect of liquid viscosity on the drop impact, but our results show that lift-off time and liquid kinematic viscosity have a more complex dependence than the square root scaling relationship. We also predict the effect of interfacial tension at the liquid-gas interface on the drop impact, showing that it mediates the lift-off behavior. arXiv:2108.11497v1 [physics.flu-dyn] 25 Aug 2021 † The inverse of the modified Stokes number, St = µg/(ρ l V R), has properties of two different media, where the usual Stokes number is defined for a single medium.
Introduction
2The dynamics of a falling liquid drop as it impacts on a substrate depend on the initial conditions and physical properties of the liquid, the surrounding media and the substrate. Depending on the relevant physical parameters, the liquid drop may splash, spread or bounce upon impact with a solid substrate. The diversity of patterns produced by liquid drops impacting on a solid substrate in the presence of ambient air were first captured by Worthington (1877), even before the invention of flash photography, through observations of patterns under the light of a spark produced by a break in an electric circuit when the drop hits the substrate. Worthington's drawings of these patterns sparked many investigations into the physical phenomena associated with drop impact, many of which are summarized in several review articles (Rein 1993;Yarin 2006;Josserand & Thoroddsen 2016).
3Physical parameters that are known to affect the dynamics of a drop upon impact with a substrate include the initial size and velocity of the drop (Pasandideh-Fard et al. 1996), viscosity of the liquid (Pasandideh-Fard et al. 1996), pressure and viscosity of the surrounding medium (Xu et al. 2005), interfacial tension between the liquid and its surrounding medium (Rioboo et al. 2003;Pasandideh-Fard et al. 1996), and the physical properties of the substrate (Range & Feuillebois 1998;Rein 1993;Yarin 2006;Josserand & Thoroddsen 2016). Experiments by Xu et al. (2005) show that in the impact of a liquid drop on a solid substrate, ambient air pressure determines whether the drop eventually splashes, characterized by the ejection of a number of small drops into the air, or forms a thin film and spreads smoothly onto the surface. This suggests a role of the surrounding gaseous medium in determining the impact dynamics even before the drop makes contact with the solid substrate, motivating investigation into the role of an intervening gaseous layer in determining dynamics of a liquid drop as it approaches a solid substrate, prior to contact of the drop with the substrate. The series of theoretical investigations by Mandre, Mani and Brenner (Mandre et al. 2009;Mani et al. 2010; considers an inviscid liquid drop falling towards a solid surface in the presence of an ideal gas, and predicts that the drop deforms due to a buildup of pressure in the gas trapped underneath the drop, prior to its contact with the solid substrate. Since these studies assume the fluid flow in the drop is inviscid, the velocity field is given by a potential flow. This substantially simplifies the analysis, allowing the dynamics to modeled using values of relevant field variables exclusively at the liquid-gas interface, without explicitly computing the fluid flow in the bulk of the drop. A schematic of the deformation of the drop is shown in Figures 1(a) and 1(b).
4Experimental studies confirm the theoretical predictions of drops deforming on a layer of air between the liquid drop and solid substrate, prior to contact between the drop and the substrate, and show measurements of the air layer underneath the impacting drop (Kolinski et al. 2012;van der Veen et al. 2012;de Ruiter et al. 2012). However, subsequent experimental work by Kolinski et al. (2014b) shows the effect of liquid viscosity on the evolution of the liquid-air interface even before contact with the substrate, which is not captured by the potential flow description of the evolution of liquid dynamics in previous theoretical work (Mandre et al. 2009;Mani et al. 2010;.
5In this work, we are concerned with the dynamics of a liquid drop as it approaches a rigid, non-porous, solid surface, in the presence of an ambient gas. We modify the physical model of Mandre, Mani and Brenner by incorporating the viscosity of the liquid. Due to the additional viscous term in the governing equations for the liquid, the coupled interaction of the liquid and gas becomes theoretically intractable, and it is necessary to solve numerically for the fluid flow in the bulk of drop. Previous computational work on drop impact has been concerned with the dynamics of spreading (Eggers et al. 2010) and splashing (Josserand & Zaleski 2003;Boelens & de Pablo 2018), whereas we focus on the dynamics of the drop in its approach towards a solid surface, prior to contact.
6We solve the incompressible Navier-Stokes equations in the drop, using a modern implementation of Chorin's projection method (Chorin 1967(Chorin , 1968) that incorporates improvements from Almgren, Bell, Collela and coworkers (Bell et al. 1989;Colella 1990;Almgren et al. 1996). Our numerical model allows us to resolve the flow field and pressure in the drop, and examine the effects of many different physical parameters in ways (e.g. viscosity, surface tension) that would be difficult to do in experiment. We validate our model using theoretical results (Mandre et al. 2009;Mani et al. 2010;). Using our model, we are able to recapitulate the square-root scaling with liquid viscosity of the lift-off time observed by Kolinski et al. (2014b). However, our results show that the precise relationship between lift-off time and liquid viscosity is more complicated. We explore the dependence of lift-off time on surface tension, initial drop velocity, and drop radius.
7In the following sections, we describe the physical model and parameter regime, followed by approximations made in the simulation domain. We then describe the results from our simulations, along with comparisons with previous theoretical and experimental studies. Our numerical results are consistent with theoretical calculations (Mandre et al. 2009) as well as experimental results (Kolinski et al. 2014b). Our results predict the effect of viscosity and interfacial tension on the dynamics of drop impact.
Model
8In this section, we first explain the physical set-up and specify the parameter regime considered in the rest of this work. Based on the physical set-up and parameter regime, we then describe the mathematical model. The mathematical model largely derives from previous theoretical work (Mandre et al. 2009;Mani et al. 2010;. We specify the predictions made by this model, experimentally-observed deviations from these predictions, and then the mathematical model used in our work. We then use this mathematical model to derive appropriate boundary conditions for the flow in the drop.
Physical problem and parameter regime
9The physical set-up is a drop of liquid falling towards a flat, solid surface in the presence of a surrounding gas. As the liquid drop falls towards the solid surface, it interacts with the surrounding gas. We are interested in modeling and simulating the coupled dynamics of the liquid and the gas before the liquid makes contact with the solid surface. Figure 1(a) shows a schematic of the physical problem, indicating the relative locations of the liquid drop, the surrounding gas and the solid surface. The drop is initially spherical, with radius R, falling towards a horizontal solid surface at uniform vertical velocity V 0 . The gas is initially at uniform pressure P 0 . We specify the values of initial conditions and physical properties considered for the liquid and air in Table 1. We use the subscripts l and g to denote the liquid drop and the gas, respectively, and 0 to denote the initial conditions.
10A theoretical consideration of our physical set-up for the parameter regime specified in Table 1. In this parameter regime, the potential flow theory argues that the relevant Reynolds number, based on the initial velocity V 0 and drop radius R, is O (10 2 ), allowing for an inviscid consideration of the liquid. We refer to the mathematical model as the potential flow model, and the theoretical predictions arising from this mathematical model as the potential flow theory.
11The potential flow theory predicts that, as the drop falls towards the solid surface, a build up of air pressure underneath the drop causes the drop to deform in the middle, developing a dimple. The drop then spreads over a thin layer of gas that separates it from the substrate. The potential flow theory predicts scaling laws for the height of the gas layer. Subsequent experimental observations of the gas underneath the drop (Kolinski et al. 2012;van der Veen et al. 2012;de Ruiter et al. 2012) show the existence of this dimple and the shape of the drop profile, similar to the predictions of the potential flow theory. Experimental observations made by Kolinski et al. (2014b) in part of this parameter regime show that the falling drop first develops a dimple in the middle of the drop, as schematized by the liquid-gas interface shown in green in Figure 1(b). This is consistent with the potential flow theory (Mandre et al. 2009;Mani et al. 2010;. Subsequently in time, and prior to contact of the liquid-gas interface with the solid substrate, the shape of the interface depends on the kinematic viscosity of the liquid. Specifically, there is a critical time τ c at which the minimum height of the drop from the substrate stops decreasing, and the leading edge of the drop begins to move away from the surface. The time τ is measured relative to the time when the drop would have made contact with the substrate if it were not deforming due to interactions with an intervening gas. Kolinski et al. (2014b) observe that τ c ∝ ν l 1/2 . As a consequence of the discrepancy between the observations of Kolinski et al. (2014b), who definitively show the effect of liquid viscosity on the shape of the liquid-gas interface well before contact between the liquid and the substrate, and the potential flow theory, we are specifically interested in capturing the role of liquid viscosity, on these coupled dynamics. Based on the observations of Kolinski et al. (2014b), we modify the potential flow model to consider a liquid described by the full Navier-Stokes equations, rather than an inviscid approximation.
Mathematical model
12The dynamics of an initially spherical drop are naturally described in terms of three-dimensional spherical polar co-ordinates, and those of the gas layer in terms of three-dimensional cylindrical polar co-ordinates. In this co-ordinate system, from the potential flow theory (Mandre et al. 2009;Mani et al. 2010; and the experimental observations of air layer profiles under an impacting drop (Kolinski et al. 2012;de Ruiter et al. 2012;van der Veen et al. 2012;Kolinski et al. 2014bKolinski et al. ,a, 2019, we use the simplifying approximation of no azimuthal variation in the flow field of the drop or the gas.
13As in the potential flow model, we further simplify our consideration by approximating the drop as initially being an infinite cylinder, with the long axis perpendicular to the substrate, rather than spherical. With these assumptions and approximations, we can describe the dynamics of the liquid and gas using two-dimensional Cartesian co-ordinates (x, y). The initial height h(x, t = T 0 ) of the liquid-gas interface is described by a parabolic profile as
14where H 0 is the initial height of the centre of the interface, i.e. at x = 0. We model the flow in the liquid using the incompressible Navier-Stokes equations. The continuity equation for the liquid is
15and the momentum equation for the liquid is
16where u l = (u x , u y ), p l and ρ l are the velocity field and pressure field in the liquid, respectively. Based on the potential flow theory (Mandre et al. 2009;Mani et al. 2010; and subsequent experimental observations (de Ruiter et al. 2012;van der Veen et al. 2012;Kolinski et al. 2014b), the gas layer is slender, with the horizontal length scale L x being much greater than the vertical length scale L y , allowing for an approximation of one-dimensional flow in the gas. The height h = h(x, t) of the gas layer is thus described by the compressible lubrication equation, (2.4) and the equation of state is described by an adiabatic assumption,
17(2.5)
18The coupling of flows in the liquid and gas at their interface is done using Gibbs' condition for pressure,
19and equality of shear stress in the liquid and gas at the liquid-gas interface is
20Far enough away from the deforming effects of the intervening gas layer on the liquid drop, the pressure in the gas is the ambient pressure, lim x→±∞ p g (x, t) = P 0 . Given that the initial and boundary conditions are symmetric about x = 0, we modify our mathematical model to incorporate symmetry boundary conditions about x = 0. We do so by applying the boundary conditions (u, v x ) = (0, 0) in the liquid domain and p g,x = 0 and h x = 0 in the gas layer.
Liquid domain and boundary conditions
21Having specified the physical problem in Section 2.1 and the mathematical model, with initial and boundary conditions, in Section 2.2, we now turn to a description of the domain and boundary conditions that specify the flow in the liquid in a computationally tractable manner. The assumptions that lead to numerical approximations in this section are specified in sections 2.1 and 2.2. We detail them here as appropriate.
Rectangular domain with mass flux
22Following from the previous section, the liquid drop is described by a twodimensional flow field. As the drop interacts with the gas layer, its shape changes. The drop begins to deform at the interface, close the the middle, at x = 0. With this observation, we choose a region of interest, as shown in Figure 1(b), that stretches outwards from x = 0 and upwards from y = h(x, t).
23We make an additional approximation that the flow in the liquid at y = h(x, t) can be approximated by the flow at y = 0. We can remove the spatial dependence because the liquid-gas interface is slender. We simulate the control volume with and without a temporal dependence y = h(t), and do not observe a significant change in results. With these approximations, we are able to choose a rectangular, inertial control volume, stretching outwards from x = 0 and upwards from y = 0, whose size is chosen based on the relevant physical scales (Section 2.4). With the use of symmetry in the domain, as described in Section 2.2, we need to model only half of the control volume. We choose to model the right half, leading to the computational domain shown in Figure 1(c). In subsequent sections, we describe the boundary conditions at each of the boundaries in the computational domain.
Treatment of the viscous term and bottom boundary condition
24Initially, the drop is moving at uniform vertical velocity, meaning that all spatial velocity gradients are zero, and ∇ 2 u l = 0. Deformation of the drop begins at x = 0. Our model consequently assumes that the shear stresses are small away from this region where the drop has deformed. In a two-dimensional flow, vorticity is introduced only through shear stresses at the boundary. The vorticity therefore spreads into the interior of the drop from the deformed interface. We thus model the drop as having a region close to (x, y) = (0, 0), where viscosity is important, while far away from this region, ν l ∇ 2 u l makes a negligible contribution to equation (2.3). A schematic of the region where viscosity is important in the deformed drop is shown by yellow in Figure 1(b) and (c). Consequently, we model the domain as having one boundary where viscous effects are important, which is the bottom boundary.
25At the bottom boundary, we apply the boundary conditions specified in equations (2.6) and (2.7). Equation (2.7) is enforced through a condition on the gradient of the horizontal velocity, 3), by noting that the viscous term, ν l ∇ 2 u l is relatively small. Additionally, the velocity gradients in the liquid are initially zero. Away from the effects of the gas layer, the nonlinear advective term in the momentum equation, u l · ∇u l in equation (2.3), will also be small. With these approximations, we obtain a simplified momentum equation for the liquid at these boundaries,
26(2.9)
27We use this simplified momentum equation to obtain velocity boundary conditions at the interior boundaries. Taking the divergence of equation (2.9) and noting that the flow in the liquid is incompressible, we obtain ∇ 2 p l = 0. Knowing the pressure at the bottom boundary, and approximating the liquid as a semi-infinite domain, we get an analytical expression for the pressure at the interior boundaries,
28(2.10)
29Assuming that the domain is larger than the region where the pressure from the gas is non-zero, we numerically integrate over a finite length of the domain boundary to get the pressure at a particular (x, y) location along the interior boundaries. Given the pressure at the boundary, we integrate equation (2.9) in time to obtain velocity boundary conditions at the interior boundaries. The size of the region where vorticity is significant determines the size of the domain, and the locations of the interior boundaries, which are calibrated in simulation.
Choice of domain
30We simulate the coupled dynamics of the liquid and gas over the time interval 0 t t end , for a simulation domain of 0 x L and 0 y βL, where β is the aspect ratio, for the liquid, and a domain of 0 x L for the gas. To set the size of the domain and duration of the simulation, we consider the initial dynamics as the drop falls toward the surface, and compare to the theoretical results of the potential flow theory (Mandre et al. 2009). We use the scaling results of the potential flow theory for the centre of the gas layer, h(x = 0, t). The scaling analyses predict the height H * at which the pressure buildup in the gas layer causes the drop to undergo significant deformation and develop a stagnation point at x = 0, forming a dimple.
31According to potential flow theory, the compressibility of the flow in the gas is determined by the parameter
32which is the ratio of the initial gas pressure to the pressure that would have built up in the gas were treated as incompressible.
33The results of Kolinski et al. (2014b), showing the relationship between ν l and the drop profile, correspond to −1 < 1, meaning that the flow in the gas can be considered to be incompressible. While our simulations model the full incompressible flow in the gas, we use this approximation to set the initial conditions. In this regime, we have the estimate
34where St = µ g /(ρ l V R) is defined as the inverse of a modified Stokes number. † This scaling result is strictly valid for inviscid flow, ν l = 0, Re → ∞, and no surface tension at the liquid-air interface, σ = 0, We → ∞. While our simulations incorporate liquid viscosity and surface tension, equation (2.12) still provides a good estimate for the height at which the stagnation point forms, and is useful measure of the physical scales of interest. We therefore set the initial height to be a multiple of H * , so that
35for a dimensionless constantH 0 . Similarly, we set t end =t end RSt 2/3 /V , and based on the parabolic shape of the initial profile we choose L =LRSt 1/3 , whereL and t end are dimensionless constants.
Numerical implementation
36In this section, we describe the numerical implementation of the mathematical model described in Section 2.2. Throughout the liquid domain, we compute and record the liquid velocity u l and pressure p l . In the gas layer, compute and track the height h and pressure p g . A reader may skip the remainder of section without loss of continuity. The flow-field variables φ are computed at discretized time steps, with simulation time t = n∆t, where ∆t is the time step discretization used in the simulation, and n is an integer counter. Given values of field variables φ (n) = φ(t = n∆t), the goal of the simulation is to compute the field variables φ (n+1) . This section describes the numerical method for doing so, for the liquid flow-field variables, u l and p l , and gas flow-field variables, h and p g .
373.1. Projection method The core of the algorithm is based on Chorin's projection method (Chorin 1967(Chorin , 1968, with further developments in the computational techniques behind the fluid simulation method (Bell et al. 1989;Almgren et al. 1998). In particular, the work of Almgren et al. (1996) introduces the approximate projection method discretized using the finite-element method (FEM). The numerical methods are described in detail by Sussman et al. (1999), Yu et al. (2003Yu et al. ( , 2007, and Rycroft et al. (2020). Here, we sketch the main features of these methods.
38We solve for u l and pressure p l in the liquid domain by solving the momentum equation for the liquid, equation (2.3), subject to incompressibility of the liquid, as specified in equation (2.2). In describing the method for the solution of the field variables in the liquid domain, for the remainder of this section, we drop the subscript l.
39The field variables are defined on a two-dimensional grid, discretized into rectangular cells of size ∆x by ∆y, as shown in Figure 2. The velocities u n are located in the cell-centers, and the pressures p n are located at the cell corners. To advance from step n to n + 1, we first compute an intermediate velocity u * according to
40Here, the viscous stress terms ν∇ 2 u and ν∇ 2 u * evaluated using a standard fivepoint finite-difference stencil. Due to the presence of the u * on the right hand side of equation (3.1) it must be solved implicitly. We use a multigrid method to solve the resulting linear system. The advective term [u · ∇u] n+1/2 is evaluated at the half-timestep n + 1/2 using the second-order Godunov upwinding scheme of Colella (1990). This is performed by extrapolating the velocity in each cell to midpoints of the four edges using a first-order Taylor expansion. Doing this requires that the gradient of the velocity is first evaluated at each cell center, which is done using the fourth-order monotonicity-limited scheme of Colella (1985). This scheme uses a five-point stencil in each coordinate, therefore requiring information from two grid points in each orthogonal direction.
41After this procedure, each edge has two velocities from the two adjacent cells. A Godunov upwinding procedure is then used to select one based on the direction of the velocity. An intermediate marker-and-cell (MAC) projection is then used to adjust the velocities to satisfy a discrete zero divergence criterion, so that the net mass flow out of each cell is zero (Bell et al. 1991;Sussman et al. 1999). After this, the advective term can be accurately evaluated using centered finite differences of the upwinded edge-based velocities (Sussman et al. 1999;Yu et al. 2003Yu et al. , 2007Rycroft et al. 2020).
42The velocity at step n + 1 can be calculated from the intermediate velocity by evaluating the pressure gradient term,
43but this requires knowledge of the pressure field p n+1 , and there is no explicit update equation for this field in the incompressible limit. To proceed, we take divergence of equation (3.2) and enforce that ∇ · u n+1 = 0, according to equation (2.2). Hence,
44which is a Poisson equation for the pressure that can be solved. Once p n+1 is known, equation (3.2) can be used to evaluate u n+1 and complete the timestep from n to n + 1. We solve equation (3.3) using the FEM discretization of Almgren et al. (1996). Here, each pressure value at a cell corner has a corresponding bilinear hat function over the four neighboring grid cells (Yu et al. 2003(Yu et al. , 2007Rycroft et al. 2020). Once the pressure is computed, the gradient in equation (3.2) is evaluated using centered finite differences of the pressure field values.
453.2. Implementation of boundary conditions: ghost layers The boundary conditions are implemented by means of ghost layers. Around the boundaries of the two-dimensional liquid domain, there are two layers of additional grid points. Two layers are required in order to evaluate the fourth-order monotonicity-limited derivatives arising from the advective term. The boundary conditions are specified in these layers of grid points. These conditions are then used to compute the necessary gradients in equation (3.1).
46The velocity boundary conditions at the top and right boundaries of the liquid domain, corresponding to the interior of the drop, and described in Section 2.3.3, are obtained through substituting the expression for pressure given by equation (2.10) in the expression for velocity at these boundaries, equation (2.9), and then using Simpson's rule to numerically integrate the pressure along these boundaries.
Solution of the gas layer equations
47The field variables h and p g for the gas layer are discretized in accordance with the discretization for the field variables for the liquid. Specifically, the pressure field p g is stored at grid points in the same locations along the horizontal axis as the pressure field in the liquid, as shown in Figure 2. The height h is stored at grid points in the same locations along the horizontal axis as the velocity field u in the liquid.
48As shown in Appendix A.1, substituting the equation of state (2.5) into the lubrication equation (2.4) yields
49where the g subscript on the pressure has been dropped. We solve for this equation as follows: (i) p is known at the time step t (n) = n ∆t (ii) h, h t , and therefore h x are known at time step t (n) = n ∆t (iii) solve for p at time step t (n+1) = (n + 1) ∆t (iv) use p as a boundary condition for the flow in the liquid, to obtain v = h t at time step t (n+1) To numerically solve equation (3.4) we discretize the spatial derivatives using second-order centered finite differences. To avoid a timestep restriction, we make use of the backward Euler method for discretizing the temporal derivative. Hence we obtain the discretized form 12 µ γh
50that can be solved for the gas pressure p n+1 i . In equation (3.5), the termsh,h t , and h x must be evaluated at the location of p n+1 i . Since the height field is staggered with respect to the pressure field, this is done via linear interpolation and centered differencing, so that
51Due to the products of pressure terms on the right hand side of equation (
Code implementation and parameter choices
52The simulations are performed using a custom code written in C++ using the OpenMP library for multithreading. The code makes use of the Templated Geometric Multigrid (TGMG) library for solving the linear systems that arise when solving for the fluid. Each timestep requires four linear system solves: (1) to apply the MAC projection, (2) to apply the approximate FEM projection, and (3,4) to solve for the x and y velocity components when treating the viscous stress term implicitly. The code accepts a text configuration file as input, which sets all of the physical parameters, and describes the computational domain. The code and sample text configuration files are available on GitHub-see the data availability statement. The simulations are performed on a M × N grid for the liquid domain, and grid of length M for the gas layer. We choose the grid spacings to be equal, so that ∆x = ∆y. This implies that the aspect ratio β is equal to N/M .
53Since the second derivative terms in both the liquid domain and the gas layer are handled implicitly, and the surface tension term in (2.6) is small, there is no timestep restriction in the simulation that scales like ∆x 2 (Heath 2002). We therefore choose a candidate timestep to satisfy ∆t = ζ∆x for a dimensionless constant ζ, based on satisfying Courant-Friedrichs-Lewy conditions (Courant et al. 1967) for the advective terms in the liquid domain and gas layer.
54The simulation outputs N f frames over the duration of the simulation. Thus the time between frames is t f = t end /N f . In general, an integer multiple of candidate timesteps will not exactly match t f , so that c∆t < t f < (c + 1)∆t. Because of this, the actual timestep is slightly adjusted to ∆t = t f /(c + 1) and c + 1 timesteps are taken between frames. Several examples demonstrating the performance of the code are provided in Appendix B.
Results and discussion
554.1. Initial dynamics and comparison with potential flow theory To validate our approach, we first simulate the initial dynamics and we compare with the scaling results of potential flow theory that were introduced in Section 2.4 for the height of the stagnation point H * ( Mandre & Brenner 2012). We use the baseline physical parameters given in Table 2. Since we only want to resolve initial deceleration of the drop, and not the formation of the thin gas layer, we use the computational parameters in column 3 of Table 3, which feature a relatively coarse numerical grid of size 2048 × 256. To compute H * , we examine the sequence of height profiles from the simulation and find the time t * when h t (0, t * ) = 0, from which H * = h(0, t * ). As described in Section 2.4, at low initial velocities the flow in the gas layer can be treated as incompressible, and the scaling result H * = RSt 2/3 can be derived. Mani et al. (2010) extend this analysis to look at higher initial velocities, where compressibility of the gas becomes important. This happens at a height of
56where the subscript ' * ' is used to distinguish from the stagnation height. By modeling the subsequent drop deceleration below H * assuming gas compressibility, Mani et al. (2010) derive the result
57for the stagnation height. We first performed sequences of simulations using low initial velocites over the range from V = 0.15 m/s to V = 1.35 m/s, using four different liquid viscosities from ν l = 10 mm 2 /s to ν l = 300 mm 2 /s. We also ran two sets of simulations with the surface tension set to half and zero its baseline value. Figure 3(a) shows a plot of H * /(RSt 2/3 ) as a function of −1 , with these six sets of data points in the left half of the domain where −1 < 1 and gas compressibility is not important. We see that H * /(RSt 2/3 ) is approximately constant and is in agreement with equation (2.12). To examine the trends more clearly, Figure 3(b) shows a zoomed-in plot of the same data. As expected, the best agreement is achieved for the smallest value of ν l and for zero surface tension. At small −1 the values of H * /(RSt 2/3 ) are slightly lower for the cases of larger ν l and σ. This hints at the limits of the potential flow theory predictions (Mandre et al. 2009;Mani et al. 2010).
58We also performed two sequences of simulations with higher initial velocities from V = 1 m/s to V = 18 m/s using ν l = 10 mm 2 /s, to examine the compressible regime. However, we note from equation (2.13) that our usual choice for initial height scales ν l = 10 mm 2 /s ν l = 30 mm 2 /s ν l = 100 mm 2 /s ν l = 300 mm 2 /s σ = 0.036 N/m, ν l = 10 mm 2 /s σ = 0, ν l = 10 mm 2 /s FIH, ν l = 10 mm 2 /s FIH, γ = 1, ν l = 10 mm 2 /s H * /(RSt 2/3 ) −1 Figure 3: (a) Plot of rescaled initial stagnation height H * /(RSt 2/3 ) as a function of the inverse of the dimensionless compressibility parameter = P0RSt 4/3 /µgV , for a range of different liquid viscosities ν l , surface tensions σ, and gas parameters γ. When not otherwise stated, baseline parameters from Table 2 are used. By default, the drop starts from a height H0 scaled according to equation (2.13). For ν l = 10 mm 2 /s, to account for compressibility effects, data from two simulation sequences that use a fixed initial height (FIH) based on substituting V = 2 m/s into equation (2.13) according to V −2/3 whereas from equation (4.1), the height where compressibility is important scales according to V 1/2 . To fully capture the compressible effects, the drop must start higher than H * , and thus the usual initialization procedure is problematic for large V . For these simulations we therefore set H 0 at a fixed value based on using V = 2 m/s in equation (2.13). We ran two sequences of simulations using the usual choice of γ = 1.4, and another with γ = 1; as shown in Figure 3 these results are in very good agreement with the scalings of 1/3 and , respectively, that are expected from equation (4.2).
Effect of liquid viscosity on drop profile
59With the initial dynamics validated, we now turn attention to simulating the continued spreading of the liquid drop on a layer of gas, and the effect of viscosity on the evolution of the liquid-gas interface. We use the same baseline physical parameters given in Table 2, but since we must now accurately resolve the gas layer as it becomes very thin, we increase the simulation resolution as shown in columns 4 & 5 of Table 3. Furthermore, since the deviation of the interface from the solid surface happens later for high viscosities (Kolinski et al. 2014b), we use a larger domain and longer duration when ν l > 20 mm 2 /s, as indicated in column 5 of Table 3. We begin by using the baseline initial drop velocity of V = 0.45 m/s to match the experiments of Kolinski et al. (2014b). Figure 4 shows the height profiles for three different simulations using liquid viscosities of ν l = 10 mm 2 /s, ν l = 32 mm 2 /s, and ν l = 100 mm 2 /s. Panels (a), (b), and (c) show a large-scale view, where the initial parabolic profile approaches the surface, begins to decelerate and deforms to create the dimple. After the drop continues to fall, a thin layer of gas from x 200 µm is created and spreads outward. In all three simulations, the height profiles have a front that sweeps outward as more liquid approaches the surface.
60h (µm) Figure 4: Profiles of the height h(x, t) of the gas layer at intervals spaced 6.004 µs apart, corresponding to an integer multiple of the frame output interval t f described in Section 3.4, for liquid viscosities of (a) ν l = 10 mm 2 /s, (b) ν l = 32 mm 2 /s, and (c) ν l = 100 mm 2 /s. Panels (d), (e), and (f) show the same data as (a), (b), and (c), respectively, but with a smaller range of h to highlight the lift-off behavior. For each profile, the global minimum, which follows the leading tip, is also plotted on the curves; once the global minimum is no longer at the leading tip, it is no longer plotted. The dashed box in panel (d) marks a further zoomed-in region shown in Figure 6. Figure 5 shows snapshots of the pressure and vorticity in the liquid domain for the simulation with with ν l = 10 mm 2 /s. At t = 24.02 µs, the drop is still approaching the surface. The pressure builds up close to x = 0. Since the liquid near x = 0 is decelerated faster, this creates a region of negative vorticity over 0 x 250 µm. By t = 72.05 µs, the thin layer of gas has formed, and the position of the front from Figure 4(a) is marked with a small triangle. There is a region of large positive pressure behind the front, a small region of negative pressure ahead of it. The contour of zero vorticity follows the front as it moves outward to t = 96.07 µs. Figure 4(d-f) shows zoomed-in plots of the height profiles in the thin layer for the three simulations. Behind the front, the height profiles align on top of each other, and trace out relatively stable envelopes, appearing as thick blue lines in Figure 4(d-f). In all three cases the envelopes initially slope downward before curving upward, indicating the deviation of the liquid-gas interface away from the solid surface, prior to contact between the solid and the liquid. This is We now quantify the lift-off time and position. While the envelopes in Figure 4(df) are relatively well defined, the height profiles shift slightly in over time, make it difficult to precisely define the moment of lift-off. However, close inspection of Figure 4(d-f) shows that in all cases, the height profiles have a leading tip that dips slightly below the envelope that forms. We found this to be a well-defined feature that occurs universally across all of our simulations. The tip position can be determined as the global minimum of the height profile at each time, and provides a way to precisely define when lift-off occurs, at the moment when the leading tip starts to rise. Figure 6(a) shows a further zoomed-in plot of the height profiles during lift-off for the case of ν l = 10 mm 2 /s. Once the leading tip has risen sufficiently, then it is no longer the global minimum. However, since lift-off has always occurred by the time the leading tip is rising, this does not cause any difficulty in identifying the lift-off time. It is natural to consider whether the leading tip is a real feature or a numerical artifact that emerges from discretization error and limited resolution. To address this, Figure 6(b) shows further zoomed-in region, depicting the leading tip in detail. Here, the blue circles show individual simulation grid points. The grid spacing is substantially smaller than the width of the leading tip, indicating that it is a real feature. Further numerical tests of accuracy are provided in Appendix C.
61The width of the tip is governed by surface tension. While many of our simulations use the baseline value of σ = 0.072 N/m from consider reduced surface tension where the tip becomes sharper. In this case, there can be numerical difficulties with in identifying the minimum due to per-gridpoint variations the height profile. To create a scheme for identifying the minimum across all simulations, we therefore smooth the height profile using a Gaussian kernel with length scale 1.2 µm. This results in a minimal alteration in the leading tip position (Figure 6(b)), but improves robustness when analyzing the simulations. Numerically, the global minimum is found by identifying the local minima of the cubic interpolant of the smoothed profile, and selecting the smallest one. Figure 7 shows the trajectories of the leading tip for a range of liquid viscosities from ν l = 2.5 mm 2 /s to ν l = 160 mm 2 /s. The moment of lift-off is indicated on each trajectory, by identifying the global minimum of each curve. Two regimes are visible. For ν l 20 mm 2 /s, increasing viscosity results in the trajectory reaching a lower value of h, and the lift-off position moving slightly outward. For ν l 20 mm 2 /s, increasing viscosity results in the trajectory reaching a higher value of h, and the lift-off position moves outward substantially. Small undulations in the trajectories are visible for ν l 20 mm 2 /s, which arise due to capillary waves in the height profile. This can have a substantial effect on the measured lift-off time, depending on which undulation achieves the global minimum. For example, there is a large difference between ν l = 20 mm 2 /s and ν l = 25 mm 2 /s. In Figure 8 we show trajectories for the case when the initial drop velocity is doubled to V = 0.9 m/s. The scale of h is smaller in the plot, but the relative amplitude of the capillary waves is increased. As a result they have a noticeable effect of lift-off times at lower viscosities, with a large difference in lift-off time between ν l = 10 mm 2 /s and ν l = 13 mm 2 /s. h (µm)
62x (µm) ν l = 2.5 mm 2 /s ν l = 4 mm 2 /s ν l = 6.5 mm 2 /s ν l = 10 mm 2 /s ν l = 13 mm 2 /s ν l = 16 mm 2 /s ν l = 20 mm 2 /s ν l = 25 mm 2 /s ν l = 32 mm 2 /s ν l = 40 mm 2 /s ν l = 50 mm 2 /s ν l = 65 mm 2 /s ν l = 100 mm 2 /s ν l = 160 mm 2 /s t (µs) h (µm)
63x (µm) ν l = 2.5 mm 2 /s ν l = 4 mm 2 /s ν l = 6.5 mm 2 /s ν l = 10 mm 2 /s ν l = 13 mm 2 /s ν l = 16 mm 2 /s ν l = 20 mm 2 /s ν l = 25 mm 2 /s ν l = 32 mm 2 /s ν l = 40 mm 2 /s ν l = 50 mm 2 /s ν l = 65 mm 2 /s ν l = 100 mm 2 /s ν l = 160 mm 2 /s t (µs) and time (h , r , t ) when the drop enters the evanescent field, and assume that the drop is undeformed at this position, so that h = h 0 − V t + r 2 /(2R 2 ). Hence h 0 can be calculated, and therefore the time origin is t alt Figure 9 shows the lift-off times τ as a function of viscosity for seven different values of initial velocity V . The data points from Kolinski et al. (2014b) are also plotted. Even though the experiments of Kolinski et al. (2014b) are performed in a three-dimensional axisymmetric configuration, there is good quantitative agreement with the two-dimensional simulation results.
64Overall, the results are consistent with the ν 1/2 l scaling result, but the additional precision provided by the simulations reveals a more complicated relationship between ν l and τ . For each value of V , the data points exhibit some fluctuations, which are due to the undulations visible in Figure 7 where the global minimum defining the lift-off time may abruptly change. While a ν 1/2 l scaling appears consistent with the high impact velocities where V 0.75 m/s, the data for low impact velocities looks better fit to ν η l , where there are two different values of η with a change at ν l ≈ 20 mm 2 /s. This is also consistent with the two different types of behavior observed in Figure 7.
65The slope of data points for small values of ν l in Figure 9 is strongly affected by the choice of time origin, and may affect the conclusions about the relevant exponents. To investigate this further, we replotted the data using t alt 0 as the time origin; this resulted in small shift upwards of the data (since t alt 0 < t 0 in all cases), but did not affect the overall patterns. As a third approach, we defined a time origin t dat 0 directly from the data, by finding the best fit to the model τ dat = t − t dat 0 = γ(ν l /ν sc ) α for the three free parameters (t dat 0 , γ, α). Here ν sc = 20 mm 2 /s is chosen as an arbitrary viscosity scale. Specifically, for the data points (ν l,k , t k ), we minimized the residual We used the L-BFGS-B algorithm for bound-constrained nonlinear optimization (Byrd et al. 1995), and enforced t dat 0 < 0.999t min and α > 0, where t min = min k {t k }. We started the minimization using multiple initial guesses with t dat 0 ∈ [0.7t min , 0.9t min ] and α ∈ [0.4, 1.2]. For each pair (t dat 0 , α) the value of γ is set so that the bracketed expression in equation (4.3) is zero for the ν l = 20 mm 2 /s data point, so that the initial guess should be close to the minimum of S. Figure 10 shows a replotting of the data relative to this time origin. The data for V = 0.15 m/s is omitted from this plot since the lift-off times are non-monotonic for the smallest values of ν l . For each other value of V , the minimization procedure converges to a single unique solution for all initial guesses. With this definition of time origin, all of the data is more consistent with a linear scaling relationship as opposed to the square root relationship in Figure 9. Panels (b), (c), and (d) show the values of the fitted parameters, and demonstrate that α ∈ [1.02, 1.28] in all cases. The average residual over the six different values of V isS = 0.2536. If the exponent is constrained to α = 1 2 to match the exponent of Kolinski et al. (2014b) then the average residual increases toS = 0.3855 and the data points exhibit an upward curve a log-log plot that systematically deviates from a power law. Constraining the exponent to α = 1 results inS = 0.2805 and a better fit to the model that is similar to the three-parameter fit shown in Figure 10. See the Appendix D for additional discussion and parameter fits. These results highlight that any theoretical analysis of the relationship between τ and ν l would need to take into account the sensitivity of defining the time origin. Figure 11(a) shows lift-off times (relative to t 0 ) for for three different drop radii: the original value of R = 1.5 mm, and as well as half and double this value. Increasing the radius increases the lift-off time, similar to the effect of lowering velocity in Figure 9.
The role of surface tension
66The simulations allow us to change the surface tension in ways that would be difficult to do experimentally, to investigate the importance of this physical effect. Changing the surface tension allows us to suppress or accentuate the capillary waves in the liquid-gas interface, as shown in Figure 7, to investigate the effect of surface tension on the phenomenon of lift-off. Following the same procedure as in Section 4.2, we calculated the lift-off times for σ = 0.0072 N/m, σ = 0.036 N/m and the σ = 0.144 N/m, corresponding to a tenth, half, and double the usual surface tension values, respectively. Figure 11(b) shows that as surface tension is reduced, the lift-off times increase markedly. For the case of σ = 0.0072 N/m lift-off is eliminated for large values of ν l , with the leading tip continuing to decrease over the course of the simulation. Figure 11(b) strongly suggests that surface tension is important in creating lift-off. Reducing from σ = 0.036 N/m to σ = 0.0072 N/m almost doubles the lift-off times in most cases, and one can ask whether lift-off will be completely eliminated in the limit as surface tension vanishes. To examine this, we ran a sequence of simulations with σ = 0, with several representative examples for ν l = 10 mm 2 /s, ν l = 32 mm 2 /s, and ν l = 100 mm 2 /s shown in Figure 12. This is a difficult limit to probe in our simulations, since as discussed for Figure 6, surface tension regularizes the leading tip. Figure 13 shows close-ups of the profiles for ν l = 10 mm 2 /s, indicating that leading tip becomes as sharp as a single grid point, and the minima of the profiles can fluctuate non-monotonically depending on exactly how the tip aligns with the computational grid. However, in this case the profile smoothing procedure introduced in Section 4.2 is sufficient to extract smooth leading tip trajectories.
67The very sharp leading tip causes another difficulty in the simulations: as the tip is advected across the computational grid, there will be an effective numerical diffusion, which will act as though a small surface tension has been imposed. This is an important issue since Figure 11(b) already confirms that small surface tensions can considerably alter the behavior. To test this, we compared simulations x (µm) Initial profile Height profiles Minimum height
68h (µm) Figure 12: Profiles of the height of the gas layer at intervals spaced 6.004 µs apart for liquid viscosities of (a) ν l = 10 mm 2 /s, (b) ν l = 32 mm 2 /s, and (c) ν l = 100 mm 2 /s using zero surface tension. Panels (d), (e), and (f) show the same data as (a), (b), and (c), respectively, but with a smaller range of h to highlight that no lift-off occurs in this case. For each profile, the global minimum, which follows the leading tip, is also plotted on the curves. The dashed box in panel (d) marks a further zoomed-in region shown in Figure 13.
69with the baseline parameters to those on a finer grids (Appendix C). Unlike the case for finite surface tension, the simulations on a finer grids are noticeably different, with the profiles reaching lower heights and the leading tip not curving up as rapidly. Since liquid viscosity also regularizes the evolution of the height profile, these discrepancies are more significant when ν l is small. We calculated the trajectories of the leading tip for a range of different liquid viscosities ν l . For 13 mm 2 /s < ν l 40 mm 2 /s we switched to a larger computational grid of size 8192 × 1536, and for ν l 13 mm 2 /s we switched to a very large grid of size 12288 × 2304. For ν l 44 mm 2 /s we were not able to simulate on a large enough grid to adequately resolve the numerical diffusion, and hence results are omitted. Figure 14 shows the trajectories in both the (x, h) and (t, h) planes. In all cases, the leading tips continue to decrease. While our results only examine one particular set of physical parameters (from Table 2) our results strongly suggest that surface tension is required for lift-off to occur.
70We also found a regime where the effect of surface tension can qualitatively affect the lift-off behavior. Figure 15 h (µm)
71x (µm) ν l = 6.5 mm 2 /s ν l = 10 mm 2 /s ν l = 13 mm 2 /s ν l = 16 mm 2 /s ν l = 20 mm 2 /s ν l = 25 mm 2 /s ν l = 32 mm 2 /s ν l = 40 mm 2 /s ν l = 50 mm 2 /s ν l = 65 mm 2 /s ν l = 100 mm 2 /s ν l = 160 mm 2 /s t (µs) Figure 14: Trajectories of the global minimum of the drop profile in (a) the (x, h) plane, and (b) the (t, h) plane for a range of different liquid viscosities, using the baseline parameters and zero surface tension. Simulations with 13 mm 2 /s < ν l 40 mm 2 /s use a grid of size 8192 × 1536, and simulations with ν l 13 mm 2 /s use a grid of size 12288 × 2304. initial velocity, V = 0.3 m/s and low viscosity, ν l = 6.5 mm 2 /s. In this regime, prominent capillary waves are generated outside the thin gas layer, which grow larger as time progresses. Figure 15(b) shows a zoomed-in plot of the profiles in the thin gas layer. Lift-off appears to occur at x ≈ 280 µm and the leading tip starts to rise. However the influence of the capillary wave causes the tip to move downward again, ultimately dipping below the previous minimum height. It is possible that the tip may move upward again at a later point, but we were unable to track the behavior further. The sharp features visible in Figure 15 (e.g. at (x, h) ≈ (700 µm, 100 µm)) cause the simulation to terminate early, since the Newton-Raphson iterations can no longer be solved to an acceptable level of accuracy.
Conclusion
72In this paper we investigated the viscous effects in the early stages of drop impact on a surface. We coupled a Navier-Stokes solver to model flow in the interior of the drop with a partial differential equation to model the pressure and height in the thin gas layer between the drop and the surface. We demonstrated that our simulations are consistent with previous work using potential flow theory where flow in the liquid is assumed incompressible (Mandre et al. 2009;Mani et al. 2010;. However, our simulations allow us to go beyond this previous work and investigate viscous effects. We showed that at low initial drop velocities, viscosity plays a weak role in the deceleration of the drop, and the height H * at which it reaches a stagnation point. Using our simulations, we are able to recreate the lift-off phenomenon that was experimentally reported by Kolinski et al. (2014b). We have therefore demonstrated that with the reduced model described in Section 2, our simulations are able to capture lift-off. Our numerical results for the lift-off time τ are consistent with the ν 1/2 l scaling relationship found by Kolinski et al. (2014b). However, the additional precision afforded by the simulations indicates that the precise relationship between τ and ν l is more complex, due to the effects of capillary waves and the sensitivity of the results to the definition of the time origin. The simulation allows us to probe conditions that would be difficult to observe experimentally. Using this capability, our results provide strong evidence that surface tension is necessary for lift-off to occur.
73There are a number of possible next steps. The simulations provide a detailed view of the lift-off phenomenon, and all aspects (e.g. stress, velocity, vorticity) can be calculated. The results may therefore guide theoretical analyses of lift-off, and may allow scaling relationships similar to those presented by Mandre et al. We opted to use a fixed-grid simulation for simplicity in coupling the liquid domain and gas layer together, and as described in Appendices B and C we are able to obtain accurate simulation results in a reasonable timeframe. However, it is likely that the behavior at the bottom of the liquid domain, close to the liquid-gas interface and near the leading tip, dominates. Because of this, the simulation is a good candidate for use with mesh refinement (Berger & Oliger 1984;Guittet et al. 2015), where the liquid-gas interface and the region around the leading tip could use a finer mesh. This could result in substantial computational savings, although the liquid-gas coupling would become more complicated and numerical errors would be harder to quantify.
74The simulation could also be generalized to use cylindrical axisymmetric coordinates. The overall numerical approach would stay the same, but additional radial factors would have to be incorporated throughout the simulation. The Navier-Stokes solver that we employ has already been demonstrated to work in axisymmetric coordinates (Yu et al. 2003(Yu et al. , 2007, but the routines that involve the gas layer would require modifications. For example, the kernel in equation (2.10) would need to be modified. While the current simulation is already in good agreement with the experimental results of Kolinski et al. (2014b), an axisymmetric solver would allow for a near-perfect comparison. This would, for example, help elucidate further the precise relationship between lift-off time τ and liquid viscosity ν l .
75Experiments by Thoroddsen and coworkers have used interferometry to examine the evolution of the gas layer across a full two-dimensional surface . Their results show a number of interesting effects beyond the scope of our current model, such as a breakage of rotational symmetry and the formation of ruptures in the air film Li et al. 2017). They have also examined the case of nano-rough surfaces (Langley et al. 2018). To connect with this work, our model could be generalized to a full three-dimensional simulation of the liquid and two-dimensional simulation of the gas-layer. This would be substantially more computationally challenging, and would be a good candidate for using parallel computing and adaptive mesh refinement (Zhang et al. 2019).
76where the terms are given by
77Solving equation (A 6) can be done efficiently using LAPACK's tridiagonal solver dgtsv (Anderson et al. 1999). In most cases, since the pressure does not change by a large amount per timestep, fewer than five iterations are required in order to achieve numerical convergence.
78Appendix B. Tests of the simulation performance Table 4 contains statistics about the performance of the code for several simulations that were referenced in the main text. All tests were run using ten threads on an Ubuntu Linux computer with a ten-core 2.8 GHz Intel Core i9-10900 CPU, and the code was compiled with GCC version 10.3. The initial dynamics simulations only need to capture the large-scale deformation of the drop, and can therefore be run on relatively coarse computational grids. Consequently, a typical simulation takes approximately 40 min of wall clock time to run. A large portion of the computation time is spent on solving the linear systems with the multigrid method. This should be expected since the multigrid V-cycles involve repeated scans over the entire grid. Collectively, the four multigrid solves take up 44% of the total computation time. The MAC and FEM linear systems take slightly more time and V-cycles, since apart from where Dirichlet boundary conditions are applied, these linear systems are only weakly diagonally dominant. By contrast, the linear systems for the implicit viscous term are strictly diagonally dominant. We note that the linear systems for the u and v velocity components are slightly different, since at x = 0 we apply different boundary conditions, (u, v x ) = (0, 0). Hence it is not possible to vectorize this system, and there is no substantial computational advantage over solving for the updates to u and v separately.
79Calculating the boundary conditions according to (2.10) requires applying Simpson's rule along the M gridpoints on the bottom edge. This must be done for the top edge of length M , and the right edge of length N , requiring O(M (M + N )) work in total. This is sizable amount of work and takes 3.4% of the total computation time. Even though the gas layer involves several Newton steps and tridiagonal matrix solves, it only needs O(M ) work and therefore takes up a minimal amount of the total computation time.
80Table 4 also contains performance information for two lift-off simulations, which are run on larger computational grids to obtain high accuracy in the height of the gas layer. The wall clock time per timestep increases from 81 ms to 1.041 s. Based on linear scaling with gridpoints, we would expect 81 ms to increase to (81 ms) 5120×960 2048×256 = 760 ms. Thus the performance is comparable, but slightly worse Initial dynamics, ν l = 10 mm 2 /s Lift-off, ν l = 10 mm 2 /s than, linear scaling, which may be due to reduced cache efficiency for a larger grid. Overall, the percentages spent on the different parts of the simulation are comparable, although the fraction spent on multigrid V-cycles increases slightly, and the fraction spent on the gas layer (which scales like O(M )) decreases. In particular, more V-cycles are required to handle the implicit viscosity linear system when ν l is larger. x (µm) Figure 17: Plots of the height profiles spaced 6.004 µs apart for three different resolutions using the baseline parameters and liquid viscosity ν l = 10 mm 2 /s, with (a) surface tension σ = 0.072 N/m, and (b) zero surface tension.
Appendix C. Tests of the simulation accuracy
81The simulation domain size, which is set via the non-dimensional parameterL in Table 3 and the domain aspect ratio β, may affect on the results. Since the boundary conditions on the top and right boundaries are based on an inviscid assumption, the domain size affects the extent to which viscosity is resolved. In addition, when solving for the pressure in the gas layer, the boundary condition of p = P 0 is imposed at x = L, and thus extending the domain affects the influence of this boundary condition on the simulation. To test the sensitivity of the simulation results to the domain size, we performed simulations where either the horizontal dimension, vertical dimension, or both dimensions were extended by a factor of 1.5. In each of these simulations the grid spacings ∆x = ∆y were kept the same, so that the horizontal extension increases the grid points from 5120 to 7680, and the vertical extension increases the grid points from 960 to 1440. Figure 16 shows the height profiles in the thin gas layer for the four simulations, for (a) ν l = 10 mm 2 /s and (b) ν l = 100 mm 2 /s. The vertical extensions give visually indistinguishable curves, indicating that vertical dimension is sufficiently large to resolve the viscous effects even for the larger value of ν l . The horizontal extensions create a minor vertical shifts in the curves, suggesting that the pressure boundary condition has an effect on the results. However, these shifts are still acceptably small, and result in no substantial change to the position and time at which lift-off occurs.
82We also examined the sensitivity of the results to the numerical grid size. Figure 17(a) shows height profiles for a simulation using the baseline parameters with liquid viscosity ν l = 10 mm 2 /s and surface tension σ = 0.072 N/m. Simulations with higher resolutions of 8192 × 1536 and 12288 × 2304 are also plotted, resulting in visually indistinguishable results. Figure 17(b) shows height profiles when the surface tension is set to zero and all other parameters are kept the same. In this case, as discussed in Section 4.3, the leading tip becomes very sharp since the regularizing effect of surface tension is removed. As the tip moves across the grid, there will be a resolution-dependent numerical diffusion that will act as an effective small surface tension. Thus in this case there is a small shift in the height profiles. While this remains small, it makes the precise behavior of the leading tip Table 5: Values of the residual from equation (D 1) for the six different optimizations considered. The first column shows the additional constraints that are applied on the three parameters (t dat 0 , γ, α). The next six columns show the residual for the six different initial drop velocities V . The final column shows the mean residual taken over the six values of V . difficult to resolve for small values of ν l , requiring larger grid sizes as presented in Section 4.3.
83Appendix D. Additional model fits for the lift-off time In Section 4.2 of the paper, we examine how the lift-off time t varies as a function of liquid viscosity ν l . For a sequence of measurements (ν l,k , t k ) we fit the model τ dat = t − t dat 0 = γ(ν l /ν sc ) α for the three parameters (t dat 0 , γ, α). Here ν sc = 20 mm 2 /s is an arbitrary viscosity scale. We minimized the residual S(t dat 0 , γ, α) = 1 2 k log γ + α log ν l,k ν sc − log(t k − t dat 0 ) 2 , (D 1) using the L-BFGS-B algorithm for bound-constrained nonlinear optimization Byrd et al. (1995), and we enforced t dat 0 < 0.999t min and α > 0, where t min = min k {t k }. Figure 18 shows the results of this optimization for the six different initial drop velocities V , along with the values of the fitted parameters. The mean value of the residual isS = 0.254.
84In the experiments by Kolinski et al. (2014b), the parameter α is proposed to be 1 /2. We therefore ran an additional optimization where ν l is constrained to be 1 /2. The mean residual increases toS = 0.385 and the model does not capture the curve in the data points ( Figure 19). We ran a further optimization where α = 1 (Figure 20), which results inS = 0.305. We found that the value of α that minimizes the mean residual is α = 1.1181. For this caseS = 0.281 and the optimization results shown in Figure 21. Figure 22 shows an optimization when the time origin is fixed to the original proposed definition of t 0 = H/V , where H is the drop height above the surface. In Figure 23 the exponent is additionally constrained to α = 1 /2. For each of the six optimizations, the values of S are reported in Table 5.
Introduction
85The dynamics of a falling liquid drop as it impacts on a substrate depend on the initial conditions and physical properties of the liquid, the surrounding media and the substrate. Depending on the relevant physical parameters, the liquid drop may splash, spread or bounce upon impact with a solid substrate. The diversity of patterns produced by liquid drops impacting on a solid substrate in the presence of ambient air were first captured by Worthington (1877), even before the invention of flash photography, through observations of patterns under the light of a spark produced by a break in an electric circuit when the drop hits the substrate. Worthington's drawings of these patterns sparked many investigations into the physical phenomena associated with drop impact, many of which are summarized in several review articles (Rein 1993;Yarin 2006;Josserand & Thoroddsen 2016).
86Physical parameters that are known to affect the dynamics of a drop upon impact with a substrate include the initial size and velocity of the drop (Pasandideh-Fard et al. 1996), viscosity of the liquid (Pasandideh-Fard et al. 1996), pressure and viscosity of the surrounding medium (Xu et al. 2005), interfacial tension between the liquid and its surrounding medium (Rioboo et al. 2003;Pasandideh-Fard et al. 1996), and the physical properties of the substrate (Range & Feuillebois 1998;Rein 1993;Yarin 2006;Josserand & Thoroddsen 2016). Experiments by Xu et al. (2005) show that in the impact of a liquid drop on a solid substrate, ambient air pressure determines whether the drop eventually splashes, characterized by the ejection of a number of small drops into the air, or forms a thin film and spreads smoothly onto the surface. This suggests a role of the surrounding gaseous medium in determining the impact dynamics even before the drop makes contact with the solid substrate, motivating investigation into the role of an intervening gaseous layer in determining dynamics of a liquid drop as it approaches a solid substrate, prior to contact of the drop with the substrate. The series of theoretical investigations by Mandre, Mani and Brenner (Mandre et al. 2009;Mani et al. 2010; considers an inviscid liquid drop falling towards a solid surface in the presence of an ideal gas, and predicts that the drop deforms due to a buildup of pressure in the gas trapped underneath the drop, prior to its contact with the solid substrate. Since these studies assume the fluid flow in the drop is inviscid, the velocity field is given by a potential flow. This substantially simplifies the analysis, allowing the dynamics to modeled using values of relevant field variables exclusively at the liquid-gas interface, without explicitly computing the fluid flow in the bulk of the drop. A schematic of the deformation of the drop is shown in Figures 1(a) and 1(b).
87Experimental studies confirm the theoretical predictions of drops deforming on a layer of air between the liquid drop and solid substrate, prior to contact between the drop and the substrate, and show measurements of the air layer underneath the impacting drop (Kolinski et al. 2012;van der Veen et al. 2012;de Ruiter et al. 2012). However, subsequent experimental work by Kolinski et al. (2014b) shows the effect of liquid viscosity on the evolution of the liquid-air interface even before contact with the substrate, which is not captured by the potential flow description of the evolution of liquid dynamics in previous theoretical work (Mandre et al. 2009;Mani et al. 2010;.
88In this work, we are concerned with the dynamics of a liquid drop as it approaches a rigid, non-porous, solid surface, in the presence of an ambient gas. We modify the physical model of Mandre, Mani and Brenner by incorporating the viscosity of the liquid. Due to the additional viscous term in the governing equations for the liquid, the coupled interaction of the liquid and gas becomes theoretically intractable, and it is necessary to solve numerically for the fluid flow in the bulk of drop. Previous computational work on drop impact has been concerned with the dynamics of spreading (Eggers et al. 2010) and splashing (Josserand & Zaleski 2003;Boelens & de Pablo 2018), whereas we focus on the dynamics of the drop in its approach towards a solid surface, prior to contact.
89We solve the incompressible Navier-Stokes equations in the drop, using a modern implementation of Chorin's projection method (Chorin 1967(Chorin , 1968) that incorporates improvements from Almgren, Bell, Collela and coworkers (Bell et al. 1989;Colella 1990;Almgren et al. 1996). Our numerical model allows us to resolve the flow field and pressure in the drop, and examine the effects of many different physical parameters in ways (e.g. viscosity, surface tension) that would be difficult to do in experiment. We validate our model using theoretical results (Mandre et al. 2009;Mani et al. 2010;). Using our model, we are able to recapitulate the square-root scaling with liquid viscosity of the lift-off time observed by Kolinski et al. (2014b). However, our results show that the precise relationship between lift-off time and liquid viscosity is more complicated. We explore the dependence of lift-off time on surface tension, initial drop velocity, and drop radius.
90In the following sections, we describe the physical model and parameter regime, followed by approximations made in the simulation domain. We then describe the results from our simulations, along with comparisons with previous theoretical and experimental studies. Our numerical results are consistent with theoretical calculations (Mandre et al. 2009) as well as experimental results (Kolinski et al. 2014b). Our results predict the effect of viscosity and interfacial tension on the dynamics of drop impact.
Model
91In this section, we first explain the physical set-up and specify the parameter regime considered in the rest of this work. Based on the physical set-up and parameter regime, we then describe the mathematical model. The mathematical model largely derives from previous theoretical work (Mandre et al. 2009;Mani et al. 2010;. We specify the predictions made by this model, experimentally-observed deviations from these predictions, and then the mathematical model used in our work. We then use this mathematical model to derive appropriate boundary conditions for the flow in the drop.
Physical problem and parameter regime
92The physical set-up is a drop of liquid falling towards a flat, solid surface in the presence of a surrounding gas. As the liquid drop falls towards the solid surface, it interacts with the surrounding gas. We are interested in modeling and simulating the coupled dynamics of the liquid and the gas before the liquid makes contact with the solid surface. Figure 1(a) shows a schematic of the physical problem, indicating the relative locations of the liquid drop, the surrounding gas and the solid surface. The drop is initially spherical, with radius R, falling towards a horizontal solid surface at uniform vertical velocity V 0 . The gas is initially at uniform pressure P 0 . We specify the values of initial conditions and physical properties considered for the liquid and air in Table 1. We use the subscripts l and g to denote the liquid drop and the gas, respectively, and 0 to denote the initial conditions.
93A theoretical consideration of our physical set-up for the parameter regime specified in Table 1. In this parameter regime, the potential flow theory argues that the relevant Reynolds number, based on the initial velocity V 0 and drop radius R, is O (10 2 ), allowing for an inviscid consideration of the liquid. We refer to the mathematical model as the potential flow model, and the theoretical predictions arising from this mathematical model as the potential flow theory.
94The potential flow theory predicts that, as the drop falls towards the solid surface, a build up of air pressure underneath the drop causes the drop to deform in the middle, developing a dimple. The drop then spreads over a thin layer of gas that separates it from the substrate. The potential flow theory predicts scaling laws for the height of the gas layer. Subsequent experimental observations of the gas underneath the drop (Kolinski et al. 2012;van der Veen et al. 2012;de Ruiter et al. 2012) show the existence of this dimple and the shape of the drop profile, similar to the predictions of the potential flow theory. Experimental observations made by Kolinski et al. (2014b) in part of this parameter regime show that the falling drop first develops a dimple in the middle of the drop, as schematized by the liquid-gas interface shown in green in Figure 1(b). This is consistent with the potential flow theory (Mandre et al. 2009;Mani et al. 2010;. Subsequently in time, and prior to contact of the liquid-gas interface with the solid substrate, the shape of the interface depends on the kinematic viscosity of the liquid. Specifically, there is a critical time τ c at which the minimum height of the drop from the substrate stops decreasing, and the leading edge of the drop begins to move away from the surface. The time τ is measured relative to the time when the drop would have made contact with the substrate if it were not deforming due to interactions with an intervening gas. Kolinski et al. (2014b) observe that τ c ∝ ν l 1/2 . As a consequence of the discrepancy between the observations of Kolinski et al. (2014b), who definitively show the effect of liquid viscosity on the shape of the liquid-gas interface well before contact between the liquid and the substrate, and the potential flow theory, we are specifically interested in capturing the role of liquid viscosity, on these coupled dynamics. Based on the observations of Kolinski et al. (2014b), we modify the potential flow model to consider a liquid described by the full Navier-Stokes equations, rather than an inviscid approximation.
Mathematical model
95The dynamics of an initially spherical drop are naturally described in terms of three-dimensional spherical polar co-ordinates, and those of the gas layer in terms of three-dimensional cylindrical polar co-ordinates. In this co-ordinate system, from the potential flow theory (Mandre et al. 2009;Mani et al. 2010; and the experimental observations of air layer profiles under an impacting drop (Kolinski et al. 2012;de Ruiter et al. 2012;van der Veen et al. 2012;Kolinski et al. 2014bKolinski et al. ,a, 2019, we use the simplifying approximation of no azimuthal variation in the flow field of the drop or the gas.
96As in the potential flow model, we further simplify our consideration by approximating the drop as initially being an infinite cylinder, with the long axis perpendicular to the substrate, rather than spherical. With these assumptions and approximations, we can describe the dynamics of the liquid and gas using two-dimensional Cartesian co-ordinates (x, y). The initial height h(x, t = T 0 ) of the liquid-gas interface is described by a parabolic profile as
97where H 0 is the initial height of the centre of the interface, i.e. at x = 0. We model the flow in the liquid using the incompressible Navier-Stokes equations. The continuity equation for the liquid is
98and the momentum equation for the liquid is
99where u l = (u x , u y ), p l and ρ l are the velocity field and pressure field in the liquid, respectively. Based on the potential flow theory (Mandre et al. 2009;Mani et al. 2010; and subsequent experimental observations (de Ruiter et al. 2012;van der Veen et al. 2012;Kolinski et al. 2014b), the gas layer is slender, with the horizontal length scale L x being much greater than the vertical length scale L y , allowing for an approximation of one-dimensional flow in the gas. The height h = h(x, t) of the gas layer is thus described by the compressible lubrication equation, (2.4) and the equation of state is described by an adiabatic assumption,
100(2.5)
101The coupling of flows in the liquid and gas at their interface is done using Gibbs' condition for pressure,
102and equality of shear stress in the liquid and gas at the liquid-gas interface is
103Far enough away from the deforming effects of the intervening gas layer on the liquid drop, the pressure in the gas is the ambient pressure, lim x→±∞ p g (x, t) = P 0 . Given that the initial and boundary conditions are symmetric about x = 0, we modify our mathematical model to incorporate symmetry boundary conditions about x = 0. We do so by applying the boundary conditions (u, v x ) = (0, 0) in the liquid domain and p g,x = 0 and h x = 0 in the gas layer.
Liquid domain and boundary conditions
104Having specified the physical problem in Section 2.1 and the mathematical model, with initial and boundary conditions, in Section 2.2, we now turn to a description of the domain and boundary conditions that specify the flow in the liquid in a computationally tractable manner. The assumptions that lead to numerical approximations in this section are specified in sections 2.1 and 2.2. We detail them here as appropriate.
Rectangular domain with mass flux
105Following from the previous section, the liquid drop is described by a twodimensional flow field. As the drop interacts with the gas layer, its shape changes. The drop begins to deform at the interface, close the the middle, at x = 0. With this observation, we choose a region of interest, as shown in Figure 1(b), that stretches outwards from x = 0 and upwards from y = h(x, t).
106We make an additional approximation that the flow in the liquid at y = h(x, t) can be approximated by the flow at y = 0. We can remove the spatial dependence because the liquid-gas interface is slender. We simulate the control volume with and without a temporal dependence y = h(t), and do not observe a significant change in results. With these approximations, we are able to choose a rectangular, inertial control volume, stretching outwards from x = 0 and upwards from y = 0, whose size is chosen based on the relevant physical scales (Section 2.4). With the use of symmetry in the domain, as described in Section 2.2, we need to model only half of the control volume. We choose to model the right half, leading to the computational domain shown in Figure 1(c). In subsequent sections, we describe the boundary conditions at each of the boundaries in the computational domain.
Treatment of the viscous term and bottom boundary condition
107Initially, the drop is moving at uniform vertical velocity, meaning that all spatial velocity gradients are zero, and ∇ 2 u l = 0. Deformation of the drop begins at x = 0. Our model consequently assumes that the shear stresses are small away from this region where the drop has deformed. In a two-dimensional flow, vorticity is introduced only through shear stresses at the boundary. The vorticity therefore spreads into the interior of the drop from the deformed interface. We thus model the drop as having a region close to (x, y) = (0, 0), where viscosity is important, while far away from this region, ν l ∇ 2 u l makes a negligible contribution to equation (2.3). A schematic of the region where viscosity is important in the deformed drop is shown by yellow in Figure 1(b) and (c). Consequently, we model the domain as having one boundary where viscous effects are important, which is the bottom boundary.
108At the bottom boundary, we apply the boundary conditions specified in equations (2.6) and (2.7). Equation (2.7) is enforced through a condition on the gradient of the horizontal velocity, 3), by noting that the viscous term, ν l ∇ 2 u l is relatively small. Additionally, the velocity gradients in the liquid are initially zero. Away from the effects of the gas layer, the nonlinear advective term in the momentum equation, u l · ∇u l in equation (2.3), will also be small. With these approximations, we obtain a simplified momentum equation for the liquid at these boundaries,
109(2.9)
110We use this simplified momentum equation to obtain velocity boundary conditions at the interior boundaries. Taking the divergence of equation (2.9) and noting that the flow in the liquid is incompressible, we obtain ∇ 2 p l = 0. Knowing the pressure at the bottom boundary, and approximating the liquid as a semi-infinite domain, we get an analytical expression for the pressure at the interior boundaries,
111(2.10)
112Assuming that the domain is larger than the region where the pressure from the gas is non-zero, we numerically integrate over a finite length of the domain boundary to get the pressure at a particular (x, y) location along the interior boundaries. Given the pressure at the boundary, we integrate equation (2.9) in time to obtain velocity boundary conditions at the interior boundaries. The size of the region where vorticity is significant determines the size of the domain, and the locations of the interior boundaries, which are calibrated in simulation.
Choice of domain
113We simulate the coupled dynamics of the liquid and gas over the time interval 0 t t end , for a simulation domain of 0 x L and 0 y βL, where β is the aspect ratio, for the liquid, and a domain of 0 x L for the gas. To set the size of the domain and duration of the simulation, we consider the initial dynamics as the drop falls toward the surface, and compare to the theoretical results of the potential flow theory (Mandre et al. 2009). We use the scaling results of the potential flow theory for the centre of the gas layer, h(x = 0, t). The scaling analyses predict the height H * at which the pressure buildup in the gas layer causes the drop to undergo significant deformation and develop a stagnation point at x = 0, forming a dimple.
114According to potential flow theory, the compressibility of the flow in the gas is determined by the parameter
115which is the ratio of the initial gas pressure to the pressure that would have built up in the gas were treated as incompressible.
116The results of Kolinski et al. (2014b), showing the relationship between ν l and the drop profile, correspond to −1 < 1, meaning that the flow in the gas can be considered to be incompressible. While our simulations model the full incompressible flow in the gas, we use this approximation to set the initial conditions. In this regime, we have the estimate
117where St = µ g /(ρ l V R) is defined as the inverse of a modified Stokes number. † This scaling result is strictly valid for inviscid flow, ν l = 0, Re → ∞, and no surface tension at the liquid-air interface, σ = 0, We → ∞. While our simulations incorporate liquid viscosity and surface tension, equation (2.12) still provides a good estimate for the height at which the stagnation point forms, and is useful measure of the physical scales of interest. We therefore set the initial height to be a multiple of H * , so that
118for a dimensionless constantH 0 . Similarly, we set t end =t end RSt 2/3 /V , and based on the parabolic shape of the initial profile we choose L =LRSt 1/3 , whereL and t end are dimensionless constants.
Numerical implementation
119In this section, we describe the numerical implementation of the mathematical model described in Section 2.2. Throughout the liquid domain, we compute and record the liquid velocity u l and pressure p l . In the gas layer, compute and track the height h and pressure p g . A reader may skip the remainder of section without loss of continuity. The flow-field variables φ are computed at discretized time steps, with simulation time t = n∆t, where ∆t is the time step discretization used in the simulation, and n is an integer counter. Given values of field variables φ (n) = φ(t = n∆t), the goal of the simulation is to compute the field variables φ (n+1) . This section describes the numerical method for doing so, for the liquid flow-field variables, u l and p l , and gas flow-field variables, h and p g .
1203.1. Projection method The core of the algorithm is based on Chorin's projection method (Chorin 1967(Chorin , 1968, with further developments in the computational techniques behind the fluid simulation method (Bell et al. 1989;Almgren et al. 1998). In particular, the work of Almgren et al. (1996) introduces the approximate projection method discretized using the finite-element method (FEM). The numerical methods are described in detail by Sussman et al. (1999), Yu et al. (2003Yu et al. ( , 2007, and Rycroft et al. (2020). Here, we sketch the main features of these methods.
121We solve for u l and pressure p l in the liquid domain by solving the momentum equation for the liquid, equation (2.3), subject to incompressibility of the liquid, as specified in equation (2.2). In describing the method for the solution of the field variables in the liquid domain, for the remainder of this section, we drop the subscript l.
122The field variables are defined on a two-dimensional grid, discretized into rectangular cells of size ∆x by ∆y, as shown in Figure 2. The velocities u n are located in the cell-centers, and the pressures p n are located at the cell corners. To advance from step n to n + 1, we first compute an intermediate velocity u * according to
123Here, the viscous stress terms ν∇ 2 u and ν∇ 2 u * evaluated using a standard fivepoint finite-difference stencil. Due to the presence of the u * on the right hand side of equation (3.1) it must be solved implicitly. We use a multigrid method to solve the resulting linear system. The advective term [u · ∇u] n+1/2 is evaluated at the half-timestep n + 1/2 using the second-order Godunov upwinding scheme of Colella (1990). This is performed by extrapolating the velocity in each cell to midpoints of the four edges using a first-order Taylor expansion. Doing this requires that the gradient of the velocity is first evaluated at each cell center, which is done using the fourth-order monotonicity-limited scheme of Colella (1985). This scheme uses a five-point stencil in each coordinate, therefore requiring information from two grid points in each orthogonal direction.
124After this procedure, each edge has two velocities from the two adjacent cells. A Godunov upwinding procedure is then used to select one based on the direction of the velocity. An intermediate marker-and-cell (MAC) projection is then used to adjust the velocities to satisfy a discrete zero divergence criterion, so that the net mass flow out of each cell is zero (Bell et al. 1991;Sussman et al. 1999). After this, the advective term can be accurately evaluated using centered finite differences of the upwinded edge-based velocities (Sussman et al. 1999;Yu et al. 2003Yu et al. , 2007Rycroft et al. 2020).
125The velocity at step n + 1 can be calculated from the intermediate velocity by evaluating the pressure gradient term,
126but this requires knowledge of the pressure field p n+1 , and there is no explicit update equation for this field in the incompressible limit. To proceed, we take divergence of equation (3.2) and enforce that ∇ · u n+1 = 0, according to equation (2.2). Hence,
127which is a Poisson equation for the pressure that can be solved. Once p n+1 is known, equation (3.2) can be used to evaluate u n+1 and complete the timestep from n to n + 1. We solve equation (3.3) using the FEM discretization of Almgren et al. (1996). Here, each pressure value at a cell corner has a corresponding bilinear hat function over the four neighboring grid cells (Yu et al. 2003(Yu et al. , 2007Rycroft et al. 2020). Once the pressure is computed, the gradient in equation (3.2) is evaluated using centered finite differences of the pressure field values.
1283.2. Implementation of boundary conditions: ghost layers The boundary conditions are implemented by means of ghost layers. Around the boundaries of the two-dimensional liquid domain, there are two layers of additional grid points. Two layers are required in order to evaluate the fourth-order monotonicity-limited derivatives arising from the advective term. The boundary conditions are specified in these layers of grid points. These conditions are then used to compute the necessary gradients in equation (3.1).
129The velocity boundary conditions at the top and right boundaries of the liquid domain, corresponding to the interior of the drop, and described in Section 2.3.3, are obtained through substituting the expression for pressure given by equation (2.10) in the expression for velocity at these boundaries, equation (2.9), and then using Simpson's rule to numerically integrate the pressure along these boundaries.
Solution of the gas layer equations
130The field variables h and p g for the gas layer are discretized in accordance with the discretization for the field variables for the liquid. Specifically, the pressure field p g is stored at grid points in the same locations along the horizontal axis as the pressure field in the liquid, as shown in Figure 2. The height h is stored at grid points in the same locations along the horizontal axis as the velocity field u in the liquid.
131As shown in Appendix A.1, substituting the equation of state (2.5) into the lubrication equation (2.4) yields
132where the g subscript on the pressure has been dropped. We solve for this equation as follows: (i) p is known at the time step t (n) = n ∆t (ii) h, h t , and therefore h x are known at time step t (n) = n ∆t (iii) solve for p at time step t (n+1) = (n + 1) ∆t (iv) use p as a boundary condition for the flow in the liquid, to obtain v = h t at time step t (n+1) To numerically solve equation (3.4) we discretize the spatial derivatives using second-order centered finite differences. To avoid a timestep restriction, we make use of the backward Euler method for discretizing the temporal derivative. Hence we obtain the discretized form 12 µ γh
133that can be solved for the gas pressure p n+1 i . In equation (3.5), the termsh,h t , and h x must be evaluated at the location of p n+1 i . Since the height field is staggered with respect to the pressure field, this is done via linear interpolation and centered differencing, so that
134Due to the products of pressure terms on the right hand side of equation (
Code implementation and parameter choices
135The simulations are performed using a custom code written in C++ using the OpenMP library for multithreading. The code makes use of the Templated Geometric Multigrid (TGMG) library for solving the linear systems that arise when solving for the fluid. Each timestep requires four linear system solves: (1) to apply the MAC projection, (2) to apply the approximate FEM projection, and (3,4) to solve for the x and y velocity components when treating the viscous stress term implicitly. The code accepts a text configuration file as input, which sets all of the physical parameters, and describes the computational domain. The code and sample text configuration files are available on GitHub-see the data availability statement. The simulations are performed on a M × N grid for the liquid domain, and grid of length M for the gas layer. We choose the grid spacings to be equal, so that ∆x = ∆y. This implies that the aspect ratio β is equal to N/M .
136Since the second derivative terms in both the liquid domain and the gas layer are handled implicitly, and the surface tension term in (2.6) is small, there is no timestep restriction in the simulation that scales like ∆x 2 (Heath 2002). We therefore choose a candidate timestep to satisfy ∆t = ζ∆x for a dimensionless constant ζ, based on satisfying Courant-Friedrichs-Lewy conditions (Courant et al. 1967) for the advective terms in the liquid domain and gas layer.
137The simulation outputs N f frames over the duration of the simulation. Thus the time between frames is t f = t end /N f . In general, an integer multiple of candidate timesteps will not exactly match t f , so that c∆t < t f < (c + 1)∆t. Because of this, the actual timestep is slightly adjusted to ∆t = t f /(c + 1) and c + 1 timesteps are taken between frames. Several examples demonstrating the performance of the code are provided in Appendix B.
Results and discussion
1384.1. Initial dynamics and comparison with potential flow theory To validate our approach, we first simulate the initial dynamics and we compare with the scaling results of potential flow theory that were introduced in Section 2.4 for the height of the stagnation point H * ( Mandre & Brenner 2012). We use the baseline physical parameters given in Table 2. Since we only want to resolve initial deceleration of the drop, and not the formation of the thin gas layer, we use the computational parameters in column 3 of Table 3, which feature a relatively coarse numerical grid of size 2048 × 256. To compute H * , we examine the sequence of height profiles from the simulation and find the time t * when h t (0, t * ) = 0, from which H * = h(0, t * ). As described in Section 2.4, at low initial velocities the flow in the gas layer can be treated as incompressible, and the scaling result H * = RSt 2/3 can be derived. Mani et al. (2010) extend this analysis to look at higher initial velocities, where compressibility of the gas becomes important. This happens at a height of
139where the subscript ' * ' is used to distinguish from the stagnation height. By modeling the subsequent drop deceleration below H * assuming gas compressibility, Mani et al. (2010) derive the result
140for the stagnation height. We first performed sequences of simulations using low initial velocites over the range from V = 0.15 m/s to V = 1.35 m/s, using four different liquid viscosities from ν l = 10 mm 2 /s to ν l = 300 mm 2 /s. We also ran two sets of simulations with the surface tension set to half and zero its baseline value. Figure 3(a) shows a plot of H * /(RSt 2/3 ) as a function of −1 , with these six sets of data points in the left half of the domain where −1 < 1 and gas compressibility is not important. We see that H * /(RSt 2/3 ) is approximately constant and is in agreement with equation (2.12). To examine the trends more clearly, Figure 3(b) shows a zoomed-in plot of the same data. As expected, the best agreement is achieved for the smallest value of ν l and for zero surface tension. At small −1 the values of H * /(RSt 2/3 ) are slightly lower for the cases of larger ν l and σ. This hints at the limits of the potential flow theory predictions (Mandre et al. 2009;Mani et al. 2010).
141We also performed two sequences of simulations with higher initial velocities from V = 1 m/s to V = 18 m/s using ν l = 10 mm 2 /s, to examine the compressible regime. However, we note from equation (2.13) that our usual choice for initial height scales ν l = 10 mm 2 /s ν l = 30 mm 2 /s ν l = 100 mm 2 /s ν l = 300 mm 2 /s σ = 0.036 N/m, ν l = 10 mm 2 /s σ = 0, ν l = 10 mm 2 /s FIH, ν l = 10 mm 2 /s FIH, γ = 1, ν l = 10 mm 2 /s H * /(RSt 2/3 ) −1 Figure 3: (a) Plot of rescaled initial stagnation height H * /(RSt 2/3 ) as a function of the inverse of the dimensionless compressibility parameter = P0RSt 4/3 /µgV , for a range of different liquid viscosities ν l , surface tensions σ, and gas parameters γ. When not otherwise stated, baseline parameters from Table 2 are used. By default, the drop starts from a height H0 scaled according to equation (2.13). For ν l = 10 mm 2 /s, to account for compressibility effects, data from two simulation sequences that use a fixed initial height (FIH) based on substituting V = 2 m/s into equation (2.13) according to V −2/3 whereas from equation (4.1), the height where compressibility is important scales according to V 1/2 . To fully capture the compressible effects, the drop must start higher than H * , and thus the usual initialization procedure is problematic for large V . For these simulations we therefore set H 0 at a fixed value based on using V = 2 m/s in equation (2.13). We ran two sequences of simulations using the usual choice of γ = 1.4, and another with γ = 1; as shown in Figure 3 these results are in very good agreement with the scalings of 1/3 and , respectively, that are expected from equation (4.2).
Effect of liquid viscosity on drop profile
142With the initial dynamics validated, we now turn attention to simulating the continued spreading of the liquid drop on a layer of gas, and the effect of viscosity on the evolution of the liquid-gas interface. We use the same baseline physical parameters given in Table 2, but since we must now accurately resolve the gas layer as it becomes very thin, we increase the simulation resolution as shown in columns 4 & 5 of Table 3. Furthermore, since the deviation of the interface from the solid surface happens later for high viscosities (Kolinski et al. 2014b), we use a larger domain and longer duration when ν l > 20 mm 2 /s, as indicated in column 5 of Table 3. We begin by using the baseline initial drop velocity of V = 0.45 m/s to match the experiments of Kolinski et al. (2014b). Figure 4 shows the height profiles for three different simulations using liquid viscosities of ν l = 10 mm 2 /s, ν l = 32 mm 2 /s, and ν l = 100 mm 2 /s. Panels (a), (b), and (c) show a large-scale view, where the initial parabolic profile approaches the surface, begins to decelerate and deforms to create the dimple. After the drop continues to fall, a thin layer of gas from x 200 µm is created and spreads outward. In all three simulations, the height profiles have a front that sweeps outward as more liquid approaches the surface.
143h (µm) Figure 4: Profiles of the height h(x, t) of the gas layer at intervals spaced 6.004 µs apart, corresponding to an integer multiple of the frame output interval t f described in Section 3.4, for liquid viscosities of (a) ν l = 10 mm 2 /s, (b) ν l = 32 mm 2 /s, and (c) ν l = 100 mm 2 /s. Panels (d), (e), and (f) show the same data as (a), (b), and (c), respectively, but with a smaller range of h to highlight the lift-off behavior. For each profile, the global minimum, which follows the leading tip, is also plotted on the curves; once the global minimum is no longer at the leading tip, it is no longer plotted. The dashed box in panel (d) marks a further zoomed-in region shown in Figure 6. Figure 5 shows snapshots of the pressure and vorticity in the liquid domain for the simulation with with ν l = 10 mm 2 /s. At t = 24.02 µs, the drop is still approaching the surface. The pressure builds up close to x = 0. Since the liquid near x = 0 is decelerated faster, this creates a region of negative vorticity over 0 x 250 µm. By t = 72.05 µs, the thin layer of gas has formed, and the position of the front from Figure 4(a) is marked with a small triangle. There is a region of large positive pressure behind the front, a small region of negative pressure ahead of it. The contour of zero vorticity follows the front as it moves outward to t = 96.07 µs. Figure 4(d-f) shows zoomed-in plots of the height profiles in the thin layer for the three simulations. Behind the front, the height profiles align on top of each other, and trace out relatively stable envelopes, appearing as thick blue lines in Figure 4(d-f). In all three cases the envelopes initially slope downward before curving upward, indicating the deviation of the liquid-gas interface away from the solid surface, prior to contact between the solid and the liquid. This is We now quantify the lift-off time and position. While the envelopes in Figure 4(df) are relatively well defined, the height profiles shift slightly in over time, make it difficult to precisely define the moment of lift-off. However, close inspection of Figure 4(d-f) shows that in all cases, the height profiles have a leading tip that dips slightly below the envelope that forms. We found this to be a well-defined feature that occurs universally across all of our simulations. The tip position can be determined as the global minimum of the height profile at each time, and provides a way to precisely define when lift-off occurs, at the moment when the leading tip starts to rise. Figure 6(a) shows a further zoomed-in plot of the height profiles during lift-off for the case of ν l = 10 mm 2 /s. Once the leading tip has risen sufficiently, then it is no longer the global minimum. However, since lift-off has always occurred by the time the leading tip is rising, this does not cause any difficulty in identifying the lift-off time. It is natural to consider whether the leading tip is a real feature or a numerical artifact that emerges from discretization error and limited resolution. To address this, Figure 6(b) shows further zoomed-in region, depicting the leading tip in detail. Here, the blue circles show individual simulation grid points. The grid spacing is substantially smaller than the width of the leading tip, indicating that it is a real feature. Further numerical tests of accuracy are provided in Appendix C.
144The width of the tip is governed by surface tension. While many of our simulations use the baseline value of σ = 0.072 N/m from consider reduced surface tension where the tip becomes sharper. In this case, there can be numerical difficulties with in identifying the minimum due to per-gridpoint variations the height profile. To create a scheme for identifying the minimum across all simulations, we therefore smooth the height profile using a Gaussian kernel with length scale 1.2 µm. This results in a minimal alteration in the leading tip position (Figure 6(b)), but improves robustness when analyzing the simulations. Numerically, the global minimum is found by identifying the local minima of the cubic interpolant of the smoothed profile, and selecting the smallest one. Figure 7 shows the trajectories of the leading tip for a range of liquid viscosities from ν l = 2.5 mm 2 /s to ν l = 160 mm 2 /s. The moment of lift-off is indicated on each trajectory, by identifying the global minimum of each curve. Two regimes are visible. For ν l 20 mm 2 /s, increasing viscosity results in the trajectory reaching a lower value of h, and the lift-off position moving slightly outward. For ν l 20 mm 2 /s, increasing viscosity results in the trajectory reaching a higher value of h, and the lift-off position moves outward substantially. Small undulations in the trajectories are visible for ν l 20 mm 2 /s, which arise due to capillary waves in the height profile. This can have a substantial effect on the measured lift-off time, depending on which undulation achieves the global minimum. For example, there is a large difference between ν l = 20 mm 2 /s and ν l = 25 mm 2 /s. In Figure 8 we show trajectories for the case when the initial drop velocity is doubled to V = 0.9 m/s. The scale of h is smaller in the plot, but the relative amplitude of the capillary waves is increased. As a result they have a noticeable effect of lift-off times at lower viscosities, with a large difference in lift-off time between ν l = 10 mm 2 /s and ν l = 13 mm 2 /s. h (µm)
145x (µm) ν l = 2.5 mm 2 /s ν l = 4 mm 2 /s ν l = 6.5 mm 2 /s ν l = 10 mm 2 /s ν l = 13 mm 2 /s ν l = 16 mm 2 /s ν l = 20 mm 2 /s ν l = 25 mm 2 /s ν l = 32 mm 2 /s ν l = 40 mm 2 /s ν l = 50 mm 2 /s ν l = 65 mm 2 /s ν l = 100 mm 2 /s ν l = 160 mm 2 /s t (µs) h (µm)
146x (µm) ν l = 2.5 mm 2 /s ν l = 4 mm 2 /s ν l = 6.5 mm 2 /s ν l = 10 mm 2 /s ν l = 13 mm 2 /s ν l = 16 mm 2 /s ν l = 20 mm 2 /s ν l = 25 mm 2 /s ν l = 32 mm 2 /s ν l = 40 mm 2 /s ν l = 50 mm 2 /s ν l = 65 mm 2 /s ν l = 100 mm 2 /s ν l = 160 mm 2 /s t (µs) and time (h , r , t ) when the drop enters the evanescent field, and assume that the drop is undeformed at this position, so that h = h 0 − V t + r 2 /(2R 2 ). Hence h 0 can be calculated, and therefore the time origin is t alt Figure 9 shows the lift-off times τ as a function of viscosity for seven different values of initial velocity V . The data points from Kolinski et al. (2014b) are also plotted. Even though the experiments of Kolinski et al. (2014b) are performed in a three-dimensional axisymmetric configuration, there is good quantitative agreement with the two-dimensional simulation results.
147Overall, the results are consistent with the ν 1/2 l scaling result, but the additional precision provided by the simulations reveals a more complicated relationship between ν l and τ . For each value of V , the data points exhibit some fluctuations, which are due to the undulations visible in Figure 7 where the global minimum defining the lift-off time may abruptly change. While a ν 1/2 l scaling appears consistent with the high impact velocities where V 0.75 m/s, the data for low impact velocities looks better fit to ν η l , where there are two different values of η with a change at ν l ≈ 20 mm 2 /s. This is also consistent with the two different types of behavior observed in Figure 7.
148The slope of data points for small values of ν l in Figure 9 is strongly affected by the choice of time origin, and may affect the conclusions about the relevant exponents. To investigate this further, we replotted the data using t alt 0 as the time origin; this resulted in small shift upwards of the data (since t alt 0 < t 0 in all cases), but did not affect the overall patterns. As a third approach, we defined a time origin t dat 0 directly from the data, by finding the best fit to the model τ dat = t − t dat 0 = γ(ν l /ν sc ) α for the three free parameters (t dat 0 , γ, α). Here ν sc = 20 mm 2 /s is chosen as an arbitrary viscosity scale. Specifically, for the data points (ν l,k , t k ), we minimized the residual We used the L-BFGS-B algorithm for bound-constrained nonlinear optimization (Byrd et al. 1995), and enforced t dat 0 < 0.999t min and α > 0, where t min = min k {t k }. We started the minimization using multiple initial guesses with t dat 0 ∈ [0.7t min , 0.9t min ] and α ∈ [0.4, 1.2]. For each pair (t dat 0 , α) the value of γ is set so that the bracketed expression in equation (4.3) is zero for the ν l = 20 mm 2 /s data point, so that the initial guess should be close to the minimum of S. Figure 10 shows a replotting of the data relative to this time origin. The data for V = 0.15 m/s is omitted from this plot since the lift-off times are non-monotonic for the smallest values of ν l . For each other value of V , the minimization procedure converges to a single unique solution for all initial guesses. With this definition of time origin, all of the data is more consistent with a linear scaling relationship as opposed to the square root relationship in Figure 9. Panels (b), (c), and (d) show the values of the fitted parameters, and demonstrate that α ∈ [1.02, 1.28] in all cases. The average residual over the six different values of V isS = 0.2536. If the exponent is constrained to α = 1 2 to match the exponent of Kolinski et al. (2014b) then the average residual increases toS = 0.3855 and the data points exhibit an upward curve a log-log plot that systematically deviates from a power law. Constraining the exponent to α = 1 results inS = 0.2805 and a better fit to the model that is similar to the three-parameter fit shown in Figure 10. See the Appendix D for additional discussion and parameter fits. These results highlight that any theoretical analysis of the relationship between τ and ν l would need to take into account the sensitivity of defining the time origin. Figure 11(a) shows lift-off times (relative to t 0 ) for for three different drop radii: the original value of R = 1.5 mm, and as well as half and double this value. Increasing the radius increases the lift-off time, similar to the effect of lowering velocity in Figure 9.
The role of surface tension
149The simulations allow us to change the surface tension in ways that would be difficult to do experimentally, to investigate the importance of this physical effect. Changing the surface tension allows us to suppress or accentuate the capillary waves in the liquid-gas interface, as shown in Figure 7, to investigate the effect of surface tension on the phenomenon of lift-off. Following the same procedure as in Section 4.2, we calculated the lift-off times for σ = 0.0072 N/m, σ = 0.036 N/m and the σ = 0.144 N/m, corresponding to a tenth, half, and double the usual surface tension values, respectively. Figure 11(b) shows that as surface tension is reduced, the lift-off times increase markedly. For the case of σ = 0.0072 N/m lift-off is eliminated for large values of ν l , with the leading tip continuing to decrease over the course of the simulation. Figure 11(b) strongly suggests that surface tension is important in creating lift-off. Reducing from σ = 0.036 N/m to σ = 0.0072 N/m almost doubles the lift-off times in most cases, and one can ask whether lift-off will be completely eliminated in the limit as surface tension vanishes. To examine this, we ran a sequence of simulations with σ = 0, with several representative examples for ν l = 10 mm 2 /s, ν l = 32 mm 2 /s, and ν l = 100 mm 2 /s shown in Figure 12. This is a difficult limit to probe in our simulations, since as discussed for Figure 6, surface tension regularizes the leading tip. Figure 13 shows close-ups of the profiles for ν l = 10 mm 2 /s, indicating that leading tip becomes as sharp as a single grid point, and the minima of the profiles can fluctuate non-monotonically depending on exactly how the tip aligns with the computational grid. However, in this case the profile smoothing procedure introduced in Section 4.2 is sufficient to extract smooth leading tip trajectories.
150The very sharp leading tip causes another difficulty in the simulations: as the tip is advected across the computational grid, there will be an effective numerical diffusion, which will act as though a small surface tension has been imposed. This is an important issue since Figure 11(b) already confirms that small surface tensions can considerably alter the behavior. To test this, we compared simulations x (µm) Initial profile Height profiles Minimum height
151h (µm) Figure 12: Profiles of the height of the gas layer at intervals spaced 6.004 µs apart for liquid viscosities of (a) ν l = 10 mm 2 /s, (b) ν l = 32 mm 2 /s, and (c) ν l = 100 mm 2 /s using zero surface tension. Panels (d), (e), and (f) show the same data as (a), (b), and (c), respectively, but with a smaller range of h to highlight that no lift-off occurs in this case. For each profile, the global minimum, which follows the leading tip, is also plotted on the curves. The dashed box in panel (d) marks a further zoomed-in region shown in Figure 13.
152with the baseline parameters to those on a finer grids (Appendix C). Unlike the case for finite surface tension, the simulations on a finer grids are noticeably different, with the profiles reaching lower heights and the leading tip not curving up as rapidly. Since liquid viscosity also regularizes the evolution of the height profile, these discrepancies are more significant when ν l is small. We calculated the trajectories of the leading tip for a range of different liquid viscosities ν l . For 13 mm 2 /s < ν l 40 mm 2 /s we switched to a larger computational grid of size 8192 × 1536, and for ν l 13 mm 2 /s we switched to a very large grid of size 12288 × 2304. For ν l 44 mm 2 /s we were not able to simulate on a large enough grid to adequately resolve the numerical diffusion, and hence results are omitted. Figure 14 shows the trajectories in both the (x, h) and (t, h) planes. In all cases, the leading tips continue to decrease. While our results only examine one particular set of physical parameters (from Table 2) our results strongly suggest that surface tension is required for lift-off to occur.
153We also found a regime where the effect of surface tension can qualitatively affect the lift-off behavior. Figure 15 h (µm)
154x (µm) ν l = 6.5 mm 2 /s ν l = 10 mm 2 /s ν l = 13 mm 2 /s ν l = 16 mm 2 /s ν l = 20 mm 2 /s ν l = 25 mm 2 /s ν l = 32 mm 2 /s ν l = 40 mm 2 /s ν l = 50 mm 2 /s ν l = 65 mm 2 /s ν l = 100 mm 2 /s ν l = 160 mm 2 /s t (µs) Figure 14: Trajectories of the global minimum of the drop profile in (a) the (x, h) plane, and (b) the (t, h) plane for a range of different liquid viscosities, using the baseline parameters and zero surface tension. Simulations with 13 mm 2 /s < ν l 40 mm 2 /s use a grid of size 8192 × 1536, and simulations with ν l 13 mm 2 /s use a grid of size 12288 × 2304. initial velocity, V = 0.3 m/s and low viscosity, ν l = 6.5 mm 2 /s. In this regime, prominent capillary waves are generated outside the thin gas layer, which grow larger as time progresses. Figure 15(b) shows a zoomed-in plot of the profiles in the thin gas layer. Lift-off appears to occur at x ≈ 280 µm and the leading tip starts to rise. However the influence of the capillary wave causes the tip to move downward again, ultimately dipping below the previous minimum height. It is possible that the tip may move upward again at a later point, but we were unable to track the behavior further. The sharp features visible in Figure 15 (e.g. at (x, h) ≈ (700 µm, 100 µm)) cause the simulation to terminate early, since the Newton-Raphson iterations can no longer be solved to an acceptable level of accuracy.
Conclusion
155In this paper we investigated the viscous effects in the early stages of drop impact on a surface. We coupled a Navier-Stokes solver to model flow in the interior of the drop with a partial differential equation to model the pressure and height in the thin gas layer between the drop and the surface. We demonstrated that our simulations are consistent with previous work using potential flow theory where flow in the liquid is assumed incompressible (Mandre et al. 2009;Mani et al. 2010;. However, our simulations allow us to go beyond this previous work and investigate viscous effects. We showed that at low initial drop velocities, viscosity plays a weak role in the deceleration of the drop, and the height H * at which it reaches a stagnation point. Using our simulations, we are able to recreate the lift-off phenomenon that was experimentally reported by Kolinski et al. (2014b). We have therefore demonstrated that with the reduced model described in Section 2, our simulations are able to capture lift-off. Our numerical results for the lift-off time τ are consistent with the ν 1/2 l scaling relationship found by Kolinski et al. (2014b). However, the additional precision afforded by the simulations indicates that the precise relationship between τ and ν l is more complex, due to the effects of capillary waves and the sensitivity of the results to the definition of the time origin. The simulation allows us to probe conditions that would be difficult to observe experimentally. Using this capability, our results provide strong evidence that surface tension is necessary for lift-off to occur.
156There are a number of possible next steps. The simulations provide a detailed view of the lift-off phenomenon, and all aspects (e.g. stress, velocity, vorticity) can be calculated. The results may therefore guide theoretical analyses of lift-off, and may allow scaling relationships similar to those presented by Mandre et al. We opted to use a fixed-grid simulation for simplicity in coupling the liquid domain and gas layer together, and as described in Appendices B and C we are able to obtain accurate simulation results in a reasonable timeframe. However, it is likely that the behavior at the bottom of the liquid domain, close to the liquid-gas interface and near the leading tip, dominates. Because of this, the simulation is a good candidate for use with mesh refinement (Berger & Oliger 1984;Guittet et al. 2015), where the liquid-gas interface and the region around the leading tip could use a finer mesh. This could result in substantial computational savings, although the liquid-gas coupling would become more complicated and numerical errors would be harder to quantify.
157The simulation could also be generalized to use cylindrical axisymmetric coordinates. The overall numerical approach would stay the same, but additional radial factors would have to be incorporated throughout the simulation. The Navier-Stokes solver that we employ has already been demonstrated to work in axisymmetric coordinates (Yu et al. 2003(Yu et al. , 2007, but the routines that involve the gas layer would require modifications. For example, the kernel in equation (2.10) would need to be modified. While the current simulation is already in good agreement with the experimental results of Kolinski et al. (2014b), an axisymmetric solver would allow for a near-perfect comparison. This would, for example, help elucidate further the precise relationship between lift-off time τ and liquid viscosity ν l .
158Experiments by Thoroddsen and coworkers have used interferometry to examine the evolution of the gas layer across a full two-dimensional surface . Their results show a number of interesting effects beyond the scope of our current model, such as a breakage of rotational symmetry and the formation of ruptures in the air film Li et al. 2017). They have also examined the case of nano-rough surfaces (Langley et al. 2018). To connect with this work, our model could be generalized to a full three-dimensional simulation of the liquid and two-dimensional simulation of the gas-layer. This would be substantially more computationally challenging, and would be a good candidate for using parallel computing and adaptive mesh refinement (Zhang et al. 2019).
159where the terms are given by
160Solving equation (A 6) can be done efficiently using LAPACK's tridiagonal solver dgtsv (Anderson et al. 1999). In most cases, since the pressure does not change by a large amount per timestep, fewer than five iterations are required in order to achieve numerical convergence.
161Appendix B. Tests of the simulation performance Table 4 contains statistics about the performance of the code for several simulations that were referenced in the main text. All tests were run using ten threads on an Ubuntu Linux computer with a ten-core 2.8 GHz Intel Core i9-10900 CPU, and the code was compiled with GCC version 10.3. The initial dynamics simulations only need to capture the large-scale deformation of the drop, and can therefore be run on relatively coarse computational grids. Consequently, a typical simulation takes approximately 40 min of wall clock time to run. A large portion of the computation time is spent on solving the linear systems with the multigrid method. This should be expected since the multigrid V-cycles involve repeated scans over the entire grid. Collectively, the four multigrid solves take up 44% of the total computation time. The MAC and FEM linear systems take slightly more time and V-cycles, since apart from where Dirichlet boundary conditions are applied, these linear systems are only weakly diagonally dominant. By contrast, the linear systems for the implicit viscous term are strictly diagonally dominant. We note that the linear systems for the u and v velocity components are slightly different, since at x = 0 we apply different boundary conditions, (u, v x ) = (0, 0). Hence it is not possible to vectorize this system, and there is no substantial computational advantage over solving for the updates to u and v separately.
162Calculating the boundary conditions according to (2.10) requires applying Simpson's rule along the M gridpoints on the bottom edge. This must be done for the top edge of length M , and the right edge of length N , requiring O(M (M + N )) work in total. This is sizable amount of work and takes 3.4% of the total computation time. Even though the gas layer involves several Newton steps and tridiagonal matrix solves, it only needs O(M ) work and therefore takes up a minimal amount of the total computation time.
163Table 4 also contains performance information for two lift-off simulations, which are run on larger computational grids to obtain high accuracy in the height of the gas layer. The wall clock time per timestep increases from 81 ms to 1.041 s. Based on linear scaling with gridpoints, we would expect 81 ms to increase to (81 ms) 5120×960 2048×256 = 760 ms. Thus the performance is comparable, but slightly worse Initial dynamics, ν l = 10 mm 2 /s Lift-off, ν l = 10 mm 2 /s than, linear scaling, which may be due to reduced cache efficiency for a larger grid. Overall, the percentages spent on the different parts of the simulation are comparable, although the fraction spent on multigrid V-cycles increases slightly, and the fraction spent on the gas layer (which scales like O(M )) decreases. In particular, more V-cycles are required to handle the implicit viscosity linear system when ν l is larger. x (µm) Figure 17: Plots of the height profiles spaced 6.004 µs apart for three different resolutions using the baseline parameters and liquid viscosity ν l = 10 mm 2 /s, with (a) surface tension σ = 0.072 N/m, and (b) zero surface tension.
Appendix C. Tests of the simulation accuracy
164The simulation domain size, which is set via the non-dimensional parameterL in Table 3 and the domain aspect ratio β, may affect on the results. Since the boundary conditions on the top and right boundaries are based on an inviscid assumption, the domain size affects the extent to which viscosity is resolved. In addition, when solving for the pressure in the gas layer, the boundary condition of p = P 0 is imposed at x = L, and thus extending the domain affects the influence of this boundary condition on the simulation. To test the sensitivity of the simulation results to the domain size, we performed simulations where either the horizontal dimension, vertical dimension, or both dimensions were extended by a factor of 1.5. In each of these simulations the grid spacings ∆x = ∆y were kept the same, so that the horizontal extension increases the grid points from 5120 to 7680, and the vertical extension increases the grid points from 960 to 1440. Figure 16 shows the height profiles in the thin gas layer for the four simulations, for (a) ν l = 10 mm 2 /s and (b) ν l = 100 mm 2 /s. The vertical extensions give visually indistinguishable curves, indicating that vertical dimension is sufficiently large to resolve the viscous effects even for the larger value of ν l . The horizontal extensions create a minor vertical shifts in the curves, suggesting that the pressure boundary condition has an effect on the results. However, these shifts are still acceptably small, and result in no substantial change to the position and time at which lift-off occurs.
165We also examined the sensitivity of the results to the numerical grid size. Figure 17(a) shows height profiles for a simulation using the baseline parameters with liquid viscosity ν l = 10 mm 2 /s and surface tension σ = 0.072 N/m. Simulations with higher resolutions of 8192 × 1536 and 12288 × 2304 are also plotted, resulting in visually indistinguishable results. Figure 17(b) shows height profiles when the surface tension is set to zero and all other parameters are kept the same. In this case, as discussed in Section 4.3, the leading tip becomes very sharp since the regularizing effect of surface tension is removed. As the tip moves across the grid, there will be a resolution-dependent numerical diffusion that will act as an effective small surface tension. Thus in this case there is a small shift in the height profiles. While this remains small, it makes the precise behavior of the leading tip Table 5: Values of the residual from equation (D 1) for the six different optimizations considered. The first column shows the additional constraints that are applied on the three parameters (t dat 0 , γ, α). The next six columns show the residual for the six different initial drop velocities V . The final column shows the mean residual taken over the six values of V . difficult to resolve for small values of ν l , requiring larger grid sizes as presented in Section 4.3.
166Appendix D. Additional model fits for the lift-off time In Section 4.2 of the paper, we examine how the lift-off time t varies as a function of liquid viscosity ν l . For a sequence of measurements (ν l,k , t k ) we fit the model τ dat = t − t dat 0 = γ(ν l /ν sc ) α for the three parameters (t dat 0 , γ, α). Here ν sc = 20 mm 2 /s is an arbitrary viscosity scale. We minimized the residual S(t dat 0 , γ, α) = 1 2 k log γ + α log ν l,k ν sc − log(t k − t dat 0 ) 2 , (D 1) using the L-BFGS-B algorithm for bound-constrained nonlinear optimization Byrd et al. (1995), and we enforced t dat 0 < 0.999t min and α > 0, where t min = min k {t k }. Figure 18 shows the results of this optimization for the six different initial drop velocities V , along with the values of the fitted parameters. The mean value of the residual isS = 0.254.
167In the experiments by Kolinski et al. (2014b), the parameter α is proposed to be 1 /2. We therefore ran an additional optimization where ν l is constrained to be 1 /2. The mean residual increases toS = 0.385 and the model does not capture the curve in the data points ( Figure 19). We ran a further optimization where α = 1 (Figure 20), which results inS = 0.305. We found that the value of α that minimizes the mean residual is α = 1.1181. For this caseS = 0.281 and the optimization results shown in Figure 21. Figure 22 shows an optimization when the time origin is fixed to the original proposed definition of t 0 = H/V , where H is the drop height above the surface. In Figure 23 the exponent is additionally constrained to α = 1 /2. For each of the six optimizations, the values of S are reported in Table 5.
참고문헌 66건
- Scientific Computing: An Introductory Survey McGraw-Hill eBooks · McGraw-Hill · 1996
- A quadtree-adaptive multigrid solver for the Serre–Green–Naghdi equations Journal of Computational Physics · Elsevier BV · 2015 10.1016/j.jcp.2015.09.009
- Drop Splashing on a Dry Smooth Surface Physical Review Letters · American Physical Society · 2005 10.1103/physrevlett.94.184505
- Drop dynamics after impact on a solid wall: Theory and simulations Physics of Fluids · American Institute of Physics · 2010 10.1063/1.3432498
- Two-phase viscoelastic jetting Journal of Computational Physics · Elsevier BV · 2006 10.1016/j.jcp.2006.05.020
- A second-order projection method for the incompressible navier-stokes equations Journal of Computational Physics · Elsevier BV · 1989 10.1016/0021-9991(89)90151-4
- Comparison of splashing in high- and low-viscosity liquids Physical Review E · American Physical Society · 2014 10.1103/physreve.89.063006
- A stable projection method for the incompressible Navier–Stokes equations on arbitrary geometries and adaptive Quad/Octrees Journal of Computational Physics · Elsevier BV · 2015 10.1016/j.jcp.2015.03.024
- Gerris: a tree-based adaptive solver for the incompressible Euler equations in complex geometries Journal of Computational Physics · Elsevier BV · 2003 10.1016/s0021-9991(03)00298-5
- A Direct Eulerian MUSCL Scheme for Gas Dynamics SIAM Journal on Scientific and Statistical Computing · Society for Industrial and Applied Mathematics · 1985 10.1137/0906009
- Time evolution of liquid drop impact onto solid, dry surfaces Experiments in Fluids · Springer Science+Business Media · 2002 10.1007/s00348-002-0431-x
- On the Partial Difference Equations of Mathematical Physics Birkhäuser Boston eBooks · Birkhäuser Boston · 2002 10.1007/978-1-4612-2080-0_6
- Drops can bounce from perfectly hydrophilic surfaces Europhysics Letters (EPL) · Institute of Physics · 2014 10.1209/0295-5075/108/24001
- A Limited Memory Algorithm for Bound Constrained Optimization SIAM Journal on Scientific Computing · Society for Industrial and Applied Mathematics · 1995 10.1137/0916069
- An Adaptive Level Set Approach for Incompressible Two-Phase Flows Journal of Computational Physics · Elsevier BV · 1999 10.1006/jcph.1998.6106
- Direct measurements of air layer profiles under impacting droplets using high-speed color interferometry Physical Review E · American Physical Society · 2012 10.1103/physreve.85.026315
- Capillary effects during droplet impact on a solid surface Physics of Fluids · American Institute of Physics · 1996 10.1063/1.868850
- XXVIII. On the forms assumed by drops of liquids falling vertically on a horizontal plate Proceedings of the Royal Society of London · Royal Society · 1877 10.1098/rspl.1876.0048
- Precursors to Splashing of Liquid Droplets on a Solid Surface Physical Review Letters · American Physical Society · 2009 10.1103/physrevlett.102.134502
- A Numerical Method for the Incompressible Navier-Stokes Equations Based on an Approximate Projection SIAM Journal on Scientific Computing · Society for Industrial and Applied Mathematics · 1996 10.1137/s1064827593244213
- The air bubble entrapped under a drop impacting on a solid surface Journal of Fluid Mechanics · Cambridge University Press · 2005 10.1017/s0022112005006919
- A Numerical Method for Solving Incompressible Viscous Flow Problems Journal of Computational Physics · Elsevier BV · 1997 10.1006/jcph.1997.5716
- Ultrafast Interference Imaging of Air in Splashing Dynamics Physical Review Letters · American Physical Society · 2011 10.1103/physrevlett.107.154502
- An accurate adaptive solver for surface-tension-driven interfacial flows Journal of Computational Physics · Elsevier BV · 2009 10.1016/j.jcp.2009.04.042
- Experimental investigation of splash and crown formation during single drop impact on wetted surfaces Experiments in Fluids · Springer Science+Business Media · 2003 10.1007/s00348-003-0719-5
- Air-cushioning in impact problems IMA Journal of Applied Mathematics · Oxford University Press · 2013 10.1093/imamat/hxt026
- A coupled level set projection method applied to ink jet simulation Interfaces and Free Boundaries Mathematical Analysis Computation and Applications · EMS Press · 2003 10.4171/ifb/87
- Creation of Prompt and Thin-Sheet Splashing by Varying Surface Roughness or Increasing Air Pressure Physical Review Letters · American Physical Society · 2012 10.1103/physrevlett.109.054501
- Phenomena of liquid drop impact on solid and liquid surfaces Fluid Dynamics Research · IOP Publishing · 1993 10.1016/0169-5983(93)90106-k
- A Conservative Adaptive Projection Method for the Variable Density Incompressible Navier–Stokes Equations Journal of Computational Physics · Elsevier BV · 1998 10.1006/jcph.1998.5890
- Thin film formation during splashing of viscous liquids Physical Review E · American Physical Society · 2010 10.1103/physreve.82.036302
- Droplet splashing on a thin liquid film Physics of Fluids · American Institute of Physics · 2003 10.1063/1.1572815
- Numerical solution of the Navier-Stokes equations Mathematics of Computation · American Mathematical Society · 1968 10.1090/s0025-5718-1968-0242392-2
- Influence of Surface Roughness on Liquid Drop Impact Journal of Colloid and Interface Science · Elsevier BV · 1998 10.1006/jcis.1998.5518
- Skating on a Film of Air: Drops Impacting on a Surface Physical Review Letters · American Physical Society · 2012 10.1103/physrevlett.108.074503
- Multidimensional upwind methods for hyperbolic conservation laws Journal of Computational Physics · Elsevier BV · 1990 10.1016/0021-9991(90)90233-q
- Air cushioning and bubble entrapment in three-dimensional droplet impacts Journal of Fluid Mechanics · Cambridge University Press · 2010 10.1017/s0022112009994009
- Events before droplet splashing on a solid surface Journal of Fluid Mechanics · Cambridge University Press · 2010 10.1017/s0022112009993594
- DROP IMPACT DYNAMICS: Splashing, Spreading, Receding, Bouncing… Annual Review of Fluid Mechanics · Annual Reviews · 2005 10.1146/annurev.fluid.38.050304.092144
- An efficient second-order projection method for viscous incompressible flow 14th Computational Fluid Dynamics Conference · 1991 10.2514/6.1991-1560
- The granular column collapse as a continuum: validity of a two-dimensional Navier–Stokes model with a μ(<i>I</i>)-rheology Journal of Fluid Mechanics · Cambridge University Press · 2011 10.1017/jfm.2011.335
- Pyramidal and toroidal water drops after impact on a solid surface Journal of Fluid Mechanics · Cambridge University Press · 2003 10.1017/s0022112003004142
- Dynamics of Collapse of Air Films in Drop Impact Physical Review Letters · American Physical Society · 2012 10.1103/physrevlett.108.074505
- Drop Impact on a Solid Surface Annual Review of Fluid Mechanics · Annual Reviews · 2015 10.1146/annurev-fluid-122414-034401
- A limited-memory algorithm for bound-constrained optimization 1996 10.2172/204262
- Lift-Off Instability During the Impact of a Drop on a Solid Surface Physical Review Letters · American Physical Society · 2014 10.1103/physrevlett.112.134501
- Experiments of Drops Impacting a Smooth Solid Surface: A Model of the Critical Impact Speed for Drop Splashing Physical Review Letters · American Physical Society · 2014 10.1103/physrevlett.113.024507
- The mechanism of a splash on a dry solid surface Journal of Fluid Mechanics · Cambridge University Press · 2011 10.1017/jfm.2011.415
- Impact of ultra-viscous drops: air-film gliding and extreme wetting Journal of Fluid Mechanics · Cambridge University Press · 2017 10.1017/jfm.2016.840
- Double Contact During Drop Impact on a Solid Under Reduced Air Pressure Physical Review Letters · American Physical Society · 2017 10.1103/physrevlett.119.214502
- Two mechanisms of droplet splashing on a solid substrate Journal of Fluid Mechanics · Cambridge University Press · 2017 10.1017/jfm.2017.768
- Simulations of splashing high and low viscosity droplets Physics of Fluids · American Institute of Physics · 2018 10.1063/1.5036519
- The air entrapment under a drop impacting on a nano-rough surface Soft Matter · Royal Society of Chemistry · 2018 10.1039/c8sm01070f
- AMReX: a framework for block-structured adaptive mesh refinement The Journal of Open Source Software · Open Journals · 2019 10.21105/joss.01370
- Effects of Compressibility at Low Reynolds Number Journal of the aeronautical sciences. [REQUEST TITLE] · 1957 10.2514/8.3906
- Surfing the capillary wave: Wetting dynamics beneath an impacting drop Physical Review Fluids · American Physical Society · 2019 10.1103/physrevfluids.4.123605
- Reference map technique for incompressible fluid–structure interaction Journal of Fluid Mechanics · Cambridge University Press · 2020 10.1017/jfm.2020.353
- Dimple drainage before the coalescence of a droplet deposited on a smooth substrate Proceedings of the National Academy of Sciences · National Academy of Sciences · 2020 10.1073/pnas.2007857117
- Curvature singularity and film-skating during drop impact Physics of Fluids · American Institute of Physics · 2011 10.1063/1.3640028
- Drop impact on a solid surface: short-time self-similarity Journal of Fluid Mechanics · Cambridge University Press · 2016 10.1017/jfm.2016.142
- Air entrainment in dynamic wetting: Knudsen effects and the influence of ambient air pressure Journal of Fluid Mechanics · Cambridge University Press · 2015 10.1017/jfm.2015.121
- LAPACK Users' Guide 1999 10.1137/1.9780898719604
- Deleted Work 1955
- On the Partial Difference Equations of Mathematical Physics IBM Journal of Research and Development · IBM · 1967 10.1147/rd.112.0215
- A numerical method for solving incompressible viscous flow problems Journal of Computational Physics · Elsevier BV · 1967 10.1016/0021-9991(67)90037-x
- Adaptive mesh refinement for hyperbolic partial differential equations Journal of Computational Physics · Elsevier BV · 1984 10.1016/0021-9991(84)90073-1