# Modified mass-conservative curved boundary scheme for lattice Boltzmann simulations

Modified mass-conservative curved boundary scheme for lattice Boltzmann simulations The lattice Boltzmann (LB) method has gained much success in a variety of fields involving fluid flow and/or heat transfer. In this method, the bounce-back scheme is a popular boundary scheme for treating nonslip boundaries. However, this scheme leads to staircase-shaped boundaries for curved walls. Therefore many curved boundary schemes have been proposed, but mostly suffer from mass leakage at the curved boundaries. Several correction schemes have been suggested for simulating single-phase flows, but very few discussions or studies have been made for two-phase LB simulations with curved boundaries. In this paper, the performance of three well-known types of curved boundary schemes in two-phase LB simulations is investigated through modeling a droplet resting on a circular cylinder. For all of the investigated schemes, the results show that the simulated droplet rapidly “evaporates” under the nonslip and isothermal conditions, owing to the imbalance between the mass streamed out of the system by the outgoing distribution functions and the mass streamed into the system by the incoming distribution functions at each boundary node. Based on the numerical investigation, we formulate two modified mass-conservative curved boundary schemes for two-phase LB simulations. The accuracy of the modified curved boundary schemes and their capability of conserving mass in two-phase LB simulations are numerically demonstrated. Keywords: lattice Boltzmann model; curved boundary scheme; mass leakage; two-phase. 1. Introduction In the past three decades, the lattice Boltzmann (LB) method (Aidun and Clausen, 2010; Chen and Doolen, 1998; He et al., 2019; Li et al., 2016a; Xu et al., 2017) has been developed into an efficient and powerful numerical approach for simulating fluid flow and heat transfer. Compared with traditional numerical methods, the LB method has some major advantages. First, in the LB method the fluid flow is described by a discrete kinetic equation based on the particle distribution functions, which is a more fundamental level than normal continuum approaches (Huang et al., 2015). Second, the fluid pressure and the strain tensor are available locally in the LB method, while the pressure field in traditional numerical methods is usually obtained by solving the Poisson equation. Moreover, the LB method is easy to parallelize because of its explicit algorithm and local interactions. Unlike traditional numerical methods, which usually specify the macroscopic variables such as  and u at the boundaries, the LB method applies the boundary condition to the particle distribution functions, giving more degrees of freedom (Krüger et al., 2017) than the set of macroscopic variables. The oldest and simplest boundary condition or scheme in the LB community is the bounce-back scheme, which assumes that, when a particle hits a solid wall, it is reflected back to where it originally came from. Besides its simplicity, the bounce-back scheme is also well-known for its advantage in conserving mass (Krüger et al., 2017). When the physical boundary nodes lay at the lattice nodes, the bounce-back scheme is called the standard bounce-back scheme. On the contrary, when the solid wall locates at the middle of the fluid boundary node and the node inside the solid, the scheme is referred to as the halfway bounce-back scheme (Guo and Shu, 2013). The bounce-back scheme is usually applicable to straight walls and it leads to staircase-shaped boundaries for curved walls. Using a stair-shaped approximation, the fidelity of real geometry is lost and additional errors may be introduced (K. P. Sanjeevi et al., 2018). To improve the accuracy of LB simulations involving curved boundaries, various curved boundary schemes have been developed. The first attempt which considers the accurate shape of a curved solid wall was made by Filippova and Hanel (Filippova and Hänel, 1998). The basic idea of their scheme is to create ghost nodes inside the solid and then apply a linear interpolation to determine the unknown distribution functions of a boundary node. However, this scheme suffers from numerical instability when the boundary node is close to the solid wall and the relaxation time is close to 1. Later, Mei et al. (Mei et al., 1999) proposed an improved curved boundary scheme based on the work of Filippova and Hanel, which enhances the numerical stability. These two schemes have been demonstrated to be of second-order accuracy. Subsequently, Bouzidi et al. (Bouzidi et al., 2001) devised a curved boundary scheme that does not require the interpolation from a ghost node inside the solid. The motivation of their scheme is to interpolate the distribution functions in the interior fluid region and to include additional information about the wall location during the bounce-back process. Nevertheless, they employed separate treatments for different regions. In order to avoid discontinuity in the boundary treatment, Yu et al. (Yu et al., 2003) developed a unified scheme of Bouzidi et al.’s algorithm. This type of boundary schemes is also second-order accurate and usually referred to as the interpolated bounce-back scheme. However, it introduces viscosity-dependence boundary slip. To solve this issue, Ginzburg and d’Humières (Ginzburg and d’Humières, 2003) proposed a multi-reflection boundary scheme, which can be viewed as an enhanced interpolated bounce-back scheme. The main feature of their scheme lies in that it determines the coefficients of the interpolation through a second-order Chapman-Enskog expansion on the interpolated distribution functions (Krüger et al., 2017). Another type of curved boundary schemes involves only a single lattice node and is free of interpolation, which is often called the “one-point” or “single-node” boundary scheme. The advantage of this type of boundary schemes is its local computations. The first one-point curved boundary scheme was proposed by Junk and Yang (Junk and Yang, 2005). Nevertheless, this scheme needs to compute the inverse of a matrix at each boundary node. Recently, Zhao and Yong (Zhao and Yong, 2017) devised an alternative single-node boundary scheme. They considered a linear combination of the pre-collision and equilibrium distribution functions at the fluid boundary node and introduced five parameters, which were determined by the Maxwell iteration. Moreover, Tao et al. (Tao et al., 2018) recently developed a single-node curved boundary scheme for LB simulations of suspended particles. Some other developments of the boundary schemes for LB simulations involving curved walls can be found in a recent book written by Krüger et al. (Krüger et al., 2017). Although various curved boundary schemes have been developed, they mostly suffer from the violation of mass conservation in LB simulations (Krüger et al., 2017), i.e., there will be mass leakage at each time step during the simulations. To enhance mass conservation, several improved curved boundary schemes have been proposed. Kao and Yang (Kao and Yang, 2008) presented an interpolation-free boundary scheme to improve the mass conservation of the boundary condition. Bao et al. (Bao et al., 2008) devised an improved version of Mei et al.’s boundary scheme by redefining the density term in the equilibrium distribution function of the ghost node in solid. In addition, Le Coupanec and Verschaeve (Le Coupanec and Verschaeve, 2011) developed a mass-conservative boundary scheme for LB simulations with tangentially moving walls. Recently, Sanjeevi et al. (K. P. Sanjeevi et al., 2018) found that the interpolation-free boundary scheme proposed by Kao and Yang (Kao and Yang, 2008) still leads to mass leakage. To the best of the authors’ knowledge, very few studies or discussions have been made in the literature regarding the mass conservation of two-phase LB simulations when applying the curved boundary schemes, although some curved schemes have been utilized in the LB studies of two-phase flows. Definitely, the halfway bounce-back scheme is capable of conserving mass in two-phase LB simulations, but it is inappropriate for certain two-phase flows, such as two-phase flows with phase change (Li et al., 2015; Li et al., 2018; Yu et al., 2018), e.g., boiling on curved surfaces (Kang, 2016). The stair-shaped approximation of the bounce-back scheme will introduce “artificial” nucleation sites and may cause significant errors for boiling simulations. The present study is therefore devoted to investigating the performance of some well-known curved boundary schemes in simulating two-phase flows. Based on the numerical investigation, two modified mass-conservative boundary schemes are formulated for two-phase LB simulations with curved boundaries. The rest of the present paper is organized as follows. In Sec. 2 we introduce the LB method and three well-known types of curved boundary schemes. In Sec. 3 we investigate the performance of three types of curved boundary schemes in two-phase LB simulations through modeling a droplet resting on a circular cylinder. The modified mass-conservative curved boundary schemes are formulated in Sec. 4. Numerical validation and discussion are also given there. Finally, a brief summary is given in Sec. 5. 2. Lattice Boltzmann method and curved boundary schemes 2.1. The lattice Boltzmann method The LB equation using the Bhatnagar-Gross-Krook (BGK) collision operator can be written as (Qian et al., 1992) eq f xe,, tf xt f x,tf x,t F x,t , (1)      tt    t  eq where f is the density distribution function, f is the equilibrium density distribution function, x   is the spatial position, e is the discrete velocity in the  th direction, t is the time,  is the time  t step,  is the non-dimensional relaxation time, and F is the forcing term. The space is usually discretized in such a way that e  is the distance between two neighboring nodes. Hence after one  t time step, f x, t will arrive at its neighboring node along the lattice velocity direction e .    Therefore the LB equation can be split into two processes: the “collision” process  eq  f xx,, tft f x,tf x,tFx,t , (2)           t  and the “streaming” process f xe,, t  f x t , (3)    tt  where f x, t is the post-collision state of the density distribution function.  From Eqs. (2) and (3) it can be found that the collision process is completely local and the streaming process is completely linear. Using the two-dimensional nine-velocity (D2Q9) lattice model (Aidun and Clausen, 2010; Chen and Doolen, 1998; Li et al., 2016a; Qian et al., 1992), the equilibrium density distribution function is given by   eu  eu uu  eq  f  1    , (4)  24 2 cc22c   ss s   where c 13 is the lattice sound speed and the weights  are defined as   49 ,  19 , s  0 14  and  136 . The kinematic viscosity is related to the non-dimensional relaxation time through 58   c 0.5 , and the macroscopic density and velocity are calculated by, respectively s t   f , ue f F, (5)       where F is the total force of the system and is incorporated into the LB equation through the forcing term F x, t (Li et al., 2016a).  2.2. Curved boundary schemes Figure 1 illustrates a curved wall together with its neighboring lattice nodes. The link between a fluid boundary node x and a solid node x is cut by the wall at point x . The fraction of the b s w intersected link in the fluid region is defined as (Guo and Shu, 2013; Krüger et al., 2017) xx  bw q  , (6) xx  bs where 0 q 1 and xx  depends on e . bs  Fig. 1. Sketch of a curved wall and the lattice nodes near the wall. The first LB boundary scheme for curved solid walls is proposed by Filippova and Hanel (Filippova and Hänel, 1998). In order to determine the unknown distribution function ft  x ,   at the fluid  bt boundary node (the subscript  denotes the opposite direction of  ), Filippova and Hanel (Filippova and Hänel, 1998) defined a post-collision density distribution function at the solid node x ,  eq fxx ,1 t  f , t  fx, t        . (7) sb s fxx,, t  f t The unknown distribution functions at the boundary node can be obtained by     bt s after the streaming process. The feature of this type of boundary schemes lies in that it introduces a fictitious equilibrium distribution function at the solid node, and Eq. (7) can be interpreted as a linear combination of the bounce-backed distribution function and the fictitious equilibrium distribution function, which is defined as   eu u u eu   eq  bb b  s ftxx,,  t 1    , (8)    sb 24 2 cc22c   ss s   where uu  x , t and u is a fictitious velocity. The parameter  in Eq. (7) depends on the  bb s choice of the fictitious velocity u . Filippova and Hanel (Filippova and Hänel, 1998) utilized the following choices: 21 q ,   , (9) q 12 : uu s b   1 21 q q11 q 12:uu u ,   , (10) s bw qq where u is the velocity at the point x . In the present work, we only consider non-moving non-slip w w boundaries. Hence u  0 . Obviously, when q  12 (0   ), the scheme of Filippova and Hanel reduces to the halfway bounce-back scheme, i.e., fxx,, t  f t .      bt b It can be found that the parameter  will become very large when  is close to 1 as q12 , and then the scheme of Filippova and Hanel will suffer from severe numerical instability (Guo and Shu, 2013). To solve this problem, Mei et al. (Mei et al., 1999) proposed an improved scheme, which still uses Eq. (10) for q12 but employs the following choice for q12 : 21 q   , uu  , (11) s f   2 xxe  where uu  x , t and is the location of the fluid node beyond the boundary node (cf.  ff f bt  Fig. 1). Mei et al. (Mei et al., 1999) showed that the above modification significantly improves the numerical stability of the boundary scheme. The interpolated bounce-back scheme proposed by Bouzidi et al. (Bouzidi et al., 2001) employs an interpolation of the distribution functions in the interior fluid region. Using a linear interpolation, the boundary scheme of Bouzidi et al. is given by  2, qfxx t 1 2q f ,t, q    bf  2 ft x ,    . (12)  bt 12q1 1  ftxx,,  ft, q   bb 22 qq 2 As , Eq. (12) reduces to the halfway bounce-back scheme. Alternatively, when a quadratic q  12 interpolation is used, the scheme takes the following form (Bouzidi et al., 2001):  2  qq 12 fxx ,t 14q f ,tq 12q fx ,t , q      bf ff ft x ,   , (13)   bt 12qq 1 21 1  ftxxx ,,  ft f ,t, q     bb f qq21 q 21 q 2  where xx 2e  . Some other versions of the interpolated bounce-back boundary scheme can be ffb  t found in the book written by Krüger et al. (Krüger et al., 2017). Another type of boundary schemes is the one-point or single-node boundary scheme. In comparison with the original single-node boundary scheme (Junk and Yang, 2005), Zhao and Yong (Zhao and Yong, 2017) recently devised a simpler single-node boundary scheme. They suggested a non-convex combination of f x , t and f x , t at the fluid boundary node, which is defined as      b  b 21 q fxx,, tf   t fx,t . (14)     bt b  b 12qq 1 2 In this scheme, the parameters/coefficients are determined based on an analysis using the Maxwell iteration. Obviously, Eq.(14) only involves local computations. In addition, it can be found that Eq. (14) does not reduce to the halfway bounce-back scheme when q  12 . The scheme of Mei et al. (Mei et al., 1999), the scheme of Bouzidi et al. (Bouzidi et al., 2001), and the scheme proposed by Zhao and Yong (Zhao and Yong, 2017) can be regarded, respectively, as the representative schemes of the aforementioned three types of boundary schemes. In the remaining of this paper, these boundary schemes are referred to as the MLS scheme, the Bouzidi scheme, and the Zhao-Yong scheme, respectively. Moreover, we use “L-Bouzidi” and “Q-Bouzidi” to represent the Bouzidi scheme that utilizes the linear and quadratic interpolations, respectively. 3. Numerical investigation 3.1 Formulation of mass leakage Figure 2 illustrates the distribution functions that will propagate across a curved wall through a boundary node (denoted by a solid black circle) during the streaming step. In the figure the blue arrows represent the outgoing distribution functions, which propagate from the boundary node to the ghost nodes in solid, while the red arrows represent the incoming distribution functions that propagate from the ghost nodes to the boundary node. boundary nodes boundary nodes streaming wall wall ghost nodes ghost nodes Fig. 2. Sketch of the distribution functions that propagate across a curved wall through a boundary node. The blue arrows represent the outgoing distribution functions, which propagate towards the ghost nodes in solid, while the red arrows represent the incoming distribution functions that propagate from the ghost nodes to the boundary node. According to Fig. 2, we formulate the mass leakage at the boundary node as follows:  mtxx,,  f t fx,t , (15)        bt  b b t outgoing incoming in which the first term on the right-hand side of Eq. (15) is the amount of mass streamed out of the system by the post-collision outgoing distribution functions while the second term on the right-hand side is the amount of mass streamed into the system by the incoming distribution functions. For the halfway bounce-back scheme, which gives fxx,, tf   t , the mass leakage is zero. However, as     bt b previously mentioned, the halfway bounce-back scheme may cause considerable numerical errors for certain two-phase flows. For example, the stair-shaped approximation of the bounce-back scheme may introduce “artificial” nucleation sites for boiling or condensation on curved surfaces. To illustrate the mass leakage caused by different boundary schemes, we firstly consider a test of single-phase flow, i.e., a static flow under gravity, which is illustrated in Fig. 3. The grid system is taken as 100 NN 50 and the non-dimensional relaxation time  is set to 1. The aforementioned xy three types of boundary schemes are employed at the upper and lower solid walls and the periodic boundary condition is applied in the x direction. The gravity force is given by F 0,  g , in which   the gravitational acceleration is chosen as g  0.001 . j  N 6 2 5 jN1 3 1 j  1 j  0 x Fig. 3. Configuration of static flow under gravity with an arbitrary q . In our simulations, the fraction q defined by Eq. (6) is taken as qn  10 with n1, 2,, 9 . The variations of the normalized mass of the system are plotted in Figs. 4(a), 4(b), 4(c), and 4(d) for the MLS scheme, the L-Bouzidi scheme, the Q-Bouzidi scheme, and the Zhao-Yong scheme, respectively. As can be seen in these figures, the investigated boundary schemes basically exhibit different performance when different values of q are applied. Specifically, for the MLS scheme, the L-Bouzidi scheme, and the Q-Bouzidi scheme, the mass of the system is conserved in the case of q  0.5 , but decreases in other cases, which is due to the fact that the MLS scheme and the Bouzidi scheme (regardless of using the linear or quadratic interpolation) reduce to the halfway bounce-back scheme in the case of q  0.5 . 1.00 1.00 0.98 0.98 q=0.1 q=0.1 q=0.2 q=0.2 q=0.3 q=0.3 0.96 0.96 q=0.4 q=0.4 q=0.5 q=0.5 q=0.6 q=0.6 0.94 0.94 q=0.7 q=0.7 q=0.8 q=0.8 q=0.9 q=0.9 0.92 0.92 4 4 4 4 4 4 4 4 4 4 4 4 0 0 1x10 2x10 3x10 4x10 5x10 6x10 1x10 2x10 3x10 4x10 5x10 6x10 time ( ) time ( )     t t (a) MLS scheme (b) L-Bouzidi scheme 1.00 1.00 0.95 0.98 q=0.1 q=0.1 q=0.2 0.90 q=0.2 q=0.3 q=0.3 0.96 q=0.4 q=0.4 q=0.5 0.85 q=0.5 q=0.6 q=0.6 q=0.7 0.94 q=0.7 0.80 q=0.8 q=0.8 q=0.9 q=0.9 0.92 0.75 4 4 4 4 4 4 4 4 4 4 4 4 0 0 1x10 2x10 3x10 4x10 5x10 6x10 1x10 2x10 3x10 4x10 5x10 6x10 time (  ) time (  ) t t (c) Q-Bouzidi scheme (d) Zhao-Yong scheme Fig. 4. Simulations of static flow under gravity using different boundary schemes. Variations of the normalized mass of the system against time. To quantify the numerical results, an averaged mass change rate is evaluated at t  60000 , which is defined as  mm m 100% . Here m is the mass of the system at t  60000 . The results 00 t are displayed in Fig. 5. From the figure we can clearly see that the mass change rate caused by the Zhao-Yong scheme is much larger than those produced by other schemes in all the cases. Such a finding indicates the single-node type of boundary schemes may perform worse than the other types of curved boundary schemes in terms of mass conservation although it has the advantage of local computations. Moreover, Fig. 5 also shows that there are no significant differences between the results of the MLS and Bouzidi schemes when q 0.5 , but the MLS scheme performs better as q  0.5 . In other words, the overall mass loss caused by the MLS scheme will be smaller than that caused by the Bouzidi scheme normalized mass normalized mass normalized mass normalized mass when the fraction q in LB simulations varies from 0 to 1. MLS scheme I-Bouzidi scheme Q-Bouzidi scheme Zhao-Yong scheme 0.0 0.2 0.4 0.6 0.8 1.0 Fig. 5. Simulations of static flow under gravity using different boundary schemes. Variations of the averaged mass change rate against the fraction defined by Eq. (6). 3.2. Simulations of droplet resting on a circular cylinder In this section, numerical simulations are carried out to investigate the performance of the MLS scheme, the Bouzidi scheme, and the Zhao-Yong scheme in two-phase LB simulations. The test of a droplet resting on a circular cylinder is employed. Under the non-slip and isothermal conditions, no evaporation will occur when a droplet is placed on a circular cylinder. However, if there exists mass leakage such as mass loss in LB simulations, the droplet will gradually become smaller, like an evaporating droplet. In our simulations, the isothermal pseudopotential multiphase LB method (Li et al., 2016a; Li et al., 2013; Shan and Chen, 1993, 1994; Xu et al., 2015; Zhang et al., 2014) is adopted, in which the fluid-fluid interaction force is defined as follows: Fx Gwxee , (16)     t where  is the pseudopotential, G is the interaction strength, and w are the weights. For the nearest-neighbor interactions on the D2Q9 lattice, the weights are given by w  13 for e  1 and   for . w  112 e  2   The pseudopotential is chosen as   exp   , where  and  are both set to 1.0,     00 0 0 mass change rate (%) which leads to the liquid density   2.783 and the vapor density   0.3675 when the interaction L V strength is taken as G  10 3 (Li et al., 2016b). For this type of pseudopotentials, the forcing scheme proposed by Guo et al. (Guo et al., 2002) is employed to incorporate the fluid-fluid interaction force into the LB equation. The contact angle is implemented via a constant virtual wall density (Benzi et al., 2006; Huang et al., 2015; Li et al., 2014), which does not affect the conclusions in the present work. However, the contact angle scheme using a constant virtual wall density usually leads to an unphysical mass-transfer layer near the solid boundary. A recent study of the contact angle schemes involving curved boundaries can be found in a recent study of Li et al. (Li et al., 2019). In the present simulations, the computational domain is divided into NN 300 350 lattices. A circular cylinder of radius R = xy 70 is located at (150, 130) and a droplet is initially placed on the circular cylinder, as shown in Fig. 6. The periodic boundary condition is ultlized in the x and y directions and the kinematic viscosity is taken as   0.15 for both the liquid and vapor phases. r  50 L 100 R 70 Fig. 6 Initial setting of a droplet resting on a circular cylinder. Some snapshots of the density contours obtained by the MLS scheme, the L-Bouzidi scheme, the Q-Bouzidi scheme, and the Zhao-Yong scheme are displayed in Figs. 7(a), 7(b), 7(c), and 7(d), respectively. From these figures it can be seen that, for all the investigated schemes, the simulated doplet gradually becomes smaller as time goes by, behaving like an evaporating droplet. However, the present 100 1500 2500 t t t (a) MLS scheme 100 1000 2000 t t t (b) L-Bouzidi scheme 100 1000 2000 t t t (c) Q-Bouzidi scheme 100 800 1200 t t t (d) Zhao-Yong scheme Fig. 7. Snapshots of density contours obtained by different boundary schemes. (a) MLS scheme, (b) L-Bouzidi scheme, (c) Q-Bouzidi scheme, and (d) Zhao-Yong scheme. simulations are performed using an isothermal pseudopotential LB model and the periodic boundary condition is applied in both the x and y directions, which means that there exists mass leakage at the surface of the circular cylinder due to the employed curved boundary schemes in simulations. Among these boundary schemes, the Zhao-Yong scheme has the advantage of local computations since it is a single-node scheme, while the other schemes usually require the information of two or more neighboring nodes. Similar to Fig. 4(d), Fig. 7(d) also shows that the Zhao-Yong scheme suffers from the violation of mass conservation although it does not involve any interpolation or extrapolation. Particularly, the rate of mass loss caused by the Zhao-Yong scheme is much larger than those caused by the other schemes, as shown in Fig. 8, which plots the variations of the normalized mass of the system during simulations. The normalized mass is defined as mm  m , where m is the transient mass of the system and m is the 0 0 initial mass of the system at t  0 . From Fig. 8 we can also observe that the MLS scheme performs best among the investigated schemes, i.e., the mass of the system decreases relatively slowly in the test using the MLS scheme. Besides, it can be found that the performance of the Bouzidi scheme is better than that of the Zhao-Yong scheme, but worse than the MLS scheme. 1.0 MLS scheme I-Bouzidi scheme Q-Bouzidi scheme Zhao-Yong scheme 0.9 0.8 0.7 0.6 0 500 1000 1500 2000 2500 time ( )  Fig. 8. Simulations of droplet on a circular cylinder using different boundary schemes. Variations of the normalized mass of the system against time. By comparing the numerical results of two-phase LB simulations in this section with the results of single-phase LB simulations displayed in Sec. 3.1, we can observe that the mass in two-phase LB normalized mass simulations decreases significantly faster than that in single-phase LB simulations. Taking the Zhao-Yong scheme as an example, in the present test it yields 40% mass loss after just 1500 time steps, as shown in Fig. 8. Such a rapid decrease of mass in two-phase LB simulations is probably due to the contact of the liquid-vapor interface with the curved solid boundary, which speeds up the mass leakage of the curved boundary schemes. When the curved boundary is completely immersed in liquid or vapor phase, the situation may be similar to that of single-phase LB simulations. 4. Modified mass-conservative schemes 4.1 Formulations of modified schemes In this section, two modified mass-conservative curved boundary schemes are formulated. On the basis of the observation that the MLS scheme yields the smallest mass loss among the investigated curved boundary schemes, the modified boundary schemes are presented based on the MLS scheme. According to the MLS scheme, the unknown distribution functions at boundary nodes are determined by  eq fxx ,1tf    ,tf x,t , (17)  bt b  s eq where f x , t is defined by Eq. (8) and the parameter  is given by Eqs. (11) and (10) for    s q 0.5 and q 0.5 , respectively. A simple treatment to conserve the mass of a system is to add the mass leakage back to the system. Such an idea was firstly used by Aidun and Lu (Aidun and Lu, 1995) for suspension flows when employing the halfway bounce-back scheme for moving boundaries. Similar treatments can also be found in (K. P. Sanjeevi et al., 2018; Liu et al., 2012). If the mass leakage is averagely added to the known distribution functions, the momentum at the boundary node may be changed. Hence the mass leakage given by Eq. (15) can be added to the rest distribution function and the following formula is obtained:  fxx,, t  ft ftx,  fx,t , (18)          00 bt b  b b t outgoing incoming where ft x ,  are calculated by Eq. (17). In the remaining of the present paper, this modified   bt MLS scheme is referred to as the modified scheme A. Such a modification is simple, but a possible limitation is also pointed out here, i.e., the rest distribution function ft  x ,   may become 0 bt negative in certain cases. On the other hand, the mass of a system can also be conserved by guaranteeing the balance between the amount of mass carried by the outgoing and incoming distribution functions at each boundary node. When  mt x ,  in Eq. (15) is set to zero, we can obtain bt fxx,, tf   t . (19)      bt b incoming outgoing In order to satisfy the above requirement, an additional parameter is needed. Inspired by the study of Bao et al. (Bao et al., 2008), we can redefine the density in the fictitious equilibrium distribution function of the ghost nodes   eu u u eu   eq  bb b  s ftxx,,  t 1    , (20)    ss 24 2 cc22c   ss s   where the density has been changed to a fictitious density  x , t . Substituting Eq. (17) into Eq. (19),   the requirement given by Eq. (19) can be transformed to  eq  fxx,, tf  t . (21)      bs outgoing outgoing Combining Eq. (21) with Eq. (20), the fictitious density in Eq. (20) can be obtained as follows: ft  x ,    b outgoing  x , t  . (22)    eu  eu u u  bb b  s  1     24 2 cc22c outgoing  ss s    Since the parameter  depends on e through the fraction q , it cannot be moved out from the summation sign in Eqs. (21) and (22). There is an important difference between the above formulation and that of Bao et al. (Bao et al., 2008). To obtain the fictitious density, Bao et al. assumed that the outing distribution functions, which are known at each boundary node, also satisfy Eq. (20) (such an assumption was illustrated above Eq. (12) in (Bao et al., 2008)). Then they obtained  eq fxx,, tf  t . (23)     bs outgoing outgoing The above equation is just Eq. (12) in (Bao et al., 2008). Contrarily, our formulation given by Eq. (21) is directly derived from the requirement of Eq. (19), and we have emphasized that the parameter  in Eq. (21) is dependent on e through the fraction q . Hence  in Eqs. (21) and (22) cannot be moved out from the summation over  . In the following part, we will show that Eq. (23) still leads to mass leakage in two-phase LB simulations, although this equation seemingly works well for single-phase LB simulations in the study of Bao et al. (Bao et al., 2008). The modified MLS scheme based on Eqs. (20) and (22) is referred to as the modified scheme B. 4.2. Numerical validation In this section, numerical simulations are performed to validate the two modified curved boundary schemes. Firstly, we employ a single-phase test, i.e., the test of steady flow past a circular cylinder, to examine the numerical accuracy of the modified schemes. The computational domain is chosen as NN 40D 25D , where D 40 is the diameter of the circular cylinder located at (15D , 12.5D ). xy The free-stream velocity is taken as U  0.1 and the Reynolds number is defined as ReUD  . 0 0 The inlet boundary is given by a uniform velocity profile, which is implemented by the Zou-He boundary scheme (Zou and He, 1997), while the fully developed boundary condition is employed at the outlet boundary. The periodic boundary condition is applied to the upper and lower boundaries and the modified curved boundary schemes are used on the circular cylinder. The non-dimensional length of the recirculation region, the separation angle, and the drag coefficient obtained by the modified schemes A and B are compared with some published results in Table 1. The non-dimensional length of the recirculation region is defined as 2LD , where L is measured from the rearmost point of the cylinder. The drag coefficient is defined as CF  0.5U D , where F is the x-component of the force F exerted on the cylinder, which is   dx 0 x calculated using the momentum-exchange method (Liao et al., 2015; Renwei et al., 2002). From the table we can see that the numerical results obtained by the modified schemes A and B are both in good agreement with those reported in the previous studies. Table 1. Comparisons of the wake length, the separation angle, and the drag coefficient. Re 20 Re 40 References 2LD  C 2LD  C s d s d Scheme A 1.90 41.35 2.130 4.61 53.93 1.590 Scheme B 1.91 41.56 2.133 4.64 53.93 1.593 (Dennis and Chang, 1970) 1.88 43.7 2.045 4.69 53.8 1.522 (Takeshi et al., 2014) 1.90 40.78 2.104 4.64 50.38 1.568 (Niu et al., 2006) 1.89 42.95 2.144 4.52 53.86 1.589 Moreover, to illustrate the differences between the modified MLS schemes and the halfway bounce-back scheme, Fig. 9 presents a comparison of the local velocity vectors around the bottom of the circular cylinder at Re 40 between the results of the modified schemes and those of the halfway bounce-back scheme. As shown in the figure, the halfway bounce-back scheme leads to non-physical results below the circular cylinder as the velocity obtained by the stair-shaped approximation penetrates the real cylindrical surface, which there is no such a phenomenon in the numerical results of the modified schemes A and B. (a) Scheme A (b) Scheme B (c) Halfway bounce-back scheme Fig. 9. Comparison of local velocity vectors around the bottom of the circular cylinder at Re 40 between the modified curved boundary schemes and the halfway bounce-back scheme. Now we turn our attention to the capability of the modified curved boundary schemes in conserving mass in two-phase LB simulations. The test of a droplet placed on a circular cylinder is still employed and the initial setting can be found in Fig. 6. Three cases with different contact angles are considered, i.e., = 30°, 90°, and 120°. The grid system and the simulation parameters are the same as those used in Sec. 3.2. Some snapshots of the density contours obtained by the modified scheme A for the three cases are displayed in Fig. 10. By comparing the numerical resutls in Fig. 10 and those in Fig. 7, we can see that the droplet can achieve a stable state when the modified scheme A is employed, rather than behaving like an evaporating droplet when the original MLS scheme is used, which indicates that the modification formulated by Eq. (18) has prevented the mass leakage at the surface of the circular cylinder. (a) = 30° (b) = 90° (c) = 120° Fig. 10. Simulations of droplet on a circular cylinder using the modified curved boundary scheme A. Snapshots of density contours under the static contact angles = 30°, 90°, and 120°, respectively. From left to right: t  1000 , 5000 , 20000 . t t t Figure 11 displays the variations of the normalized mass of the system during the simulations using the modified schemes A and B, respectively. For both modified schemes, the maximum variation of the normalized mass of the system is very small (about 0.01% ) and it appears at the early stage of the simulations, which is expected because the liquid-vapor interface is initially a sharp interface and it develops into a diffuse interface with a finite thickness at the early stage of the simulations. Such a change causes a small fluctuation of the mass of the system. After the early stage, the variations of the normalized mass of the system are much smaller, as can be seen in Fig. 11. In addition, we can also observe some slight differences between the results of different cases (= 30°, 90°, and 120°), which are attributed to the fact that the perimeter/length of the liquid-vapor interface is slightly different in these cases. To sum up, it is well demonstrated that both the modified scheme A and scheme B are capable of conserving mass in two-phase LB simulations, although they are devised based on the MLS boundary scheme from different points of view. 1.0002 1.0002 Scheme A Scheme B 1.0001 1.0001 1.0000 1.0000 30 deg. 30 deg. 90 deg. 90 deg. 120 deg. 120 deg. 0.9999 0.9999 0.9998 0.9998 0 5000 10000 15000 20000 0 5000 10000 15000 20000 time (   ) time (   ) t t Fig. 11. Variations of the normalized mass of the system under the static contact angles = 30°, 90°, and 120°, respectively. A comparison of the modified scheme B and the scheme of Bao et al. (Bao et al., 2008) is made in Fig. 12 by taking the case of = 90° as an example. From the figure it can be clearly seen that the scheme of Bao et al. still results in mass leakage in two-phase LB simulations although it performs much normalized mass normalized mass better than the original MLS scheme (see Fig. 7a). The reason for such a phenomenon has been previously mentioned, i.e., the fictitious density in the scheme of Bao et al. (Bao et al., 2008) was obtained by assuming that the outgoing distribution functions, which are known at each boundary node, satisfy Eq. (20). Such an assumption leads to the aforementioned Eq. (23), which is equivalent to moving the parameter  (dependant on e ) in Eq. (21) out from the summation over  . Accordingly, it suffers from the violation of mass conservation, although such a defect was not detected by the single-phase LB simulations in (Bao et al., 2008). (a) Modified scheme B (b) Scheme of Bao et al. (Bao et al., 2008) Fig. 12. A comparison of the results obtained by the modified curved boundary scheme B and the 4 5 scheme of Bao et al. (Bao et al., 2008). From left to right: t  10000 , 51  0  , 10  . The t t t static contact angle is = 90°. 5. Summary In this paper, we have investigated the performance of three well-known types of curved boundary schemes in two-phase LB simulations. Through modeling a droplet resting on a circular cylinder, it has been found that, for all the investigated schemes, the simulated droplet rapidly “evaporates” under the non-slip and isothermal conditions, revealing that there exists serious mass leakage at the cylindrical surface due to the curved boundary schemes. The numerical results showed that the MLS boundary scheme yields the smallest mass loss among the investigated curved boundary schemes, while the mass loss caused by the Zhao-Yong scheme, which is a single-node boundary scheme and has the advantage of local computations, is much larger than those of the other schemes. On the basis of the numerical investigation, we have formulated two modified mass-conservative boundary schemes for curved boundaries based on the MLS boundary scheme. The modified scheme A changes the rest distribution function of the boundary node so as to add the mass leakage back to the system, while the modified scheme B is devised by guaranteeing the balance between the amount of mass carried by the outgoing and incoming distribution functions at each boundary node. Numerical simulations have been carried out to validate the modified schemes. It has been shown that the two modified schemes exhibit better performance than the halfway bounce-back scheme according to the modeling of steady flow past a circular cylinder. Moreover, the simulations of a droplet resting on a circular cylinder have demonstrated that the two modified schemes are capable of conserving mass in two-phase LB simulations. Acknowledgments This work was supported by the National Natural Science Foundation of China (No. 51822606). References Aidun, C.K., Clausen, J.R., 2010. Lattice-Boltzmann method for complex flows. Annual Review of Fluid Mechanics 42, 439-472. Aidun, C.K., Lu, Y., 1995. Lattice Boltzmann simulation of solid particles suspended in fluid. Journal of Statistical Physics 81, 49-61. Bao, J., Yuan, P., Schaefer, L., 2008. A mass conserving boundary condition for the lattice Boltzmann equation method. Journal of Computational Physics 227, 8472-8487. Benzi, R., Biferale, L., Sbragaglia, M., Succi, S., Toschi, F., 2006. Mesoscopic modeling of a two-phase flow in the presence of boundaries: the contact angle. Phys. Rev. E 74, 021509. Bouzidi, M.h., Firdaouss, M., Lallemand, P., 2001. Momentum transfer of a Boltzmann-lattice fluid with boundaries. Phys. Fluids 13, 3452-3459. Chen, S., Doolen, G.D., 1998. Lattice Boltzmann method for fluid flows. Annual Review of Fluid Mechanics 30, 329-364. Dennis, S.C.R., Chang, G.-Z., 1970. Numerical solutions for steady flow past a circular cylinder at Reynolds numbers up to 100. Journal of Fluid Mechanics 42, 471-489. Filippova, O., Hänel, D., 1998. Grid Refinement for Lattice-BGK Models. Journal of Computational Physics 147, 219-228. Ginzburg, I., d’Humières, D., 2003. Multireflection boundary conditions for lattice Boltzmann models. Phys. Rev. E 68, 066614. Guo, Z., Shu, C., 2013. Lattice Boltzmann Method and Its Applications in Engineering. World Scientific. Guo, Z., Zheng, C., Shi, B., 2002. Discrete lattice effects on the forcing term in the lattice Boltzmann method. Phys. Rev. E 65, 046308. He, Y.-L., Liu, Q., Li, Q., Tao, W.-Q., 2019. Lattice Boltzmann methods for single-phase and solid-liquid phase-change heat transfer in porous media: A review. Int. J. Heat Mass Transf. 129, 160-197. Huang, H., Sukop, M., Lu, X., 2015. Multiphase lattice Boltzmann methods: Theory and application. John Wiley & Sons. Junk, M., Yang, Z., 2005. One-point boundary condition for the lattice Boltzmann method. Phys. Rev. E 72, K. P. Sanjeevi, S., Zarghami, A., Padding, J., 2018. Choice of no-slip curved boundary condition for lattice Boltzmann simulations of high-Reynolds-number flows. Phys. Rev. E 97, 043305. Kang, M.-G., 2016. Pool boiling heat transfer from an inclined tube bundle. Int. J. Heat Mass Transf. 101, 445-451. Kao, P.H., Yang, R.J., 2008. An investigation into curved and moving boundary treatments in the lattice Boltzmann method. Journal of Computational Physics 227, 5671-5690. Krüger, T., Kusumaatmaja, H., Kuzmin, A., Shardt, O., Silva, G., Viggen, E.M., 2017. The Lattice Boltzmann Method - Principles and Practice. Springer Nature. Le Coupanec, E., Verschaeve, J.C.G., 2011. A mass conserving boundary condition for the lattice Boltzmann method for tangentially moving walls. Mathematics and Computers in Simulation 81, 2632-2645. Li, Q., Kang, Q.J., Francois, M.M., He, Y.L., Luo, K.H., 2015. Lattice Boltzmann modeling of boiling heat transfer: The boiling curve and the effects of wettability. Int. J. Heat Mass Transf. 85, 787-796. Li, Q., Luo, K.H., Kang, Q.J., Chen, Q., 2014. Contact angles in the pseudopotential lattice Boltzmann modeling of wetting. Phys. Rev. E 90, 053301. Li, Q., Luo, K.H., Kang, Q.J., He, Y.L., Chen, Q., Liu, Q., 2016a. Lattice Boltzmann methods for multiphase flow and phase-change heat transfer. Progress in Energy and Combustion Science 52, 62-105. Li, Q., Luo, K.H., Li, X.J., 2013. Lattice Boltzmann modeling of multiphase flows at large density ratio with an improved pseudopotential model. Phys. Rev. E 87, 053301. Li, Q., Yu, Y., Luo, K.H., 2019. Implementation of contact angles in the pseudopotential lattice Boltzmann simulations with curved boundaries. Physical Review E, In press. Li, Q., Yu, Y., Zhou, P., Yan, H.J., 2018. Enhancement of boiling heat transfer using hydrophilic-hydrophobic mixed surfaces: A lattice Boltzmann study. Applied Thermal Engineering 132, 490-499. Li, Q., Zhou, P., Yan, H.J., 2016b. Revised Chapman-Enskog analysis for a class of forcing schemes in the lattice Boltzmann method. Phys. Rev. E 94, 043313. Liao, Q., Yang, Y.X., Zhu, X., Wang, H., Ding, Y.D., 2015. Lattice Boltzmann simulation on liquid flow and mass transport in a bioreactor with cylinder bundle for hydrogen production. Heat & Mass Transfer 51, 859-873. Liu, H., Zhang, Y., Valocchi, A.J., 2012. Modeling and simulation of thermocapillary flows using lattice Boltzmann method. Journal of Computational Physics 231, 4433-4453. Mei, R., Luo, L.-S., Shyy, W., 1999. An accurate curved boundary treatment in the lattice Boltzmann method. Journal of Computational Physics 155, 307-330. Niu, X.D., Shu, C., Chew, Y.T., Peng, Y., 2006. A momentum exchange-based immersed boundary-lattice Boltzmann method for simulating incompressible viscous flows. Physics Letters A 354, 173-182. Qian, Y.H., d'Humières, D., Lallemand, P., 1992. Lattice BGK models for Navier-Stokes equation. Europhysics Letters 17, 479-484. Renwei, M., Dazhi, Y., Wei, S., Li-Shi, L., 2002. Force evaluation in the lattice Boltzmann method involving curved geometry. Physical Review E Statistical Nonlinear & Soft Matter Physics 65, 041203. Shan, X., Chen, H., 1993. Lattice Boltzmann model for simulating flows with multiple phases and components. Phys. Rev. E 47, 1815-1820. Shan, X., Chen, H., 1994. Simulation of nonideal gases and liquid-gas phase transitions by the lattice Boltzmann equation. Phys. Rev. E 49, 2941-2948. Takeshi, S., Roberto, R., Kosuke, H., Akio, T., 2014. Implicit-correction-based immersed boundary-lattice Boltzmann method with two relaxation times. Phys Rev E Stat Nonlin Soft Matter Phys 89, 023307-023307. Tao, S., He, Q., Chen, B., Yang, X., Huang, S., 2018. One-point second-order curved boundary condition for lattice Boltzmann simulation of suspended particles. Computers & Mathematics with Applications 76, 1593-1607. Xu, A., Shyy, W., Zhao, T., 2017. Lattice Boltzmann modeling of transport phenomena in fuel cells and flow batteries. Acta Mechanica Sinica 33, 555-574. Xu, A., Zhao, T.S., An, L., Shi, L., 2015. A three-dimensional pseudo-potential-based lattice Boltzmann model for multiphase flows with large density ratio and variable surface tension. International Journal of Heat and Fluid Flow 56, 261-271. Yu, D., Mei, R., Luo, L.-S., Shyy, W., 2003. Viscous flow computations with the method of lattice Boltzmann equation. Progress in Aerospace Sciences 39, 329-367. Yu, Y., Wen, Z.X., Li, Q., Zhou, P., Yan, H.J., 2018. Boiling heat transfer on hydrophilic-hydrophobic mixed surfaces: A 3D lattice Boltzmann study. Applied Thermal Engineering 142, 846-854. Zhang, D., Papadikis, K., Gu, S., 2014. Three-dimensional multi-relaxation time lattice-Boltzmann model for the drop impact on a dry surface at large density ratio. International Journal of Multiphase Flow 64, 11-18. Zhao, W., Yong, W.-A., 2017. Single-node second-order boundary schemes for the lattice Boltzmann method. Journal of Computational Physics 329, 1-15. Zou, Q., He, X., 1997. On pressure and velocity boundary conditions for the lattice Boltzmann BGK model. Phys. Fluids 9, 1591-1598. http://www.deepdyve.com/assets/images/DeepDyve-Logo-lg.png Physics arXiv (Cornell University)

