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

A mass-momentum consistent, Volume-of-Fluid method for incompressible flow on staggered grids

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Arrufat, T
  2. Crialesi-Esposito, M
  3. Fuster, D.
  4. Ling Y
  5. Malan, L
  6. Pal, S.
  7. Scardovelli, R
  8. Tryggvason, G
  9. Zaleski, S.
DOI
10.48550/arxiv.1811.12327
저널
arXiv (Cornell University)
발행년도
2022
발행기관
Cornell University
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.48550/arxiv.1811.12327
토픽
Surface Modification and Superhydrophobicity
OpenAlex ID
W6910827751

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

The computation of flows with large density contrasts is notoriously difficult. To alleviate the difficulty we consider a discretization of the Navier-Stokes equation that advects mass and momentum in a consistent manner. Incompressible flow with capillary forces is modeled and the discretization is performed on a staggered grid of Marker and Cell type. The Volume-of-Fluid method is used to track the interface and a Height-Function method is used to compute surface tension. The advection of the volume fraction is performed using either the Lagrangian-Explicit / CIAM (Calcul d'Interface Affine par Morceaux) method or the Weymouth and Yue (WY) Eulerian-Implicit method. The WY method conserves fluid mass to machine accuracy provided incompressibility is satisfied. To improve the stability of these methods momentum fluxes are advected in a manner "consistent" with the volume-fraction fluxes, that is a discontinuity of the momentum is advected at the same speed as a discontinuity of the density. To find the density on the staggered cells on which the velocity is centered, an auxiliary reconstruction of the density is performed. The method is tested for a droplet without surface tension in uniform flow, for a droplet suddenly accelerated in a carrying gas at rest at very large density ratio without viscosity or surface tension, for the Kelvin-Helmholtz instability, for a 3mm-diameter falling raindrop and for an atomizing flow in air-water conditions.

본문 145,107자

본문 펼치기
## A mass-momentum consistent, Volume-of-Fluid method for incompressible flow on staggered grids T. Arrufat <sup>a</sup>, M. Crialesi-Esposito <sup>b</sup>, D. Fuster <sup>a</sup>, Y. Ling <sup>f</sup>, L. Malan <sup>a,c</sup>, S. Pal <sup>a</sup>, R. Scardovelli <sup>d</sup>, G. Tryggvason <sup>e</sup>, S. Zaleski <sup>a</sup> _aSorbonne Universit´e et CNRS,_ _Institut Jean Le Rond d’Alembert, UMR 7190, Paris, France_ _bCMT-Motores T´ermicos, Universitat Polit´ecnica de Val´encia, Camino de Vera, s_ / _n, Edificio 6D, Valencia,_ _Spain_ _cInCFD, Dept._ _of Mechanical Engineering, University of Cape Town, South Africa_ _d_ _DIN - Lab._ _di Montecuccolino, Universit`a di Bologna, I-40136 Bologna, Italy_ _eMechanical Engineering, Johns Hopkins University, Baltimore, USA_ _fDept._ _of Mechanical Engineering, Baylor University, Waco, TX, USA_ Abstract The computation of flows with large density contrasts is notoriously difficult. To alleviate the difficulty we consider a discretization of the Navier-Stokes equation that advects mass and momentum in a consistent manner. Incompressible flow with capillary forces is modeled and the discretization is performed on a staggered grid of Marker and Cell type. The Volume-of-Fluid method is used to track the interface and a Height-Function method is used to compute surface tension. The advection of the volume fraction is performed using either the Lagrangian-Explicit / CIAM (Calcul d’Interface Affine par Morceaux) method or the Weymouth and Yue (WY) Eulerian-Implicit method. The WY method conserves fluid mass to machine accuracy provided incompressibility is satisfied. To improve the stability of these methods momentum fluxes are advected in a manner “consistent” with the volume-fraction fluxes, that is a discontinuity of the momentum is advected at the same speed as a discontinuity of the density. To find the density on the staggered cells on which the velocity is centered, an auxiliary reconstruction of the density is performed. The method is tested for a droplet without surface tension in uniform flow, for a droplet suddenly accelerated in a carrying gas at rest at very large density ratio without viscosity or surface tension, for the Kelvin-Helmholtz instability, for a 3mm-diameter falling raindrop and for an atomizing flow in air-water conditions. _Keywords:_ Multiphase Flows, Navier-Stokes Equations, Volume of Fluid, Surface Tension, Large Density Contrast _Preprint submitted to Computers and Fluids_ _February 25, 2021_ 1. Introduction Multiphase flows abound in nature, but their stable and accurate computation remains elusive in many cases. As a case in point, many numerical methods used for two-phase incompressible flow are strongly unstable for large density contrasts and large Reynolds numbers. Experience with such simulations shows that the presence of surface tension is an aggravating factor. The large density contrasts that are of interest are air/water or gas/liquid-metal, with ρ _l_ /ρ _g_ of the order of 10 <sup>3</sup> or 10 <sup>4</sup> . The large density contrasts are a difficulty whether one deals with any of the three major interface advection methods, Level-Set, Volume-of-Fluid (VOF) or Front-Tracking, or with combinations such as CLSVOF. (The term density contrast is preferable to density ratio since it encompasses ratios both much larger than one and much smaller than one.) Several methods have been used to alleviate the high-density-contrast difficulties. It has been observed by several authors that making the momentum-advection method conservative improves the situation. For incompressible flow, “momentum-conserving” methods have been initially proposed by [1], and by several other authors since [2, 3, 4, 5, 6, 7]. These methods have been shown to improve the stability of the numerical results in various situations. In particular, liquid-gas flows with very contrasted densities, as for example in the process of atomization, cause serious problems that are resolved by using momentum-conserving methods. In that case another oft-suggested solution is to increase the number of equations from the standard four equations to five, six or seven equations, by introducing new field variables in each phase. The addition of one more density ρ _i_, momentum ρ _i_ u _i_ or energy variable ρ _iei_ increases the number of equations. The authors of ref. [8] used seven equations, those of [9] used five equations and six equations were used in [10]. The last three references also use a momentumconserving formulation. Several authors, including some of those cited above, have argued that the difficulty may come from gas velocities of order _ug_ being mixed with liquid densities of order ρ _l_ . Both the ρ _l_ and _ug_ scales are large and the appearance of an nonphysical ρ _lu_ <sup>2</sup> _g_ <sup>dynamic pressure scale could create numerical pressure fluctuations</sup> of the same order and nonphysical pressure spikes, as the one nicely illustrated in [11] in the front part of a suddenly accelerated small droplet. One way of avoiding this nonphysical mixture of liquid and gas quantities is to extrapolate liquid and gas pressure and velocity in the “other” phase, as in the ghost fluid method. This extrapolation strategy was used successfully in [12]. It may be argued that a way to avoid this numerical diffusion of liquid and gas quantities is to advect the volume fraction and the conserved quantities that depend on it (density, momentum and energy) in a consistent manner. In incompressible flow in which we specialize in this paper, it means that the volume fraction and momentum or velocity must be advected in the same way. This is equivalent to request that the discontinuity of the Heaviside function _H_, marking the phase transition, should be advected at the same speed as the discontinuity in momentum. This can be expressed by the following consistency requirement: if momentum is initially exactly proportional to volume fraction, it should remain so after advection. We call such a method VOFconsistent. To satisfy this requirement the idea is to solve the advection equation for momentum with the same numerical scheme that is used for the VOF color function. This 2 consistency property minimizes the nonphysical transfer of momentum from one phase to another due to the differences in the numerical schemes used. The consistency is especially important when dealing with fluids with a large density contrast where a small numerical momentum transfer from the dense phase to the light phase results in large numerical errors in the velocity field which in turn creates numerical instabilities. In this work, we present a modification of the classical momentum-preserving scheme proposed by [1] for the case of a staggered grid and VOF method. The scheme is then not momentum-conserving although it is built by discretization of the momentum conserving formulation of the advection terms, so we rather call it massmomentum consistent. The paper is organized as follow: the second section deals with the continuum mechanics formulation for incompressible flow and sharp interfaces. Section 3 describes our numerical method, starting with an overview of already-known methods for spatial discretization, time-stepping, and VOF advection. We continue with the new momentum advection-VOF-consistent method. Section 4 is devoted to tests of the method, followed by a conclusion. Among the authors, Gretar Tryggvason, Ruben Scardovelli, Yue Ling and St´ephane Zaleski have been involved in the construction of the base of the ParisSimulator VOF and Front-Tracking code that was used to implement and test the ideas in this paper. ParisSimulator is itself based on a Front-Tracking code developed by Gretar Tryggvason, Sadegh Dabiri and Jiacai Lu. Daniel Fuster was involved in the development of the momentum advection method consistent with VOF advection, with help from Tomas Arrufat, Leon Malan and Yue Stanley Ling. The Kelvin-Helmholtz analysis and testing were done by St´ephane Zaleski. The falling raindrop testing and the corresponding figures were done by Tomas Arrufat and Sagar Pal. The large density droplet and shear layer tests were done by Sagar Pal. The atomisation testing was done by Marco Crialesi-Esposito. 2. Navier–Stokes equations with interfaces We model flows with sharp interfaces defined implicitly by a characteristic function _H_ ( x, _t_ ) defined such that fluid 1 corresponds to _H_ = 1 and fluid 2 to _H_ = 0. The viscosity µ and density ρ are calculated as an average µ = µ1 _H_ + µ2(1 − _H_ ), ρ = ρ1 _H_ + ρ2(1 − _H_ ) . (1) There is no phase change so the interface, almost always a smooth differentiable surface _S_, advances at the speed of the flow, that is _VS_ = u - n where u is the local fluid velocity and n a unit normal vector perpendicular to the interface. Equivalently the interface motion can be expressed in weak form ∂ _tH_ + u - ∇ _H_ = 0, (2) which expresses the fact that the singularity of _H_, located on _S_, moves at velocity _VS_ = u - n . For incompressible flows, which we will consider in what follows, we have ∇· u = 0 . (3) 3 <u>u1;i−1/2,j+1</u> pi,j+1 u2;i,j+1/2 <u>pi−1,j</u> <u>u1;i−1/2,j</u> pi,j <u>u1;i+1/2,j</u> <u>pi+1,j</u> u2;i,j−1/2 <u>pi,j−1</u> Figure 1: Representation of the staggered spatial discretization in two dimensions. The pressure _pi_, _j_ is located at the center of its control volume (light color area); the horizontal velocity component _u_ 1; _i_ +1/2, _j_ is stored in the middle of the right edge of the pressure control volume and at the center of its control volume (dash-dotted area); the vertical velocity component _u_ 2; _i_, _j_ +1/2 is stored in the middle of the top edge and at the center of its control volume (dashed area). The Navier–Stokes equations for incompressible, Newtonian flow with surface tension may conveniently be written in operator form ∂ _t_ (ρ u ) = L(ρ, u ) −∇ _p_ (4) where L = Lconv + Ldiff + Lcap + Lext so that the operator L is the sum of advective, diffusive, capillary force and external force terms. The first two terms are Lconv = −∇· (ρ uu ), Ldiff = ∇· D, (5) where D is a stress tensor whose expression for incompressible flow is , (6) D = µ �∇ u + (∇ u ) <sup>_T_</sup> <sup>�</sup> where µ is computed from _H_ using (1). The capillary term is Lcap = σκδ _S_ n, κ = 1/ _R_ 1 + 1/ _R_ 2, (7) where σ is the surface tension coefficient, n is the unit normal perpendicular to the interface, κ is the sum of the principal curvatures and δ _S_ is a Dirac distribution concentrated on the interface. We assume a constant coefficient σ. Finally Lext represents external forces such as gravity. 3. Method _3.1._ _Spatial discretization_ We assume a regular cubic or square grid. This can be easily generalized to rectangular or cuboid grids, and with some efforts to quadtree and octree grids. We also use staggered velocity and pressure grids, as represented in two dimensions in Fig. 1. 4 The control volume surrounding the pressure _p_ is used for other scalar quantities, such as the density ρ and volume fraction _C_ . The control volumes of the velocity components, _u_ 1 and _u_ 2, and momentum components are shifted respectively half cell horizontally and vertically, with respect to the pressure control volume. The use of staggered control volumes has the advantage of suppressing neutral modes often observed in collocated methods but leads to more complex discretizations (see [13] for a detailed discussion.) This type of staggered representation is easily generalized to three dimensions, and the discrete version of the continuity equation (3) is rather compact on such a grid - _u_ 1; _i_ −1/2, _j_, _k_ + <sup>_u_</sup> <sup>2;</sup> <sup>_i_</sup> <sup>,</sup> <sup>_j_</sup> <sup>+1/2,</sup> <sup>_k_</sup> <sup>−</sup> <sup>_u_</sup> <sup>2;</sup> <sup>_i_</sup> <sup>,</sup> <sup>_j_</sup> <sup>−1/2,</sup> <sup>_k_</sup> ∆ _x_ ∆ _y_ <sup>−</sup> <sup>_u_</sup> <sup>3;</sup> <sup>_i_</sup> <sup>,</sup> <sup>_j_</sup> <sup>,</sup> <sup>_k_</sup> <sup>−1/2</sup> = 0 . (8) ∆ _z_ _u_ 1; _i_ +1/2, _j_, _k_ - _u_ 1; _i_ −1/2, _j_, _k_ <sup>−</sup> <sup>_u_</sup> <sup>2;</sup> <sup>_i_</sup> <sup>,</sup> <sup>_j_</sup> <sup>−1/2,</sup> <sup>_k_</sup> + <sup>_u_</sup> <sup>3;</sup> <sup>_i_</sup> <sup>,</sup> <sup>_j_</sup> <sup>,</sup> <sup>_k_</sup> <sup>+1/2</sup> <sup>−</sup> <sup>_u_</sup> <sup>3;</sup> <sup>_i_</sup> <sup>,</sup> <sup>_j_</sup> <sup>,</sup> <sup>_k_</sup> <sup>−1/2</sup> ∆ _y_ ∆ _z_ In what follows, we shall use the subscript _f_ = _m_ ±, with the integer index _m_ = 1, 2, 3, to note the face of any control volume located in the positive or negative Cartesian direction _m_, and n _f_ for the unit normal vector of face _f_ pointing outwards of the control volume. On a cubic grid the spatial step is ∆ _x_ = ∆ _y_ = ∆ _z_ = _h_ so the discrete continuity equation becomes ∇ <sup>_h_</sup> - u = 3 _m_ =1 ( _um_ + + _um_ −)/ _h_ = 0, (9) where _u_ _f_ = _um_ ± = u - n _f_ is the velocity component normal to face _f_ . The discretization of the interface location is performed using a VOF method. VOF methods typically attempt to solve approximately equation (2) which involves the Heaviside function _H_, whose integral in the cell Ω indexed by _i_, _j_, _k_ defines the volume fraction _Ci_, _j_, _k_ from the relation _h_ <sup>3</sup> _Ci_, _j_, _k_ = Ω _H_ d x . (10) _Ci_, _j_, _k_ represents the fraction of the cell filled with fluid 1, taken to be the reference fluid. _3.2._ _Time Marching_ The volume fraction field is updated as _C_ <sup>_n_</sup> <sup>+1</sup> = _C_ <sup>_n_</sup> + LVOF( _C_ <sup>_n_</sup>, u <sup>_n_</sup> τ/ _h_ ), (11) where L _VOF_ represents the operator that updates the Volume of Fluid data given the velocity field. Once volume fraction is updated, the velocity field is updated in a couple of steps. A projection method is first used, in which a provisional velocity field u <sup>∗</sup> is computed ρ <sup>_n_</sup> <sup>+1</sup> u <sup>∗</sup> = ρ <sup>_n_</sup> u <sup>_n_</sup> + τL <sup>_h_</sup> conv <sup>(ρ</sup> <sup>_n_</sup> <sup>,</sup> <sup>u</sup> <sup>_n_</sup> <sup>) + τ</sup> <sup>_h_</sup> diff <sup>(µ</sup> <sup>_n_</sup> <sup>,</sup> <sup>u</sup> <sup>_n_</sup> <sup>) + L</sup> <sup>_h_</sup> �L <sup>_h_</sup> cap <sup>_h_</sup> <sup>(</sup> <sup>_Cn_</sup> <sup>+1) + L</sup> <sup>_h_</sup> (12) <sup>_h_</sup> ext <sup>(</sup> <sup>_Cn_</sup> <sup>+1)</sup> It goes without saying that the above operators depend on the discretization time step τ and spatial step _h_ as well as the fluid parameters. The discussion of the L <sup>_h_</sup> conv <sup>operator</sup> 5 is the main point of this paper. In the second step, the projection step, the pressure gradient force is added to yield the velocity at the new time step u <sup>_n_</sup> <sup>+1</sup> = u <sup>∗</sup> - ρ <sup>_n_</sup> <u>τ</u> <sup>+1</sup> <sup>∇</sup> <sup>_h_</sup> <sup>_p_</sup> <sup>.</sup> (13) The pressure is determined by the requirement that the velocity at the end of the time step must be divergence free ∇ <sup>_h_</sup> - u <sup>_n_</sup> <sup>+1</sup> = 0, (14) which leads to a Poisson-like equation for the pressure <u>τ</u> ∇ <sup>_h_</sup> - (15) ρ <sup>_n_</sup> <sup>+1</sup> <sup>∇</sup> <sup>_h_</sup> <sup>_p_</sup> <sup>= ∇</sup> <sup>_h_</sup> <sup>·</sup> <sup>u</sup> <sup>∗</sup> <sup>.</sup> _3.3._ _Volume-Of-Fluid_ In this section we detail only the necessary steps to illustrate the momentum advection method based on the VOF method. To simplify the presentation we rescale space and time variables so that the cell volume and the time step are both equal to 1. Any velocity component _u_ becomes _u_ <sup>′</sup> = _u_ τ/ _h_ and the _Ci_, _j_, _k_ value is also the measure of the volume of reference fluid in cell _i_, _j_, _k_ . At the beginning of any simulation the volume fraction field is initialized with the Vofi library described in [14] and [15]. This allows a highly accurate numerical integration of the measure of fluid volumes. _3.3.1._ _Normal vector and plane constant determination_ The VOF method proceeds in two steps, reconstruction and advection. In the first step we consider a PLIC reconstruction in each cell cut by the interface where the unit normal vector n is computed with the MYC method described in [13]. We then consider the colinear normal vector m whose components satisfy the relation | _mx_ |+| _my_ |+| _mz_ | = 1. Given the volume _V_ = _Ci_, _j_, _k_ in cell _i_, _j_, _k_ occupied by fluid 1 and the normal m we consider the family of planes m - x = α (16) By changing the value of the plane constant α a different volume of fluid 1 is cut in the cell. The correct value of α is determined by the resolution of a cubic equation [16]. _3.3.2._ _General split-direction advection_ The interface reconstruction at time _tn_ is then used to obtain the position of the interface and the volumes _Ci_, _j_, _k_ at the next discrete time _tn_ +1. The following discussion of momentum advection is based on two VOF advection methods, Lagrangian Explicit and Weymouth and Yue’s schemes. We first describe their common features. After addition and subtraction of a term proportional to the velocity divergence, equation (2) leads to ∂ _tH_ + ∇· ( u _H_ ) = _H_ ∇· u . (17) This equation is integrated in the time step and cell volume _F_ <sup>(</sup> _f_ <sup>_c_</sup> <sup>)</sup> <sup>+</sup> 6 _Ci_ <sup>_n_</sup>, _j_ <sup>+</sup>, _k_ <sup>1</sup> _i_ <sup>_n_</sup>, _j_, _k_ <sup>= −</sup> d _t_ - _tn_ +1 _tn_ _i_ <sup>_n_</sup>, _j_ <sup>+</sup>, _k_ <sup>1</sup> <sup>−</sup> <sup>_C_</sup> _i_ <sup>_n_</sup>, faces f Ω _H_ ∇· u d x, (18) where the first term on the right-hand side is the sum over the cell faces _f_ of the fluxes _F_ <sup>(</sup> _f_ <sup>_c_</sup> <sup>)</sup> of ( u _H_ ). Obviously the “compression” term on the right-hand side disappears for incompressible flow, however it is essential in split-advection methods. In the previous equation the flux _F_ <sup>(</sup> _f_ <sup>_c_</sup> <sup>)</sup> is _F_ <sup>(</sup> _f_ <sup>_c_</sup> <sup>)</sup> = - _tn_ +1 d _t_ _tn_ _f_ _u f_ ( x, _t_ ) _H_ ( x, _t_ ) d x, (19) where _u f_ = u - n _f_ . Once an approximation for the evolution of ( u _H_ ) during the time step is chosen, a four-dimensional integral remains to be computed in equation (19). The two methods we consider here are directionally split and are also designed to preserve the property 0 ≤ _Ci_, _j_, _k_ ≤ 1 which we call _C_ -bracketing. It is important to preserve _C_ -bracketing in order to avoid arbitrary addition or removal of mass. Furthermore they do not produce in the bulk of the two fluids deviations from the correct values 0 and 1. Directional splitting results in the breakdown of equation (18) into three equations _Ci_ <sup>_n_</sup>, _j_ <sup>,</sup> <sup>_l_</sup>, <sup>+</sup> _k_ <sup>1</sup> _i_ <sup>_n_</sup>, _j_ <sup>,</sup> <sup>_l_</sup>, <sup>+</sup> _k_ <sup>1</sup> <sup>−</sup> <sup>_C_</sup> _i_ <sup>_n_</sup>, <sup>,</sup> _j_ <sup>_l_</sup>, _i_ <sup>_n_</sup>, <sup>,</sup> _j_ <sup>_l_</sup>, _k_ <sup>= −</sup> <sup>_F_</sup> _m_ <sup>(</sup> <sup>_c_</sup> - <sup>)</sup> _m_ <sup>(</sup> <sup>_c_</sup> - <sup>)</sup> <sup>−</sup> <sup>_F_</sup> _m_ <sup>(</sup> <sup>_c_</sup> + <sup>)</sup> _m_ <sup>(</sup> <sup>_c_</sup> + <sup>)</sup> <sup>+</sup> <sup>_cm_</sup> <sup>∂</sup> _m_ <sup>_h_</sup> _m_ <sup>_h_</sup> <sup>_um_</sup> <sup>,</sup> (20) where the superscript _l_ = 0, 1, 2 is the substep index, i.e. _Ci_ <sup>_n_</sup>, <sup>,</sup> _j_ <sup>0</sup>, _i_ <sup>_n_</sup>, _j_, _k_ <sup>and</sup> <sup>_C_</sup> _i_ <sup>_n_</sup>, _j_ <sup>,3</sup>, _i_ <sup>_n_</sup>, <sup>+</sup> _j_, _k_ <sup>1.</sup> _i_ <sup>_n_</sup>, <sup>,</sup> _j_ <sup>0</sup>, _k_ <sup>=</sup> <sup>_C_</sup> _i_ <sup>_n_</sup>, _i_ <sup>_n_</sup>, _j_ <sup>,3</sup>, _k_ <sup>=</sup> <sup>_C_</sup> _i_ <sup>_n_</sup>, <sup>+</sup> _j_, _k_ <sup>1.</sup> The face with subscript _m_ - is the “left” face in direction _m_ with _Fm_ <sup>(</sup> <sup>_c_</sup> - <sup>)</sup> <sup>≥</sup> <sup>0 if the flow is</sup> locally from right to left. A similar reasoning applies to the “right” face _m_ +. We have also approximated the compression term in (18) by - _tn_ +1 _tn_ d _t_ Ω _H_ ∂ _mum_ d x ≃ _cm_ ∂ <sup>_h_</sup> _m_ <sup>_um_</sup> <sup>,</sup> (21) _H_ ∂ _mum_ d x ≃ _cm_ ∂ <sup>_h_</sup> _m_ with no implicit summation rule. In the RHS of (20) and (21) the flux terms _F_ <sup>(</sup> _f_ <sup>_c_</sup> <sup>)</sup> and the partial derivative ∂ _mum_ must be evaluated with the same discretized velocities. In particular, ∂ <sup>_h_</sup> _m_ <sup>_um_</sup> <sup>is</sup> <sup>a</sup> <sup>finite</sup> <sup>difference</sup> <sup>or</sup> <sup>finite</sup> <sup>volume</sup> <sup>approximation</sup> <sup>of</sup> <sup>the</sup> ties. In particular, ∂ <sup>_h_</sup> _m_ <sup>_um_</sup> <sup>is</sup> <sup>a</sup> <sup>finite</sup> <sup>difference</sup> <sup>or</sup> <sup>finite</sup> <sup>volume</sup> <sup>approximation</sup> <sup>of</sup> <sup>the</sup> spatial derivative of the _m_ th component of the velocity vector in direction _m_, and the “compression coefficient” _cm_ approximates the color fraction. Its exact expression is dependent on the advection method and it preserves the _C_ -bracketing condition. Since the coefficient _cm_ may not be the same along the three Cartesian directions, the sum - _m_ <sup>_c_</sup> _m_ <sup>∂</sup> _m_ <sup>_h_</sup> <sup>_um_</sup> <sup>is not necessarily vanishing even if the flow is incompressible.</sup> <sup>After each</sup> - _m_ <sup>_c_</sup> _m_ <sup>∂</sup> _m_ <sup>_h_</sup> <sup>_um_</sup> <sup>is not necessarily vanishing even if the flow is incompressible.</sup> <sup>After each</sup> advection substep (20), the interface is reconstructed with the updated volumes _C_ <sup>_n_</sup> <sup>,</sup> <sup>_l_</sup> <sup>+1</sup> _i_, _j_, _k_ <sup>,</sup> then the fluxes _F_ <sup>(</sup> _f_ <sup>_c_</sup> <sup>)</sup> are computed for the next substep. In each substep the velocity field in direction _m_ is usually dependent only on the spatial component _xm_, _um_ ( _xm_ ). This approximation ensures that the fluid areas fluxing across a cell side are rectangular in two dimensions, as shown in Figs. 2 and 3. The multi-dimensionality of the flow is considered in unsplit methods, where the fluxing areas are described by more complex polygons [17]. <sup>_n_</sup> <sup>,</sup> <sup>_l_</sup> <sup>+1</sup> _i_, _j_, _k_ <sup>,</sup> then the fluxes _F_ <sup>(</sup> _f_ <sup>_c_</sup> <sup>)</sup> _3.3.3._ _Lagrangian Explicit advection_ The Lagrangian Explicit / CIAM method refers to a specific type of split advection and it is most naturally explained as a Lagrangian transport of the Heaviside function [18, 19] . The velocity field is linearly interpolated between the face velocities _um_ - on 7 i−1,j i,j i+1,j V1 V2 V3 Figure 2: Formation of the areas _V_ 1, _V_ 2 and _V_ 3 by Lagrangian advection in the horizontal direction: initial reconstruction with the horizontal velocities on the faces of the central cell (left); segments and areas _Vi_ after Lagrangian advection (right). In three dimensions rectangles become cuboids. the left and _um_ + on the right, so that _um_ ( _xm_ ) = - _um_ −(1 − _xm_ ) + _um_ + _xm_, with the origin of _xm_ on the left face. The equation of motion _dxm_ / _dt_ = _um_ ( _xm_ ) is integrated with a first-order in time, explicit _um_ ( _xm_ <sup>_n_</sup> <sup>) approximation, to get in rescaled variables</sup> _xm_ <sup>_n_</sup> <sup>+1</sup> _m_ <sup>_n_</sup> <sup>.</sup> (22) _m_ <sup>_n_</sup> <sup>+1</sup> = − _um_ - + (1 + _um_ + + _um_ −) _xm_ <sup>_n_</sup> This transformation gives the position of advected points as a function of the original position and compresses distances along direction _m_ by a factor (1 + _um_ + + _um_ −). Points over faces and linear interface are advected in the same way, and in the two-dimensional case of Fig. 2 the advection substep results in the three contributions _V_ 1, _V_ 2 and _V_ 3 to the central cell. The intermediate value of the color function in the central cell will be given by the sum of these three contributions. There is a correspondence between the geometrical interpretation of the Lagrangian Explicit advection and the definition (19) of _F_ <sup>(</sup> _f_ <sup>_c_</sup> <sup>).</sup> <sup>For example,</sup> <sup>for the central cell of</sup> Fig. 2 the flux on the left face is from left to right, since _u_ 1; _i_ −1/2, _j_ - 0. Then with _m_ = 1 and _f_ = 1−, we have _V_ 1 = − _F_ 1 <sup>(</sup> <sup>_c_</sup> - <sup>)</sup> <sup>> 0 and</sup> <sup>_u_</sup> <sup>1−</sup> <sup>=</sup> <sup>u</sup> <sup>·</sup> <sup>n</sup> <sup>1−</sup> <sup>< 0.</sup> <sup>The final expression of the</sup> and _f_ = 1−, we have _V_ 1 = − _F_ 1 <sup>(</sup> <sup>_c_</sup> - <sup>)</sup> <sup>> 0 and</sup> <sup>_u_</sup> <sup>1−</sup> <sup>=</sup> <sup>u</sup> <sup>·</sup> <sup>n</sup> <sup>1−</sup> <sup>< 0.</sup> <sup>The final expression of the</sup> substep is _Ci_ <sup>_n_</sup>, <sup>,</sup> _j_ <sup>_l_</sup>, <sup>+</sup> _k_ <sup>1</sup> _i_ <sup>_n_</sup>, <sup>,</sup> _j_ <sup>_l_</sup>, <sup>+</sup> _k_ <sup>1</sup> <sup>=</sup> <sup>_C_</sup> _i_ <sup>_n_</sup>, _j_ <sup>,</sup> <sup>_l_</sup>, _i_ <sup>_n_</sup>, _j_ <sup>,</sup> <sup>_l_</sup>, _k_ <sup>(1 +</sup> <sup>_um_</sup> <sup>+ +</sup> <sup>_um_</sup> <sup>−) −</sup> <sup>_F_</sup> _m_ <sup>(</sup> <sup>_c_</sup> - <sup>)</sup> _m_ <sup>(</sup> <sup>_c_</sup> - <sup>)</sup> <sup>−</sup> <sup>_F_</sup> _m_ <sup>(</sup> <sup>_c_</sup> + <sup>)</sup> _m_ <sup>(</sup> <sup>_c_</sup> + <sup>)</sup> <sup>,</sup> (23) which shows that the approximation of the derivative is ∂ <sup>_h_</sup> _m_ which shows that the approximation of the derivative is ∂ <sup>_h_</sup> _m_ <sup>_um_</sup> <sup>=</sup> <sup>_um_</sup> <sup>+</sup> <sup>+</sup> <sup>_um_</sup> <sup>−</sup> <sup>and</sup> <sup>the</sup> compression coefficient is _cm_ = _Ci_ <sup>_n_</sup>, <sup>,</sup> _j_ <sup>_l_</sup> _i_ <sup>_n_</sup>, <sup>,</sup> _j_ <sup>_l_</sup>, _k_ (24) In order to remove spurious asymmetries in the flow it is important to change the order of split advections at each timestep. Then the compression coefficient in the horizontal advection, _m_ = 1, can be associated to the first substep, _l_ = 0, in timestep _n_, and to the last substep, _l_ = 2, in the next timestep. The sequence of three Lagrangian substeps (20) does not result in volume conservation _Ci_ <sup>_n_</sup>, <sup>+</sup> _j_, _k_ <sup>1</sup> _i_ <sup>_n_</sup>, _j_, _k_ <sup>= −</sup> 3 _m_ =1 _i_ <sup>_n_</sup>, <sup>+</sup> _j_, _k_ <sup>1</sup> <sup>−</sup> <sup>_C_</sup> _i_ <sup>_n_</sup>, _j_ faces f _F_ <sup>(</sup> _f_ <sup>_c_</sup> <sup>)</sup> <sup>+</sup> _cm_ ( _um_ + + _um_ −) . (25) While the flux terms cancel upon integration over the domain, the sum of the compressive terms does not vanish since _cm_ changes at each substep _l_ . 8 i−1,j i,j i+1,j V1 V3 Figure 3: Eulerian flux representation for advection in the horizontal direction: same initial reconstruction and horizontal velocities of Fig. 2 (left); fluxes, or areas _V_ 1 and _V_ 3, are calculated directly from the interface reconstruction in each cell (right) _3.3.4._ _Weymouth and Yue’s advection_ The (WY) split advection is exactly mass-conserving [20]. In this method the compression coefficient is independent of direction _m_, so that _cm_ = _c_, and is defined as _c_ = _H_ <sup>�</sup> _Ci_ <sup>_n_</sup>, _j_, _k_ <sup>−</sup> <sup>1/2�</sup> (26) where _H_ is a one-dimensional Heaviside function, that is _c_ = 0 if _Ci_ <sup>_n_</sup>, _j_, _k_ <sup>< 1/2 and</sup> <sup>_c_</sup> <sup>= 1</sup> _i_ <sup>_n_</sup>, _j_, _k_ <sup>≥</sup> <sup>1/2.</sup> <sup>The fluxes</sup> <sup>_F_</sup> <sup>(</sup> _f_ <sup>_c_</sup> <sup>)</sup> if _Ci_ <sup>_n_</sup>, if _Ci_ <sup>_n_</sup>, _j_, _k_ <sup>≥</sup> <sup>1/2.</sup> <sup>The fluxes</sup> <sup>_F_</sup> <sup>(</sup> _f_ <sup>_c_</sup> <sup>)</sup> are also defined differently. The reference phase fluxed through the left face in direction _m_ = 1 is equal to the volume fraction in a cuboid of width _ui_ −1/2, _j_, _k_ adjacent to the left face _f_ = 1−. This fluxed volume corresponds to “Eulerian Implicit” (EI) advection in the terminology of [19] and is represented in 2D by the area _V_ 1 of Fig. 3. Using these definitions, Weymouth and Yue were able to show that the final result obeys _C_ -bracketing [20]. This split advection scheme conserves volume at machine accuracy. Indeed the summation of three substeps (20) results in _Ci_ <sup>_n_</sup>, _j_ <sup>+</sup>, _k_ <sup>1</sup> _i_ <sup>_n_</sup>, _j_, _k_ <sup>= −</sup> 3 _m_ =1 _i_ <sup>_n_</sup>, _j_ <sup>+</sup>, _k_ <sup>1</sup> <sup>−</sup> <sup>_C_</sup> _i_ <sup>_n_</sup>, faces f _F_ <sup>(</sup> _f_ <sup>_c_</sup> <sup>)</sup> <sup>+</sup> <sup>_c_</sup> ∂ <sup>_h_</sup> _m_ <sup>_um_</sup> (27) Since <sup>�3</sup> _m_ _m_ <sup>_h_</sup> <sup>_um_</sup> <sup>=</sup> <sup>�</sup> _m_ <sup>3</sup> <sup>3</sup> _m_ =1 <sup>∂</sup> _m_ <sup>_h_</sup> Since <sup>�3</sup> _m_ =1 <sup>∂</sup> _m_ <sup>_h_</sup> <sup>_um_</sup> <sup>=</sup> <sup>�</sup> _m_ <sup>3</sup> =1 <sup>(</sup> <sup>_um_</sup> <sup>+ +</sup> <sup>_um_</sup> <sup>−) is the finite-volume expression for ∇·</sup> <sup>u</sup> <sup>, it dis-</sup> appears and mass is conserved at the accuracy with which condition (3) is satisfied. _3.3.5._ _Clipping_ The algorithm that has been coded involves a number of additional steps designed to avoid unwanted effects of arithmetic floating point round-off error. The most important one is clipping: at the end of each directional advection, the values of _Ci_, _j_, _k_ are reset so that _Cijk_ is set to 0 if _Ci jk_ < ϵ _c_ or to 1 if _Ci jk_ - 1 − ϵ _c_ . When there is no surface tension the choice ϵ _c_ = 10 <sup>−12</sup> works well. Otherwise ϵ _c_ = 10 <sup>−8</sup> gives more stable results with smoother interface shapes. This stronger clipping is a necessity for some simulations with WY, as we observe that WY produces many more “wisps”, i.e. cells with tiny values of 1 − _Ci_, _j_, _k_ inside fluid 1 or _Ci_, _j_, _k_ inside fluid 2. We have not yet been able to determine the origin of this need for a more forceful clipping with WY, but it could be related to the fact that the CIAM method has a geometrical interpretation, while WY is intrinsically algebraic in nature. 9 _3.4._ _Momentum-advection methods_ _3.4.1._ _Advection of a generic conserved quantity_ Consider the advection of a generic _conserved_ quantity φ by a continuous velocity field ∂ _t_ φ + ∇· (φ u ) = 0. (28) We assume that φ is smoothly varying except on the interface where it may be discontinuous. Indeed finding a correct scheme for the advection of this discontinuity, at the same speed as the advection of the volume fraction, is the goal of the present study. The smoothness of the advected quantity away from the interface is verified for the density ρ, the momentum ρ u or the internal energy ρ _e_ . We first integrate (28) in time φ <sup>_n_</sup> _i_, <sup>+</sup> _j_, <sup>1</sup> _k_ <sup>_n_</sup> _i_, _j_, _k_ <sup>= −</sup> <sup>_n_</sup> _i_, <sup>+</sup> _j_, <sup>1</sup> _k_ <sup>−</sup> <sup>φ</sup> <sup>_n_</sup> _i_, _j_ faces f _F_ <sup>(</sup> _f_ <sup>φ)</sup> . (29) The sum on the right-hand side is the sum over faces _f_ of cell _i_, _j_, _k_ of the fluxes _F_ <sup>(</sup> _f_ <sup>φ)</sup> _f_ of φ, which are defined in the same way as the color function fluxes _F_ <sup>(</sup> _f_ <sup>_c_</sup> <sup>)</sup> in (19) <sup>(</sup> _f_ <sup>_c_</sup> <sup>)</sup> in (19) _F_ <sup>(</sup> _f_ <sup>φ)</sup> = - _tn_ +1 _tn_ d _t_ _u f_ ( x, _t_ ) φ( x, _t_ ) d x . (30) _f_ In order to “extract” the discontinuity we introduce the characteristic function _H_ ( x, _t_ ) _F_ <sup>(</sup> _f_ <sup>φ)</sup> = - _tn_ +1 _tn_ d _t_ [ _u f_ _H_ φ + _u f_ (1 − _H_ ) φ] d x, (31) - _tn_ +1 _tn_ and rewrite it as _F_ <sup>(</sup> _f_ <sup>φ)</sup> = φ <sup>¯</sup> 1 - _tn_ +1 _tn_ _f_ _u_ _f_ _H_ d x + φ <sup>¯</sup> 2 _u f_ (1 − _H_ ) d x, (32) _f_ , (33) d _t_ _f_ d _t_ where the face averages φ <sup>¯</sup> _s_, _s_ = 1, 2, are φ¯ _s_ = - _tn_ +1 d _t_ _tn_ - _tn_ +1 _tn_ d _t_ _f_ <sup>φ</sup> <sup>_u_</sup> <sup>_f_</sup> <sup>_Hs_</sup> <sup>d</sup> <sup>x</sup> <u>�</u> _tn_ +1 <u>�</u> _tn_ d _t_ _f_ <sup>_u f_</sup> <sup>_Hs_</sup> <sup>d</sup> <sup>x</sup> <u>�</u> _f_ <sup>_u f_</sup> <sup>_Hs_</sup> <sup>d</sup> <sup>x</sup> and _H_ 1 = _H_, _H_ 2 = 1 − _H_ . Expression (32) can be written in terms of the fluxes _F_ <sup>(</sup> _f_ <sup>_c_</sup> <sup>)</sup> _f_ and _F_ <sup>(1</sup> _f_ <sup>−</sup> <sup>_c_</sup> <sup>)</sup>, this second one being obtained by replacing _H_ with 1 − _H_ in (19) <sup>(1</sup> _f_ <sup>−</sup> <sup>_c_</sup> <sup>)</sup>, this second one being obtained by replacing _H_ with 1 − _H_ in (19) _F_ <sup>(</sup> _f_ <sup>φ)</sup> <sup>(</sup> _f_ <sup>_c_</sup> <sup>)</sup> <sup>+</sup> <sup>φ¯</sup> <sup>2</sup> <sup>_F_</sup> <sup>(1</sup> _f_ <sup>−</sup> <sup>_c_</sup> <sup>)</sup> <sup>(</sup> _f_ <sup>φ)</sup> = φ <sup>¯</sup> 1 _F_ <sup>(</sup> _f_ <sup>_c_</sup> <sup>)</sup> <sup>(1</sup> _f_ <sup>−</sup> <sup>_c_</sup> <sup>)</sup> . (34) _3.4.2._ _Cloning the tracers_ When a cell is cut by the interface, and the field φ is not smooth, it becomes difficult to estimate the integrals in (32). A possibility is to define two new fields φ1 and φ2, with φ _s_ = φ inside phase _s_, then φ = _H_ φ1 + (1 − _H_ ) φ2 . (35) 10 This is more costly in memory usage but simplifies considerably the computation of the averages in (32). The two equations (2) and (28) are now replaced by three equations, the same volume fraction equation (2) and ∂ _t_ φ1 + ∇· (φ1 u ) = 0, ∂ _t_ φ2 + ∇· (φ2 u ) = 0 . (36) The three equations (2) and (36) now imply (28). The addition of a pair of “cloned” variables to deal with large density contrasts is similar to the methods used for the resolution of the momentum and energy equations for compressible flow. For example Saurel and Abgrall used two density, momentum and energy variables in their sevenequations model [8], while Allaire, Clerc and Kokh use two density variables in their five-equations model [9]. The addition of a cloned tracer variable in incompressible isothermal flow was also implemented by Popinet in the “Basilisk” code [21]. _3.4.3._ _Advection of the density field_ The density ρ( x, _t_ ) obeys (28) with φ = ρ. Moreover we consider a divergence-free velocity field, with constant density in each phase. We can extract the density trivially from the integrals (33) to obtain _exactly_ ρ¯ _s_ = ρ _s_ . The flux of ρ is then _F_ <sup>(</sup> _f_ <sup>ρ)</sup> <sup>(</sup> _f_ <sup>_c_</sup> <sup>)</sup> <sup>+ ρ2</sup> <sup>_F_</sup> <sup>(1</sup> _f_ <sup>−</sup> <sup>_c_</sup> <sup>)</sup> <sup>(</sup> _f_ <sup>ρ)</sup> = ρ1 _F_ <sup>(</sup> _f_ <sup>_c_</sup> <sup>)</sup> <sup>(1</sup> _f_ <sup>−</sup> <sup>_c_</sup> <sup>)</sup> . (37) Using this flux definition for ρ, and any VOF method for the fluxes of the color function, one obtains a conservative method for ρ, since eq. (29) evolves ρ as a difference of fluxes. Thus the total mass is conserved. However this result is not consistent with the advection of the color function in the CIAM case, as CIAM does not conserve volumes exactly (see (25)). As a result the advection of ρ is not consistent with the advection of _C_ . This paradox may be resolved if one notices that the compression term is missing in (28). For consistency the compression term should be kept, and the advection equation for a conserved quantity becomes ∂ _t_ φ + ∇· (φ u ) = φ ∇· u (38) It is then possible to define the evolution of φ through a sequence of directionally-split operations which are equivalent to the operations performed on the color function φ _i_ <sup>_n_</sup>, <sup>,</sup> _j_ <sup>_l_</sup>, <sup>+</sup> _k_ <sup>1</sup> _i_ <sup>_n_</sup>, <sup>,</sup> _j_ <sup>_l_</sup>, <sup>+</sup> _k_ <sup>1</sup> <sup>−</sup> <sup>φ</sup> <sup>_n_</sup> _i_, <sup>,</sup> _j_ <sup>_l_</sup> <sup>_n_</sup> _i_, <sup>,</sup> _j_ <sup>_l_</sup>, _k_ <sup>= −</sup> <sup>_F_</sup> _m_ <sup>(φ</sup> - <sup>)</sup> _m_ <sup>(φ</sup> - <sup>)</sup> <sup>−</sup> <sup>_F_</sup> _m_ <sup>(φ</sup> + <sup>)</sup> _m_ <sup>(φ</sup> + <sup>)</sup> <sup>+</sup> - ∂ <sup>_h_</sup> _m_ <sup>_um_</sup> (39) �φ˜ _m_ 1 <sup>_c_</sup> _m_ <sup>(1)</sup> <sup>+</sup> <sup>φ˜</sup> <sup>_m_</sup> 2 <sup>_c_</sup> _m_ <sup>(2)</sup> where _Fm_ <sup>(φ</sup> ± <sup>)</sup> <sup>_m_</sup> _s_ <sup>are</sup> _m_ <sup>(φ</sup> ± <sup>)</sup> <sup>are defined in (34), the cell averages</sup> <sup>φ˜</sup> <sup>_m_</sup> _s_ φ˜ <sup>_m_</sup> _s_ <sup>=</sup> - _tn_ +1 d _t_ _<u>tn</u>_ _<u>tn</u>_ d _t_ <u>Ω</u> <sup>φ</sup> <sup>_Hs_</sup> <sup>∂</sup> _m_ <sup>_h_</sup> <sup>_um_</sup> <sup>d</sup> <sup>x</sup> <u>�</u> _tn_ +1 <u>�</u> _tn_ d _t_ Ω <sup>_Hs_</sup> <sup>∂</sup> <sup>_hmum_</sup> <sup>d</sup> <sup>x</sup> <u>�</u> <u>Ω</u> <sup>φ</sup> <sup>_Hs_</sup> <sup>∂</sup> _m_ <sup>_h_</sup> Ω <sup>_Hs_</sup> <sup>∂</sup> <sup>_hmum_</sup> <sup>d</sup> <sup>x</sup> , (40) and _c_ <sup>(1)</sup> _m_ <sup>(1)</sup> _m_ <sup>=</sup> <sup>_c_</sup> _m_ <sup>is the compression coefficient of the VOF advection, while</sup> <sup>_c_</sup> <sup>(2)</sup> _m_ and _c_ <sup>(1)</sup> _m_ <sup>=</sup> <sup>_c_</sup> _m_ <sup>is the compression coefficient of the VOF advection, while</sup> <sup>_c_</sup> <sup>(2)</sup> _m_ <sup>=</sup> <sup>1 −</sup> <sup>_c_</sup> _m_ is that of the symmetric color fraction 1 − _C_ . Specifically for ρ this gives _m_ <sup>(ρ</sup> + <sup>)</sup> <sup>+</sup> <sup>_C_</sup> _m_ <sup>(ρ)</sup> _m_ <sup>(ρ)</sup> <sup>,</sup> (41) ρ _i_ <sup>_n_</sup>, <sup>,</sup> _j_ <sup>_l_</sup>, <sup>+</sup> _k_ <sup>1</sup> _i_ <sup>_n_</sup>, <sup>,</sup> _j_ <sup>_l_</sup>, <sup>+</sup> _k_ <sup>1</sup> <sup>−</sup> <sup>ρ</sup> <sup>_n_</sup> _i_, <sup>,</sup> _j_ <sup>_l_</sup> <sup>_n_</sup> _i_, <sup>,</sup> _j_ <sup>_l_</sup>, _k_ <sup>= −</sup> <sup>_F_</sup> _m_ <sup>(ρ</sup> - <sup>)</sup> _m_ <sup>(ρ</sup> - <sup>)</sup> <sup>−</sup> <sup>_F_</sup> _m_ <sup>(ρ</sup> + <sup>)</sup> 11 where the fluxes are given by (37) and the compression term is _Cm_ <sup>(ρ)</sup> <sup>=</sup> <sup>(1)</sup> _m_ <sup>+ ρ2</sup> <sup>_c_</sup> _m_ <sup>(2)</sup> �ρ1 _c_ <sup>(1)</sup> _m_ _m_ - ∂ <sup>_h_</sup> _m_ <sup>_um_</sup> (42) - ∂ <sup>_h_</sup> _m_ with no implicit summation on _m_ and _c_ <sup>(</sup> _m_ <sup>_s_</sup> <sup>)</sup> with no implicit summation on _m_ and _c_ <sup>(</sup> _m_ <sup>_s_</sup> <sup>)</sup> <sup>given by (24) or (26). For the WY method, the</sup> compression terms eventually cancel out and mass is conserved at the same accuracy as the discrete incompressibility condition <sup>�3</sup> _m_ =1 <sup>∂</sup> _m_ <sup>_h_</sup> <sup>_um_</sup> <sup>= 0 is verified.</sup> <sup>3</sup> _m_ =1 <sup>∂</sup> _m_ <sup>_h_</sup> _m_ <sup>_h_</sup> <sup>_um_</sup> <sup>= 0 is verified.</sup> _3.4.4._ _Momentum advection:_ _basic expressions_ For momentum advection we consider the transport of the scalar quantities φ = ρ _uq_, where _q_ = 1, 2, 3 is the component index. With definition (33), we obtain for the face weighted averages φ <sup>¯</sup> _s_ = ~~ρ~~ _<u>uqs</u>_ the expression ~~ρ~~ _<u>uqs</u>_ = ρ _su_ ¯ _q_, _s_ (43) where - _tn_ +1 d _t_ _tn_ _u_ ¯ _q_, _s_ = _tn_ d _t_ _f_ <sup>_uqu_</sup> <sup>_f Hs_</sup> <sup>d</sup> <sup>x</sup> <u>�</u> _tn_ +1 <u>�</u> _tn_ d _t_ _f_ <sup>_u f Hs_</sup> <sup>d</sup> <sup>x</sup> <u>�</u> _f_ <sup>_u f Hs_</sup> <sup>d</sup> <sup>x</sup> (44) We term _u_ ¯ _q_, _s_ the “advected interpolated velocity” and explain below how it is computed. Thus the evolution of the momentum is given by (ρ _uq_ ) <sup>_n_</sup> _i_, <sup>,</sup> _j_ <sup>_l_</sup>, <sup>+</sup> _k_ <sup>1</sup> <sup>_n_</sup> _i_, <sup>,</sup> _j_ <sup>_l_</sup>, <sup>+</sup> _k_ <sup>1</sup> <sup>−</sup> <sup>(ρ</sup> <sup>_uq_</sup> <sup>)</sup> <sup>_n_</sup> _i_, <sup>,</sup> _j_ <sup>_l_</sup> <sup>_n_</sup> _i_, <sup>,</sup> _j_ <sup>_l_</sup>, _k_ <sup>= −</sup> <sup>_F_</sup> _m_ <sup>(ρ</sup> - <sup>_u_</sup> <sup>)</sup> _m_ <sup>(ρ</sup> - <sup>_u_</sup> <sup>)</sup> <sup>−</sup> <sup>_F_</sup> _m_ <sup>(ρ</sup> + <sup>_u_</sup> <sup>)</sup> _m_ <sup>(ρ</sup> + <sup>_u_</sup> <sup>)</sup> <sup>+</sup> <sup>(1)</sup> _m_ <sup>+ ρ2</sup> <sup>_u_</sup> <sup>˜</sup> _q_ <sup>_m_</sup>, _m_ _q_ <sup>_m_</sup>,2 <sup>_c_</sup> _m_ <sup>(2)</sup> - ∂ <sup>_h_</sup> _m_ <sup>_um_</sup> (45) �ρ1 _u_ ˜ <sup>_m_</sup> _q_, ˜ <sup>_m_</sup> _q_,1 <sup>_c_</sup> <sup>(1)</sup> _m_ where _F_ <sup>(</sup> _f_ <sup>ρ</sup> <sup>_u_</sup> <sup>)</sup> <sup>(</sup> _f_ <sup>_c_</sup> <sup>)</sup> <sup>+ ρ2</sup> <sup>_u_</sup> <sup>¯</sup> <sup>_q_</sup> <sup>,2</sup> <sup>_F_</sup> <sup>(1</sup> _f_ <sup>−</sup> <sup>_c_</sup> <sup>)</sup> <sup>(</sup> _f_ <sup>ρ</sup> <sup>_u_</sup> <sup>)</sup> = ρ1 _u_ ¯ _q_,1 _F_ <sup>(</sup> _f_ <sup>_c_</sup> <sup>)</sup> <sup>(1</sup> _f_ <sup>−</sup> <sup>_c_</sup> <sup>)</sup>, (46) and the “central interpolated velocity”, corresponding to the averages φ <sup>˜</sup> <sup>_m_</sup> _s_ <sup>of (40), are</sup> _u_ ˜ <sup>_m_</sup> _q_, _s_ <sup>=</sup> - _tn_ +1 d _t_ _<u>tn</u>_ _<u>tn</u>_ d _t_ <u>Ω</u> <sup>_uq Hs_</sup> <sup>∂</sup> _m_ <sup>_h_</sup> <sup>_um_</sup> <sup>d</sup> <sup>x</sup> <u>�</u> _tn_ +1 <u>�</u> _tn_ d _t_ Ω <sup>_Hs_</sup> <sup>∂</sup> <sup>_hmum_</sup> <sup>d</sup> <sup>x</sup> <u>Ω</u> <sup>_uq Hs_</sup> <sup>∂</sup> _m_ <sup>_h_</sup> <u>�</u> Ω <sup>_Hs_</sup> <sup>∂</sup> <sup>_hmum_</sup> <sup>d</sup> <sup>x</sup> (47) From now on we omit the superscript _m_ for _u_ ˜ <sup>_m_</sup> _q_ <sup>to</sup> <sup>avoid</sup> <sup>too</sup> <sup>complex</sup> <sup>notations.</sup> <sup>No-</sup> tice that “cloning” the advected velocities _u_ ¯ _q_,1 and _u_ ¯ _q_,2 would make it easier to advect a velocity field with a jump on the interface. However in viscous flow without phase change the velocity is continuous on the interface, and to avoid an excessively complicated method we approximate the velocity field as continuous and we choose _u_ ¯ _q_ = _u_ ¯ _q_,1 = _u_ ¯ _q_,2 for the “advected interpolated velocity” and _u_ ˜ _q_ = _u_ ˜ _q_,1 = _u_ ˜ _q_,2 for the “central interpolated velocity”. An important simplification is then _F_ <sup>(</sup> _f_ <sup>ρ</sup> <sup>_u_</sup> <sup>)</sup> <sup>(</sup> _f_ <sup>ρ</sup> <sup>_u_</sup> <sup>)</sup> = _u_ ¯ _qF_ <sup>(</sup> _f_ <sup>ρ)</sup> _f_ <sup>ρ)</sup> (48) (which is the central equation in this development) and thus _m_ <sup>(ρ</sup> + <sup>)</sup> <sup>+</sup> <sup>_u_</sup> <sup>˜</sup> <sup>_qC_</sup> _m_ <sup>(ρ),</sup> _m_ <sup>(ρ),</sup> (49) (ρ _uq_ ) <sup>_n_</sup> _i_, <sup>,</sup> _j_ <sup>_l_</sup>, <sup>+</sup> _k_ <sup>1</sup> <sup>_n_</sup> _i_, <sup>,</sup> _j_ <sup>_l_</sup>, <sup>+</sup> _k_ <sup>1</sup> <sup>−</sup> <sup>(ρ</sup> <sup>_uq_</sup> <sup>)</sup> _i_ <sup>_n_</sup>, <sup>,</sup> _j_ <sup>_l_</sup> _i_ <sup>_n_</sup>, <sup>,</sup> _j_ <sup>_l_</sup>, _k_ <sup>= −</sup> <sup>_u_</sup> <sup>¯</sup> <sup>_qF_</sup> _m_ <sup>(ρ</sup> - <sup>)</sup> _m_ <sup>(ρ</sup> - <sup>)</sup> <sup>−</sup> <sup>_u_</sup> <sup>¯</sup> <sup>_qF_</sup> _m_ <sup>(ρ</sup> + <sup>)</sup> where the density fluxes are defined in (37) and the compression term _C_ <sup>(ρ)</sup> in (42). In the above expression the face-weighted average velocities _u_ ¯ _q_ are defined using (44) on 12 the corresponding left face _m_ - or right face _m_ +. It is important to note that up to this point the weighted averages _u_ ¯ _q_ and _u_ ˜ _q_ have been defined but the method in which they are estimated in the numerical method will be given only in what follows. If we combine the scheme above with the CIAM scheme, the compression coefficient in the volume fraction advection from (24) is _C_ <sup>_n_</sup> <sup>,</sup> <sup>_l_</sup>, and for the central interpolated velocity we take _u_ ˜ _q_ = _u_ <sup>_n_</sup> _q_ <sup>,</sup> <sup>_l_</sup> <sup>.</sup> <sup>The compression term in (49) does not cancel out when the</sup> velocity we take _u_ ˜ _q_ = _u_ <sup>_n_</sup> _q_ <sup>,</sup> <sup>_l_</sup> <sup>.</sup> <sup>The compression term in (49) does not cancel out when the</sup> final momentum is computed after three directionally-split advections and the result is not exactly conservative. On the other hand with the WY scheme, the compression coefficient in the volume fraction advection from (26) is _c_, that is independent of direction _m_ and (42) becomes _Cm_ <sup>(ρ)</sup> <sup>_h_</sup> _m_ <sup>_um_</sup> <sup>.</sup> (50) _m_ <sup>(ρ)</sup> <sup>=</sup> �ρ1 _c_ + ρ2(1 − _c_ )� - ∂ <sup>_h_</sup> _m_ Since there is no bracketing on the velocity components, we take _u_ ˜ _q_ = _u_ <sup>_n_</sup> _q_ Since there is no bracketing on the velocity components, we take _u_ ˜ _q_ = _u_ <sup>_n_</sup> _q_ <sup>which</sup> <sup>is</sup> independent on the substep _l_ . Provided the velocity field is incompressible, that is �3 _m_ =1 <sup>∂</sup> _m_ <sup>_h_</sup> <sup>_um_</sup> <sup>=</sup> <sup>0,</sup> <sup>after the three split advections (49) one obtains a cancellation of the</sup> �3 _m_ =1 <sup>∂</sup> _m_ <sup>_h_</sup> <sup>_um_</sup> <sup>=</sup> <sup>0,</sup> <sup>after the three split advections (49) one obtains a cancellation of the</sup> compression terms and (ρ _uq_ ) <sup>_n_</sup> _i_, <sup>,</sup> _j_ <sup>3</sup>, _i_ <sup>_n_</sup>, _j_, _k_ <sup>= −</sup> <sup>_n_</sup> _i_, <sup>,</sup> _j_ <sup>3</sup>, _k_ <sup>−</sup> <sup>(ρ</sup> <sup>_uq_</sup> <sup>)</sup> _i_ <sup>_n_</sup>, _j_ faces f _u_ ¯ _qF_ <sup>(</sup> _f_ <sup>ρ).</sup> (51) _u_ ¯ _qF_ <sup>(</sup> _f_ <sup>ρ)</sup> The momentum transport coupled with WY advection is thus exactly conservative. The advected interpolated velocity ¯ _uq_ and the velocity _u f_ normal to face _f_ are discussed in the next section. _3.4.5._ _Momentum advection:_ _interpolations and flux limiters_ The momentum equation (49) can be approximated either 1) in the bulk of the phases or 2) in the neighborhood of the interface. In the first case the expression simplifies considerably since both the density and the color fraction are constant and the spurious compression terms cancel out _u_ <sup>_n_</sup> _q_ <sup>,3</sup> <sup>_n_</sup> _q_ <sup>= −</sup> <sup>_n_</sup> _q_ <sup>,3</sup> <sup>−</sup> <sup>_un_</sup> _q_ faces f _u_ ¯ _qu_ _f_ . (52) We distinguish an “advecting” velocity _u_ _f_ = u - n _f_ and an “advected velocity” component _u_ ¯ _q_, _f_, involving an average over face _f_ . Both velocity components require an interpolation from their position in the staggered grid to where they are needed. Thus the scheme in the bulk is _u_ <sup>_n_</sup> _q_ <sup>,3</sup> <sup>_n_</sup> _q_ <sup>= −</sup> <sup>(advecting)</sup> _f_, (53) <sup>_n_</sup> _q_ <sup>,3</sup> <sup>−</sup> <sup>_un_</sup> _q_ faces f faces f _u_ ¯ <sup>(advected)</sup> _q_ <sup>(advected)</sup> _q_ _u_ <sup>(advecting)</sup> _f_ while near the interface is (ρ _uq_ ) <sup>_n_</sup> <sup>,3</sup> - (ρ _uq_ ) <sup>_n_</sup> = − <sup>(advected)</sup> _q_ _F_ <sup>(</sup> _f_ <sup>ρ)</sup> _u_ ¯ <sup>(advected)</sup> _q_ <sup>(</sup> _f_ <sup>ρ)</sup> + 3 _m_ =1 _u_ ˜ _qCm_ <sup>(ρ)</sup> <sup>.</sup> (54) Momentum advection in our model is described by these two equations which are solved on a cubic grid with a finite-volume method. In the previous sections we have 13 derived a new expression for the momentum fluxes and the compression term, i.e. the RHS of (54), that is consistent with the volume fraction advection. To estimate the advecting velocities _u_ <sup>(advecting)</sup> _f_ we use a centered scheme. The stag gered 2D grid of Fig. 1 has the same variables arrangement that is found in 3D on a plane perpendicular to the _z_ -axis and through the pressure point _pi_, _j_, _k_ . To illustrate the procedure we consider a face perpendicular to the horizontal direction 1, in particular _f_ = 1−. There are two cases. In the first case the advected component is not aligned with the face normal, this corresponds to _q_ = 2. The _u_ 2 control volume in Fig. 1 is centered on _i_, _j_ + 1/2, _k_, and face _f_ = 1− is then centered on _i_ - 1/2, _j_ + 1/2, _k_ . The advecting velocity _u_ <sup>(advecting)</sup> 1− is not given on this point and has to be interpolated _u_ <sup>(advecting)</sup> 1; _i_ −1/2, _j_ +1/2, _k_ <sup>=</sup> <sup><u>1</u></sup> - _u_ 1; _i_ −1/2, _j_, _k_ + _u_ 1; _i_ −1/2, _j_ +1, _k_ - . (55) 2 In the second case the advected component is aligned with the face normal, this corresponds to _q_ = 1. The _u_ 1 control volume in Fig. 1 is centered on _i_ + 1/2, _j_, _k_ and face _f_ = 1− is then centered on _i_, _j_, _k_ . The interpolation is now <sup>(advecting)</sup> 1; _i_, _j_, _k_ = <sup><u>1</u></sup> 2 _u_ <sup>(advecting)</sup> 1; _i_, _j_, _k_ <sup><u>1</u></sup> - _u_ 1; _i_ −1/2, _j_, _k_ + _u_ 1; _i_ +1/2, _j_, _k_ - . (56) 2 Now we turn to the interpolation of the _advected_ velocity _u_ ¯ _q_ in (54). The interpolants we use in this case are one-dimensional and operate on the velocities _uq_, on the center of their control volume, that are regularly spaced on a segment aligned with the direction of the advection, that is perpendicular to face _f_ . We still consider an advection along the horizontal direction 1. In Fig. 4, with the lighter notation φ = _uq_, we need to interpolate the advected velocity on the left face of the reference control volume Ω. For the advected velocity _u_ 1 and the advecting velocity (56) on face _f_ = 1− the correspondence with the φ values in Fig. 4 is φ−3/2 = _u_ 1; _i_ −3/2, _j_, _k_, φ−1/2 = _u_ 1; _i_ −1/2, _j_, _k_, φ1/2 = _u_ 1; _i_ +1/2, _j_, _k_, - · · (57) while for the advected velocity _u_ 2 and the advecting velocity (55) is φ−3/2 = _u_ 2; _i_ −2, _j_ +1/2, _k_, φ−1/2 = _u_ 2; _i_ −1, _j_ +1/2, _k_, φ1/2 = _u_ 2; _i_, _j_ +1/2, _k_, - · · (58) The extension of these results to an advection along the other two directions _q_ = 2, 3 follows easily. We need to predict φ0 on face _f_ = 1− in Fig. 4 to serve as an approximation of _u_ ¯ _q_ given in (44). We consider an interpolation function _f_ that computes this value as a function of the four nearest points, and in an upwind manner based on the sign of the _advecting_ velocity _u_ _f_ φ0 = _f_ <sup>�</sup> φ−3/2, φ−1/2, φ1/2, φ3/2, sign( _u f_ ) <sup>�</sup> . (59) In this study we have extensively tested two kinds of interpolations: 1. a scheme that uses a QUICK third-order interpolant in the bulk, away from the interface and a simple first-order upwind flux near the interface. We call this scheme QUICK-UW; 2. a scheme that uses a Superbee slope limiter [22] for the flux in the bulk and a more complex Superbee limiter tuned to a shifted interpolation point near the interface. We naturally call this scheme “Superbee”. The details of the two schemes are given in Appendix A. 14 face f advecting <sup><mark>u > 0</mark></sup> f Ω face f Ω _D_ Ω −3/2 φ−1/2 <mark>u =</mark> advectedq <mark>φ</mark> 0 φ1/2 _x_ φ−3/2 φ−1/2 <mark>u =</mark> advected <mark>φ</mark> φ φ <mark>u =</mark> q <mark>φ</mark> 0 φ1/2 advected 0 (a) (b) Figure 4: The reference control volume Ω for the advected velocity component φ = _uq_ is shown. A horizontal advection is here considered and both the advecting velocity _u f_ and the advected velocity require an interpolation for their value on the left face _f_ = 1−: (a) the value _u_ ¯ _q_ = φ0 (full circle) is interpolated (see Appendix A) from the values φ = _uq_ on the nodes (open circles); (b) a more sophisticated interpolation predicts the value φ(ˆ _x_ ) where _x_ ˆ is at the center of the “donating” region Ω _D_ (see Appendix A). _3.4.6._ _VOF-consistent momentum advection on staggered grids_ In order to apply the above method on the staggered grid, we need the color fraction data in the velocity control volumes. At the start of the velocity advection operations, summarized by the operator L <sup>_h_</sup> conv <sup>,</sup> <sup>each</sup> <sup>velocity</sup> <sup>control</sup> <sup>volume</sup> <sup>overlaps</sup> <sup>two</sup> <sup>pres-</sup> sure/VOF control volumes, for example Ω _i_ +1/2, _j_ overlaps Ω _i_, _j_ and Ω _i_ +1, _j_ in the 2D case of Fig. 5. An estimate of the shifted volume fraction _Ci_ +1/2, _j_ in Ω _i_ +1/2, _j_ is then obtained by performing the usual reconstructions in Ω _i_, _j_ and Ω _i_ +1, _j_ and adding the two half-fractions. The following operations are then performed at each time step and are summarized in Algorithm 1 : <u>Algorithm 1</u> <u>Summary of the algorithm for the momentum and VOF time step</u> Reconstruct interface from volume fractions _C_ <sup>_n_</sup> for each component _q_ do Compute “shifted” volume fraction _Cq_ <sup>_n_</sup> <sup>,0</sup> Compute “shifted” volume fraction _Cq_ <sup>_n_</sup> <sup>,0</sup> in the staggered control volumes Compute density ρ <sup>_n_</sup> _q_ <sup>,0</sup> (Eq. 1) Compute density ρ <sup>_n_</sup> _q_ <sup>,0</sup> (Eq. 1) Compute momentum component (ρ _quq_ ) <sup>_n_</sup> <sup>,0</sup> end for for each substep _l_ do for each component _q_ do Momentum advection in the _xl_ direction to compute (ρ _quq_ ) <sup>_n_</sup> <sup>,</sup> <sup>_l_</sup> <sup>+1</sup> (Eq. 49) (the _xl_ coordinate direction changes with the time step) VOF advection of “shifted” _Cq_ in the _xl_ direction to compute _Cq_ <sup>_n_</sup> <sup>,</sup> <sup>_l_</sup> <sup>+1</sup> _q_ Compute density ρ <sup>_n_</sup> _q_ <sup>,</sup> <sup>_l_</sup> <sup>+1</sup> (Eq. 1) Compute density ρ <sup>_n_</sup> _q_ <sup>,</sup> <sup>_l_</sup> <sup>+1</sup> (Eq. 1) Update velocity component _u_ <sup>_n_</sup> _q_ <sup>,</sup> <sup>_l_</sup> <sup>+1</sup> <sup>_n_</sup> _q_ <sup>,</sup> <sup>_l_</sup> <sup>+1</sup> = (ρ _quq_ ) <sup>_n_</sup> <sup>,</sup> <sup>_l_</sup> <sup>+1</sup> /ρ <sup>_n_</sup> _q_ <sup>,</sup> <sup>_l_</sup> <sup>+1</sup> _q_ _q_ end for VOF advection of _C_ in pressure control volumes in the _xl_ direction to compute _C_ <sup>_n_</sup> <sup>,</sup> <sup>_l_</sup> <sup>+1</sup> <u>end for</u> 15 Ω i+1/2,j i,j i+1,j Ω Ωi,j i+1,j Figure 5: Computation of the shifted volume fractions from the half-fractions. 1. Reconstruction of the interface at time _tn_ from the data _C_ <sup>_n_</sup>, and computation of the shifted fraction of Fig. 5 to obtain the “shifted” data _Cq_ <sup>_n_</sup> <sup>and</sup> <sup>ρ</sup> <sup>_n_</sup> _q_ <sup>in</sup> <sup>the</sup> staggered control volumes ( _q_ = 1, 2, 3 is the component index), for example ρ1 in Ω _i_ +1/2, _j_, _k_ for the horizontal momentum component ρ1 _u_ 1. 2. Computation of the three momentum components (ρ _quq_ ) <sup>_n_</sup> at time _tn_ . 3. Advection of the three momentum components along one coordinate direction, say _x_ direction, using (49) to obtain the updated momentum components (ρ _quq_ ) <sup>_n_</sup> <sup>,1</sup> after the first substep. 4. Advection with the VOF method of the “shifted” volume fraction data _Cq_ <sup>_n_</sup> <sup>of the</sup> staggered control volumes along the _x_ direction to obtain the updated volume fractions _Cq_ <sup>_n_</sup> <sup>,1</sup> and from (1) the densities ρ <sup>_n_</sup> _q_ <sup>,1</sup> after the first substep. 5. Extraction of the provisional velocity components _u_ <sup>_n_</sup> _q_ <sup>,1</sup> after the first substep, _u_ <sup>_n_</sup> _q_ <sup>,1</sup> = (ρ _quq_ ) <sup>_n_</sup> <sup>,1</sup> /ρ <sup>_n_</sup> _q_ <sup>,1.</sup> 6. Repeat the previous operations for momentum components, shifted volume fractions and densities, and velocity components for the next two substeps with split advections along the _y_ and _z_ directions. Eventually obtain (ρ _quq_ ) <sup>_n_</sup> <sup>+1</sup> = (ρ _quq_ ) <sup>_n_</sup> <sup>,3</sup> and ρ˜ <sup>_n_</sup> _q_ <sup>+1</sup> = ρ <sup>_n_</sup> _q_ <sup>,3.</sup> <sup>At each time step, the sequence</sup> <sup>_x_</sup> <sup>,</sup> <sup>_y_</sup> <sup>,</sup> <sup>_z_</sup> <sup>is permuted.</sup> 7. In parallel, computation of _C_ <sup>_n_</sup> <sup>+1</sup> = _C_ <sup>_n_</sup> <sup>,3</sup> on the pressure control volumes using the VOF method. _q_ <sup>_n_</sup> <sup>and</sup> <sup>ρ</sup> <sup>_n_</sup> _q_ _q_ <sup>_n_</sup> <sup>,1</sup> and from (1) the densities ρ <sup>_n_</sup> _q_ <sup>,1</sup> <sup>_n_</sup> _q_ <sup>,1</sup> = (ρ _quq_ ) <sup>_n_</sup> <sup>,1</sup> /ρ <sup>_n_</sup> _q_ <sup>,1</sup> <sup>_n_</sup> _q_ <sup>+1</sup> = ρ <sup>_n_</sup> _q_ <sup>,3</sup> and ρ˜ <sup>_n_</sup> _q_ <sup>+1</sup> The interface reconstruction, the computation of volume fraction fluxes and the interpolation of “advected” and “advecting” velocity components have been detailed in the previous sections. We remark that the advected velocity components _uq_ are updated at each substep, while the advecting velocities _u f_ are interpolated from the initial velocity field u <sup>_n_</sup> at time _tn_ . The shifted fractions of Fig. 5 are computed by the same routine that is computing the Eulerian fluxes _V_ 1 and _V_ 3 of Fig. 3. The three momentum components (ρ _quq_ ) <sup>_n_</sup> <sup>+1</sup> at the beginning of next time step _tn_ +1 require the computation of the three “shifted” volume fractions _Cq_ <sup>_n_</sup> <sup>+1</sup> and densities ρ <sup>_n_</sup> _q_ <sup>+1</sup> starting from _C_ <sup>_n_</sup> <sup>+1</sup> . However, these densities ρ <sup>_n_</sup> _q_ <sup>+1</sup> are different from the densi ties ρ˜ <sup>_n_</sup> _q_ <sup>+1</sup> = ρ <sup>_n_</sup> _q_ <sup>,3</sup> computed in the previous time step by directly advecting the “shifted” <sup>_n_</sup> _q_ <sup>+1</sup> starting from _C_ <sup>_n_</sup> <sup>+1</sup> . However, these densities ρ <sup>_n_</sup> _q_ <sup>+1</sup> <sup>_n_</sup> _q_ <sup>+1</sup> = ρ <sup>_n_</sup> _q_ <sup>,3</sup> <sup>_n_</sup> _q_ <sup>,3</sup> computed in the previous time step by directly advecting the “shifted” 16 Figure 6: Diagram of the time step. For simplicity is represented the 2D case for the density on the grid _i_, _j_ and horizontal velocity _u_ 1 on the staggered grid _i_ + 1/2, _j_ . The evolution of the velocity component _u_ 2 on the staggered grid _i_, _j_ + 1/2 is similar. The initial variables ρ <sup>_n_</sup>, _u_ <sup>_n_</sup> 1 <sup>,</sup> <sup>_un_</sup> 2 <sup>are</sup> <sup>inside</sup> <sup>the</sup> <sup>ellipses.</sup> <sup>The</sup> interpolated “advecting” components _u_ 1 and _u_ 2 have superscript _n_ . The shifted density ρ <sup>_n_</sup> <sup>,0</sup> is constructed with the shifted fractions of _C_ to initialize the momentum component (ρ _u_ 1) <sup>_n_</sup> <sup>,0</sup> . The first split advection is along the _x_ direction to variables with superscript _n_, 1, the second one is along the _y_ direction to variables with superscript _n_, 2. The updated density is ρ <sup>_n_</sup> <sup>,2</sup> = ρ <sup>_n_</sup> <sup>+1</sup> while the horizontal velocity _u_ <sup>_n_</sup> 1 <sup>,2</sup> = _u_ <sup>∗</sup> 1 <sup>enters the</sup> RHS of the Poisson-like equation (15). volume fractions _Cq_ <sup>_n_</sup> <sup>.</sup> <sup>The reason for this difference is that the linear reconstruction is</sup> approximate and it is not even continuous on the boundary of its control volume. As a matter of facts, at each substep we have four slightly different interface reconstructions. This implies that momentum is not conserved between two time steps. We note that attempting to always use only the three sets _Cq_ <sup>_n_</sup> <sup>and</sup> <sup>evolve</sup> <sup>them</sup> <sup>by</sup> <sup>the</sup> <sup>VOF</sup> <sup>method</sup> on the staggered cells would maintain conservation but result in the three staggered grids evolving independently of each other and eventually diverging. A diagram of the whole scheme is presented in Fig. 6. _3.5._ _Description of the other time-split terms_ The other time-split terms in equation (12) and in the projection step (13) are solved in a standard centered way. The density on the faces of the central cells Ω _i_, _j_, _k_ is estimated using a simple average ρ _i_ +1/2, _j_, _k_ = (ρ _i_, _j_, _k_ + ρ _i_ +1, _j_, _k_ )/2. Although this is less accurate and consistent than the usage of the densities ρ _q_, computed from the shifted fractions as described above, the simple average is used both for simplicity and because tests have shown that the usage of ρ _q_ leads to less stable simulations. The velocities in the diffusion term are introduced in an explicit way. Although this requires small time steps of the order ρ _h_ <sup>2</sup> /µ, the capillary restriction on time steps is usually even smaller, being of order τ = (ρ _h_ <sup>3</sup> /σ) <sup>1/2</sup> . The two restrictions become of the same order when _h_ ∼ _l_ µσ, where _l_ µσ = µ <sup>2</sup> /(σρ) is the length at which the viscous 17 Figure 7: Large-density-ratio droplet in a uniform velocity field: a droplet with _D_ / _h_ = 3.2 grid points per diameter is advected in 3D in the plane _z_ = 0 (see text); left: density ratio 10 <sup>9</sup> without viscosity, right: density ratio 10 <sup>3</sup> with viscosity and capillary terms balance. For water, this length is of the order of 10 nanometers, and grids of that size are not used in the flows we consider. However, should the velocities be treated in an implicit manner, we do not believe this would change the conclusions of this paper. Surface tension is computed using the Continuous Surface Force method proposed by [23], together with an estimate of the curvature through the computation of height functions, in a manner that closely follows the method of [24]. The external forces in equation (12) are only gravity and are computed in a trivial manner with ρ <sup>_n_</sup> <u>1</u> <sup>+1</sup> <sup>L</sup> <sup>_ext_</sup> <sup>=</sup> <sup>g</sup> <sup>,</sup> where gravity g is a constant. 4. Testing and Validation _4.1._ _Consistent cylinder advection_ An elementary test of our method, that mostly verifies that the coding has been performed correctly, considers a uniform planar velocity field _u_ 1 = _u_ 2 = 1.6 × 10 <sup>−2</sup> and a droplet of density ρ _l_ = 10 <sup>9</sup> in gas at density ρ _g_ = 1 with a CFL number of √ 0.0256 2. Viscosity and surface tension are set to zero in this first test. The number of grid point in the diameter of the droplet is _D_ / _h_ = 3.2. The unit domain is discretized on a 16 × 16 grid. The droplet shapes that result are shown on the left of Fig. 7. The irregularities seen in the advected droplet are due to the roughness of the VOF approximation at such low resolutions. We repeat the test with conditions close to air/water: now viscosities are µ _l_ = 0.1, µ _g_ = 0.002 and densities are ρ _g_ = 1, ρ _l_ = 10 <sup>3</sup>, while there is still no surface tension. We get identical results: a viscosity contrast will not generate numerical instabilities on a uniform velocity field, as shown on the right of Fig. 7. _4.2._ _Kelvin Helmholtz Instability_ The Kelvin-Helmholtz instability arises between unequal velocity fluid streams. It is closely related to the issues addressed in the current paper since it arises in many of the flows for which the current method is designed, such as atomisation. Moreover, 18 z 2 a U u0 (z) x 0 ρ2 ρ1 -U Figure 8: Base velocity profile. Density ratio 10 0.25 0.2 0.15 0.1 0.05 0 Density ratio 1 0 0.2 0.4 0.6 0.8 1 1.2 1.4 2 a k 0.25 0.2 0.15 0.1 0.05 0 0 0.5 1 1.5 2 2.5 3 2 a k Density ratio 100 bl in gas bl in liq 0 0.5 1 1.5 2 2.5 3 2 a k bl in gas bl in liq 0.25 0.2 0.15 0.1 0.05 0 Figure 9: The reduced growth rate as a function of the dimensionless wavenumber. the Kelvin-Helmholtz instability is particularly strong on a vortex sheet, since (as we show in the next section) it has for an infinitely thin sheet a divergent growth rate as the wavenumber goes to infinity. Compounding the issue, the baroclinic term of the vorticity equation leads for unequal densities to the creation or strengthening of a vortex sheet on the interface. In previous papers some of us have studied the KelvinHelmholtz instability in viscous flows with surface tension [25, 26, 27]. We focus here, in contrast to these earlier papers, on the inviscid, no surface tension case. Indeed we want to focus on the new discretization of the advection terms. Moreover the inviscid, no surface-tension case is a kind of “worst-case scenario” without the stabilizing effects of viscosity and capillarity. _4.2.1._ _Problem setup_ The simplest setup is that of a vortex sheet, for which the growth rate is given by ω _i_ = <sup><u>2 √</u></sup> <sup>_<u>r</u>_</sup> (60) _r_ + 1 <sup>_kU_</sup> 19 where _r_ = ρ _g_ /ρ _l_ . This vortex-sheet setup is however leading to an ill-posed problem since for increasing _k_, exponentially large amplitudes are predicted at finite time. It is thus desirable to regularize the growth rate by having a boundary layer. The theory of the inviscid Kelvin-Helmholtz instability with a boundary layer is summarized in Appendix B. We consider two kinds of boundary layers: (i) a boundary layer in the liquid phase, (ii) a boundary layer in the gas phase. Both cases may be represented by the sketch in Fig. 8. The resulting growth rate is a function of the dimensionless number κ = 2 _ak_ . The dimensionless growth rate Ω _i_ = ω _ia_ / _U_ is plotted on Fig. 9 for three different density ratios, and for both cases (i) and (ii) above. It is seen that the growth-rate curve has a maximum at Ω _i_, _max_ for κ = κ _max_ and vanishes above the threshold κ _c_ . As the density contrast increases, the behavior is different depending on the case. (i) For a boundary layer in the liquid, the interfacial problem becomes in the limit _r_ → 0 a free-surface problem and the growth rate goes to a limit. (ii) On the other hand for a boundary layer in the gas, the maximum growth rate and the corresponding maximum reduced wavenumber κ _max_ both tend to zero and Ω _i_, _max_ ∼ <sup>√</sup> _r_, κ _max_ ∼ <sup>√</sup> _r_ (61) We initialize all simulations with one perturbed wavelength in the computational domain, so that _k_ = 2π/ _Lx_ and we choose parameters so that _k_ = _kmax_ . Then for κ _max_ = 2 _akmax_ = 4π _a_ / _Lx_ the number of points in the boundary layer is 2 _a_ / _h_ = _Lx_ κ _max_ /(2π _h_ ) = _nx_ κ _max_ /(2π) where _nx_ = _Lx_ / _h_ is the number of grid points in the horizontal. In the _r_ = 0.01 case with the boundary layer in the gas, we have κ _max_ ≃ 1.2 and thus _a_ ≃ 0.2 _Lx_ for _k_ near _kmax_ and 2 _a_ / _h_ ∼ _nx_ /5. We initialize the simulation with the following method. We use the solution obtained in Appendix B for the mode corresponding to κ _max_ = 2 _akmax_ . The modes computed in Appendix B are extending to ±∞ in the vertical, so a sufficiently large box in the vertical has to be selected. We thus use an _Lx_ × _Lz_ domain with _Lz_ = 2 _Lx_ . The error on the boundary at _z_ = ± _Lz_ /2 is of order _e_ <sup>−</sup> <sup>_kLz_</sup> <sup>/2</sup> = _e_ <sup>−2π</sup> ≃ 2 10 <sup>−3</sup> . We choose the boundary layer thickness and the initial amplitudes of the perturbations such that the excited wavelength corresponds to the box size. Moreover it is important to notice that wavenumbers are quantized in the box so that _kn_ = 2π _n_ / _Lx_ . Since 2κ _max_ - κ _c_ as can easily be seen on Fig. 9 all the quantized modes above the first one are stable. This would not be the case if a narrower boundary layer were used. In the other limit, for a vortex sheet setup ( _a_ = 0), all modes are unstable in stark contrast with the above situation. The flow field _u_ 0( _x_, _z_, _t_ = 0), _w_ 0( _x_, _z_, _t_ = 0) in the initial condition is initialized using a discrete stream function formulation. The motivation for this is the desire to avoid a projection of the velocity field at the first time step. Indeed, less careful initialization methods may start with a velocity field that has a large localized divergence. One may wonder how the pressure gradient in the projection step rearranges this velocity field, possibly inadvertently transferring energy to modes other than the theoretically selected one. As a result, the theory in Appendix B computes the stream function ψ at initial time. The code computes the finite differences _u_ 0 = ∂ <sup>_h_</sup> _z_ <sup>_h_</sup> _z_ <sup>ψ,</sup> _w_ 0 = −∂ <sup>_h_</sup> _x_ <sup>_h_</sup> _x_ <sup>ψ</sup> (62) 20 allowing the resulting field to be discretely divergence free. This means that it obeys (14) at machine accuracy. The unperturbed interface, according to the theory, is located in the mid-horizontal-plane _z_ = 0 of the (1 × 2) box thus exactly at the boundary of two “centered” _Cijk_ -cells. However it is possible and interesting to shift vertically by ∆ _z_ = _h_ /2 the origin of the coordinate system to locate the interface in the _middle_ of a row of “centered” _Cijk_ -cells. In addition in what follows we uniformly set _Lx_ = 1. _4.2.2._ _Results for boundary layer in the liquid phase_ In order to verify that the numerical scheme is consistent with the theory, we first compute the growth rate for case (i). In what follows we first show results for the WY/QUICK-UW combination of VOF and momentum advection methods, and both for the classical method and with the VOF-momentum-consistent method. The case for _a_ = κ _maxLx_ /(4π) = 0.095 is shown in Fig. 10. The numerical results are plotted in two manners. The “amplitude growth” plots follow the logarithm of the amplitude of the Fourier mode of wavenumber _k_ = 2π. This has the effect of filtering any contribution of the other modes (the other modes should not grow according to the theory but could still appear because of numerical approximations). The second plot is the “maximum velocity” plot which follows the logarithm of the max norm of the vertical velocity _wmax_ ( _t_ ) = || _w_ ||∞. The maximum velocity corresponds to a superposition of the amplitude of all the modes. We first show the results for _nx_ = 64 which corresponds to 2 _a_ / _h_ ≃ 13 points in the boundary layer with ∆ _z_ = 0. The initial interface perturbation amplitude is _Ah_ = 10 <sup>−4</sup> and that of the velocity is _wmax_ (0) = |ω _Ah_ | (see Appendix for the definition of _Ah_ ). The results for amplitude growth are good, showing exponential growth over nearly three orders of magnitude. However the results for the maximum velocity growth show a glitch, with an nonphysical jump in the velocity in the case of the VOF-consistent method. The glitch is created by small scale vortical structures with large wavenumber near the interface. These structures have a small amplitude and are overtaken by the physical growth of the _k_ = 2π/ _Lx_ mode after some time, with a recovery of the predicted growth rate. In the case of the non-consistent method the glitch is not seen. If now one places the interface in the middle of the cell the glitch disappears. As expected, the results become worse when the boundary layer contains a smaller number of grid points. For _nx_ = 16 exponential growth is still observed (Fig. 11b) over nearly three orders of magnitude, but with a growth rate approximately 13% smaller than the theoretical one. For _nx_ = 8 there is not much more than a single grid point in the boundary layer, and the growth rate is approximately 50% smaller (Fig. 12a). Finally the _nx_ = 8 case for ∆ _z_ = 0 and with the maximum velocity plot is a kind of worst case scenario. However even in that case the code does not diverge (Fig. 12b), and the growth is eventually damped, which despite the disagreement with theory has the advantage of stabilizing the computation. _4.2.3._ _Results for boundary layer in the gas phase_ We now turn to the case where the boundary layer is in the gas phase. For _r_ = 100 the maximum growth rate is obtained for κ _max_ ≃ 0.143. We now have a reduction by approximately one order of magnitude of κ _max_ and thus also of _a_ and _a_ / _h_ . Now if _Lx_ is the wavelength with maximum growth, the boundary layer thickness must be 21 0.1 0.01 0.001 0.0001 KH amplitude growth for nx=64 wvnr=1 Weymouth-Yue numerical r=0.01, MomCons numerical r=0.01, Non MomCons theory r=0.01 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 1 0.1 0.01 0.001 0.0001 KH vmax growth for nx=64 wvnr=1 Weymouth-Yue numerical r=0.01, MomCons numerical r=0.01, Non MomCons theory r=0.01 0 1 2 3 4 5 (a) (b) Figure 10: Comparison of the theoretical and numerical growth for a boundary layer in the liquid as a function of time with _nx_ = 64 grid points, 13 points in the boundary layer and shift ∆ _z_ = 0 (see text): (a) amplitude plot; (b) maximum velocity plot. The signal “jumps” by one order of magnitude for the consistent method (nicknamed “MomCons”) while it remains close to the theory for the non-consistent method. 1 0.1 0.01 0.001 0.0001 KH vmax growth for nx=64 wvnr=1 Weymouth-Yue numerical r=0.01, MomCons numerical r=0.01, Non MomCons theory r=0.01 0 1 2 3 4 5 0.1 0.01 0.001 0.0001 KH amplitude growth for nx=16 wvnr=1 Weymouth-Yue numerical r=0.01, MomCons numerical r=0.01, Non MomCons theory r=0.01 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 (a) (b) Figure 11: Comparison of the theoretical and numerical growth for a boundary layer in the liquid as a function of time: (a) maximum velocity plot for shift ∆ _z_ = _h_ /2 and other parameters as in Fig. 10. The nonphysical “jump” for the consistent method disappears; (b) amplitude plot for a smaller number of grid points _nx_ = 16 (with 2 _a_ / _h_ = 3 points in the boundary layer) and shift ∆ _z_ = _h_ /2. 22 0.01 0.001 0.0001 1e-05 KH amplitude growth for nx=8 wvnr=1 Weymouth-Yue numerical r=0.01, MomCons numerical r=0.01, Non MomCons theory r=0.01 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 0.01 0.001 0.0001 KH vmax growth for nx=8 wvnr=1 Weymouth-Yue numerical r=0.01, MomCons numerical r=0.01, Non MomCons theory r=0.01 0 1 2 3 4 5 (a) (b) Figure 12: Comparison of the theoretical and numerical growth for a boundary layer in the liquid as a function of time with _nx_ = 8 grid points (with 2 _a_ / _h_ = 1.5 points in the boundary layer): (a) amplitude plot with shift ∆ _z_ = _h_ /2; (b) maximum velocity plot in the “worst case” scenario with shift ∆ _z_ = 0. The nonphysical “glitch” for the consistent method is marked, but both methods eventually result in the damping of the perturbation. _a_ ≃ 0.011 and the number of grid points in the boundary layer is much smaller than with the boundary layer in the liquid phase, with _a_ / _h_ ≃ 0.02 _nx_ . Indeed for _nx_ = 64 there is only about one point in the boundary layer. It is interesting to notice that if a larger _a_ were used, the gas boundary layer would become stable, and the only growth would result from the spurious numerical growth of modes which in theory should be stable. With _nx_ = 512 there are about 12 points in the boundary layer. The computation is beset by numerical instabilities that lead to the blowup of the simulation, so we use ∆ _z_ = _h_ /2 and the CIAM/Superbee method, as the later is more stable. The results are shown in Fig. 13a. Both the consistent and non-consistent method give identical results at short times, close to the theory, but with less accuracy than when the boundary layer is in the liquid phase. At times around _t_ = 0.7 a small scale instability starts appearing in the maximum velocity graph (Fig. 13b) and eventually causes the demise of the simulation. With a smaller number of points, _nx_ = 256 and _a_ / _h_ = 6 points in the boundary layer, the results shown in Fig. 14 display again a spurious growth due to a small scale numerical instability for the non-consistent method around _t_ = 2.5. _4.2.4._ _Results for the vortex sheet case_ In the vortex sheet case, there is no boundary layer thickness and there are no remaining length scales from the theoretical (continuum) point of view. Various ratios of wavelength to grid size are plotted on Fig. 15. In this case the results are best for λ/ _h_ = 8 and adding more grid points does not improve the results, except for a short interval of time for λ/ _h_ = 64. The theoretical growth rate is indeed obtained for _nx_ = 64 in a small interval of time for _t_ < 0.25. For the least resolved case, the 23 KH vmax growth for nx=512 wvnr=1 CIAM numerical r=0.01, MomCons numerical r=0.01, Non MomCons theory r=0.01 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 0.0001 KH amplitude growth for nx=512 wvnr=1 CIAM numerical r=0.01, MomCons numerical r=0.01, Non MomCons theory r=0.01 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 1 0.1 0.01 0.001 0.0001 (a) (b) Figure 13: Comparison of the theoretical and numerical growth for a boundary layer in the gas as a function of time with _nx_ = 512 grid points, _a_ / _h_ ≃ 12 points in the boundary layer, shift ∆ _z_ = _h_ /2 and _U_ τ/ _h_ = 0.32: (a) amplitude plot. The simulation follows approximately the theory but blows up after time _t_ ≃ 1, with a faster blow up for the non-consistent method; (b) maximum velocity plot. The rapid growth starting at _t_ ≃ 0.7 is due to the appearance of small structures that are stable in the linear theory but not in the numerics. 0.01 0.001 0.0001 KH amplitude growth for nx=256 wvnr=1 CIAM numerical r=0.01, MomCons numerical r=0.01, Non MomCons theory r=0.01 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 1 0.1 0.01 0.001 0.0001 KH vmax growth for nx=256 wvnr=1 CIAM numerical r=0.01, MomCons numerical r=0.01, Non MomCons theory r=0.01 0 1 2 3 4 5 (a) (b) Figure 14: Comparison of the theoretical and numerical growth for a boundary layer in the gas as a function of time with _nx_ = 256 grid points, _a_ / _h_ ≃ 6 points in the boundary layer, shift ∆ _z_ = _h_ /2 and _U_ τ/ _h_ = 0.08: (a) amplitude plot; (b) maximum velocity plot. 24 0 0.5 1 1.5 2 2.5 time Vortex sheet case for density ratio 0.01 0.1 0.01 0.001 0.0001 1e-05 KH amplitude growth for nx=8 wvnr=1 CIAM 10 1 0.1 0.01 0.001 0.0001 1e-05 numerical r=0.01, MomCons numerical r=0.01, theoryNon MomConsr=0.01 1e-06 0 1 2 3 4 5 6 7 8 9 10 n 2, Cons n 2, Stnd n 8, Cons n 8, Stnd n 16, Cons n 16, Stnd n 64, Cons n 64, Stnd theory (a) (b) Figure 15: Kelvin-Helmholtz instability in the vortex sheet case with density ratio _r_ = 0.01: (a) amplitude plot for _nx_ = 8; (b) maximum velocity plot. The number _n_ indicates the ratio λ/ _h_ of wavelength to grid size, “Cons” stands for consistent method and “Stnd” for non-consistent method. highest grid (Nyquist) frequency corresponding to λ/ _h_ = 2, there is no amplification but rather damping, indicating that numerical dissipation defeats the instability at this wavenumber. This indicates that the mechanism that makes the computation diverge in other cases is not represented by the Kelvin-Helmholtz instability at near-Nyquist wavenumbers _kh_ = O(1). The latter is true at least in the current setup of this instability. Other setups, with for example different ∆ _z_, or with interfaces not aligned on the grid, may give different results. However, it is still possible that the excitation of relatively large wavenumbers by the initial perturbation could explain the uncontrolled growth of numerical instabilities at large density contrasts. To test this hypothesis, we plot on Fig. 16 the numerical growth of || _v_ ||∞ compared to the theoretical growth for _r_ = 1, for a fixed value of λ/ _h_ . We first describe the case ∆ _z_ = _h_ /2. It is seen on Fig. 16 that the growth rate is larger than the theoretical one even for _r_ = 1. This is explained by the leakage of energy from the initial _k_ = _k_ 1 mode into modes with larger _k_ = _kn_ that have a larger growth rate as expressed by (60). Also on Fig. 16 it is seen that for smaller values of _r_, the growth rates are reduced. However, for the consistent method, a stronger reduction is achieved. It is obvious that this reduction is still very far from being as strong as that predicted by the theory, which would yield a growth rate ω _i_ ∼ 10 <sup>−5</sup> for the smallest _r_ . We now turn to the case ∆ _z_ = 0. In this case, as shown on Fig. 17, the situation is reversed: the nonconsistent method grows much more slowly than the consistent method. For _r_ = 1 the growth of the non-consistent method, after a fast initial transient, is altogether stopped. For _r_ = 10 <sup>−10</sup> a super-fast increase is seen. This fast increase is made smaller when the clipping value (see Section 3.3.5) ϵ _c_ is increased and is made even faster when ϵ _c_ is decreased. In the set of tests described in this section ϵ _c_ was set to 10 <sup>−8</sup> . 25 10 1 0.1 0.01 0.001 0.0001 1e-05 Vortex sheet case for lambda/h=64 r 1, Stnd r 1d-1, Stnd r 1d-3, Stnd r 1d-6, Stnd r 1d-10, Stnd theory r=1 0 0.5 1 1.5 2 2.5 time 1 0.1 0.01 0.001 0.0001 1e-05 Vortex sheet case for lambda/h=64 r 1, Cons r 1d-1, Cons r 1d-3, Cons r 1d-6, Cons r 1d-10, Cons theory r=1 0 0.5 1 1.5 2 2.5 time (a) (b) Figure 16: Kelvin-Helmholtz instability in the vortex sheet case, with shift ∆ _z_ = _h_ /2, λ/ _h_ = 64 and different values of _r_ . The theory for _r_ = 1 is also plotted. (a) Non-consistent method. The growth rate is always much larger than in the theory, and it decreases with _r_, reaching a minimum around _r_ = 10 <sup>−3</sup> . Around _t_ = 2.2 the maximum of the velocity diverges for _r_ = 10 <sup>−10</sup> . This divergence may be suppressed by using a smaller tolerance for the iterative Poisson solver for the pressure, but we keep it here for illustrative purposes. (b) Consistent method. The agreement between the _r_ = 10 <sup>−6</sup> case and the theory for _r_ = 1 is coincidental. As the value of _r_ is decreased, the growth rate first decreases, reaches a minimum around _r_ = 10 <sup>−3</sup> and then increases. Vortex sheet case for lambda/h=64 r 1, Cons r 1d-1, Cons r 1d-3, Cons r 1d-6, Cons r 1d-10, Cons theory r=1 0 0.5 1 1.5 2 2.5 time 0.001 0.0001 Vortex sheet case for lambda/h=64 r 1, Stnd r 1d-1, Stnd r 1d-3, Stnd r 1d-6, Stnd r 1d-10, Stnd theory r=1 0 0.5 1 1.5 2 2.5 time 1 0.1 0.01 0.001 0.0001 1e-05 (a) (b) Figure 17: Same parameters of Fig. 16 but with shift ∆ _z_ = 0. (a) Standard method. At large _r_, the expected vanishing growth rate is achieved. (b) Consistent method. The amplitude of the maximum vertical velocity increases rapidly with increasing density contrast. For _r_ = 10 <sup>−10</sup> a super-fast increase is seen. This fast increase is made smaller when the clipping value ϵ _c_ is increased and is made even faster when ϵ _c_ is decreased. 26 Figure 18: Deformation of a droplet moving through a light fluid. The initial droplet resolution is _D_ / _h_ = 20. Black shape at _t_ = 0, blue at _t_ = _D_ /(2 _U_ ) and red at _t_ = _D_ / _U_ . Density ratios: _r_ = 10 <sup>−1</sup>, 10 <sup>−3</sup>, 10 <sup>−6</sup>, 10 <sup>−9</sup> (left to right and top to bottom). _4.3._ _Sudden acceleration of a cylinder at large density contrast_ A test that is often included in studies of momentum-conserving or mass-momentumconsistent methods [2, 3, 4, 5, 6, 7] and other methods designed to improve the stability of two-phase flow computations [28] is to initialize a droplet of very high density at velocity u _l_ ( x ) = _U_ 0 e with the other, lighter fluid, at rest, so that u _g_ ( x ) = 0. Surface tension and viscosity are not present as in the previous test, the only difference being the discontinuity of the initial velocity on the interface, which amounts to a vortex sheet on the surface of the cylinder. After the first time step, the projection method (13) adds a dipole potential flow so that u _g_ = τ∇ _p_ /ρ _g_ in the gas around the droplet, identical to the dipole flow around a solid object and with a slightly different velocity _U_ of the droplet. Indeed, the dipole flow absorbs some of the initial momentum of the liquid in the gas, and results in a reduction from _U_ 0 to _U_ of the droplet velocity during the first time step, similar to the momentum transfer after the traversal of the droplet by a shock wave. This velocity shift, which is estimated in [29], is small, of order _r_ = ρ _g_ /ρ _l_ . There are at least three ways to explain the perturbations created on the interface. _4.4._ _Sudden acceleration of a cylinder at large density contrast_ First, as seen in the previous section and in the Appendix, a vortex sheet is unstable with respect to the Kelvin-Helmholtz instability. The perturbation amplitude _A_ ( _t_ ) grows exponentially as _A_ ( _t_ ) ∼ _A_ (0) exp(ω _it_ ) with ω _i_ given by equation (60). In the 27 Figure 19: Deformation of a droplet moving through a light fluid at _r_ = 10 <sup>−9</sup> . The initial droplet resolution is _D_ / _h_ = 20. limit of small _r_ the growth rate becomes small, on the order of <sup>~~√~~</sup> _r_ . Since the maximum wavenumber on the grid is π/ _h_, an estimate of the growth rate of the small wavelength instabilities is π _UN_ <sup>~~√~~</sup> _r_ <u>/</u> _D_, where _N_ is the number of grid points per diameter. After advection by a droplet diameter, the elapsed time is ∆ _t_ = _D_ / _U_ . For typical orders of magnitude in the literature of _r_ = 10 <sup>−6</sup> and _N_ = 32 the amplitude growth would be <u>�</u> = exp(0.032π) = 1.1058 . . . (63) exp(ω _i_,max∆ _t_ ) = exp π _N_ <sup>√</sup> _r_ which means the amplitude should grow by 10% after advection by one diameter and by <sup>√</sup> e after advection by 5 diameters. Second, beyond the linear growth stage of the Kelvin-Helmholtz instability, there is a self-similar, non-linear growth stage for which dimensional analysis implies that _A_ ( _t_ ) ∼ <sup>√</sup> _rUt_ [30]. By this argument also the perturbation of the cylinder should remain small, of order _A_ (∆ _t_ ) ∼ _D_ <sup>~~√~~</sup> _r_, after advection by a droplet diameter. Third, physical deformation is expected from the spatial pressure variation induced by the dipole gas flow. This variation involves a larger pressure at the aft and fore stagnation points and a lower pressure along the equator of the droplet [31]. The resulting integrated stress is of order ρ _gU_ <sup>2</sup> resulting in the growth of the droplet deformation as _A_ ( _t_ ) ∼ _rU_ <sup>2</sup> _t_ <sup>2</sup> / _D_ and after advection by a droplet diameter as _A_ (∆ _t_ ) ∼ _rD_ . This growth is observed experimentally [32] and results in an elliptically shaped (mode 2) drop, albeit of much smaller amplitude than the two former Kelvin-Helmholtz-related growth mechanisms, so we can exclude this mechanism in the present case except perhaps in the _r_ = 1/10 case where a mode 2 is apparent in Fig. 18a. The results are shown on Figs. 18 and 19 for several times and density ratios in a manner comparable to [2]. For these numerical experiments, the initialization of the velocity fields is rather important in order to not allow in the first time step some gas velocity in the liquid, and hence to avoid the situation of a boundary layer in the liquid in which the growth rate is independent of _r_ as explained in Section 4.2. Thus the density is initialized to ρ _l_ to machine accuracy using the Vofi library [14, 15] within a disk implicitly defined by _x_ <sup>2</sup> + _y_ <sup>2</sup> < _R_ <sup>2</sup> and the _velocity_ is initialized to 1 for all the velocity nodes inside a disk implicitly defined by _x_ <sup>2</sup> + _y_ <sup>2</sup> < ( _R_ + _nh_ ) <sup>2</sup>, where _n_ is the size of the “halo” in number of grid points. The velocity in the other nodes is initialized 28 to 0. The tests shown were performed with _n_ = 1. Increasing the size of the halo from _n_ = 1 to _n_ = 2 improves the results at early times (∆ _t_ ≤ _D_ / _U_ ) of the droplet motion, but not at late times (∆ _t_ - _D_ / _U_ ). The droplet momentum has been oriented along the diagonal as in [2]. The WY scheme is used with a QUICK-UW interpolant. The droplet deforms little after advection by one droplet diameter (Fig. 18). For longer advection the deformation is more pronounced but, as explained above, this is to be expected at high resolution, except in the _r_ = 10 <sup>−9</sup> case for which we show advection by 5 diameters in Fig. 19. If the non-consistent method is used, the droplet deforms rapidly and the simulation breaks down. Our results with the consistent method are better or on a par with previous results for early times (∆ _t_ ≤ _D_ / _U_ ) but for late times, _r_ = 10 <sup>−9</sup> and low order modes the results are somewhat worse than those of [2, 3, 4, 5, 7] (see Fig. 19). Finally for late times and more moderate density ratios it is difficult to asses the results because of the expected _physical_ growth of perturbations as expressed for example in (63). As a comparison, in the results of the recent reference [7] there was no significant deformation after one “transit time” ∆ _t_ = _L_ 1/ _U_ 1 which with the parameters of [7] corresponds to three diameters (∆ _t_ = 3 _D_ / _U_ ). Further comments can be made on the causes of the droplet deformation, depending on whether the theoretical dynamics of the Kelvin-Helmholtz instability are correctly reproduced by the numerics or not. First, if the theory is approximately reproduced by the numerics, and the gas momentum numerically diffuses inside the liquid, then some vorticity may penetrate into the liquid despite the fact that in inviscid flow vorticity should remain confined on the interface. If this happens, then by the analysis of section 4.2 the growth rate becomes independent of the density ratio _r_ (Figure 9), and has a much larger value of order ω _i_ ∼ _Uk_, without the <sup>√</sup> _r_ factor. Moreover, the instability seen for the _r_ = 10 <sup>−9</sup> case for the long advection case in Figure 19 is a mode 3. If a low _k_ mode such as mode 3 grows faster than the high frequency modes related to the grid, this indicates that a boundary layer has grown by numerical diffusion. The boundary layer is located at least in part in the liquid side otherwise it would have a much smaller growth proportional to <sup>√</sup> _r_ . Second, there could be an effect of the deviation from the Kelvin-Helmholtz theory. Indeed we observe spurious growth, especially at the end of subsection 4.2.4. This could also be the cause of the deformation of the drop. This points to two separate routes to the improvement of the results of this test: 1) by improving the method’s performance for the vortex sheet case of the KelvinHelmholtz instability and minimising numerical diffusion; 2) by maximising numerical diffusion of vorticity into the gas phase and minimising diffusion of vorticity into the liquid phase. The first option would lead to a more accurate method, while the second one, even if successful for the advected droplet test, would lead to an exceedingly diffusive code. We note also that the tests of the Kelvin-Helmholtz instability in Section 4.2 are performed for interfaces aligned with the grid, while in this section interfaces may have any orientation with respect to the grid, so that even if vortex sheet dynamics were perfectly reproduced for interfaces aligned with the grid there would be no guarantee to have inviscid droplet dynamics represented correctly in all configurations and thus to have good results for the large density ratio droplet. 29 <u>Method</u> <u>VOF Scheme</u> <u>velocity scheme</u> <u>fraction completed</u> non-consistent WY QUICK-UW 0.08 consistent WY QUICK-UW 0.17 non-consistent CIAM Superbee 0.50 <u>consistent</u> <u>CIAM</u> <u>Superbee</u> <u>1.</u> Table 1: Percentage of completion of the shear layer test with various methods. All simulations are performed on a 128 × 128 grid with a CFL of 0.03 and a density ratio of 1000. _4.5._ _Sheared layer_ In order to better analyze the behavior of the methods in flow under shear, such as vortex sheets and Kelvin Helmholtz instabilities, we set up a planar, parallel shear flow in a (−1/2, 1/2) <sup>2</sup> domain with the following initial conditions _u_ 1 = 15 if | _x_ 2| > 1/10 _u_ 1 = 1 if | _x_ 2| < 1/10, _u_ 2 = 0.01 sin(2π _x_ 1) exp(−20 _x_ 2 <sup>2),</sup> ρ = 1 if | _x_ 2| - 1/10, and ρ = 10 <sup>3</sup> otherwise. This flow is similar to a liquid sheet in high velocity gas. The flow is simulated until time _t f_ = 2 unless the simulation blows up at an earlier time _tb_ < _t f_ . The crashes seem connected to the spurious growth of the Kelvin-Helmholtz instability described in Section 4.2. We note that the physical instability could lead to interface deformation, but not to the catastrophic increase of the total kinetic energy that is witnessed when the code crashes. Table 1 shows the numerical schemes that have been used in a few simulations together with the fraction _tb_ / _t f_ of the final time that has been reached. All simulations have been performed on a 128×128 grid with a CFL of 0.03 and a density ratio of 1000. The consistent method is systematically more stable than the non-consistent one for the two combinations shown in Tab. 1: a) the WY VOF scheme and the QUICK-UW velocity interpolation schemes and b) the CIAM VOF with the Superbee slope limiters. The state of the two simulations with the first combination of schemes is shown in Figure 20, just before breakdown at time _tb_ = 0.34 (or _tb_ / _t f_ = 0.17) for the consistent method, and at time _tb_ = 0.16 (or _tb_ / _t f_ = 0.08) for the non-consistent method. We have also tested a number of other combinations, for example WY & Superbee that turns out to be very unstable. Furthermore, we have performed simulations with smaller 64 × 64 and 32 × 32 grids that yield similar results. Finally, we note that this case is also unstable in a single-phase configuration when using the QUICK third-order velocity interpolation. _4.6._ _Falling raindrop_ A flow configuration that combines the complexities of large density contrasts with the interaction between capillary, viscous and inertial stresses is that of a water droplet falling in the air under the influence of gravity. From our experience it is this combination that leads to the blowups observed in many air-water simulations when a 30 Figure 20: The state of the simulation of the sheared layer just before its breakdown with the combination of WY VOF advection scheme and QUICK-UW velocity interpolation: consistent method (left), non-consistent method (right). non-consistent method is used. We chose a falling water droplet in air of diameter _D_ = 3mm, essentially a raindrop near the largest diameters (Fig. 22) for which sphericity is approximately maintained. This choice is motivated by the paradigmatic value of a near-spherical raindrop simulation, and by the fact that the corresponding Weber number (given below) is the same as in similar air-water suddenly-accelerated-droplet (or “secondary atomisation”) simulations of [11, 12]. We first define the problem in general terms and describe several variants of the simulation setup, then discuss the physics of droplet fall and the numerical results. _4.6.1._ _Problem Setup_ The droplet is placed at the center of a cubic domain of side _L_, with _L_ / _D_ = 4. The liquid properties ρ _l_ and µ _l_ correspond to water, and the gas properties ρ _g_ and µ _g_ correspond to air. We apply a uniform inflow velocity condition _u_ 1 = _U_ 0( _t_ ) on the bottom face and an outflow velocity condition on the top face, corresponding to zero normal gradient. The droplet is subject to a gravity field _g_ . Boundary conditions on the side walls are free-slip (no shear stress). The subscripts _l_ and _g_ represent water and air phases respectively. The parameters in the problem setup are given in Tab. 2, and a schematic representation is given in Fig. 23. For _D_ = 3mm experiments [33] indicate a terminal velocity close to _Ut_ = 8.06 _m_ / _s_ which corresponds to a Weber number We = ρ _gUt_ <sup>2</sup> <sup>_D_</sup> <sup>/σ ≃</sup> <sup>3.2 similar to that tested by</sup> Xiao [11]. We perform two main types of simulations - Simulations in which the inflow velocity _U_ 0( _t_ ) is adjusted at each time step by a controller that aims at keeping the droplet at the center of the box. - Simulations in which the inflow velocity has a constant value _U_ 0. 31 The first type of simulations allows to keep the droplet near the center of the box for a long time without particular difficulties, but the controller adds some unwelcome jitters to the inflow velocity and as a result the frame of reference is not Galilean anymore, while the missing acceleration terms had not been added to the Navier–Stokes equations. Thus the simulations have only heuristic value. The second type has the droplet leaving the domain after a certain time, but is convenient for relatively short-time investigations. A third possible type of simulation, arguably the most natural one consists in using a much larger domain filled with air at rest, with zero inflow velocity and to let the droplet fall from the top of the domain. Note that Dodd and Ferrante [34] used such a setup. It is much more expensive and in fact smaller droplet diameters were investigated in [34]. In order to better grasp the physics of droplet fall, some understanding may be obtained from the fall of a solid object. Indeed, because of the large inertia of the liquid compared to the gas, during the first instants the droplet internal flow is comparatively negligible. Experiments and numerical simulations on falling solid spheres show that the drag coefficient is _larger_ than the drag coefficient on a sphere held fixed, for example in a wind tunnel. At Re ≃ 10 <sup>3</sup> on finds _CD_ ≃ 0.6 to 0.7 for a falling sphere compared to _CD_ ≃ 0.45 for a fixed sphere (see for example [35] and references therein). (The difference between fixed and falling solids is probably due to the fluctuating center-of-mass velocity of the falling solids.) Drag coefficients _CD_ ∼ 0.6– 0.7 would result in a fall velocity of 6.8 to 7.3 m/s. The resulting difference between the falling velocity of water droplets and that of falling spheres may be explained as follows. The internal vortical motion probably results in a diminished friction between the droplet surface and the air flow and a resulting smaller drag coefficient, yielding the larger fall velocity. We detail the time scales related to the acceleration of the droplet and the internal motion below, and we perform numerical experiments in the two above setups. For the second setup we use two different inflow velocities. _4.6.2._ _Results with controlled inflow velocity_ We use the controller setup with an initial inflow velocity _U_ 0(0) = 8m/s. Three grids are used, with _D_ / _h_ = 15, 30 and 60. Numerical simulations of this test case at all resolutions carried out _without_ the consistent scheme described in this paper result in the catastrophic deformations of the droplet that will be further investigated below. Using the consistent scheme, we avoid the instability and may observe the droplet for a long time with enough CPU resources (up to 200 ms for the _D_ / _h_ = 32 case) and may study the convergence of the terminal velocity and that of the shape. For the latter, we use as a descriptor of the shape the three moments of inertia _Imm_ defined by _Imm_ = _Hxm_ <sup>2</sup> <sup>d</sup> <sup>x</sup> <sup>,</sup> 1 ≤ _m_ ≤ 3, (64) D where D is the domain used for the computation and _xm_ is relative to the center of mass. The convergence of the moments of inertia and terminal velocity is shown on Figure 21. The velocity seems to converge to a value around 7 _m_ / _s_, which is consistent with the solid-sphere fall velocity. 32 (a) (b) Figure 21: Convergence of simulations. (a) Evolution of the terminal velocity with grid refinement. (b) Evolution of the three moments of inertia with grid refinement. Figure 22: Flattening of the droplet with increasing equivalent diameter. From left to right _De_ = 3, 4.6, 6.4 and 8 _mm_ . 33 ρ _g_ ρ _l_ µ _g_ µ _l_ σ _D_ _g_ - _kg_ / _m_ <sup>3�</sup> - _kg_ / _m_ <sup>3�</sup> ( _Pa s_ ) ( _Pa s_ ) ( _N_ / _m_ ) ( _m_ ) ( _m_ / _s_ <sup>2</sup> ) <u>1.2</u> <u>0.9982 × 10</u> <sup><u>3</u></sup> <u>1.98 × 10</u> <sup><u>−5</u></sup> <u>8.9 × 10</u> <sup><u>−4</u></sup> <u>0.0728</u> <u>3 × 10</u> <sup><u>−3</u></sup> <u>9.81</u> Table 2: Parameter values used in the simulation of a falling water droplet in air. Figure 23: The numerical setup for the falling raindrop. A droplet of diameter _D_ is placed at the center of a cubic domain of side _L_, with _L_ / _D_ = 4. The liquid properties ρ _l_ and µ _l_ correspond to water, and the gas properties ρ _g_ and µ _g_ correspond to air. We apply a uniform inflow velocity condition _u_ 1 = _U_ 0( _t_ ) on one face and an outflow velocity condition on the opposite face, corresponding to zero normal gradient. Boundary conditions on the side walls are free-slip (no shear stress). _4.6.3._ _Fixed 8 m_ / _s inflow velocity_ We now use the fixed velocity setup with _U_ 0( _t_ ) = 8m/s and perform simulations for very short times (of the order of 1 ms). Numerical simulations of this test case at moderate resolution (from _D_ / _h_ = 16 to _D_ / _h_ = 64) carried out _without_ the consistent scheme described in this paper result in catastrophic deformations of the droplet illustrated in Fig. 24, a kind of ‘fictitious’ or ‘artificial’ atomization. These simulations display marked peaks or spikes in kinetic energy as a function of time, associated with massively-deformed interface shapes (see Fig. 28). Additionally, our studies suggest that certain combinations of the VOF advection method and the velocity interpolation scheme are numerically more robust than others, in particular the most stable combinations are the CIAM advection with the Superbee slope limiter, and the WY advection with the QUICK-UW interpolation. This is in agreement with the results reported in Tab. 1. We propose the following explanation in order to account for such numerical artifacts. To start with, we neglect gravity and viscous effects at this relatively large 34 Figure 24: Catastrophic deformation of a falling raindrop while using a version of our method that does not ensure consistency between mass and momentum transport ( _D_ / _h_ = 30). Reynolds number. Also, we are interested in steady-state flow. On the axis and near the hyperbolic stagnation point at the front of the droplet the tangential velocity is _u_ 2 = 0 and the axial momentum balance is _u_ 1∂1 _u_ 1 = − <sup><u>1</u></sup> (65) ρ <sup>∂1</sup> <sup>_p_</sup> <sup>.</sup> Due to the large viscosity and density contrasts, it is not possible for the air flow to immediately entrain the water, so the fluid velocity is significantly smaller inside the droplet. In the air the acceleration near the stagnation point is of the order _U_ <sup>2</sup> / _D_, whereas the pressure gradient is ∂1 _p_ ∼ ρ _gU_ <sup>2</sup> / _D_ . (66) The pressure gradient in the water is much smaller, however, in the case of a mixed cell the water density multiplies the air acceleration _U_ <sup>2</sup> / _D_, so that ∂1 _p_ ∼ ρ _lU_ <sup>2</sup> / _D_, (67) then a large pressure gradient results in the mixed cells. This large pressure gradient results in a large pressure inside the droplet near the front stagnation point, as shown in Fig. 25. This large pressure is balanced by surface tension only for a sufficiently large curvature near the droplet front. This explains the presence of a “dimple” often observed in low resolution simulations of the falling drop. This artifact has been observed by Xiao [11] in a similar case involving the sudden interaction of a droplet at rest with a uniform gas flow. The resulting large nonphysical pressure gradients across the interface eventually lead to its rapid destabilization and concomitant breakup. Visualization of the flow around the droplet in Fig. 27 illustrates the challenging nature of the flow configuration, even for such a seemingly simple physical problem. As one can observe, the boundary layers are extremely thin. We observe that applying the numerical method described in this paper brings a considerable and systematic improvement over a spectrum of different velocity interpolation schemes and CFL numbers, as evidenced by comparing Figs. 25 and 26. _4.6.4._ _Convergence study at 5 m_ / _s inflow velocity_ In this section we use the fixed inflow velocity setup but with smaller initial velocity. We systematically vary the resolution from _D_ / _h_ = 8, 16, 32 and 64. Despite using 35 (a) (b) Figure 25: The origin of the pressure peak in the front of the droplet. (a) Pressure profiles on the axis a few timesteps after initialization with the non-consistent method (red curve) and the consistent one (green curve). Much larger pressure gradients are present across the interface with the first method. (b) Pressure distribution immediately after the start of the simulation with the non-consistent method. The pressure peak has not yet resulted in the formation of a dimple. The initial droplet resolution is _D_ / _h_ = 16. The simulations are carried out with the CIAM advection method and the Superbee slope limiter. (a) (b) Figure 26: (a) Comparison of the temporal evolution of droplet kinetic energy. The non-consistent method displays spikes in the kinetic energy that are 3 orders of magnitude larger than with the consistent method, leading to rapid destabilization. (b) Pressure distribution immediately after the start of the simulation with the consistent method. The initial droplet resolution is _D_ / _h_ = 16. The simulations are carried out with the CIAM advection method and the Superbee slope limiter. 36 (a) (b) Figure 27: Flow field around the 3 mm droplet immediately after the start of the simulation with the consistent method, demonstrating the contours of the magnitude of the vorticity field (black lines). The 2D cross-section in these two figures corresponds to the mid-plane slice along the _z_ axis, with the inflow along the positive _x_ axis and gravity opposite to it. (a) Velocity magnitude. The boundary layer is resolved by only 2-3 cells. (b) The velocity component in the _y_ direction, perpendicular to the flow. As the flow develops further, a marked separation of the boundary layers is observed with a more complex vortical region in the wake. The initial droplet resolution is _D_ / _h_ = 16. The simulations are carried out with the CIAM advection method and the Superbee slope limiter. Figure 28: A comparison of the temporal evolution between the non-consistent method (top row) and the consistent one (bottom row). The flow is along the positive _x_ direction, with gravity opposite to it. The red contour indicates the isosurface of the volume fraction field corresponding to _C_ = 0.5, whereas the black contours surrounding the drop represent isosurfaces of the magnitude of vorticity. The raindrop with the nonconsistent method displays massive deformations leading to artificial breakup as a result of rapidly growing numerical instabilities. The initial droplet resolution is _D_ / _h_ = 16. The simulations are carried out with the CIAM advection method and the Superbee slope limiter. 37 the consistent method, simulations at _D_ / _h_ = 8 are sometimes unstable, so we use a workaround and use a lower fixed inflow velocity of _U_ 0 = 5 m/s, which differs from the expected long term terminal velocity _Ut_ ≃8 m/s used in the previous section and also from the solid sphere terminal velocity. It however offers a milder initial condition and allows to observe the first phase of the (physical) acceleration towards the final statistical steady state. We perform simulations for _tS_ = 5ms (for reasons of CPU cost and because we do not want the droplet to get too close to the domain boundaries) and examine the convergence properties of the numerical system in this time frame. In order to better understand the setup, it is useful to quickly review the relevant time scales. - The time scale _ta_ = _D_ / _U_ 0 of the air flow around the droplet, around 0.6 milliseconds, much shorter than the simulation time. - The time _tw_ = _L_ /[2( _Ut_ - _U_ 0)] = 3 ms that the droplet would take to travel by half the domain the domain once it had reached the terminal velocity. This time is not relevant here since one needs to wait first for the next two times before terminal velocity is reached. - The time scale _tc_ ≃ 15.1 ms [36] of capillary oscillations of the droplet shape. - The time scale _ti_ of relaxation to terminal velocity. Using the dynamics (68) below, this time is ρ _l_ /ρ _gD_ / _Ut_ = 215 ms much longer than the simulation time. - The time scale _t_ µ needed to entrain the internal vortical motion of the liquid under the action of the gas. An estimate this time is _D_ <sup>2</sup> /ν _l_ = Re _D_ / _Ut_ = 400 ms. The time of relaxation may be estimated using a simple square-velocity drag law for the droplet. We model the droplet motion as a one-dimensional dynamics under the effect of gravity and drag as 8 <sup>_U_</sup> <sup>2,</sup> (68) d _t_ <sup>= ρ</sup> <sup>_l_</sup> <u>π</u> _<u>D</u>_ <sup>3</sup> _<u>D</u>_ <sup>3</sup> <u>π</u> _<u>D</u>_ <sup>2</sup> 6 <sup>_g_</sup> <sup>−</sup> <sup>_CD_</sup> <sup>ρ</sup> <sup>_g_</sup> 8 ρ _l_ <u>π</u> _<u>D</u>_ <sup>3</sup> _<u>D</u>_ <sup>3</sup> <u>d</u> _<u>U</u>_ 6 d _t_ hence <u>d</u> _<u>U</u>_ <sup><u>3</u></sup> 4 _Dr_ <sup>(</sup> <sup>_U_</sup> <sup>2 −</sup> <sup>_U_</sup> _t_ <sup>2</sup> d _<u>Ut</u>_ <sup>= −</sup> <sup><u>3</u></sup> 4 _t_ <sup>2) = −</sup> <sup>_<u>U</u>_</sup> <sup>−</sup> <sup>_<u>Ut</u>_</sup> _ti_ , (69) where for _U_ ≃ _Ut_ which gives 205 ms. _ti_ = <sup><u>2</u></sup> _<u>D</u>_ 3 _rUt_ , (70) It is interesting that the simulation time is inserted in the set of relevant time scales as _ta_ ≪ _tS_ ≲ _tc_ ≪ _ti_ < _t_ µ. This means we can see the effect of _tc_ in the data (especially the variation in time of the moments _Imm_ ) but not the effect of the other time scales. We use the WY advection scheme in combination with the QUICK-UW interpolation. The quantities of interest while examining the robustness of the method are the temporal evolution of (Fig. 29a) and the moments of inertia (defined in Eq. 64) of the droplet along the three coordinate directions (Fig. 29b,c,d). These are used as a 38 Figure 29: Temporal evolution of a few physical quantities to evaluate the performance of our present method for different droplet resolutions _D_ / _h_ : (a) kinetic energy of the droplet; (b) moment of inertia _Ixx_ of the droplet along the flow direction ( _x_ axis); (c) and (d) moments of inertia _Iyy_ and _Izz_ . descriptor of the ’average’ droplet shape. The droplet kinetic energy is defined relative to the droplet center-of-mass, that is _Ek_ = ⟨ρ _lC_ ( _x_, _t_ )|| u ( _x_, _t_ ) − u _CM_ ( _t_ )|| <sup>2</sup> ⟩ (71) where ⟨.⟩ is the spatial averaging operator of the entire domaine and u _CM_ ( _t_ ) is the droplet center of mass. The kinetic energy of the droplet evolves in a relatively smooth manner, without the presence of sudden spikes and falls which are emblematic of the non-consistent version of our method (refer to Fig. 26). Such abrupt changes in kinetic energy of the droplet typically occur when the droplet undergoes ‘artificial’ atomization or breakup. We observe a strong decrease in the droplet kinetic energy as we increase resolution, an indication that low resolutions add considerable spurious jitter in the interfacial shape. Even at _D_ / _h_ = 64 the simulation is not converged in that respect. Finally, the moments of inertia of the droplet appear to evolve in a smooth manner for all droplet resolutions. In Fig. 30, we show the velocity of the center of mass of the droplet (in the frame of reference of the box enclosing the droplet) as a function of time, and its behavior as we increase the droplet resolution. As one can observe it undergoes a near constant acceleration. The observed acceleration is <sup><u>d</u></sup> d <sup>_<u>U</u>_</sup> _t_ <sup>≃</sup> <sup>5.8 ± 0.1 m/s the error estimate being</sup> 39 Figure 30: Droplet velocity as a function of time, for different droplet resolutions _D_ / _h_ . The droplet velocity corresponds to that of the center of mass. Inset: convergence of the droplet acceleration as a function of its resolution, computed with the best linear fit over the temporal variation of the velocity. The error bar signifies the asymptotic standard error (least-squares) corresponding to the linear fit. obtained from the difference between the 2 <sup>5</sup> and the 2 <sup>6</sup> values of the droplet resolution _D_ / _h_ . This is consistent with equation (69) if one sets _U_ = _U_ 0 and _Ut_ = 6.6m/s not far from the terminal velocity of a solid sphere and of Section 4.6.2. One may also notice that on Fig. 30 the initial center-of-mass velocity is not zero in the simulation frame of reference but a small upward velocity of 10 <sup>−2</sup> m/s. This is due to the small velocity shift during the first time step projection already discussed in Section 4.4 of order _rU_ 0 ≃ 6 10 <sup>−3</sup> m/s. The temporal variation in the droplet velocity is fit to a straight line in order to evaluate the droplet acceleration for each droplet resolution. The estimated acceleration is shown in the inset of Fig. 30. The decrease of the error, obtained as above from the difference between successive resolutions is plotted on Fig. 31d. No clear convergence order emerges, although the second-order convergence line is plotted to guide the eye. In Fig. 31 we show the mass conservation properties of the two most stable combinations, that is the WY advection with the QUICK-UW velocity interpolation (WY) and the CIAM advection with the Superbee slope limiter (CIAM) for the falling raindrop. We have pointed out after (27) that the mass conservation of the WY advection is strongly dependent on how accurately the divergence-free condition is enforced, which 40 (a) (b) (c) (d) Figure 31: Relative change in the droplet mass as a function of time in the first three plots. The simulations are carried out for a total time of 0.1 milliseconds, while the droplet resolution is _D_ / _h_ = 16 in the first two plots. The symbol “WY” in the legend refers to the combination of WY advection with the QUICKUW velocity interpolation, and “CIAM” to the CIAM advection with the Superbee slope limiter. Mass conservation properties of the two schemes: (a) as a function of the Poisson solver tolerance; (b) as a function of the clipping parameter ϵ _c_ ; (c) as a function of the droplet resolution _D_ / _h_ . (d) Error estimate on the droplet acceleration, in the frame of reference of the static box. The corresponding droplet accelerations are plotted in the inset of Fig. 30. in turns is determined by the Poisson’s solver tolerance. A clipping procedure, with no redistribution, affects as well mass conservation. The WY combination is thus rather sensitive to these two parameters but overall performs much better than the CIAM combination which is inherently not mass-conserving (see (25)) and not very sensitive to the Poisson’s solver tolerance and the parameter ϵ _c_ . Mass conservation is also plotted with various resolutions _D_ / _h_ in Fig. 31c. It is seen that going from _D_ / _h_ = 32 to _D_ / _h_ = 64 the mass variation becomes larger for both methods, and grows over time at high resolution for WY, pointing to an accumulation of many machine precision errors. _4.7._ _Atomizing air and water planar jets_ We also test the capability of the mass-momentum-consistent scheme to simulate an atomizing air-water shear flow. For that purpose we repeat the setup of ref. [37]. Two 41 Figure 32: Atomizing layer with air/water properties. _Ul_ _Ug_ _Hl_ _h_ _ly_ δ _g_ / _ly_ <u>(</u> _<u>m</u>_ <u>/</u> _<u>s</u>_ <u>)</u> <u>(</u> _<u>m</u>_ <u>/</u> _<u>s</u>_ <u>)</u> <u>(</u> _<u>m</u>_ <u>)</u> <u>(</u> _<u>m</u>_ <u>)</u> <u>(</u> _<u>m</u>_ <u>)</u> <u>(−)</u> <u>1</u> <u>25</u> <u>4 10</u> <sup><u>−3</u></sup> <u>2.5 10</u> <sup><u>−4</u></sup> <u>2.5 10</u> <sup><u>−4</u></sup> <u>2</u> Table 3: Physical parameters (defined in the text) for the atomizing layer setup. The fluid properties are the same as in Table 2. jets of air and water are entering the computational domain from the left of Fig. 32 at velocities comparable to those of experiments. However in order to save computer time the computational domain is smaller than the experimental one. Physical properties of air and water are identical to those of the falling raindrop case given in Tab. 2. The flow and domain characteristics are given in Tab. 3 including a gas boundary layer and separator-plate identical to those of ref. [37]. The notations are as in ref. [37]: _Hp_ is the thickness of the jet of phase _p_, there is a separator plate of thickness _ly_ and a gas boundary layer of thickness δ _g_ . The two streams have equal thickness _Hl_ = _Hg_ . The dimensionless parameters are given in Tab. 4. The CIAM advection method has been used. The number of grid points in the layer _Hl_ / _h_ = 16 is relatively small, when compared to _Hl_ / _h_ = 32 in the coarsest simulation of ref. [37]. It is thus all the more remarkable that the simulation is stable since using a smaller number of grid points usually increases the trend towards instability. It is interesting to note that the VOF calculations accounts for 31.5% of the total time, while the inversion of the Poisson operator for the pressure accounted for 51.5%. The whole simulation runs overnight on a present-day workstation. 42 _M_ _r_ _m_ Re _g_,δ We _g_,δ Re _g_ ρ _gUg_ <sup>2/</sup> �ρ _lUl_ <sup>2</sup> - ρ _l_ /ρ _g_ µ _l_ /µ _g_ ρ _gUgHg_ /µ _g_ ρ _lUlHl_ /µ _l_ ρ _gUg_ <sup>2</sup> <sup>_H_</sup> _<u>g</u>_ <sup>2/</sup> _<u>g</u>_ <sup>2/</sup> �ρ _lUl_ <sup>2</sup> - ρ _l_ /ρ _g_ µ _l_ /µ _g_ ρ _gUgHg_ /µ _g_ ρ _lUlHl_ /µ _l_ ρ _gUg_ <sup>2</sup> <sup>_Hg_</sup> <sup>/σ</sup> <u>0.75</u> <u>831.8</u> <u>45</u> <u>757.6</u> <u>5.151</u> <u>6061</u> �ρ _lUl_ <sup>2</sup> _<u>l</u>_ - ρ _l_ /ρ _g_ µ _l_ /µ _g_ ρ _gUgHg_ /µ _g_ ρ _lUlHl_ /µ _l_ ρ _gUg_ <sup>2</sup> Table 4: Dimensionless parameters for the atomizing layer setup. 5. Conclusion We have presented and tested a new simulation method for multiphase flow that involves momentum advection that is consistent with VOF advection. The method includes an implementation of the WY VOF advection method. A simple and fast test of the method’s stability and accuracy is offered by the analysis of the Kelvin-Helmholtz instability. The method is converging when velocity profiles are continuous. However in the case of vortex sheets spurious growth is often observed. Progress on this front would probably provide benefits on other aspects of the method’s performance. The increased stability of the new method, on the other hand is evidenced in several classical tests cases and especially for a 3 mm droplet of water falling in air, a typical raindrop. It is a reflection on the challenging nature of multiphase flow that such complex methods apparently need to be implemented to resolve such an everyday and simple phenomenon. The method comes with a significant saving of computer time, since for similar problems with raindrops, our attempts with a non-momentum-consistent VOF approach led to catastrophic deformation of the drop or strong dimple formation. These problems have also been observed by us using other non-VOF-consistent and nonmomentum-consistent methods such as the one of [24]. In that case whenever less than 200 grid points per diameter are used numerically stable air-water drops accelerated at moderate Weber number cannot be found. However for higher resolutions they can be computed without difficulty as also found by the authors of ref. [38]. Here, approximate solutions for the raindrop accurate within 15% are found with only 15 points per diameter. At lower resolution, down to 2 points per diameter the simulations are often stable, but the new method is unable to stabilize them in all conditions. A particular advantage of the method is that it is conserving mass at the accuracy at which discrete incompressibility is enforced and opens a perspective for similar momentum conservation using WY advection. The method nevertheless is more complex and costly than a collocated method. This opens the perspective for systematic development of other methods with different grid arrangements. Another perspective is the potential of stable methods with large density contrasts, exact mass and momentum conservation and small droplets, that could be smoothly merged into models that represent the small droplets as Lagrangian Point Particles [39]. 6. Acknowledgements This work has been supported by the ANR MODEMI project (ANR-11-MONU0011) program, grant SU-17-R-PER-26-MULTIBRANCH from Sorbonne Universit´e 43 and the ERC Advanced Grant TRUFLOW. This work was granted access to the HPC resources of TGCC-CURIE, TGCCIRENE and CINES-Occigen under the allocations t20152b7325, t20162b7760, 2017tgcc0080 and A0032B07760, made by GENCI and TGCC. The authors would also like to acknowledge the MESU computing facilities of Sorbonne Universit´e. We would like to thank Dr. W. Aniszewski, Dr. S. Dabiri, Dr. Jiacai Lu and Dr. Ph. Yecko for their contribution to the development of the code _PARIS-Simulator_, and we thank Dr. W. Aniszewski, Dr. V. Le Chenadec, Mr. C. Pairetti, Dr. S. Popinet and Dr. S. Vincent for useful conversations on the topics of this paper. Finally, the simulation data are visualized by the software VisIt developed by the Lawrence Livermore National Laboratory. Appendix A. Interpolations for the advected velocity component φ = _u_ ¯ _q_ We want interpolate the value of φ on the face between the two centered values φ−1/2 and φ1/2 of Fig. 4, where we have already interpolated with a centered scheme the advecting velocity _u_ _f_ perpendicular to the face. We consider the interpolating function (59) φ0 = _f_ <sup>�</sup> φ−3/2, φ−1/2, φ1/2, φ3/2, sign( _u_ _f_ ) <sup>�</sup> . In the first scheme we use QUICK, a third order interpolant, away from the interface and a first-order upwind scheme near the interface. For positive advecting velocity, _u f_ - 0, and in the bulk we have φ0 = <sup><u>3</u></sup> 4 <sup>φ−1/2 +</sup> 8 <sup><u>3</u></sup> <sup>φ1/2 −</sup> <sup><u>1</u></sup> 8 <sup>φ−3/2,</sup> (A.1) while near the interface the upwind value is φ0 = φ−1/2. For negative advecting velocity, _u f_ < 0, and in the bulk we have φ0 = 4 <sup><u>3</u></sup> <sup>φ1/2 +</sup> <sup><u>3</u></sup> 8 <sup>φ−1/2 −</sup> 8 <sup><u>1</u></sup> <sup>φ3/2,</sup> (A.2) while near the interface φ0 = φ1/2. In the second scheme we use a Superbee slope limiter away from the interface. For a positive advecting velocity _u_ _f_, we consider the general family of interpolants _f_ (φ−3/2, φ−1/2, φ1/2, φ3/2, sign( _u f_ )) = φ−1/2 + _S h_ /2, (A.3) where the slope _S_ is given by a slope-limiter function _g_, _S_ = _g_ (φ−3/2, φ−1/2, φ1/2). For a negative advecting velocity _u_ _f_ < 0 we consider _f_ (φ−3/2, φ−1/2, φ1/2, φ3/2, sign( _u_ _f_ )) = φ1/2 − _S h_ /2, (A.4) where _S_ = _g_ (φ−1/2, φ1/2, φ3/2). For _u_ _f_ - 0, the two slopes α <sup>+</sup> = <sup>�</sup> φ1/2, _j_ - φ−1/2, _j_ �/ _h_, α <sup>−</sup> = 2 <sup>�</sup> φ−1/2, _j_ - φ−3/2, _j_ 44 �/ _h_, (A.5) are first estimated, to compute then the other two slopes α = min <sup>�</sup> α <sup>+</sup>, α <sup>−�</sup>, (A.6) β <sup>+</sup> = 2 <sup>�</sup> φ1/2, _j_ - φ−1/2, _j_ �/ _h_, β <sup>−</sup> = <sup>�</sup> φ−1/2, _j_ - φ−3/2, _j_ �/ _h_, (A.7) to compute β = min <sup>�</sup> β <sup>+</sup>, β <sup>−�</sup>, (A.8) Finally the slope _S_ is given by the expression _S_ = max <sup>�</sup> 0, α, β) . (A.9) A similar development can be done for _u f_ < 0. A slightly different estimate of the Superbee advected velocity is used near the interface. First we extend the definition of the interpolants as we shall predict _u_ ¯ _q_ at a point _x_ ˆ slightly upwind from _x f_ using a new function _f_ <sup>ˆ</sup> so that φ0 = _f_ <sup>ˆ�</sup> _x_ ˆ, φ−3/2, φ−1/2, φ1/2, φ3/2, sign( _u f_ ) <sup>�</sup> . (A.10) We take _x_ ˆ = _x_ _f_ - _u f_ τ/2 to be the midpoint of the fluxed region Ω _D_ of Fig. 4(b). The extended interpolant is defined for positive velocity _u_ _f_ as _f_ ˆ <sup>�</sup> _x_ ˆ, φ−3/2, φ−1/2, φ1/2, φ3/2, sign( _u_ _f_ ) <sup>�</sup> = φ−1/2 + _S_ | _x_ ˆ − _x_ −1/2| (A.11) and for negative velocity _u f_ as _f_ ˆ <sup>�</sup> _x_ ˆ, φ−3/2, φ−1/2, φ1/2, φ3/2, sign( _u_ _f_ ) <sup>�</sup> = φ1/2 − _S_ | _x_ ˆ − _x_ 1/2| (A.12) The rationale behind this choice is as follows. For a time-independent advecting velocity field _u_ ( x ), the integrals in expression (44) can be simplified φ0 = _u_ ¯ _q_ = �Ω _<u>D</u>_ <sup>_u f uq_</sup> <sup>d</sup> <sup>x</sup> <u>�Ω</u> _D_ <sup>_u f_</sup> <sup>d</sup> <sup>x</sup> . (A.13) where Ω _D_ is the “donating region” of Fig. 4(b). We approximate the advecting velocity _u f_ by its midpoint value and the integral can be further simplified as <u>1</u> _u_ ¯ _q_ = |Ω _D_ | Ω _D_ _uq_ d x (A.14) Since the “midpoint” at _x_ ˆ is the center of mass of the donating region Ω _D_ the interpolation expression (A.10) follows. 45 Appendix B. Kelvin Helmholtz instability: numerical setup We consider the 2D base flow shown on Figure 8. Coordinates are noted ( _x_, _z_ ) and vectors ( _u_, _w_ ). The height of the interface is _h_ ( _x_, _t_ ). The flow has density ρ1 for _z_ < _h_ ( _x_, _t_ ) and ρ2 for _z_ - _h_ ( _x_, _t_ ) and is incompressible. The base flow is a parallel shear flow. The base flow is uniform with _u_ = - _U_ for _z_ < 0 and _u_ = _U_ for _z_ - 2 _a_, with a linear (Couette flow) boundary layer in between. When ρ1 - ρ2 the heavier fluid is the “liquid” and the lighter the “gas”. For ρ1 - ρ2 the boundary layer is in the gas while otherwise the bounary layer is in the liquid. Similar flows have been studied in [40, 41]. _Appendix_ _B.1._ _Dispersion relation_ The Euler and incompressibility equations are as in Eqs. (4) with only L = Lconv, surface tension and viscosity are not included. The interface height _h_ moves according to ∂ _th_ + _u_ ∂ _xh_ = _w_ (B.1) We also use a stream function ψ _w_ = −∂ _x_ ψ, _u_ = ∂ _z_ ψ (B.2) We consider a small perturbation of the base velocity in the form u = u 0 + ϵ u 1 + O(ϵ <sup>2</sup> ) (B.3) the pressure expands as _p_ = _p_ 0+ϵ _p_ 1( _x_, _z_, _t_ )+O(ϵ <sup>2</sup> ), the height as _h_ = ϵ _h_ 1( _x_, _z_, _t_ )+O(ϵ <sup>2</sup> ), and similarly the stream function. We assume the following form for the perturbation  _u_ 1 _w_ 1 _p_ 1 ψ1 _h_ 1  _U_ 1( _z_ ) _W_ 1( _z_ ) _P_ 1( _z_ ) Ψ1( _z_ ) _Ah_  =  _e_ <sup>−i</sup> <sup>_kx_</sup> <sup>−iω</sup> <sup>_t_</sup> (B.4) where _k_ is an arbitrary wavenumber and ω a frequency to be determined. Although the expressions on the rhs in (B.4) are complex we understand the real part. It is convenient to define as Chandrasekhar [42] the reduced wavenumber κ = 2 _ka_ and the reduced frequency Ω= ω _a_ / _U_, which are related by _e_ <sup>−2κ</sup> = (1 − 2Ω - κ) <sup><u>2 + (</u></sup> <sup>_<u>r</u>_</sup> <sup><u>+ 1)(2Ω</u></sup> <sup>−</sup> <sup><u>κ)</u></sup> (B.5) 2 + ( _r_ - 1)(2Ω - κ) <sup>,</sup> see for example [41], equation (135). The system is unstable whenever Eq. (B.5) has two complex conjugate non-real roots. Then the positive imaginary part Ω _i_ is the growth rate, plotted on Figure 9 in the cases _r_ = 1, 10 and 100 where _r_ = max(ρ1/ρ2, ρ2/ρ1). The case ρ1/ρ2 = 100 corresponds to the boundary layer in the gas and is much less unstable than the case with the boundary layer in the liquid. As the ratio ρ1/ρ2 = 100 is increased the growth rate for the boundary layer in the gas decreases steadily while the growh rate for the boundary layer in the liquid converges to the one for a free surface, with the gas replaced by a void. 46 _Appendix_ _B.2._ _Special case_ When _a_ = 0 the above is singular and a special computation, performed in Section Appendix B.5 below, is needed. One has κ = 0 and the frequencies are ω = - _<u>r</u>_ - <u>1</u> _r_ + 1 <sup>+</sup> _r_ <sup><u>2</u></sup> + <sup>√</sup> 1 <sup>_<u>r</u>_</sup> _r_ <sup><u>2</u></sup> + <sup>√</sup> 1 <sup>_<u>r</u>_</sup> <sup>i</sup> _kU_ (B.6) _Appendix_ _B.3._ _Construction of the unstable mode_ We want to write the solution using the stream function ψ in order to have a divergence free initial condition in the computations. We introduce four arbitrary constants noted _A_ 0 and _B_ 0 in the region 0 < _z_ < 2 _a_, _A_ 1 in the region _z_ < 0 and _B_ 2 in the region _z_ - 2 _a_, so that ψ is given by _z_ < 0 ψ( _x_, _z_, _t_ ) = _A_ 1 _e_ <sup>_kz_</sup> _e_ <sup>−i</sup> <sup>_kx_</sup> <sup>−iω</sup> <sup>_t_</sup> (B.7) 0 < _z_ < 2 _a_ ψ( _x_, _z_, _t_ ) = ( _A_ 0 _e_ <sup>_kz_</sup> + _B_ 0 _e_ <sup>−</sup> <sup>_kz_</sup> ) _e_ <sup>−i</sup> <sup>_kx_</sup> <sup>−iω</sup> <sup>_t_</sup> (B.8) 2 _a_ < _z_ ψ( _x_, _z_, _t_ ) = _B_ 2 _e_ <sup>−</sup> <sup>_kz_</sup> _e_ <sup>−i</sup> <sup>_kx_</sup> <sup>−iω</sup> <sup>_t_</sup> (B.9) We also introduce four additional constants noted _A_ <sup>′</sup> 0 <sup>and</sup> <sup>_B_</sup> <sup>′</sup> 0 <sup>in the region 0 <</sup> <sup>_z_</sup> <sup>< 2</sup> <sup>_a_</sup> <sup>,</sup> _A_ <sup>′</sup> 1 <sup>in the region</sup> <sup>_z_</sup> <sup>< 0 and</sup> <sup>_B_</sup> <sup>′</sup> 2 <sup>in the region</sup> <sup>_z_</sup> <sup>> 2</sup> <sup>_a_</sup> <sup>.</sup> We also introduce four additional constants noted _A_ <sup>′</sup> 0 <sup>′</sup> 1 <sup>in the region</sup> <sup>_z_</sup> <sup>< 0 and</sup> <sup>_B_</sup> <sup>′</sup> 2 <sup>in the region</sup> <sup>_z_</sup> <sup>> 2</sup> <sup>_a_</sup> <sup>.</sup> _z_ < 0 _W_ 1( _z_ ) = _A_ <sup>′</sup> 1 <sup>′</sup> 1 <sup>_ekz_</sup> (B.10) <sup>′</sup> 0 <sup>_ekz_</sup> <sup>+</sup> <sup>_B_</sup> <sup>′</sup> 0 <sup>_e_</sup> <sup>−</sup> <sup>_kz_</sup> (B.11) 0 < _z_ < 2 _a_ _W_ 1( _z_ ) = _A_ <sup>′</sup> 0 2 _a_ < _z_ _W_ 1( _z_ ) = _B_ <sup>′</sup> 2 <sup>_e_</sup> <sup>−</sup> <sup>_kz_</sup> (B.12) After substitution in the Euler equations one obtains the pressure perturbation in the three regions; for _z_ < 0, _P_ 1( _z_ ) = <sup><u>iρ1</u></sup> _k_ 0 <sup>′</sup> <sup>+</sup> <sup>_B_</sup> 0 <sup>′</sup> <sup>)</sup> <sup>_ekz_</sup> <sup>,</sup> (B.13) <sup><u>ρ</u></sup> _k_ <sup><u>1</u></sup> <sup>(ω −</sup> <sup>_kU_</sup> <sup>)(</sup> <sup>_A_</sup> 0 <sup>′</sup> for 0 < _z_ < 2 _a_, _P_ 1( _z_ ) = <sup><u>iρ2</u></sup> _k_ and for _z_ - 2 _a_, From (B.1) �(ω + _kU_ <sup>_<u>z</u>_</sup> _a_ 0 <sup>_ekz_</sup> <sup>−</sup> <sup>_B_</sup> <sup>′</sup> 0 <sup>_e_</sup> <sup>−</sup> <sup>_kz_</sup> <sup>) −</sup> <sup>(</sup> <sup>_A_</sup> <sup>′</sup> 0 <sup>_ekz_</sup> <sup>+</sup> <sup>_B_</sup> <sup>′</sup> 0 <sup>_e_</sup> <sup>−</sup> <sup>_kz_</sup> <sup>)</sup> <sup>_<u>U</u>_</sup> <sup>′</sup> _a_ _a_ <sup>_<u>z</u>_</sup> <sup>−</sup> <sup>_kU_</sup> <sup>)(</sup> <sup>_A_</sup> 0 <sup>′</sup> (B.14) _P_ 1( _z_ ) = − <sup><u>iρ2</u></sup> _k_ 0 <sup>′</sup> <sup>+</sup> <sup>_A_</sup> 0 <sup>′</sup> <sup>_e_</sup> <sup>4</sup> <sup>_ka_</sup> <sup>)</sup> <sup>_e_</sup> <sup>−</sup> <sup>_kz_</sup> <sup>.</sup> (B.15) <sup><u>ρ</u></sup> _k_ <sup><u>2</u></sup> <sup>(ω +</sup> <sup>_kU_</sup> <sup>)(</sup> <sup>_B_</sup> 0 <sup>′</sup> ∂ _th_ = − _U_ 0(0)∂ _xh_ + _w_ (B.16) and from (B.2) and (B.8) we get −iω _Ah_ = −i _kUAh_ + i _k_ ( _A_ 0 + _B_ 0) hence (−iω + i _kU_ ) _Ah_ = i _k_ ( _A_ 0 + _B_ 0) 47 and _<u>k</u>_ _Ah_ = − ω − _kU_ <sup>(</sup> <sup>_A_</sup> <sup>0 +</sup> <sup>_B_</sup> <sup>0)</sup> Similar relations are obtained from the requirements of continuity of pressure and normal velocity at _z_ = 0 and _z_ = 2 _a_ . We can then determine all the amplitudes of the constructed solution after an amplitude for the interface has been chosen. Typically the modulus | _Ah_ | and the argument φ are selected so that _Ah_ = | _Ah_ | _e_ <sup>iφ</sup> then for κ > 0 we have _C_ 0 = −( <sup><u>ω</u></sup> (B.17) _k_ <sup>−</sup> <sup>_U_</sup> <sup>)</sup> <sup>_Ah_</sup> <sup>(</sup> <sup>_e_</sup> <sup>−2κ + 2Ω+ κ −</sup> <sup>1)−1</sup> _A_ 0 = _C_ 0 _e_ <sup>−2κ</sup> (B.18) _B_ 0 = _C_ 0(2Ω+ κ − 1) (B.19) _A_ 1 = _A_ 0 + _B_ 0 (B.20) _B_ 2 = _A_ 0 _e_ <sup>2κ</sup> + _B_ 0 (B.21) These expressions for the amplitudes together with (B.7-B.9) are used to initialize the stream function. The intermediate constant _C_ 0 is used to simplify the expressions. _Appendix_ _B.4._ _Special cases:_ _mode structure for ka_ → 0 _Appendix_ _B.4.1._ _Mode structure for a_ - 0 _going to the limit a_ → 0 _._ For small or vanishing _a_ and κ however the expression (B.17) is singular. Indeed in the limit κ → 0 we also have Ω → 0 and _e_ <sup>−2κ</sup> + 2Ω+ κ − 1 = −2κ + 2κ <sup>2</sup> + κ + O(κ <sup>3</sup> ) = −κ + O(κ <sup>2</sup> ) and then _A_ 0 and _B_ 0 become spurious as the region (0, 2 _a_ ) vanishes. From (B.17) _C_ 0 ≃− <sup><u>ω</u></sup> _k_ <u>1</u> κ <sup>_Ah_</sup> and from (B.19) and (B.21) Thus for _a_ = 0 _B_ 2 = _C_ 0(2Ω+ κ) ≃ κ _C_ 0 _B_ 2 = − <sup><u>ω</u></sup> _k_ <sup>_Ah_</sup> _A_ 1 = <sup><u>ω</u></sup> _k_ <sup>_Ah_</sup> the latter being obtained directly from (B.20). Since _B_ 2 - _A_ 1 there is a O(ϵ) discontinuity of ψ which results in a jump of _v_ ( _x_, _z_, _t_ ) accross the interface at _z_ = 0 and a related thin jet _u_ 1( _x_, _z_, _t_ ) ≃ ϵ _f_ ( _x_, _t_ )δ( _z_ ). This is a consequence of placing the interface in the above calculations at _z_ = 0 instead of _z_ = ϵ _h_ 1( _x_, _t_ ) and it conflicts with the solution obtained classically and also below with the thin vortex sheet setup (that is, the setup in which _a_ = 0 is postulated at the beginning). 48 _Appendix_ _B.5._ _Mode structure in the a_ = 0 _case_ We now obtain the mode structure for the classic thin vortex sheet setup where one assumes _a_ = 0 from the start. In that case we keep only the terms in (B.7) and (B.9). The velocity continuity condition becomes _ht_ = − _uhx_ + _w_ = − _u_ 0 _hx_ + _w_ 1 + O(ϵ) (B.22) which replaces (B.16). Since _ht_ must have the same expression above and below the interface [ _w_ - _hxu_ 0] = 0 (B.23) thus [ _w_ ] = _hx_ [ _u_ 0] = 2 _hxU_ and from (B.10) and (B.12) _z_ < 0 _W_ 1 = _A_ <sup>′</sup> 1 <sup>_ekz_</sup> (B.24) _z_ - 0 _W_ 1 = _B_ <sup>′</sup> 2 <sup>_e_</sup> <sup>−</sup> <sup>_kz_</sup> (B.25) and from (B.22) _A_ <sup>′</sup> 1 = −i(ω − _kU_ ) _Ah_ (B.26) _B_ <sup>′</sup> 2 = −i(ω + _kU_ ) _Ah_ (B.27) (B.28) The pressure equality at _z_ = 0 leads to _z_ < 0 _P_ 1 = <sup><u>i</u></sup> _k_ <sup><u>ρ21</u></sup> _z_ - 0 _P_ 1 = <sup><u>i</u></sup> _k_ <sup><u>ρ22</u></sup> 2 <sup>′</sup> <sup>(−</sup> <sup>_ke_</sup> <sup>−</sup> <sup>_kz_</sup> <sup>)</sup> (B.30) _k_ <sup><u>ρ21</u></sup> <sup>(ω −</sup> <sup>_kU_</sup> <sup>)</sup> <sup>_A_</sup> 1 <sup>′</sup> _k_ <sup><u>ρ22</u></sup> <sup>(ω +</sup> <sup>_kU_</sup> <sup>)</sup> <sup>_B_</sup> 2 <sup>′</sup> 1 <sup>′</sup> <sup>_kekz_</sup> (B.29) hence introducing ν = ω/( _kU_ ) and from (B.26) and (B.27) (ν + 1) _A_ 1 − (ν − 1) _B_ 2 = 0 (B.31) _r_ (ν − 1) _A_ 1 + (ν + 1) _B_ 2 = 0 (B.32) (B.33) from which one obtains <sup>_<u>r</u>_</sup> <sup>−</sup> <sup><u>1</u></sup> _r_ + 1 <sup>+</sup> _r_ <sup><u>2</u></sup> + <sup>√</sup> 1 <sup>_<u>r</u>_</sup> ν = <sup>_<u>r</u>_</sup> <sup>−</sup> <sup><u>1</u></sup> _r_ + 1 (B.34) _r_ <sup><u>2</u></sup> + <sup>√</sup> 1 <sup>_<u>r</u>_</sup> <sup>i</sup> identical to (B.6). Also from (B.26) and (B.27) _A_ 1 = ( _U_ - ω/ _k_ ) _Ah_ (B.35) _B_ 2 = −( _U_ + ω/ _k_ ) _Ah_ (B.36) These expressions should be used whenever _a_ ≪ _Ah_ while the full expressions with the boundary layer would be valid for _Ah_ ≪ _a_ . In both cases ∆ _x_ ≪ min( _Ah_, _a_ ) ma be required. 49 References References [1] M. Rudman, A volume-tracking method for incompressible multi-fluid flows with large density variations, Int. J. Numer. Meth. Fluids 28 (1998) 357–378. [2] M. Bussmann, D. B. Kothe, J. M. Sicilian, Modeling high density ratio incom pressible interfacial flows, in: ASME 2002 Joint US-European Fluids Engineering Division Conference, American Society of Mechanical Engineers, 2002, pp. 707–713. [3] O. Desjardins, V. Moureau, Methods for multiphase flows with high density ratio, Center for Turbulent Research, Summer Programm 2010 (2010) 313–322. [4] M. Raessi, H. Pitsch, Consistent mass and momentum transport for simulating in compressible interfacial flows with large density ratios using the level set method, Computers & Fluids 63 (2012) 70–81. [5] V. Le Chenadec, H. Pitsch, A monotonicity preserving conservative sharp inter face flow solver for high density ratio two-phase flows, J. Comput. Phys. 249 (2013) 185–203. [6] G. Vaudor, T. Menard, W. Aniszewski, M. Doring, A. Berlemont, A consistent mass and momentum flux computation method for two phase flows. Application to atomization process, Computers & Fluids 152 (2017) 204–216. [7] D. Zuzio, A. Orazzo, J.-L. Estival`ezes, I. Lagrange, A new efficient momentum preserving level-set/vof method for high density and momentum ratio incompressible two-phase flows, Journal of Computational Physics 410 (2020) 109342. [8] R. Saurel, R. Abgrall, A multiphase Godunov method for compressible multifluid and multiphase flows, J. Comput. Phys. 150 (2) (1999) 425–467. [9] G. Allaire, S. Clerc, S. Kokh, A five-equation model for the simulation of inter faces between compressible fluids, J. Comput. Phys. 181 (2) (2002) 577–616. [10] M. Pelanti, K. M. Shyue, A mixture-energy-consistent six-equation two-phase numerical model for fluids with interfaces, cavitation and evaporation waves, J. Comput. Phys. 259 (2014) 331–357. [11] F. Xiao, Large eddy simulation of liquid jet primary breakup, Ph.D. thesis, Lough borough University (2012). [12] F. Xiao, M. Dianat, J. J. McGuirk, Large eddy simulation of single droplet and liq uid jet primary breakup using a coupled level set/volume of fluid method, Atomisation and Sprays 24 (2014) 281–302. [13] G. Tryggvason, R. Scardovelli, S. Zaleski, Direct Numerical Simulations of Gas Liquid Multiphase Flows, Cambridge University Press, 2011. 50 [14] S. Bn`a, S. Manservisi, R. Scardovelli, P. Yecko, S. Zaleski, Numerical integra tion of implicit functions for the initialization of the VOF function, Computers & Fluids 113 (2015) 42–52. [15] S. Bn`a, S. Manservisi, R. Scardovelli, P. Yecko, S. Zaleski, Vofi - a library to initialize the volume fraction scalar field, Computer Physics Communications 200 (2016) 291–299. [16] R. Scardovelli, S. Zaleski, Analytical relations connecting linear interfaces and volume fractions in rectangular grids, J. Comput. Phys. 164 (2000) 228–237. [17] A. Cervone, S. Manservisi, R. Scardovelli, S. Zaleski, A geometrical predictor corrector advection scheme and its application to the volume fraction function, J. Comput. Phys. 228 (2009) 406–419. [18] J. Li, Calcul d’interface affine par morceaux (piecewise linear interface calcula tion), C. R. Acad. Sci. Paris, s´erie IIb, (Paris) 320 (1995) 391–396. [19] R. Scardovelli, S. Zaleski, Interface reconstruction with least-square fit and split lagrangian-eulerian advection, Int J. Numer. Meth. Fluids 41 (2003) 251–274. [20] G. D. Weymouth, D. K. P. Yue, Conservative Volume-of-Fluid method for free surface simulations on Cartesian-grids, J. Comput. Phys. 229 (8) (2010) 2853– 2865. [21] [S. Popinet, Basilisk, a Free-Software program for the solution of partial differen-](http://basilisk.fr) tial equations on adaptive Cartesian meshes (2018). URL `[http://basilisk.fr](http://basilisk.fr)` [22] P. L. Roe, Some contributions to the modelling of discontinuous flows, in: Large scale computations in fluid mechanics, 1985, pp. 163–193. [23] J. Brackbill, D. B. Kothe, C. Zemach, A continuum method for modeling surface tension, J. Comput. Phys. 100 (1992) 335–354. [24] S. Popinet, An accurate adaptive solver for surface-tension-driven interfacial flows, J. Comput. Phys. 228 (2009) 5838–5866. [25] P. Yecko, S. Zaleski, J.-M. Fullana, Viscous modes in two-phase mixing layers, Phys.Fluids 14 (2002) 4115–4122. [26] T. Boeck, S. Zaleski, Viscous versus inviscid instability of two-phase mixing lay ers with continuous velocity profile., Phys. Fluids 17 (2005) 032106. [27] A. Bagu´e, D. Fuster, S. Popinet, R. Scardovelli, S. Zaleski, Instability growth rate of two-phase mixing layers from a linear eigenvalue problem and an initial-value problem, Physics of Fluids 22 (2010) 092104. [28] D. Fuster, An energy preserving formulation for the simulation of multiphase turbulent flows, J. Comput. Phys. 235 (2013) 114–128. 51 [29] F. Marcotte, S. Zaleski, Density contrast matters for drop fragmentation thresh olds at low ohnesorge number, Physical Review Fluids 4 (10) (2019) 103604. [30] R. Blumenthal, J. Hoepffner, S. Zaleski, Self-similar wave produced by local perturbation of the Kelvin-Helmholtz shear-layer instability, Phys. Rev. Lett 106 (2011) 104502. [31] R. Clift, J. R. Grace, M. E. Weber, Bubbles, Drops and Particles, Academic Press, New York, 1978. [32] L. Opfer, I. Roisman, J. Venzmer, M. Klostermann, C. Tropea, Droplet-air col lision dynamics: Evolution of the film thickness, Phys. Rev. E 89 (1) (2014) 013023. [33] R. Gunn, G. D. Kinzer, The terminal velocity of fall for water droplets in stagnant air, Journal of Meteorology 6 (4) (1949) 243–248. [34] M. S. Dodd, A. Ferrante, A fast pressure-correction method for incompressible two-fluid flows, Journal of Computational Physics 273 (2014) 416–434. [35] S. Krishnan, B. Sivasamy, K. Ramasamy, Transient drag coefficients from a freely rising and falling solid sphere at moderate particle reynolds numbers, The Canadian Journal of Chemical Engineering 94 (5) (2016) 1003–1014. [36] J. W. S. L. Rayleigh, On the capillary phenomena of jets, Proc. R. Soc. London 29 (1879) 71–97. [37] Y. Ling, D. Fuster, S. Zaleski, G. Tryggvason, Spray formation in a quasiplanar gas–liquid mixing layer at moderate density ratios: A numerical closeup, Phys. Rev. Fluids 2 (1) (2017) 014005. [38] M. Jain, R. S. Prakash, G. Tomar, R. V. Ravikrishna, Secondary breakup of a drop at moderate Weber numbers, in: Proc. R. Soc. A, Vol. 471, issue 2177, The Royal Society, 2015, p. 20140930. [39] Y. Ling, S. Zaleski, R. Scardovelli, Multiscale [simulation](http://www.sciencedirect.com/science/article/pii/S0301932215001524) of atomization with small droplets [represented](http://www.sciencedirect.com/science/article/pii/S0301932215001524) by a lagrangian point-particle [model,](http://www.sciencedirect.com/science/article/pii/S0301932215001524) Int. J. Multiphase Flow 76 (2015) 122 - 143. `[doi:http:](http://dx.doi.org/http://dx.doi.org/10.1016/j.ijmultiphaseflow.2015.07.002)` `[//dx.doi.org/10.1016/j.ijmultiphaseflow.2015.07.002](http://dx.doi.org/http://dx.doi.org/10.1016/j.ijmultiphaseflow.2015.07.002)` . URL `[http://www.sciencedirect.com/science/article/pii/](http://www.sciencedirect.com/science/article/pii/S0301932215001524)` ``` S0301932215001524 ``` [40] J.-P. Matas, S. Marty, A. Cartellier, Experimental and analytical study of the shear instability of a gas-liquid mixing layer, Phys. Fluids 23 (2011) 094112. [41] J. Eggers, E. Villermaux, Physics of liquid jets, Rep. Prog. Phys. 71 (2008) 036601. [42] S. Chandrasekhar, Hydrodynamic and Hydromagnetic Stability, Oxford Univ. Press, 1961. 52

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.