# Modified mass-conservative curved boundary scheme for lattice Boltzmann simulations

, Volume 2020 (1908) – Aug 24, 2019
26 pages

Loading next page...

/lp/arxiv-cornell-university/modified-mass-conservative-curved-boundary-scheme-for-lattice-10xZXhGg8X
ISSN
0045-7930
eISSN
ARCH-3341
DOI
10.1016/j.compfluid.2020.104638
Publisher site
See Article on Publisher Site

### Abstract

The lattice Boltzmann (LB) method has gained much success in a variety of fields involving fluid flow and/or heat transfer. In this method, the bounce-back scheme is a popular boundary scheme for treating nonslip boundaries. However, this scheme leads to staircase-shaped boundaries for curved walls. Therefore many curved boundary schemes have been proposed, but mostly suffer from mass leakage at the curved boundaries. Several correction schemes have been suggested for simulating single-phase flows, but very few discussions or studies have been made for two-phase LB simulations with curved boundaries. In this paper, the performance of three well-known types of curved boundary schemes in two-phase LB simulations is investigated through modeling a droplet resting on a circular cylinder. For all of the investigated schemes, the results show that the simulated droplet rapidly “evaporates” under the nonslip and isothermal conditions, owing to the imbalance between the mass streamed out of the system by the outgoing distribution functions and the mass streamed into the system by the incoming distribution functions at each boundary node. Based on the numerical investigation, we formulate two modified mass-conservative curved boundary schemes for two-phase LB simulations. The accuracy of the modified curved boundary schemes and their capability of conserving mass in two-phase LB simulations are numerically demonstrated. Keywords: lattice Boltzmann model; curved boundary scheme; mass leakage; two-phase. 1. Introduction In the past three decades, the lattice Boltzmann (LB) method (Aidun and Clausen, 2010; Chen and Doolen, 1998; He et al., 2019; Li et al., 2016a; Xu et al., 2017) has been developed into an efficient and powerful numerical approach for simulating fluid flow and heat transfer. Compared with traditional numerical methods, the LB method has some major advantages. First, in the LB method the fluid flow is described by a discrete kinetic equation based on the particle distribution functions, which is a more fundamental level than normal continuum approaches (Huang et al., 2015). Second, the fluid pressure and the strain tensor are available locally in the LB method, while the pressure field in traditional numerical methods is usually obtained by solving the Poisson equation. Moreover, the LB method is easy to parallelize because of its explicit algorithm and local interactions. Unlike traditional numerical methods, which usually specify the macroscopic variables such as  and u at the boundaries, the LB method applies the boundary condition to the particle distribution functions, giving more degrees of freedom (Krüger et al., 2017) than the set of macroscopic variables. The oldest and simplest boundary condition or scheme in the LB community is the bounce-back scheme, which assumes that, when a particle hits a solid wall, it is reflected back to where it originally came from. Besides its simplicity, the bounce-back scheme is also well-known for its advantage in conserving mass (Krüger et al., 2017). When the physical boundary nodes lay at the lattice nodes, the bounce-back scheme is called the standard bounce-back scheme. On the contrary, when the solid wall locates at the middle of the fluid boundary node and the node inside the solid, the scheme is referred to as the halfway bounce-back scheme (Guo and Shu, 2013). The bounce-back scheme is usually applicable to straight walls and it leads to staircase-shaped boundaries for curved walls. Using a stair-shaped approximation, the fidelity of real geometry is lost and additional errors may be introduced (K. P. Sanjeevi et al., 2018). To improve the accuracy of LB simulations involving curved boundaries, various curved boundary schemes have been developed. The first attempt which considers the accurate shape of a curved solid wall was made by Filippova and Hanel (Filippova and Hänel, 1998). The basic idea of their scheme is to create ghost nodes inside the solid and then apply a linear interpolation to determine the unknown distribution functions of a boundary node. However, this scheme suffers from numerical instability when the boundary node is close to the solid wall and the relaxation time is close to 1. Later, Mei et al. (Mei et al., 1999) proposed an improved curved boundary scheme based on the work of Filippova and Hanel, which enhances the numerical stability. These two schemes have been demonstrated to be of second-order accuracy. Subsequently, Bouzidi et al. (Bouzidi et al., 2001) devised a curved boundary scheme that does not require the interpolation from a ghost node inside the solid. The motivation of their scheme is to interpolate the distribution functions in the interior fluid region and to include additional information about the wall location during the bounce-back process. Nevertheless, they employed separate treatments for different regions. In order to avoid discontinuity in the boundary treatment, Yu et al. (Yu et al., 2003) developed a unified scheme of Bouzidi et al.’s algorithm. This type of boundary schemes is also second-order accurate and usually referred to as the interpolated bounce-back scheme. However, it introduces viscosity-dependence boundary slip. To solve this issue, Ginzburg and d’Humières (Ginzburg and d’Humières, 2003) proposed a multi-reflection boundary scheme, which can be viewed as an enhanced interpolated bounce-back scheme. The main feature of their scheme lies in that it determines the coefficients of the interpolation through a second-order Chapman-Enskog expansion on the interpolated distribution functions (Krüger et al., 2017). Another type of curved boundary schemes involves only a single lattice node and is free of interpolation, which is often called the “one-point” or “single-node” boundary scheme. The advantage of this type of boundary schemes is its local computations. The first one-point curved boundary scheme was proposed by Junk and Yang (Junk and Yang, 2005). Nevertheless, this scheme needs to compute the inverse of a matrix at each boundary node. Recently, Zhao and Yong (Zhao and Yong, 2017) devised an alternative single-node boundary scheme. They considered a linear combination of the pre-collision and equilibrium distribution functions at the fluid boundary node and introduced five parameters, which were determined by the Maxwell iteration. Moreover, Tao et al. (Tao et al., 2018) recently developed a single-node curved boundary scheme for LB simulations of suspended particles. Some other developments of the boundary schemes for LB simulations involving curved walls can be found in a recent book written by Krüger et al. (Krüger et al., 2017). Although various curved boundary schemes have been developed, they mostly suffer from the violation of mass conservation in LB simulations (Krüger et al., 2017), i.e., there will be mass leakage at each time step during the simulations. To enhance mass conservation, several improved curved boundary schemes have been proposed. Kao and Yang (Kao and Yang, 2008) presented an interpolation-free boundary scheme to improve the mass conservation of the boundary condition. Bao et al. (Bao et al., 2008) devised an improved version of Mei et al.’s boundary scheme by redefining the density term in the equilibrium distribution function of the ghost node in solid. In addition, Le Coupanec and Verschaeve (Le Coupanec and Verschaeve, 2011) developed a mass-conservative boundary scheme for LB simulations with tangentially moving walls. Recently, Sanjeevi et al. (K. P. Sanjeevi et al., 2018) found that the interpolation-free boundary scheme proposed by Kao and Yang (Kao and Yang, 2008) still leads to mass leakage. To the best of the authors’ knowledge, very few studies or discussions have been made in the literature regarding the mass conservation of two-phase LB simulations when applying the curved boundary schemes, although some curved schemes have been utilized in the LB studies of two-phase flows. Definitely, the halfway bounce-back scheme is capable of conserving mass in two-phase LB simulations, but it is inappropriate for certain two-phase flows, such as two-phase flows with phase change (Li et al., 2015; Li et al., 2018; Yu et al., 2018), e.g., boiling on curved surfaces (Kang, 2016). The stair-shaped approximation of the bounce-back scheme will introduce “artificial” nucleation sites and may cause significant errors for boiling simulations. The present study is therefore devoted to investigating the performance of some well-known curved boundary schemes in simulating two-phase flows. Based on the numerical investigation, two modified mass-conservative boundary schemes are formulated for two-phase LB simulations with curved boundaries. The rest of the present paper is organized as follows. In Sec. 2 we introduce the LB method and three well-known types of curved boundary schemes. In Sec. 3 we investigate the performance of three types of curved boundary schemes in two-phase LB simulations through modeling a droplet resting on a circular cylinder. The modified mass-conservative curved boundary schemes are formulated in Sec. 4. Numerical validation and discussion are also given there. Finally, a brief summary is given in Sec. 5. 2. Lattice Boltzmann method and curved boundary schemes 2.1. The lattice Boltzmann method The LB equation using the Bhatnagar-Gross-Krook (BGK) collision operator can be written as (Qian et al., 1992) eq f xe,, tf xt f x,tf x,t F x,t , (1)      tt    t  eq where f is the density distribution function, f is the equilibrium density distribution function, x   is the spatial position, e is the discrete velocity in the  th direction, t is the time,  is the time  t step,  is the non-dimensional relaxation time, and F is the forcing term. The space is usually discretized in such a way that e  is the distance between two neighboring nodes. Hence after one  t time step, f x, t will arrive at its neighboring node along the lattice velocity direction e .    Therefore the LB equation can be split into two processes: the “collision” process  eq  f xx,, tft f x,tf x,tFx,t , (2)           t  and the “streaming” process f xe,, t  f x t , (3)    tt  where f x, t is the post-collision state of the density distribution function.  From Eqs. (2) and (3) it can be found that the collision process is completely local and the streaming process is completely linear. Using the two-dimensional nine-velocity (D2Q9) lattice model (Aidun and Clausen, 2010; Chen and Doolen, 1998; Li et al., 2016a; Qian et al., 1992), the equilibrium density distribution function is given by   eu  eu uu  eq  f  1    , (4)  24 2 cc22c   ss s   where c 13 is the lattice sound speed and the weights  are defined as   49 ,  19 , s  0 14  and  136 . The kinematic viscosity is related to the non-dimensional relaxation time through 58   c 0.5 , and the macroscopic density and velocity are calculated by, respectively s t   f , ue f F, (5)       where F is the total force of the system and is incorporated into the LB equation through the forcing term F x, t (Li et al., 2016a).  2.2. Curved boundary schemes Figure 1 illustrates a curved wall together with its neighboring lattice nodes. The link between a fluid boundary node x and a solid node x is cut by the wall at point x . The fraction of the b s w intersected link in the fluid region is defined as (Guo and Shu, 2013; Krüger et al., 2017) xx  bw q  , (6) xx  bs where 0 q 1 and xx  depends on e . bs  Fig. 1. Sketch of a curved wall and the lattice nodes near the wall. The first LB boundary scheme for curved solid walls is proposed by Filippova and Hanel (Filippova and Hänel, 1998). In order to determine the unknown distribution function ft  x ,   at the fluid  bt boundary node (the subscript  denotes the opposite direction of  ), Filippova and Hanel (Filippova and Hänel, 1998) defined a post-collision density distribution function at the solid node x ,  eq fxx ,1 t  f , t  fx, t        . (7) sb s fxx,, t  f t The unknown distribution functions at the boundary node can be obtained by     bt s after the streaming process. The feature of this type of boundary schemes lies in that it introduces a fictitious equilibrium distribution function at the solid node, and Eq. (7) can be interpreted as a linear combination of the bounce-backed distribution function and the fictitious equilibrium distribution function, which is defined as   eu u u eu   eq  bb b  s ftxx,,  t 1    , (8)    sb 24 2 cc22c   ss s   where uu  x , t and u is a fictitious velocity. The parameter  in Eq. (7) depends on the  bb s choice of the fictitious velocity u . Filippova and Hanel (Filippova and Hänel, 1998) utilized the following choices: 21 q ,   , (9) q 12 : uu s b   1 21 q q11 q 12:uu u ,   , (10) s bw qq where u is the velocity at the point x . In the present work, we only consider non-moving non-slip w w boundaries. Hence u  0 . Obviously, when q  12 (0   ), the scheme of Filippova and Hanel reduces to the halfway bounce-back scheme, i.e., fxx,, t  f t .      bt b It can be found that the parameter  will become very large when  is close to 1 as q12 , and then the scheme of Filippova and Hanel will suffer from severe numerical instability (Guo and Shu, 2013). To solve this problem, Mei et al. (Mei et al., 1999) proposed an improved scheme, which still uses Eq. (10) for q12 but employs the following choice for q12 : 21 q   , uu  , (11) s f   2 xxe  where uu  x , t and is the location of the fluid node beyond the boundary node (cf.  ff f bt  Fig. 1). Mei et al. (Mei et al., 1999) showed that the above modification significantly improves the numerical stability of the boundary scheme. The interpolated bounce-back scheme proposed by Bouzidi et al. (Bouzidi et al., 2001) employs an interpolation of the distribution functions in the interior fluid region. Using a linear interpolation, the boundary scheme of Bouzidi et al. is given by  2, qfxx t 1 2q f ,t, q    bf  2 ft x ,    . (12)  bt 12q1 1  ftxx,,  ft, q   bb 22 qq 2 As , Eq. (12) reduces to the halfway bounce-back scheme. Alternatively, when a quadratic q  12 interpolation is used, the scheme takes the following form (Bouzidi et al., 2001):  2  qq 12 fxx ,t 14q f ,tq 12q fx ,t , q      bf ff ft x ,   , (13)   bt 12qq 1 21 1  ftxxx ,,  ft f ,t, q     bb f qq21 q 21 q 2  where xx 2e  . Some other versions of the interpolated bounce-back boundary scheme can be ffb  t found in the book written by Krüger et al. (Krüger et al., 2017). Another type of boundary schemes is the one-point or single-node boundary scheme. In comparison with the original single-node boundary scheme (Junk and Yang, 2005), Zhao and Yong (Zhao and Yong, 2017) recently devised a simpler single-node boundary scheme. They suggested a non-convex combination of f x , t and f x , t at the fluid boundary node, which is defined as      b  b 21 q fxx,, tf   t fx,t . (14)     bt b  b 12qq 1 2 In this scheme, the parameters/coefficients are determined based on an analysis using the Maxwell iteration. Obviously, Eq.(14) only involves local computations. In addition, it can be found that Eq. (14) does not reduce to the halfway bounce-back scheme when q  12 . The scheme of Mei et al. (Mei et al., 1999), the scheme of Bouzidi et al. (Bouzidi et al., 2001), and the scheme proposed by Zhao and Yong (Zhao and Yong, 2017) can be regarded, respectively, as the representative schemes of the aforementioned three types of boundary schemes. In the remaining of this paper, these boundary schemes are referred to as the MLS scheme, the Bouzidi scheme, and the Zhao-Yong scheme, respectively. Moreover, we use “L-Bouzidi” and “Q-Bouzidi” to represent the Bouzidi scheme that utilizes the linear and quadratic interpolations, respectively. 3. Numerical investigation 3.1 Formulation of mass leakage Figure 2 illustrates the distribution functions that will propagate across a curved wall through a boundary node (denoted by a solid black circle) during the streaming step. In the figure the blue arrows represent the outgoing distribution functions, which propagate from the boundary node to the ghost nodes in solid, while the red arrows represent the incoming distribution functions that propagate from the ghost nodes to the boundary node. boundary nodes boundary nodes streaming wall wall ghost nodes ghost nodes Fig. 2. Sketch of the distribution functions that propagate across a curved wall through a boundary node. The blue arrows represent the outgoing distribution functions, which propagate towards the ghost nodes in solid, while the red arrows represent the incoming distribution functions that propagate from the ghost nodes to the boundary node. According to Fig. 2, we formulate the mass leakage at the boundary node as follows:  mtxx,,  f t fx,t , (15)        bt  b b t outgoing incoming in which the first term on the right-hand side of Eq. (15) is the amount of mass streamed out of the system by the post-collision outgoing distribution functions while the second term on the right-hand side is the amount of mass streamed into the system by the incoming distribution functions. For the halfway bounce-back scheme, which gives fxx,, tf   t , the mass leakage is zero. However, as     bt b previously mentioned, the halfway bounce-back scheme may cause considerable numerical errors for certain two-phase flows. For example, the stair-shaped approximation of the bounce-back scheme may introduce “artificial” nucleation sites for boiling or condensation on curved surfaces. To illustrate the mass leakage caused by different boundary schemes, we firstly consider a test of single-phase flow, i.e., a static flow under gravity, which is illustrated in Fig. 3. The grid system is taken as 100 NN 50 and the non-dimensional relaxation time  is set to 1. The aforementioned xy three types of boundary schemes are employed at the upper and lower solid walls and the periodic boundary condition is applied in the x direction. The gravity force is given by F 0,  g , in which   the gravitational acceleration is chosen as g  0.001 . j  N 6 2 5 jN1 3 1 j  1 j  0 x Fig. 3. Configuration of static flow under gravity with an arbitrary q . In our simulations, the fraction q defined by Eq. (6) is taken as qn  10 with n1, 2,, 9 . The variations of the normalized mass of the system are plotted in Figs. 4(a), 4(b), 4(c), and 4(d) for the MLS scheme, the L-Bouzidi scheme, the Q-Bouzidi scheme, and the Zhao-Yong scheme, respectively. As can be seen in these figures, the investigated boundary schemes basically exhibit different performance when different values of q are applied. Specifically, for the MLS scheme, the L-Bouzidi scheme, and the Q-Bouzidi scheme, the mass of the system is conserved in the case of q  0.5 , but decreases in other cases, which is due to the fact that the MLS scheme and the Bouzidi scheme (regardless of using the linear or quadratic interpolation) reduce to the halfway bounce-back scheme in the case of q  0.5 . 1.00 1.00 0.98 0.98 q=0.1 q=0.1 q=0.2 q=0.2 q=0.3 q=0.3 0.96 0.96 q=0.4 q=0.4 q=0.5 q=0.5 q=0.6 q=0.6 0.94 0.94 q=0.7 q=0.7 q=0.8 q=0.8 q=0.9 q=0.9 0.92 0.92 4 4 4 4 4 4 4 4 4 4 4 4 0 0 1x10 2x10 3x10 4x10 5x10 6x10 1x10 2x10 3x10 4x10 5x10 6x10 time ( ) time ( )     t t (a) MLS scheme (b) L-Bouzidi scheme 1.00 1.00 0.95 0.98 q=0.1 q=0.1 q=0.2 0.90 q=0.2 q=0.3 q=0.3 0.96 q=0.4 q=0.4 q=0.5 0.85 q=0.5 q=0.6 q=0.6 q=0.7 0.94 q=0.7 0.80 q=0.8 q=0.8 q=0.9 q=0.9 0.92 0.75 4 4 4 4 4 4 4 4 4 4 4 4 0 0 1x10 2x10 3x10 4x10 5x10 6x10 1x10 2x10 3x10 4x10 5x10 6x10 time (  ) time (  ) t t (c) Q-Bouzidi scheme (d) Zhao-Yong scheme Fig. 4. Simulations of static flow under gravity using different boundary schemes. Variations of the normalized mass of the system against time. To quantify the numerical results, an averaged mass change rate is evaluated at t  60000 , which is defined as  mm m 100% . Here m is the mass of the system at t  60000 . The results 00 t are displayed in Fig. 5. From the figure we can clearly see that the mass change rate caused by the Zhao-Yong scheme is much larger than those produced by other schemes in all the cases. Such a finding indicates the single-node type of boundary schemes may perform worse than the other types of curved boundary schemes in terms of mass conservation although it has the advantage of local computations. Moreover, Fig. 5 also shows that there are no significant differences between the results of the MLS and Bouzidi schemes when q 0.5 , but the MLS scheme performs better as q  0.5 . In other words, the overall mass loss caused by the MLS scheme will be smaller than that caused by the Bouzidi scheme normalized mass normalized mass normalized mass normalized mass when the fraction q in LB simulations varies from 0 to 1. MLS scheme I-Bouzidi scheme Q-Bouzidi scheme Zhao-Yong scheme 0.0 0.2 0.4 0.6 0.8 1.0 Fig. 5. Simulations of static flow under gravity using different boundary schemes. Variations of the averaged mass change rate against the fraction defined by Eq. (6). 3.2. Simulations of droplet resting on a circular cylinder In this section, numerical simulations are carried out to investigate the performance of the MLS scheme, the Bouzidi scheme, and the Zhao-Yong scheme in two-phase LB simulations. The test of a droplet resting on a circular cylinder is employed. Under the non-slip and isothermal conditions, no evaporation will occur when a droplet is placed on a circular cylinder. However, if there exists mass leakage such as mass loss in LB simulations, the droplet will gradually become smaller, like an evaporating droplet. In our simulations, the isothermal pseudopotential multiphase LB method (Li et al., 2016a; Li et al., 2013; Shan and Chen, 1993, 1994; Xu et al., 2015; Zhang et al., 2014) is adopted, in which the fluid-fluid interaction force is defined as follows: Fx Gwxee , (16)     t where  is the pseudopotential, G is the interaction strength, and w are the weights. For the nearest-neighbor interactions on the D2Q9 lattice, the weights are given by w  13 for e  1 and   for . w  112 e  2   The pseudopotential is chosen as   exp   , where  and  are both set to 1.0,     00 0 0 mass change rate (%) which leads to the liquid density   2.783 and the vapor density   0.3675 when the interaction L V strength is taken as G  10 3 (Li et al., 2016b). For this type of pseudopotentials, the forcing scheme proposed by Guo et al. (Guo et al., 2002) is employed to incorporate the fluid-fluid interaction force into the LB equation. The contact angle is implemented via a constant virtual wall density (Benzi et al., 2006; Huang et al., 2015; Li et al., 2014), which does not affect the conclusions in the present work. However, the contact angle scheme using a constant virtual wall density usually leads to an unphysical mass-transfer layer near the solid boundary. A recent study of the contact angle schemes involving curved boundaries can be found in a recent study of Li et al. (Li et al., 2019). In the present simulations, the computational domain is divided into NN 300 350 lattices. A circular cylinder of radius R = xy 70 is located at (150, 130) and a droplet is initially placed on the circular cylinder, as shown in Fig. 6. The periodic boundary condition is ultlized in the x and y directions and the kinematic viscosity is taken as   0.15 for both the liquid and vapor phases. r  50 L 100 R 70 Fig. 6 Initial setting of a droplet resting on a circular cylinder. Some snapshots of the density contours obtained by the MLS scheme, the L-Bouzidi scheme, the Q-Bouzidi scheme, and the Zhao-Yong scheme are displayed in Figs. 7(a), 7(b), 7(c), and 7(d), respectively. From these figures it can be seen that, for all the investigated schemes, the simulated doplet gradually becomes smaller as time goes by, behaving like an evaporating droplet. However, the present 100 1500 2500 t t t (a) MLS scheme 100 1000 2000 t t t (b) L-Bouzidi scheme 100 1000 2000 t t t (c) Q-Bouzidi scheme 100 800 1200 t t t (d) Zhao-Yong scheme Fig. 7. Snapshots of density contours obtained by different boundary schemes. (a) MLS scheme, (b) L-Bouzidi scheme, (c) Q-Bouzidi scheme, and (d) Zhao-Yong scheme. simulations are performed using an isothermal pseudopotential LB model and the periodic boundary condition is applied in both the x and y directions, which means that there exists mass leakage at the surface of the circular cylinder due to the employed curved boundary schemes in simulations. Among these boundary schemes, the Zhao-Yong scheme has the advantage of local computations since it is a single-node scheme, while the other schemes usually require the information of two or more neighboring nodes. Similar to Fig. 4(d), Fig. 7(d) also shows that the Zhao-Yong scheme suffers from the violation of mass conservation although it does not involve any interpolation or extrapolation. Particularly, the rate of mass loss caused by the Zhao-Yong scheme is much larger than those caused by the other schemes, as shown in Fig. 8, which plots the variations of the normalized mass of the system during simulations. The normalized mass is defined as mm  m , where m is the transient mass of the system and m is the 0 0 initial mass of the system at t  0 . From Fig. 8 we can also observe that the MLS scheme performs best among the investigated schemes, i.e., the mass of the system decreases relatively slowly in the test using the MLS scheme. Besides, it can be found that the performance of the Bouzidi scheme is better than that of the Zhao-Yong scheme, but worse than the MLS scheme. 1.0 MLS scheme I-Bouzidi scheme Q-Bouzidi scheme Zhao-Yong scheme 0.9 0.8 0.7 0.6 0 500 1000 1500 2000 2500 time ( )  Fig. 8. Simulations of droplet on a circular cylinder using different boundary schemes. Variations of the normalized mass of the system against time. By comparing the numerical results of two-phase LB simulations in this section with the results of single-phase LB simulations displayed in Sec. 3.1, we can observe that the mass in two-phase LB normalized mass simulations decreases significantly faster than that in single-phase LB simulations. Taking the Zhao-Yong scheme as an example, in the present test it yields 40% mass loss after just 1500 time steps, as shown in Fig. 8. Such a rapid decrease of mass in two-phase LB simulations is probably due to the contact of the liquid-vapor interface with the curved solid boundary, which speeds up the mass leakage of the curved boundary schemes. When the curved boundary is completely immersed in liquid or vapor phase, the situation may be similar to that of single-phase LB simulations. 4. Modified mass-conservative schemes 4.1 Formulations of modified schemes In this section, two modified mass-conservative curved boundary schemes are formulated. On the basis of the observation that the MLS scheme yields the smallest mass loss among the investigated curved boundary schemes, the modified boundary schemes are presented based on the MLS scheme. According to the MLS scheme, the unknown distribution functions at boundary nodes are determined by  eq fxx ,1tf    ,tf x,t , (17)  bt b  s eq where f x , t is defined by Eq. (8) and the parameter  is given by Eqs. (11) and (10) for    s q 0.5 and q 0.5 , respectively. A simple treatment to conserve the mass of a system is to add the mass leakage back to the system. Such an idea was firstly used by Aidun and Lu (Aidun and Lu, 1995) for suspension flows when employing the halfway bounce-back scheme for moving boundaries. Similar treatments can also be found in (K. P. Sanjeevi et al., 2018; Liu et al., 2012). If the mass leakage is averagely added to the known distribution functions, the momentum at the boundary node may be changed. Hence the mass leakage given by Eq. (15) can be added to the rest distribution function and the following formula is obtained:  fxx,, t  ft ftx,  fx,t , (18)          00 bt b  b b t outgoing incoming where ft x ,  are calculated by Eq. (17). In the remaining of the present paper, this modified   bt MLS scheme is referred to as the modified scheme A. Such a modification is simple, but a possible limitation is also pointed out here, i.e., the rest distribution function ft  x ,   may become 0 bt negative in certain cases. On the other hand, the mass of a system can also be conserved by guaranteeing the balance between the amount of mass carried by the outgoing and incoming distribution functions at each boundary node. When  mt x ,  in Eq. (15) is set to zero, we can obtain bt fxx,, tf   t . (19)      bt b incoming outgoing In order to satisfy the above requirement, an additional parameter is needed. Inspired by the study of Bao et al. (Bao et al., 2008), we can redefine the density in the fictitious equilibrium distribution function of the ghost nodes   eu u u eu   eq  bb b  s ftxx,,  t 1    , (20)    ss 24 2 cc22c   ss s   where the density has been changed to a fictitious density  x , t . Substituting Eq. (17) into Eq. (19),   the requirement given by Eq. (19) can be transformed to  eq  fxx,, tf  t . (21)      bs outgoing outgoing Combining Eq. (21) with Eq. (20), the fictitious density in Eq. (20) can be obtained as follows: ft  x ,    b outgoing  x , t  . (22)    eu  eu u u  bb b  s  1     24 2 cc22c outgoing  ss s    Since the parameter  depends on e through the fraction q , it cannot be moved out from the summation sign in Eqs. (21) and (22). There is an important difference between the above formulation and that of Bao et al. (Bao et al., 2008). To obtain the fictitious density, Bao et al. assumed that the outing distribution functions, which are known at each boundary node, also satisfy Eq. (20) (such an assumption was illustrated above Eq. (12) in (Bao et al., 2008)). Then they obtained  eq fxx,, tf  t . (23)     bs outgoing outgoing The above equation is just Eq. (12) in (Bao et al., 2008). Contrarily, our formulation given by Eq. (21) is directly derived from the requirement of Eq. (19), and we have emphasized that the parameter  in Eq. (21) is dependent on e through the fraction q . Hence  in Eqs. (21) and (22) cannot be moved out from the summation over  . In the following part, we will show that Eq. (23) still leads to mass leakage in two-phase LB simulations, although this equation seemingly works well for single-phase LB simulations in the study of Bao et al. (Bao et al., 2008). The modified MLS scheme based on Eqs. (20) and (22) is referred to as the modified scheme B. 4.2. Numerical validation In this section, numerical simulations are performed to validate the two modified curved boundary schemes. Firstly, we employ a single-phase test, i.e., the test of steady flow past a circular cylinder, to examine the numerical accuracy of the modified schemes. The computational domain is chosen as NN 40D 25D , where D 40 is the diameter of the circular cylinder located at (15D , 12.5D ). xy The free-stream velocity is taken as U  0.1 and the Reynolds number is defined as ReUD  . 0 0 The inlet boundary is given by a uniform velocity profile, which is implemented by the Zou-He boundary scheme (Zou and He, 1997), while the fully developed boundary condition is employed at the outlet boundary. The periodic boundary condition is applied to the upper and lower boundaries and the modified curved boundary schemes are used on the circular cylinder. The non-dimensional length of the recirculation region, the separation angle, and the drag coefficient obtained by the modified schemes A and B are compared with some published results in Table 1. The non-dimensional length of the recirculation region is defined as 2LD , where L is measured from the rearmost point of the cylinder. The drag coefficient is defined as CF  0.5U D , where F is the x-component of the force F exerted on the cylinder, which is   dx 0 x calculated using the momentum-exchange method (Liao et al., 2015; Renwei et al., 2002). From the table we can see that the numerical results obtained by the modified schemes A and B are both in good agreement with those reported in the previous studies. Table 1. Comparisons of the wake length, the separation angle, and the drag coefficient. Re 20 Re 40 References 2LD  C 2LD  C s d s d Scheme A 1.90 41.35 2.130 4.61 53.93 1.590 Scheme B 1.91 41.56 2.133 4.64 53.93 1.593 (Dennis and Chang, 1970) 1.88 43.7 2.045 4.69 53.8 1.522 (Takeshi et al., 2014) 1.90 40.78 2.104 4.64 50.38 1.568 (Niu et al., 2006) 1.89 42.95 2.144 4.52 53.86 1.589 Moreover, to illustrate the differences between the modified MLS schemes and the halfway bounce-back scheme, Fig. 9 presents a comparison of the local velocity vectors around the bottom of the circular cylinder at Re 40 between the results of the modified schemes and those of the halfway bounce-back scheme. As shown in the figure, the halfway bounce-back scheme leads to non-physical results below the circular cylinder as the velocity obtained by the stair-shaped approximation penetrates the real cylindrical surface, which there is no such a phenomenon in the numerical results of the modified schemes A and B. (a) Scheme A (b) Scheme B (c) Halfway bounce-back scheme Fig. 9. Comparison of local velocity vectors around the bottom of the circular cylinder at Re 40 between the modified curved boundary schemes and the halfway bounce-back scheme. Now we turn our attention to the capability of the modified curved boundary schemes in conserving mass in two-phase LB simulations. The test of a droplet placed on a circular cylinder is still employed and the initial setting can be found in Fig. 6. Three cases with different contact angles are considered, i.e., = 30°, 90°, and 120°. The grid system and the simulation parameters are the same as those used in Sec. 3.2. Some snapshots of the density contours obtained by the modified scheme A for the three cases are displayed in Fig. 10. By comparing the numerical resutls in Fig. 10 and those in Fig. 7, we can see that the droplet can achieve a stable state when the modified scheme A is employed, rather than behaving like an evaporating droplet when the original MLS scheme is used, which indicates that the modification formulated by Eq. (18) has prevented the mass leakage at the surface of the circular cylinder. (a) = 30° (b) = 90° (c) = 120° Fig. 10. Simulations of droplet on a circular cylinder using the modified curved boundary scheme A. Snapshots of density contours under the static contact angles = 30°, 90°, and 120°, respectively. From left to right: t  1000 , 5000 , 20000 . t t t Figure 11 displays the variations of the normalized mass of the system during the simulations using the modified schemes A and B, respectively. For both modified schemes, the maximum variation of the normalized mass of the system is very small (about 0.01% ) and it appears at the early stage of the simulations, which is expected because the liquid-vapor interface is initially a sharp interface and it develops into a diffuse interface with a finite thickness at the early stage of the simulations. Such a change causes a small fluctuation of the mass of the system. After the early stage, the variations of the normalized mass of the system are much smaller, as can be seen in Fig. 11. In addition, we can also observe some slight differences between the results of different cases (= 30°, 90°, and 120°), which are attributed to the fact that the perimeter/length of the liquid-vapor interface is slightly different in these cases. To sum up, it is well demonstrated that both the modified scheme A and scheme B are capable of conserving mass in two-phase LB simulations, although they are devised based on the MLS boundary scheme from different points of view. 1.0002 1.0002 Scheme A Scheme B 1.0001 1.0001 1.0000 1.0000 30 deg. 30 deg. 90 deg. 90 deg. 120 deg. 120 deg. 0.9999 0.9999 0.9998 0.9998 0 5000 10000 15000 20000 0 5000 10000 15000 20000 time (   ) time (   ) t t Fig. 11. Variations of the normalized mass of the system under the static contact angles = 30°, 90°, and 120°, respectively. A comparison of the modified scheme B and the scheme of Bao et al. (Bao et al., 2008) is made in Fig. 12 by taking the case of = 90° as an example. From the figure it can be clearly seen that the scheme of Bao et al. still results in mass leakage in two-phase LB simulations although it performs much normalized mass normalized mass better than the original MLS scheme (see Fig. 7a). The reason for such a phenomenon has been previously mentioned, i.e., the fictitious density in the scheme of Bao et al. (Bao et al., 2008) was obtained by assuming that the outgoing distribution functions, which are known at each boundary node, satisfy Eq. (20). Such an assumption leads to the aforementioned Eq. (23), which is equivalent to moving the parameter  (dependant on e ) in Eq. (21) out from the summation over  . Accordingly, it suffers from the violation of mass conservation, although such a defect was not detected by the single-phase LB simulations in (Bao et al., 2008). (a) Modified scheme B (b) Scheme of Bao et al. (Bao et al., 2008) Fig. 12. A comparison of the results obtained by the modified curved boundary scheme B and the 4 5 scheme of Bao et al. (Bao et al., 2008). From left to right: t  10000 , 51  0  , 10  . The t t t static contact angle is = 90°. 5. Summary In this paper, we have investigated the performance of three well-known types of curved boundary schemes in two-phase LB simulations. Through modeling a droplet resting on a circular cylinder, it has been found that, for all the investigated schemes, the simulated droplet rapidly “evaporates” under the non-slip and isothermal conditions, revealing that there exists serious mass leakage at the cylindrical surface due to the curved boundary schemes. The numerical results showed that the MLS boundary scheme yields the smallest mass loss among the investigated curved boundary schemes, while the mass loss caused by the Zhao-Yong scheme, which is a single-node boundary scheme and has the advantage of local computations, is much larger than those of the other schemes. On the basis of the numerical investigation, we have formulated two modified mass-conservative boundary schemes for curved boundaries based on the MLS boundary scheme. The modified scheme A changes the rest distribution function of the boundary node so as to add the mass leakage back to the system, while the modified scheme B is devised by guaranteeing the balance between the amount of mass carried by the outgoing and incoming distribution functions at each boundary node. Numerical simulations have been carried out to validate the modified schemes. It has been shown that the two modified schemes exhibit better performance than the halfway bounce-back scheme according to the modeling of steady flow past a circular cylinder. Moreover, the simulations of a droplet resting on a circular cylinder have demonstrated that the two modified schemes are capable of conserving mass in two-phase LB simulations. Acknowledgments This work was supported by the National Natural Science Foundation of China (No. 51822606). References Aidun, C.K., Clausen, J.R., 2010. Lattice-Boltzmann method for complex flows. Annual Review of Fluid Mechanics 42, 439-472. Aidun, C.K., Lu, Y., 1995. Lattice Boltzmann simulation of solid particles suspended in fluid. Journal of Statistical Physics 81, 49-61. Bao, J., Yuan, P., Schaefer, L., 2008. A mass conserving boundary condition for the lattice Boltzmann equation method. Journal of Computational Physics 227, 8472-8487. Benzi, R., Biferale, L., Sbragaglia, M., Succi, S., Toschi, F., 2006. Mesoscopic modeling of a two-phase flow in the presence of boundaries: the contact angle. Phys. Rev. E 74, 021509. Bouzidi, M.h., Firdaouss, M., Lallemand, P., 2001. Momentum transfer of a Boltzmann-lattice fluid with boundaries. Phys. Fluids 13, 3452-3459. Chen, S., Doolen, G.D., 1998. Lattice Boltzmann method for fluid flows. Annual Review of Fluid Mechanics 30, 329-364. Dennis, S.C.R., Chang, G.-Z., 1970. Numerical solutions for steady flow past a circular cylinder at Reynolds numbers up to 100. Journal of Fluid Mechanics 42, 471-489. Filippova, O., Hänel, D., 1998. Grid Refinement for Lattice-BGK Models. Journal of Computational Physics 147, 219-228. Ginzburg, I., d’Humières, D., 2003. Multireflection boundary conditions for lattice Boltzmann models. Phys. Rev. E 68, 066614. Guo, Z., Shu, C., 2013. Lattice Boltzmann Method and Its Applications in Engineering. World Scientific. Guo, Z., Zheng, C., Shi, B., 2002. Discrete lattice effects on the forcing term in the lattice Boltzmann method. Phys. Rev. E 65, 046308. He, Y.-L., Liu, Q., Li, Q., Tao, W.-Q., 2019. Lattice Boltzmann methods for single-phase and solid-liquid phase-change heat transfer in porous media: A review. Int. J. Heat Mass Transf. 129, 160-197. Huang, H., Sukop, M., Lu, X., 2015. Multiphase lattice Boltzmann methods: Theory and application. John Wiley & Sons. Junk, M., Yang, Z., 2005. One-point boundary condition for the lattice Boltzmann method. Phys. Rev. E 72, K. P. Sanjeevi, S., Zarghami, A., Padding, J., 2018. Choice of no-slip curved boundary condition for lattice Boltzmann simulations of high-Reynolds-number flows. Phys. Rev. E 97, 043305. Kang, M.-G., 2016. Pool boiling heat transfer from an inclined tube bundle. Int. J. Heat Mass Transf. 101, 445-451. Kao, P.H., Yang, R.J., 2008. An investigation into curved and moving boundary treatments in the lattice Boltzmann method. Journal of Computational Physics 227, 5671-5690. Krüger, T., Kusumaatmaja, H., Kuzmin, A., Shardt, O., Silva, G., Viggen, E.M., 2017. The Lattice Boltzmann Method - Principles and Practice. Springer Nature. Le Coupanec, E., Verschaeve, J.C.G., 2011. A mass conserving boundary condition for the lattice Boltzmann method for tangentially moving walls. Mathematics and Computers in Simulation 81, 2632-2645. Li, Q., Kang, Q.J., Francois, M.M., He, Y.L., Luo, K.H., 2015. Lattice Boltzmann modeling of boiling heat transfer: The boiling curve and the effects of wettability. Int. J. Heat Mass Transf. 85, 787-796. Li, Q., Luo, K.H., Kang, Q.J., Chen, Q., 2014. Contact angles in the pseudopotential lattice Boltzmann modeling of wetting. Phys. Rev. E 90, 053301. Li, Q., Luo, K.H., Kang, Q.J., He, Y.L., Chen, Q., Liu, Q., 2016a. Lattice Boltzmann methods for multiphase flow and phase-change heat transfer. Progress in Energy and Combustion Science 52, 62-105. Li, Q., Luo, K.H., Li, X.J., 2013. Lattice Boltzmann modeling of multiphase flows at large density ratio with an improved pseudopotential model. Phys. Rev. E 87, 053301. Li, Q., Yu, Y., Luo, K.H., 2019. Implementation of contact angles in the pseudopotential lattice Boltzmann simulations with curved boundaries. Physical Review E, In press. Li, Q., Yu, Y., Zhou, P., Yan, H.J., 2018. Enhancement of boiling heat transfer using hydrophilic-hydrophobic mixed surfaces: A lattice Boltzmann study. Applied Thermal Engineering 132, 490-499. Li, Q., Zhou, P., Yan, H.J., 2016b. Revised Chapman-Enskog analysis for a class of forcing schemes in the lattice Boltzmann method. Phys. Rev. E 94, 043313. Liao, Q., Yang, Y.X., Zhu, X., Wang, H., Ding, Y.D., 2015. Lattice Boltzmann simulation on liquid flow and mass transport in a bioreactor with cylinder bundle for hydrogen production. Heat & Mass Transfer 51, 859-873. Liu, H., Zhang, Y., Valocchi, A.J., 2012. Modeling and simulation of thermocapillary flows using lattice Boltzmann method. Journal of Computational Physics 231, 4433-4453. Mei, R., Luo, L.-S., Shyy, W., 1999. An accurate curved boundary treatment in the lattice Boltzmann method. Journal of Computational Physics 155, 307-330. Niu, X.D., Shu, C., Chew, Y.T., Peng, Y., 2006. A momentum exchange-based immersed boundary-lattice Boltzmann method for simulating incompressible viscous flows. Physics Letters A 354, 173-182. Qian, Y.H., d'Humières, D., Lallemand, P., 1992. Lattice BGK models for Navier-Stokes equation. Europhysics Letters 17, 479-484. Renwei, M., Dazhi, Y., Wei, S., Li-Shi, L., 2002. Force evaluation in the lattice Boltzmann method involving curved geometry. Physical Review E Statistical Nonlinear & Soft Matter Physics 65, 041203. Shan, X., Chen, H., 1993. Lattice Boltzmann model for simulating flows with multiple phases and components. Phys. Rev. E 47, 1815-1820. Shan, X., Chen, H., 1994. Simulation of nonideal gases and liquid-gas phase transitions by the lattice Boltzmann equation. Phys. Rev. E 49, 2941-2948. Takeshi, S., Roberto, R., Kosuke, H., Akio, T., 2014. Implicit-correction-based immersed boundary-lattice Boltzmann method with two relaxation times. Phys Rev E Stat Nonlin Soft Matter Phys 89, 023307-023307. Tao, S., He, Q., Chen, B., Yang, X., Huang, S., 2018. One-point second-order curved boundary condition for lattice Boltzmann simulation of suspended particles. Computers & Mathematics with Applications 76, 1593-1607. Xu, A., Shyy, W., Zhao, T., 2017. Lattice Boltzmann modeling of transport phenomena in fuel cells and flow batteries. Acta Mechanica Sinica 33, 555-574. Xu, A., Zhao, T.S., An, L., Shi, L., 2015. A three-dimensional pseudo-potential-based lattice Boltzmann model for multiphase flows with large density ratio and variable surface tension. International Journal of Heat and Fluid Flow 56, 261-271. Yu, D., Mei, R., Luo, L.-S., Shyy, W., 2003. Viscous flow computations with the method of lattice Boltzmann equation. Progress in Aerospace Sciences 39, 329-367. Yu, Y., Wen, Z.X., Li, Q., Zhou, P., Yan, H.J., 2018. Boiling heat transfer on hydrophilic-hydrophobic mixed surfaces: A 3D lattice Boltzmann study. Applied Thermal Engineering 142, 846-854. Zhang, D., Papadikis, K., Gu, S., 2014. Three-dimensional multi-relaxation time lattice-Boltzmann model for the drop impact on a dry surface at large density ratio. International Journal of Multiphase Flow 64, 11-18. Zhao, W., Yong, W.-A., 2017. Single-node second-order boundary schemes for the lattice Boltzmann method. Journal of Computational Physics 329, 1-15. Zou, Q., He, X., 1997. On pressure and velocity boundary conditions for the lattice Boltzmann BGK model. Phys. Fluids 9, 1591-1598.

### Journal

PhysicsarXiv (Cornell University)

Published: Aug 24, 2019

### References

Access the full text.

Sign up today, get DeepDyve free for 14 days.