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

A 3D lattice Boltzmann – phase-field model of three-phase contact line dynamics on curved boundaries

간접 관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기) (6) PEM(고분자전해질막)(7) MEA(막전극접합체)(18) VENT(방수통기 부품)

기본 정보

저자
  1. M. Benioug
DOI
10.24132/acm.2025.881
저널
Applied and Computational Mechanics
발행년도
2025
발행기관
University of West Bohemia
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.24132/acm.2025.881
토픽
Textile materials and evaluations
OpenAlex ID
W4411185399

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
(6) PEM(고분자전해질막), (7) MEA(막전극접합체), (18) VENT(방수통기 부품)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
lattice Boltzmann method, phase-field model, multiphase fluid, contact angle, capillary flow
판단 근거
이 논문은 다상 유체(multiphase fluid)의 계면 동역학 및 접촉각을 시뮬레이션하기 위한 격자 볼츠만(LBM) 및 위상장(phase-field) 모델링 연구입니다. 이는 수소연료전지(PEMFC)의 핵심 부품인 중공사막(hollow fiber membrane) 내 액체/기체 거동이나 수분 제어 장치의 유체 흐름 분석, 또는 방수통기 부품(VENT)의 다공성 막 내 유체 투과 모델링에 응용될 수 있는 수치 해석 기법입니다.
R&D 활용 포인트
PEMFC용 중공사막 가습기 내의 수분 이동 및 계면 거동 예측, 또는 VENT 부품의 미세 기공 내 액체 침투 및 기체 투과 시뮬레이션 모델로 활용 가능합니다.
평가 입력
본문 81,976자 중 30,032자 발췌

초록

In this paper, we present a three-dimensional multiphase fluid lattice Boltzmann model based on the phase-field theory. The conservative Allen-Cahn equation was used to describe the interface dynamics between two different fluids. The proposed model extends the model proposed in [Fakhari et al., Physical Review E 96 (2017) No. 053301] to three space dimensions and we show how to improve the accuracy of the model at high density ratios by computing gradients more accurately. We also propose an accurate method for implementing the three-phase contact angle on curved boundaries. Several benchmark test cases have been performed with realistic parameters for a water-air system to demonstrate the improvement in accuracy of our model, compared to existing methods. Specifically, flow in a cylindrical capillary has been simulated and the results have been compared to previous methods and analytical solutions.

본문 81,976자

본문 펼치기
Applied and Computational Mechanics 19 (2025) 21–48 # A 3D lattice Boltzmann – phase-field model of three-phase contact line dynamics on curved boundaries ## M. Benioug a,b∗ _aAnalysis and Modeling for Environment and Health (UMR-AMES), Nouakchott, Mauritania_ _bHigher Institute of Industrial Engineering, Nouakchott, Mauritania_ Received 2 December 2023; accepted 27 May 2025 Abstract In this paper, we present a three-dimensional multiphase fluid lattice Boltzmann model based on the phase-field theory. The conservative Allen-Cahn equation was used to describe the interface dynamics between two different fluids. The proposed model extends the model proposed in [Fakhari et al., Physical Review E 96 (2017) No. 053301] to three space dimensions and we show how to improve the accuracy of the model at high density ratios by computing gradients more accurately. We also propose an accurate method for implementing the three-phase contact angle on curved boundaries. Several benchmark test cases have been performed with realistic parameters for a water-air system to demonstrate the improvement in accuracy of our model, compared to existing methods. Specifically, flow in a cylindrical capillary has been simulated and the results have been compared to previous methods and analytical solutions. © 2025 University of West Bohemia in Pilsen. _Keywords:_ lattice Boltzmann method, phase-field method, contact angle, multiphase fluid, contact line dynamics, curved boundary 1. Introduction Multiphase fluid interactions are almost ubiquitous in natural and industrial processes, for example, in the food, pharmaceutical and personal care industries [3, 6]. Some practical examples of multiphase fluid problems are polymer processing [17], enhanced oil recovery [4], microfluidics [16] and high-performance heat exchangers [8]. Among the two common modeling approaches—sharp-interface and diffuse-interface (phase-field) methods—the latter is widely favored for problems involving complex interface dynamics (coalescence, phase change, moving contact lines) due to its ability to naturally capture topology changes [33]. In recent years, the lattice Boltzmann method (LBM) has gained prominence as an efficient mesoscopic framework for simulating multiphase flows [23], owing to its simplicity in handling interfacial physics and excellent parallel scalability. Most multiphase LBM models fall into four main families [39]: color-gradient, pseudo-potential, free-energy, and phase-field approaches. Table 1 summarizes the key characteristics of these approaches, including their strengths, limitations, and typical capability for high-density-ratio flows. Recent years have seen especially rapid development of phase-field LBM methods for multiphase flows. In this approach, the interface is evolved by a diffuse-interface equation (either Cahn-Hilliard or Allen-Cahn), coupled to the LBM solver for hydrodynamics. The CahnHilliard formulation ensures global mass conservation but involves fourth-order spatial derivatives and may suffer droplet mass loss below a critical radius [43]. The Allen-Cahn formulation, *Corresponding author. Tel.: +46 738 422 929, e-mail: benioug@gmail.com. [https://doi.org/10.24132/acm.2025.881](https://doi.org/10.24132/acm.2025.881) 21 _M. Benioug / Applied and Computational Mechanics 19 (2025) 21–48_ Table 1. Comparison of main multiphase LBM modeling approaches High-density ratio LBM approach Key strengths Key challenges <u>capability</u> - Limited to low density ratios - Anisotropic surface tension - Pronounced spurious <u>currents [21]</u> - Thermodynamic inconsistency - Strong spurious currents - Limited stability at high density ratios [32] - Requires solving Poisson’s equation - Computationally expensive - Early models lacked Galilean <u>invariance [19]</u> - CH-type: small droplet loss - AC-type: may need mass correction - Requires parameter <u>calibration [27]</u> Color-gradient Pseudo-potential Free-energy Phase-field - Physically intuitive (“colored” fluids) - Captures interface morphology well - Suitable for moderate density/viscosity <u>contrasts [28]</u> - Simple to implement (no explicit interface equation) - Effective for droplet/bubble dynamics - Widely used and <u>validated [36]</u> - Thermodynamically consistent - Explicit control over surface tension - Accurate interface representation [35] - Physically grounded (free energy-based) - Naturally captures moving contact lines - Conservative models support high density <u>ratios [27]</u> _Low_ (unstable at high density ratios) [2] _Moderate_ (improved with MRT schemes) [12] _Moderate_ (possible but rarely used due to stiffness) [24] _High_ (stable up to _∼_ 1000:1) [31] in contrast, uses only second-order derivatives and is easier to implement locally, but originally allowed slight phase mass leakage [40]. To overcome this, conservative Allen-Cahn schemes introduce a Lagrange multiplier or modified forcing to strictly conserve mass [11]. This class of models has demonstrated improved stability for large density ratios [25, 31] and has been applied to complex interface phenomena including droplet coalescence, breakup, and dynamic wetting on flat surfaces [41]. However, handling three-phase contact line dynamics on curved solid boundaries (e.g., droplets in non-flat geometries) remains challenging. Only a few studies have begun to address wetting boundary conditions on curved surfaces using phase-field or related LBM models [1,42], highlighting the need for further development in this area. The aim of our work is to provide a stable and accurate phase-field lattice Boltzmann model for simulation of high density ratio flows (typically water-air systems) in complex geometries in 3D. In this study, we improve on existing conservative Allen-Cahn phase-field lattice Boltz 22 _M. Benioug / Applied and Computational Mechanics 19 (2025) 21–48_ mann models in two ways. First, we improve the accuracy of the velocity-based model by Fakhari et al. [10] for high density ratios by computing gradient terms more accurately. Second, we extend the model to three space dimensions, including proposing a method to implement boundary conditions for the conservative Allen-Cahn equation in 3D with different contact angles on general curved boundaries. The proposed model was evaluated on several test cases and compared to the previous momentum-based [9] and velocity-based [10] models. 2. Mathematical model _2.1._ _Phase-field equation_ We introduce the phase-field _ϕ_ ( _t,_ _x_ ) for time _t_ and space-variable _x_ = ( _x, y, z_ ), which attains the value zero in the light fluid and one in the heavy fluid. Following [11, 40], we let the evolution of the phase-field be determined by the equation - _∇ϕ −_ <sup><u>4</u></sup> _ξ_ <sup><u>4</u></sup> _ξ_ <sup>_ϕ_</sup> <sup>(1</sup> <sup>_−_</sup> <sup>_ϕ_</sup> <sup>)</sup> _|∇_ <sup>_<u>∇</u>_</sup> _ϕ_ <sup>_<u>ϕ</u>_</sup> _|∇ϕ|_ _<u>∂ϕ</u>_ _∂t_ <sup>+</sup> <sup>_∇·_</sup> <sup>(</sup> <sup>_ϕ_</sup> <sup>_u_</sup> <sup>) =</sup> <sup>_∇·_</sup> _M_ �� _._ (1) Mobility _M_ represents the rate at which the interface between two fluids evolves under the influence of the chemical potential. It dictates how quickly the phase-field variable _ϕ_ adjusts to changes in the chemical potential gradient. Generally, the value of _M_ should be chosen based on the balance between numerical stability and computational efficiency. The mobility _M_ is often set to a small value (e.g., approximately 0 _._ 01 _−_ 0 _._ 1) to ensure stability without excessively slowing down the simulation [44]. In (1), _u_ is the fluid velocity vector, and _ξ_ is the interface thickness of the diffuse interface. The equation has the property that the right hand side becomes zero for the one-dimensional (1D) phase-field profile given by �� _,_ (2) _ϕ_ 0( _x_ ) = <sup><u>1</u></sup> 2 - 1 _−_ tanh 2 <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> <sup>_<u>−</u>_</sup> <sup>_<u>x</u>_</sup> <sup><u>0)</u></sup> <sup>_<u>·</u>_</sup> <sup>_<u>v</u>_</sup> _ξ_ which therefore, represents a stationary solution to (1) with _u_ = 0, describing a flat interface located at _x_ = _x_ 0 and perpendicular to the unit vector _v_ (which points from the heavy fluid to the light one). Although (2) describes a one-dimensional equilibrium phase-field profile, it remains valid in three-dimensional simulations when interpreted along the local normal direction to the interface. In our model, this direction is given by the unit vector _n_ = _∇ϕ/|∇ϕ|_, allowing the 1D profile to be applied locally in any spatial dimension. In the presence of solid boundaries, the boundary conditions for _ϕ_ are determined by the equilibrium contact angle _θ_ . The boundary condition used is _<u>∂ϕ</u>_ (3) _∂_ _n_ <sup>=</sup> <sup><u>4</u></sup> _ξ_ <sup>_ϕ_</sup> <sup>(1</sup> <sup>_−_</sup> <sup>_ϕ_</sup> <sup>) cos</sup> <sup>_θ,_</sup> where _n_ is the unit normal to the surface, directed outward from the fluid domain. The boundary condition can be derived from a free energy formulation [26], but it should also be noted that the equilibrium profile (2) satisfies this boundary condition exactly when the phase interface intersects a flat surface at an angle _θ_, i.e., when _v_ _·_ _n_ = cos _θ_ . 23 _M. Benioug / Applied and Computational Mechanics 19 (2025) 21–48_ _2.2._ _Navier-Stokes equations_ The fluid velocity _u_ and the pressure _p_ are determined by the incompressible Navier-Stokes equations for multi-phase flow _∇·_ _u_ = 0 _,_ (4) - _η_ ( _ϕ_ ) + _µ∇ϕ_ + _F_ _b,_ (5) - _∇_ _u_ + ( _∇_ _u_ ) <sup>_T_</sup> <sup>��</sup> _ϱ_ ( _ϕ_ ) - _<u>∂</u>_ _<u>u</u>_ _∂t_ <sup>+ (</sup> <sup>_u_</sup> <sup>_· ∇_</sup> <sup>)</sup> <sup>_u_</sup> = _−∇p_ + _∇·_ where _ϱ_ ( _ϕ_ ) = _ϱHϕ_ + _ϱL_ (1 _−_ _ϕ_ ) is the local density and _η_ ( _ϕ_ ) = _ηHϕ_ + _ηL_ (1 _−_ _ϕ_ ) is the local dynamic viscosity of the fluid. Here, _ϱH_ and _ϱL_ are the densities of the heavy and light fluid, respectively, and similarly for the viscosities _ηH_ and _ηL_ . The chemical potential _µ_ is given by <sup><u>3</u></sup> _<u>σ</u>_ 2 _ξ_ _ξ_ _µ_ [ _ϕ_ ] = <sup><u>3</u></sup> _ξ_ �8 _f_ <sup>_′_</sup> ( _ϕ_ ) _−_ _ξ_ <sup>2</sup> ∆ _ϕ_ - = <sup><u>3</u></sup> <sup><u>3</u></sup> _<u>σ</u>_ 2 _ξ_ �16 _ϕ_ (1 _−_ _ϕ_ )(1 _−_ 2 _ϕ_ ) _−_ _ξ_ <sup>2</sup> ∆ _ϕ_ - _._ (6) The coefficients are chosen so that the equilibrium profile (2) yields _µ_ [ _ϕ_ 0] = 0 and so that the surface tension _σ_ equals the integral of the free energy density across the interface, i.e., _∞_ _σ_ = _E_ [ _ϕ_ 0( _x_ 0 + _t_ _v_ )] d _t,_ (7) _−∞_ _ξ_ <sup>_<u>σ</u>_</sup> <sup>_ϕ_</sup> <sup>2(1</sup> <sup>_−_</sup> <sup>_ϕ_</sup> <sup>)2 +</sup> <sup><u>3</u></sup> 4 where _E_ [ _ϕ_ ] = <sup><u>12</u></sup> _ξ_ <sup>_<u>σ</u>_</sup> <sup>_ϕ_</sup> <sup>2(1</sup> <sup>_−_</sup> <sup>_ϕ_</sup> <sup>)2 +</sup> <sup><u>3</u></sup> 4 <sup>_σξ|∇ϕ|_</sup> <sup>2 is the total free energy density, and</sup> <sup>_µ_</sup> <sup>[</sup> <sup>_ϕ_</sup> <sup>] =</sup> <sup>_δE/δϕ_</sup> <sup>.</sup> The surface tension force is chosen to be _F_ _s_ = _µ_ [ _ϕ_ ] _∇ϕ_ and _F_ _b_ is a body force, for example, a gravitational force. This formulation is the same as, e.g., in [9]. where _E_ [ _ϕ_ ] = <sup><u>12</u></sup> _ξ_ <sup>_<u>σ</u>_</sup> _2.3._ _Lattice Boltzmann method_ _2.3.1._ _Lattice Boltzmann equations (LBE) for the phase-field equation_ To solve the phase-field equation (1), we apply the method used in [9–11], but extended to three space dimensions. Equation (1) is an advection-diffusion equation with an added non-linear flux term, and the method is, therefore, rather straightforward although the non-linear term requires some attention. Given a velocity set _{_ _e_ _q}_ <sup>_Q_</sup> _q_ =0 <sup>_−_</sup> <sup>1</sup> <sup>and</sup> <sup>corresponding</sup> <sup>distribution</sup> <sup>function</sup> <sup>_{fq}Q_</sup> _q_ =0 <sup>_−_</sup> <sup>1,</sup> <sup>the</sup> <sup>lattice</sup> Boltzmann equation (LBE) using a single relaxation time collision is given by Given a velocity set _{_ _e_ _q}_ <sup>_Q_</sup> _q_ =0 <sup>_−_</sup> <sup>1</sup> <sup>_Q_</sup> _q_ =0 <sup>_−_</sup> <sup>1</sup> <sup>and</sup> <sup>corresponding</sup> <sup>distribution</sup> <sup>function</sup> <sup>_{fq}Q_</sup> _q_ =0 <sup>_−_</sup> <sup>1</sup> _fq_ ( _x_ + _e_ _q, t_ + 1) = _fq_ ( _x_ _, t_ ) + <sup><u>1</u></sup> _τϕ_ - _fq_ <sup>eq</sup> - _,_ (8) _q_ <sup>eq(</sup> <sup>_x_</sup> <sup>_, t_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_fq_</sup> <sup>(</sup> <sup>_x_</sup> <sup>_, t_</sup> <sup>)</sup> where _τϕ_ is the relaxation time for the phase-field LBE and we use the time-step ∆ _t_ = 1. The equilibrium distribution is given by _q_ <sup>eq</sup> <sup>=</sup> <sup>_ϕ_</sup> <sup>Γ</sup> <sup>_q_</sup> <sup>+</sup> <sup>_wqc−_</sup> _s_ <sup>2</sup> _fq_ <sup>eq</sup> <sup>_−_</sup> _s_ <sup>2</sup> <sup>_M_</sup> �4 - _<u>∇ϕ</u>_ _ξ_ <sup>_ϕ_</sup> <sup>(1</sup> <sup>_−_</sup> <sup>_ϕ_</sup> <sup>)</sup> _e_ _q ·_ _|∇ϕ|_ + _ε_ <sup>_,_</sup> (9) where _−_ <sup>_<u>u</u>_</sup> <sup>_<u>·</u>_</sup> <sup>_<u>u</u>_</sup> 2 _c_ <sup>2</sup> _s_ _,_ (10) Γ _q_ = _wq_ �1 + <sup>_<u>e</u>_</sup> <sup>_<u>q ·</u>_</sup> <sup>_<u>u</u>_</sup> _c_ <sup>2</sup> _s_ �1 + <sup>_<u>e</u>_</sup> <sup>_<u>q ·</u>_</sup> <sup>_<u>u</u>_</sup> _c_ <sup>2</sup> _s_ + <sup><u>(</u></sup> <sup>_<u>e</u>_</sup> <sup>_<u>q ·</u>_</sup> <sup>_<u>u</u>_</sup> <sup><u>)2</u></sup> 2 _c_ <sup>4</sup> _s_ 24 _M. Benioug / Applied and Computational Mechanics 19 (2025) 21–48_ _cs_ is the speed of sound in the system, and _wq_ denotes the equilibrium weights associated with the LB model. The mobility _M_ is given by the relaxation time as (11) _M_ = _c_ <sup>2</sup> _s_ - _τϕ −_ <sup><u>1</u></sup> 2 and _ε_ = 10 <sup>_−_</sup> <sup>16</sup> is a small number to avoid division by zero. The value of the phase-field _ϕ_ is computed as _ϕ_ = _Q−_ 1 _q_ =0 _fq._ (12) In this work, we use the D3Q19 LB <u>model</u> with _Q_ = 19 velocities and corresponding _√_ weights _wq_ as given in [7], with _cs_ = 1 _/_ 3. Equation (8) is solved using a standard collision _√_ weights _wq_ as given in [7], with _cs_ = 1 _/_ 3. Equation (8) is solved using a standard collision streaming scheme. The computation of the gradient _∇ϕ_ is discussed in Section 2.3.3. _2.3.2._ _LBE for the hydrodynamic equations_ To solve the Navier-Stokes equations (4)–(5), we adopt a velocity-based lattice Boltzmann method (LBM) originally proposed by Zu and He [45], which was further enhanced by Fakhari et al. [10]. This method improves the representation of incompressibility and momentum conservation, especially for multiphase flows with large density and viscosity contrasts. _Momentum-based model_ [9]: In traditional momentum-based LB models, the distribution function _fα_ is designed so that its first moment yields the momentum _ϱ_ _u_ . These models typically require solving for pressure and velocity simultaneously, and often suffer from challenges in numerical stability and efficiency at high density ratios. They also frequently employ force coupling techniques (e.g., Guo forcing scheme) and necessitate predictor-corrector steps. _Velocity-based model_ [10,45]: In contrast, the velocity-based model defines a modified distribution function _gα_, whose first moment directly recovers the macroscopic velocity _u_ (by normalizing with density _ϱ_ ). This decouples pressure from velocity, simplifies the collision operator (especially in multiple relaxation time schemes), and significantly improves numerical stability. Fakhari et al. [10] introduced further enhancements including: - a conservative phase-field model for interface tracking, - simplified nonlocal dependencies (only phase-field is nonlocal), - avoidance of biased difference schemes, ensuring mass and momentum conservation. _Extension introduced in this work_ : Building on this framework, we further enhance the model by adding forcing terms, see (14), to recover the correct pressure and viscous stress components. Our approach also integrates additional correction terms to ensure that the pressure and stress tensors in the macroscopic NavierStokes equations are accurately reproduced. Specifically, by scaling the distribution function _g_ with _ϱ_, the velocity becomes the first moment rather than momentum – this eliminates the need for density normalization post-processing and facilitates handling of incompressible regimes more accurately. This improved formulation, thus, bridges the benefits of velocity-based approaches with a more physically consistent force incorporation scheme, enabling robust simulations of complex multiphase systems with curved boundaries and high contrast in material properties. 25 _M. Benioug / Applied and Computational Mechanics 19 (2025) 21–48_ Here, we present a scheme using a single relaxation time (SRT) model for the collision operator, but in Appendix A, the method is extended to a multiple relaxation time (MRT) model for improved accuracy and stability. The SRT model was used except where noted below. The lattice Boltzmann equation for hydrodynamics is, thus, assuming ∆ _t_ = 1, _g_ ¯ _q_ ( _x_ + _e_ _q, t_ + 1) = _g_ ¯ _q_ ( _x_ _, t_ ) + <sup><u>1</u></sup> _τ_ - _g_ ¯ _q_ <sup>eq</sup> - + _Fq_ ( _x_ _, t_ ) _,_ (13) _q_ <sup>eq(</sup> <sup>_x_</sup> <sup>_, t_</sup> <sup>)</sup> <sup>_−_</sup> <sup>_g_</sup> <sup>¯</sup> <sup>_q_</sup> <sup>(</sup> <sup>_x_</sup> <sup>_, t_</sup> <sup>)</sup> where _g_ ¯ _q_ is the modified distribution function, _τ_ is the local relaxation time, and the forcing term is _<u>e</u>_ _<u>q ·</u>_ _<u>F</u>_ _._ (14) _Fq_ = _wq_ _ϱc_ <sup>2</sup> _s_ The modified equilibrium distribution function is _g_ ¯ _q_ <sup>eq</sup> _q_ <sup>eq</sup> <sup>_−_</sup> <sup><u>1</u></sup> 2 _q_ <sup>eq</sup> <sup>=</sup> <sup>_g_</sup> _q_ <sup>eq</sup> <sup><u>1</u></sup> and _gq_ <sup>eq</sup> 2 <sup>_Fq_</sup> _q_ <sup>eq</sup> <sup>=</sup> <sup>_p∗wq_</sup> <sup>+ (Γ</sup> <sup>_q_</sup> <sup>_−_</sup> <sup>_wq_</sup> <sup>)</sup> <sup>_,_</sup> (15) where _p_ <sup>_∗_</sup> = _p/ϱc_ <sup>2</sup> _s_ <sup>is the normalized pressure.</sup> <sup>The local fluid density</sup> <sup>_ϱ_</sup> <sup>is computed using the</sup> phase-field as _ϱ_ = _ϕϱH_ + (1 _−_ _ϕ_ ) _ϱL,_ (16) where _ϱH_ and _ϱL_ are the densities of the heavy and light fluid, respectively. As remarked in [10], the implementation of the forcing term (14) is accurate to leading order, while Guo et al. [15] and He et al. [18] give more accurate forcing schemes. However, as in [10], we have also compared our results to results using higher-order forcing schemes and noticed no difference. For the velocity-based scheme, two additional force terms, _F_ _p_ and _F_ _η_, are added in order to achieve correct pressure and viscous forces [45]. The total force is, therefore, _F_ = _F_ _s_ + _F_ _b_ + _F_ _p_ + _F_ _η,_ (17) where _F_ _p_ = _−p_ <sup>_∗_</sup> _c_ <sup>2</sup> _s_ <sup>_∇ϱ,_</sup> _F_ _η_ = _ν_ The viscous force is implemented as in [10] as - _∇_ _u_ + ( _∇_ _u_ ) <sup>_T_</sup> <sup>�</sup> _· ∇ϱ._ (18) - _Q_ _q_ =1 _Fη,i_ = _−_ <sup>_<u>ν</u>_</sup> _<u>∂ϱ</u>_ _∂xj_ _,_ (19) _τc_ <sup>2</sup> _s_ _eqieqj_ (¯ _gq −_ _gq_ <sup>eq</sup> _q_ <sup>eq)</sup> _s_ _d_ _j_ =1 where we note that the density gradient is computed according to (16) as _∇ϱ_ = ( _ϱH_ _−_ _ϱL_ ) _∇ϕ._ (20) The relaxation time _τ_ is related to the local kinematic viscosity as _ν_ = _c_ <sup>2</sup> _s_ - _τ_ _−_ <sup><u>1</u></sup> - (21) 2 and is determined locally by linear interpolation of the dynamic viscosity _η_ = _ϱν_ as _η_ ( _ϕ_ ) = _ϕηH_ + (1 _−_ _ϕ_ ) _ηL,_ (22) 26 _M. Benioug / Applied and Computational Mechanics 19 (2025) 21–48_ and then using (21) to compute _τ_ . In Section 3.5, we also compare different methods to interpolate and compute _τ_ . The hydrodynamic velocity and scaled pressure are calculated as _p_ <sup>_∗_</sup> = _Q−_ 1 _q_ =0 _g_ ¯ _q,_ _u_ = _Q−_ 1 _q_ =1 _g_ ¯ _q_ _e_ _q_ + <sup>_<u>F</u>_</sup> (23) 2 _ϱ_ <sup>_,_</sup> _g_ ¯ _q_ _e_ _q_ + <sup>_<u>F</u>_</sup> 2 where the pressure is computed first and used in the computation of _F_ . _2.3.3._ _Computation of gradients_ The gradient _∇ϕ_ in (9) and (20) is generally computed by an isotropic central finite difference scheme (see, e.g., [22]) _∇ϕ_ ( _x_ _, t_ ) _≈_ <sup><u>1</u></sup> 2 _c_ <sup>2</sup> _s_ _Q−_ 1 _q_ =1 _wq_ _e_ _q_ ( _ϕ_ ( _x_ + _e_ _q, t_ ) _−_ _ϕ_ ( _x_ _−_ _e_ _q, t_ )) _._ (24) However, when using the velocity-based approach for high density ratios, there is a problem with this scheme to compute gradients. This is because the correct computation of the pressure term in (5) depends on the cancellation of two terms, namely (after dividing the equation with _ϱ_ ) <sup>2</sup> _s_ <sup>_∇p∗,_</sup> (25) _−ϱ_ <sup><u>1</u></sup> _ϱ_ <sup><u>1</u></sup> <sup>_∇_</sup> <sup>(</sup> <sup>_ϱc_</sup> _s_ <sup>2</sup> _ϱ_ <sup><u>1</u></sup> <sup>_∇p_</sup> <sup>=</sup> <sup>_−_</sup> _ϱ_ <sup><u>1</u></sup> _s_ <sup>_p∗_</sup> <sup>) =</sup> <sup>_−p∗c_</sup> _<u>s</u>_ <sup>2</sup> <sup>2</sup> _<u>s</u>_ <sup>_<u>∇ϱ</u>_</sup> <sup>2</sup> _−_ _c_ <sup>2</sup> _s_ _ϱ_ where the first term is _F_ _p/ϱ_, which is the actual pressure force added to the scheme by (14), and the second stems from the lattice Boltzmann scheme, see [45]. A similar situation holds for the viscous force term (18)2. It is therefore important that the vector _∇ϱ/ϱ_ is computed accurately. When using (24) to compute this quantity, _∇ϕ_ is multiplied with ( _ϱH_ _−_ _ϱL_ ) _/ϱ_, which is large where _ϱ_ is small, which is the case in the light phase if the density ratio is high (regardless of the value chosen for _ϱH_ ). Any numerical errors in the finite difference scheme (24) are therefore amplified. In Fig. 1, the errors in _∇ϱ/ϱ_ across the phase interface at a density ratio of 1 000 are clearly seen. We therefore propose to instead use the fact that _∇_ log _ϱ_ = _∇ϱ/ϱ_ and use the scheme _<u>∇ϱ</u>_ _ϱϱ_ <sup>(</sup> <sup>_x_</sup> <sup>_, t_</sup> <sup>)</sup> <sup>_≈_</sup> 2 <sup><u>1</u></sup> _c_ 2 _c_ <sup>2</sup> _s_ _Q−_ 1 _q_ =1 _wq_ _e_ _q_ [log _ϱ_ ( _x_ + _e_ _q, t_ ) _−_ log _ϱ_ ( _x_ _−_ _e_ _q, t_ )] _._ (26) From Fig. 1, it is obvious that this approach improves the accuracy significantly. The difference in maximum error is almost an order of magnitude. The gradient of the phase-field, needed in (9) can then be computed as _<u>ϱ</u>_ _∇ϕ_ = _ϱH_ _−_ _ϱL_ _∇_ log _ϱ._ (27) Clearly, this equation can not be used if the density ratio is 1, and _ϱH_ = _ϱL_, but then the common gradient scheme (24) is accurate and should be used instead. The Laplacian of the phase field is also needed in order to compute the chemical potential (6) and can be computed from the relation _ϱ_ <sup>_<u>ϱ</u>_</sup> <sup>_−_</sup> <sup>_<u>|∇</u>_</sup> _ϱ_ <sup>_<u>ϱ</u>_</sup> <sup>2</sup> <sup>_<u>|</u>_</sup> <sup>2</sup> (28) _ϱ_ <sup>_<u>ϱ</u>_</sup> <sup>2</sup> <sup>_<u>|</u>_</sup> <sup>2</sup> ∆log _ϱ_ = _∇·_ - _<u>∇ϱ</u>_ _ϱ_ - = <sup><u>∆</u></sup> _ϱ_ <sup>_<u>ϱ</u>_</sup> 27 _M. Benioug / Applied and Computational Mechanics 19 (2025) 21–48_ Fig. 1. The values for _ϱ_ <sup>_′_</sup> _/ϱ_, where _ϱ_ <sup>_′_</sup> _≡∇ϱ_, computed for the equilibrium profile (2) with a density ratio of _ϱH_ _/ϱL_ = 1 000 and interface width _ξ_ = 5, using finite differences of log _ϱ_ (marked as ” _×_ ”, equation (26)) and the phase-field _ϕ_ (marked as ” _◦_ ”, equation (24)). The solid line shows values computed with a high-resolution finite difference scheme and of course, ∆ _ϱ_ = ( _ϱH_ _−_ _ϱL_ )∆ _ϕ_ . The Laplacian ∆log _ϱ_ is computed using isotropic finite differences as [22] ∆log _ϱ_ ( _x_ _, t_ ) _≈_ <sup><u>1</u></sup> _c_ <sup>2</sup> _s_ _wq_ _e_ _q_ [log _ϱ_ ( _x_ + _e_ _q, t_ ) _−_ 2 log _ϱ_ ( _x_ _, t_ ) + log _ϱ_ ( _x_ _−_ _e_ _q, t_ )] _._ (29) _s_ _Q−_ 1 _q_ =1 Note that both finite difference formulas, (26) and (29), may be simplified to loop over only half the velocities and to evaluate the central value only once, for speedup. This optimization leverages the symmetry of the lattice directions (e.g., _e_ _q_ and _−_ _e_ _q_ ) to reduce redundant computations. Each pair of opposite directions contributes symmetrically to the gradient or Laplacian, allowing the loop to run over half the stencil without loss of accuracy. The quantity log _ϱ_ can therefore be chosen as the non-local quantity instead of _ϕ_ for the purpose of computing gradients. However, the value of _ϕ_ may still need to be saved as an auxiliary scalar for the purpose of implementing boundary conditions for the phase-field equation (see Section 2.4). It should also be noted that computing the logarithm is a rather costly operation and will affect the computational efficiency of the scheme. We have not performed a study of this, as it will be implementation dependent, but we see a reduction in the number of lattice updates per second by around 10 % when using the logarithm-based gradient, for a not very optimized code. _2.3.4._ _Interpolation of viscosity_ The choice of interpolation method for the phase-field dependent viscosity _η_ ( _ϕ_ ) is of major importance for the accuracy of the numerical scheme, especially at high density ratios. This is because the surface tension force _F_ _s_ is significant only in the transition region between the phases, which is also where the viscosity changes. Additionally, in the LBM setting, the dynamic viscosity _η_ is determined through the kinematic viscosity, which is in turn related to 28 _M. Benioug / Applied and Computational Mechanics 19 (2025) 21–48_ the relaxation time _τ_ through (21), which determines the stability of the simulation. Thus, the relation _η_ ( _ϕ_ ) = _ϱ_ ( _ϕ_ ) _c_ <sup>2</sup> _s_ - _τ_ ( _ϕ_ ) _−_ <sup><u>1</u></sup> 2 (30) relates the interpolation schemes for _η_, _ϱ_ and _τ_ . It is obvious here why the density ratio influences the interpolation accuracy. The natural choice for interpolation of _ϱ_ is the linear interpolation (16) and we have not considered other interpolation schemes. However, for the interpolation of _η_, several choices are possible, in addition to the linear interpolation (22), which is our default choice. To get high accuracy across the interface, a sharp jump in _η_ may be considered, given by _η_ ( _ϕ_ ) = _ηH_ _ϕ ≥_ 0 _._ 5 _,_ (31) _ηL_ _ϕ <_ 0 _._ 5 _._ However, this has the disadvantage of being unstable in many cases due to the sharp gradients. Another possible scheme is the harmonic interpolation of _η_, - _−_ 1 (1 _−_ _ϕ_ ) _,_ (32) _η_ ( _ϕ_ ) = which favors low viscosity values. - <u>1</u> _ηH_ _ϕ_ + <sup><u>1</u></sup> _ηL_ _ϕ_ + <sup><u>1</u></sup> Through (30), it is also possible to instead interpolate the relaxation time _τ_, as has been done in the literature, see, e.g., [22, 25]. One approach is to use a linear interpolation of the relaxation time _τ_ = _ϕτH_ + (1 _−_ _ϕ_ ) _τL,_ (33) while another approach is to use a harmonic interpolation of kinematic viscosity, which amounts to <u>1</u> _<u>ϕ</u>_ = + <sup><u>1</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>ϕ</u>_</sup> _._ (34) _τ_ _−_ 2 <sup><u>1</u></sup> _τH_ _−_ <sup><u>1</u></sup> 2 _τL −_ <sup><u>1</u></sup> 2 While the effect of different choices have been discussed previously [10, 22, 25], all these choices have not been compared for high density ratios. In Fig. 2, we therefore plot the resulting dynamic viscosity and relaxation time for different interpolations, at density ratio 1 000 and dynamic viscosity ratio 100, which is close to a water-air system. The effects on accuracy in certain test cases is discussed in Sections 3.3 and 3.5. It is clear from Fig. 2a that the linear interpolation of _τ_, see (33), creates a region of artificial high viscosity across the interface. The harmonic interpolation of _τ_, see (34), does the same, although less notably so, while harmonic interpolation of _η_ results in lower viscosity over a wide range. On the other hand, Fig. 2c shows that sharp and harmonic _η_ interpolations (31) and (32) result in very low values for _τ_ at the interface (minimum value about 0.501 and 0.502, respectively), which may cause stability problems. _2.4._ _Boundary conditions_ For the hydrodynamic equations, we use simple bounce-back boundary conditions to implement no-slip boundary conditions on the boundaries. It would be straight-forward to implement any other standard boundary-conditions with higher accuracy, see, e.g., [14, 30]. Although this would lead to consistent localization of the boundary in the hydrodynamic and phase-field equations, which is desirable, it is not likely to influence the results presented here appreciably. 29 + <sup><u>1</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>ϕ</u>_</sup> <sup><u>1</u></sup> 2 _τL −_ <sup><u>1</u></sup> 2 _<u>ϕ</u>_ = 2 <sup><u>1</u></sup> _τH_ _−_ <sup><u>1</u></sup> 2 _._ (34) <sup><u>1</u></sup> 2 _τL −_ <sup><u>1</u></sup> 2 _M. Benioug / Applied and Computational Mechanics 19 (2025) 21–48_ (a) (b) (c) Fig. 2. (a) Dynamic viscosity _η_ ( _ϕ_ ), (b) reciprocal of dynamic viscosity 1 _/η_ ( _ϕ_ ), and (c) relaxation time _τ_ across the phase interface assuming the equilibrium profile (9) using the different interpolation schemes: equation (31) (thick solid), equation (21) (dashed), equation (32) (dash-dotted), equation (33) (dotted), and equation (34) (solid). The _x_ -axis represents the distance along the normal direction to the interface For the phase-field equation, we need to implement the boundary condition (3), which is a non-linear Robin-type boundary condition. The scheme is different from the one used by Fakhari and Bolster [9] for the Allen-Cahn equation in 2D in that a central difference is always used across the boundary to derive the boundary scheme and that there is an explicit equation for the unknown quantity. The problem, as always for lattice Boltzmann boundary conditions, is to assign proper values to the incoming populations coming from a lattice node located just outside the domain. In Fig. 3, these nodes are marked as ” _◦_ ” and we refer to them as ghost nodes. In addition, the boundary conditions need to supply values for the computation of the gradient and Laplacian of the phase field across the boundary, which are computed by finite differences using (26) and (29), respectively. In order to preserve mass exactly, we use half-way bounce-back boundary conditions for the incoming populations, i.e., _fq_ <sup>_∗_</sup> _q_ <sup>_∗_</sup> <sup>(</sup> <sup>_x_</sup> <sup>_g_</sup> <sup>) =</sup> <sup>_f_</sup> _q_ <sup>_∗_</sup> ¯ _q_ <sup>_∗_</sup> ¯ <sup>(</sup> <sup>_x_</sup> <sup>_f_</sup> <sup>)</sup> <sup>_,_</sup> (35) 30 _M. Benioug / Applied and Computational Mechanics 19 (2025) 21–48_ (a) (b) Fig. 3. Two examples of boundary configurations, shown in 2D for clarity. In (a), values in grid nodes can be interpolated to the mirror point _x_ _m_, while in (b), extrapolation is required as the interpolation nodes would need to be outside the domain. One of the ghost nodes is denoted _x_ _g_ and is marked with an empty circle. The corresponding mirror point, at a distance 2 _δ_ from _x_ _g_, is marked with a filled circle, and the grid nodes used for interpolation/extrapolation are marked with crosses where the lattice velocity _cq_ intersects the boundary from the ghost node _x_ _g_, _cq_ ¯ is the opposite grid velocity, _x_ _f_ = _x_ _g_ + _cq_ and _f_ <sup>_∗_</sup> is the post-collision distribution. It should be noted that while for the diffusion equation, bounce-back conditions are inaccurate since they force not only a zero normal flux but also a zero tangential flux [13], this is not a major issue here because the flux is _|∇ϕ|_ _j_ = _M_ - _∇ϕ −_ <sup><u>4</u></sup> _ξ_ <sup><u>4</u></sup> _ξ_ <sup>_ϕ_</sup> <sup>(1</sup> <sup>_−_</sup> <sup>_ϕ_</sup> <sup>)</sup> _|∇_ <sup>_<u>∇</u>_</sup> _ϕ_ <sup>_<u>ϕ</u>_</sup> (36) and is identically zero for the equilibrium profile (2). However, to compute the finite differences correctly, an accurate value of the phase field _ϕ_ must be computed at the ghost node, using the boundary condition. Using the outward unit normal _n_, the mirror image of the ghost node _x_ _g_ can be computed as _x_ _m_ = _x_ _g −_ 2 _δ_ _n_ _,_ where _δ_ is the distance from the ghost node to the boundary along the normal direction. The normal derivative in (3) is now approximated by a central finite difference as _<u>∂ϕ</u>_ _∂_ _n_ ���� _x_ = _x_ _b_ _≈_ <sup>_<u>ϕ</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> <sup>_<u>g</u>_</sup> <sup><u>)</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>ϕ</u>_</sup> <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> <sup>_<u>m</u>_</sup> <sup><u>)</u></sup> _,_ (37) 2 _δ_ which is second order accurate. The right hand side of (3) is evaluated at _ϕ_ = _ϕ_ ( _x_ _b_ ) _≈_ ( _ϕ_ ( _x_ _g_ )+ _ϕ_ ( _x_ _m_ )) _/_ 2. Using these approximations yields a quadratic equation for _ϕ_ ( _x_ _g_ ) with the solution _ϕ_ ( _x_ _g_ ) = <sup><u>1</u></sup> _a_ _a −_ 1 + ~~�~~ ( _a −_ 1) <sup>2</sup> + 4 _aϕ_ ( _x_ _m_ ) _−_ _ϕ_ ( _x_ _m_ ) _,_ (38) where _a_ = 4 _δ/ξ_ . All that now remains is to correctly estimate the value of _ϕ_ at the mirror point _x_ _m_, which is done by interpolation. We can use four lattice nodes in a ”tripod” (three in 2D) for linear interpolation, as indicated in Fig. 3. We label these _x_ 0 and _x_ _i_ = _x_ 0 + _si_ _e_ _i_, _i_ = 1 _, . . ., d_, where _si_ _∈{−_ 1 _,_ 1 _}_, depending on the orientation of the ”tripod” and _d_ is the number of dimensions. 31 _M. Benioug / Applied and Computational Mechanics 19 (2025) 21–48_ The node _x_ 0 is chosen as the fluid node closest to _x_ _m_ and the _x_ _i_ are chosen as close as possible to _x_ _m_ . The problem is that in some configurations, such as in Fig. 3b, we need to extrapolate to get the value at the mirror point, which may cause instabilities because the extrapolated value of _ϕ_ may be below 0. To circumvent this, we use an additional quadratic term in the interpolation polynomial, which becomes _h_ ( _x_ ) = _α_ 0 + _d_ _i_ =1 _αi_ ( _x_ _−_ _x_ 0) _i_ + _αn_ [ _n_ _·_ ( _x_ _−_ _x_ 0)] <sup>2</sup> _._ (39) As an extra condition to determine the coefficient _αn_, we use the boundary condition (3), in the linearized form _∂nh_ ( _x_ _b_ ) = _G_ - _h_ ( _x_ _b_ )� _≈_ _G_ ( _h_ ( _x_ 0)) + _G_ <sup>_′_</sup> <sup>�</sup> _h_ ( _x_ 0) �� _h_ ( _x_ _b_ ) _−_ _h_ ( _x_ 0) - _,_ (40) where in our case _G_ ( _ϕ_ ) = <sup><u>4</u></sup> _ξ_ <sup>_ϕ_</sup> <sup>(1</sup> <sup>_−_</sup> <sup>_ϕ_</sup> <sup>).</sup> <sup>Inserting the polynomial (39) into the condition (40) and</sup> using the natural interpolation conditions _h_ ( _x_ _i_ ) = _ϕ_ ( _x_ _i_ ), _i_ = 0 _, . . ., d_, we can solve for the coefficients to get _α_ 0 = _ϕ_ ( _x_ 0) _,_ (41) _G_ ( _α_ 0) _−_ - _d_ _<u>i</u>_ <u>=1</u> _si_ ( _ϕ_ ( _x_ _i_ ) _−_ _ϕ_ ( _x_ 0)) _vi_ _αn_ = _,_ (42) (2 _−_ _G_ <sup>_′_</sup> ( _α_ 0) _n_ _·_ _x_ ˆ _b_ ) ( _n_ _·_ _x_ ˆ _b_ ) _−_ - _d_ _i_ =1 _sin_ <sup>2</sup> _i_ <sup>_vi_</sup> <sup>2</sup> _k_ (43) _αk_ = _sk_ - _ϕ_ ( _x_ _k_ ) _−_ _ϕ_ ( _x_ 0) - _−_ _skαnn_ <sup>2</sup> _k_ for _k_ = 1 _, . . ., d_, where we have set _x_ ˆ _b_ = _x_ _b −_ _x_ 0 and _v_ = _n_ _−_ _G_ <sup>_′_</sup> ( _α_ 0) ˆ _x_ _b_ . 3. Numerical results To illustrate and evaluate the accuracy and applicability of our model, several numerical tests were performed. Unless otherwise noted, parameters corresponding to a water-air system at 20 <sup>_◦_</sup> C were used, namely _ϱH/ϱL_ = 831 and _ηH/ηL_ = 55. The mobility was _M_ = 0 _._ 02 in all cases. The value _M_ = 0 _._ 02 was chosen to have a compromise between guaranteeing numerical stability and obtaining a reasonable speed of evolution of the interface. This value guarantees that the interface evolves neither too fast (which could cause instability) nor too slowly (which would be inefficient) corresponding to the relaxation time _τϕ_ = 0 _._ 56, and the interface width was chosen to be _ξ_ = 5. The parameters _ϱH_ = 1 and _τL_ = 1 _._ 0 were used (with _τH_ computed from the density ratio), and the surface tension was set to _σ_ = 10 <sup>_−_</sup> <sup>3</sup> unless otherwise stated. Note that the surface tension parameter used in the simulations is dimensionless and defined in lattice units. Its physical counterpart can be recovered via the conversion relation _σ_ = _Cϱ CL_ <sup>3</sup> <sup>_/C_</sup> _t_ <sup>2</sup> <sup>_σ_</sup> <sup>˜, as detailed in Appendix B. For reference, the typical surface tension between</sup> _L_ <sup>3</sup> <sup>_/C_</sup> _t_ <sup>2</sup> _σ_ = _Cϱ CL_ <sup>3</sup> <sup>_/C_</sup> _t_ <sup>2</sup> <sup>_σ_</sup> <sup>˜, as detailed in Appendix B. For reference, the typical surface tension between</sup> water and air under ambient conditions is _σ_ ˜ = 0 _._ 072 N m <sup>_−_</sup> <sup>1</sup> . Below, we first examine the volume preservation and accuracy of boundary conditions by comparing to analytical steady-state solutions for droplets on a flat surface and a sphere. Then, the accuracy of the present method is compared to previous velocity-based [10] and momentumbased [9] methods for layered flows and a stationary meniscus in a cylindrical capillary. Finally, the dynamics of capillary flows in a cylindrical capillary is studied. 32 _M. Benioug / Applied and Computational Mechanics 19 (2025) 21–48_ Fig. 4. The contact angle _θ_ between a droplet and a flat surface as well as the height _h_ and equilibrium radius _R_ = _Req_ of the droplet _3.1._ _Case 1:_ _Droplet on a flat surface_ In this test case, a spherical droplet was placed on top of a flat surface with an initial contact angle of 90 <sup>_◦_</sup>, while the contact angle _θ_ was set to a different value. The droplet then instantly moves to balance the system by minimizing its energy to the solid-air, solid-liquid and liquid-air interfaces. This is mainly achieved by minimizing the surfaces between the liquid and the other phases, while keeping the correct contact angle. This state is reached when the forces acting on the triple line solid-liquid-air are in equilibrium. In the absence of gravity, the only mobilizing factor is interfacial tension. A computational domain 220 _×_ 220 _×_ 100 was used. The initial radius of the droplet, on a neutrally wetting surface was _R_ 0 = 40 in lattice units. Periodic boundary conditions were imposed in the _x_ - and _y_ -directions and a symmetry condition was imposed in the _z_ -direction. The bounce-back method was used to satisfy the no-slip boundary condition at the wall solid surface and the boundary conditions described in Section 2.4 were applied for the phase field. In order to validate the numerical accuracy of our model, a comparison was made to the analytical relationship between the contact angle _θ_ and the height _h_, Fig. 4. Consider the droplet shown in Fig. 5a. To minimize its surface energy, the droplet adopts a shape of a spherical cap (since no gravitation is present), which can be seen as part of a sphere of radius _R_, which is intersected by a plane. The height of the droplet is _h_ = _R −_ _R_ cos _θ_ . The initial droplet is a half sphere, and thus, its volume is _V_ 0 = 3 <sup><u>2</u></sup> <sup>_πR_</sup> 0 <sup>3</sup> <sup>_._</sup> (44) To determine _R_, a relation is needed to link the volume V of the spherical cap, the contact angle _θ_ and _R_, namely _R_ _V_ = _π_ _R−h_ = <sup>_<u>π</u>_</sup> 3 <sup>_R_</sup> <sup>3 �</sup> 2 _−_ 3 cos _θ_ + cos <sup>3</sup> _θ_ _._ (45) ( _R_ <sup>2</sup> _−_ _x_ <sup>2</sup> ) d _x_ = _. . ._ = _π_ - _hR_ <sup>2</sup> _−_ <sup>_<u>h</u>_</sup> <sup>3</sup> 3 Assuming the volume of the droplet is conserved, the radius _R_ can be expressed in terms of the volume _V_ = _V_ 0 and the angle _θ_ as - 31 = 33 - <u>2</u> 2 _−_ 3 cos _θ_ + cos <sup>3</sup> _θ_ - 31 _R_ 0 _._ (46) _R_ = - _<u>V</u>_ <u>0</u> _<u>π</u>_ 3 <sup>(2</sup> <sup>_−_</sup> <sup>3 cos</sup> <sup>_θ_</sup> <sup>+ cos3</sup> <sup>_θ_</sup> <sup>)</sup> _M. Benioug / Applied and Computational Mechanics 19 (2025) 21–48_ Fig. 5. (a) Initial position of the droplet, (b) at _θ_ = 30 <sup>_◦_</sup>, (c) at _θ_ = 60 <sup>_◦_</sup>, (d) at _θ_ = 120 <sup>_◦_</sup>, (e) at _θ_ = 150 <sup>_◦_</sup>, (f) comparison between numerical and analytic relationships Computations were performed at several contact angles as shown in Fig. 5b–e. Fig. 5e shows a good agreement between the numerical results and the analytical solution for a large range of contact angles from 15 <sup>_◦_</sup> to 170 <sup>_◦_</sup> . The results are almost identical for both values of the surface tension coefficient _σ_ = 10 <sup>_−_</sup> <sup>3</sup> and _σ_ = 10 <sup>_−_</sup> <sup>2</sup> except for the extreme values 15 <sup>_◦_</sup> and 170 <sup>_◦_</sup> where the results are more precise for _σ_ = 10 <sup>_−_</sup> <sup>3</sup> . The maximum error is at _θ_ = 15 <sup>_◦_</sup>, where the relative error is about 35 % for _σ_ = 10 <sup>_−_</sup> <sup>3</sup> . At _θ_ = 30 <sup>_◦_</sup>, however, the relative error is down to about 3 %. In the rest of the simulations, we use the value _σ_ = 10 <sup>_−_</sup> <sup>3</sup> . _3.2._ _Case 2:_ _Droplet on a spherical surface_ In this test case, the accuracy of our model was investigated on a curved surface by placing a droplet on a solid sphere. The computational domain was [0 _, L_ ] _×_ [0 _, L_ ] _×_ [0 _,_ 2 _L_ ]. The center of the solid sphere, which had a radius _Rs_ = 0 _._ 3 _L_, was located at ( _L/_ 2 _, L/_ 2 _, L/_ 2) and the droplet initially formed a sphere with radius _R_ 0 = _Rs_ centered at ( _L/_ 2 _, L/_ 2 _, L/_ 2+ _Rs_ ). This means the initial contact angle was 60 <sup>_◦_</sup> . If a different contact angle _θ_ is chosen for the boundary condition, the droplet will move on the solid surface and stop when it reaches the state of thermodynamic equilibrium. In its final state, the droplet can be represented as shown in Fig. 6. We assume that the droplet is axisymmetric and we neglect the effects of external forces, such as gravity. Since the droplet volume is conserved, the final radius _R_ of the droplet changes as the contact angle _θ_ on the spherical substrate is altered. For a given spherical substrate with radius 34 _M. Benioug / Applied and Computational Mechanics 19 (2025) 21–48_ Fig. 6. Schematic illustration of the contact angle between a droplet and a solid sphere _Rs_, the volume _V_ of the droplet having a contact angle _θ_ and a radius _R_ is given by _V_ = <sup><u>1</u></sup> 3 <sup><u>1</u></sup> 2 + 3 cos _β −_ cos <sup>3</sup> _β_ _−_ <sup><u>1</u></sup> 3 <sup>_πR_</sup> <sup>3 �</sup> 3 <sup><u>1</u></sup> _s_ 3 <sup>_πR_</sup> <sup>3</sup> - 2 _−_ 3 cos _α_ + cos <sup>3</sup> _α_ _,_ (47) where from the geometric relations shown in Fig. 6, we have cos _α_ <u>=</u> _<u>Rs</u>_ <sup>2</sup> <sup><u>+</u></sup> <sup>_<u>c</u>_</sup> <sup>2</sup> <sup>_<u>−</u>_</sup> <sup>_<u>R</u>_</sup> <sup>2</sup> <sup>_<u>/</u>_</sup> <sup><u>(2</u></sup> <sup>_<u>Rsc</u>_</sup> <sup>),</sup> _Rs_ sin _α_ = _R_ sin _β_, and cos _β_ = _R_ <sup>2</sup> + _c_ <sup>2</sup> _−_ _Rs_ <sup>2</sup> <sup>_/_</sup> <sup>(2</sup> <sup>_Rc_</sup> <sup>)</sup> <sup>with</sup> <sup>_c_</sup> <sup>=</sup> ~~�~~ _R_ <sup>2</sup> + _Rs_ <sup>2</sup> <sup>_−_</sup> <sup>_RsR_</sup> <sup>cos</sup> <sup>_θ_</sup> <sup>and</sup> where from the geometric relations shown in Fig. 6, we have cos _α_ <u>=</u> _<u>Rs</u>_ <sup>2</sup> _Rs_ sin _α_ = _R_ sin _β_, and cos _β_ = _R_ <sup>2</sup> + _c_ <sup>2</sup> _−_ _Rs_ <sup>2</sup> <sup>_/_</sup> <sup>(2</sup> <sup>_Rc_</sup> <sup>)</sup> <sup>with</sup> <sup>_c_</sup> <sup>=</sup> ~~�~~ _R_ <sup>2</sup> + _Rs_ <sup>2</sup> <sup>_−_</sup> <sup>_RsR_</sup> <sup>cos</sup> <sup>_θ_</sup> <sup>and</sup> _β_ + _θ_ 0 = _π_ . By substituting the geometric relations into (4), the final droplet radius _R_ can be determined as a function of the droplet volume _V_ and _θ_ . First, the mesh dependency of our numerical results was investigated. Three alternative meshes were considered for this purpose _L_ = 50, 100, and 200. Periodic conditions were introduced at the boundaries in _x_ - and _y_ -directions. The results after reaching a steady state are illustrated in Fig. 7 for two contact angles, corresponding to a hydrophilic ( _θ_ = 30 <sup>_◦_</sup> ) and a hydrophobic ( _θ_ = 150 <sup>_◦_</sup> ) surface. As Fig. 7 shows, we can see that the interface of the droplet is almost identical for meshes 100 _×_ 100 _×_ 200 and 200 _×_ 200 _×_ 400. Therefore, we use the 100 _×_ 100 _×_ 200 mesh for the rest of the simulations in this section. This choice is validated by the mesh convergence study in Fig. 8, which involved the use of five mesh configurations of the type _Nx × Nx ×_ 2 _Nx_, where _Nx_ takes the values 50, 100, 150, 200, and 250. The process entailed calculating the droplet height for each mesh to ensure the accuracy and stability of the simulation. By analyzing the _s_ <sup>2</sup> <sup>_/_</sup> <sup>(2</sup> <sup>_Rc_</sup> <sup>)</sup> <sup>with</sup> <sup>_c_</sup> <sup>=</sup> ~~�~~ _R_ <sup>2</sup> + _Rs_ <sup>2</sup> Fig. 7. Grid independence of the results for a droplet on a spherical surface solid. Comparison between three resolutions for cross-sections through the center of the domain: 50 _×_ 50 _×_ 100 (blue curve), 100 _×_ 100 _×_ 200 (green curve), and 200 _×_ 200 _×_ 400 (red curve) with _θ_ = 30 <sup>_◦_</sup> ( _left_ ) and _θ_ = 150 <sup>_◦_</sup> ( _right_ ) 35 _M. Benioug / Applied and Computational Mechanics 19 (2025) 21–48_ Fig. 8. Grid independence of the results for a droplet on a spherical surface solid. Comparison between five mesh at two contact angles _θ_ = 30 <sup>_◦_</sup> and _θ_ = 150 <sup>_◦_</sup> results, the appropriate mesh size was selected based on its ability to capture the droplet height with minimal computational error and sufficient precision. Fig. 9 shows results for several different contact angles. A comparison between the numerical and analytical values of the maximum height of the droplet was made. The maximum height of the droplet _h_ is the distance between the top of the droplet and the center of the solid sphere as shown in Fig. 6, _h_ = _c_ + _R_ . The wetting/dewetting of the droplet was simulated at seven different surface conditions ranging from hydrophilic to hydrophobic with contact angles values from 15 <sup>_◦_</sup> to 150 <sup>_◦_</sup>, as shown in Fig. 9a–e. Fig. 9f shows the dimensionless value of the droplet height _h/Rs_ depending on the contact angle. These results show a good agreement with the analytical solution. The maximum error is at _θ_ = 30 <sup>_◦_</sup>, and it is about 3 %, though at _θ_ = 15 <sup>_◦_</sup> the contact line shows evidence of distortion and local errors. _3.3._ _Case 3:_ _Layered Poiseuille flow between parallel plates_ The region between two parallel plates, _y_ _∈_ [0 _, L_ ], was divided equally between the heavy and light fluids by setting _ϕ_ ( _y_ ) = _ϕ_ 0( _y_ _−_ _L/_ 2), according to (2) (with _v_ = _y_ ˆ). This results in the heavy fluid occupying the lower half of the channel ( _y_ _∈_ [0 _, L/_ 2]) and the light fluid occupying the upper half ( _y_ _∈_ [ _L/_ 2 _, L_ ]). This setup corresponds to a classical gravity-driven two-phase Poiseuille flow configuration, commonly used to assess the accuracy of multiphase lattice Boltzmann models. A body force was applied in the _x_ -direction to drive the flow between the plates and periodic boundary conditions were applied in the _x_ - and _z_ -directions. The simulations were run in a 2( _L_ + 1) _×_ ( _L_ + 1) _×_ ( _L_ + 1) domain, with _L_ = 84 and bounce-back boundary conditions were applied on the parallel plates (the contact angle is not important here). Two options were investigated for the body force: 1) _F_ _b_ = _F_ 0 ˆ _x_, with _F_ 0 = 5 _×_ 10 <sup>_−_</sup> <sup>8</sup>, similar to [25], and 2) _F_ _b_ = _ϱ_ ( _ϕ_ ) _F_ 0 ˆ _x_ with _F_ 0 = 10 <sup>_−_</sup> <sup>6</sup>, similar to [10]. The density ratio is here _ϱH/ϱL_ = 1 000 and the viscosity ratio is _ηH/ηL_ = 100 to enable direct comparison with these references. The velocity profiles for the first case are shown in Fig. 10. The numerical results using the present method are compared to the velocity-based method from [10] and the moment-based method from [9] as well as the analytical solution with a sharp change in dynamic viscosity, see [25], and a reference high-resolution finite difference solution using the linear interpolation 36 _M. Benioug / Applied and Computational Mechanics 19 (2025) 21–48_ Fig. 9. The final position of a droplet on a spherical surface for different contact angles: (a) initial position of the droplet with _θ_ = 60 <sup>_◦_</sup>, (b) with _θ_ = 30 <sup>_◦_</sup>, (c) with _θ_ = 90 <sup>_◦_</sup>, (d) with _θ_ = 120 <sup>_◦_</sup>, (e) with _θ_ = 150 <sup>_◦_</sup>, (f) comparison between numerical and analytical values for the relative height _h/R_, defined as shown in (a) of _η_ in (22). It is clear that the interpolation of the viscosity in the interface region has major impact on the solution. In order to understand the results, it is useful to note that the analytical solution for the velocity is _ux_ ( _y_ ) = _y_ 0 _<u>C −</u>_ _<u>F</u>_ <u>0</u> _<u>y</u>_ <u>ˆ</u> _η_ ( _ϕ_ (ˆ _y_ )) <sup>d</sup> <sup>_y,_</sup> <sup>ˆ</sup> (48) where _C_ is an integration constant determined by the boundary conditions. Without computing the integral, it is easy to see that the value of 1 _/η_ will determine the velocity profile. In Fig. 2b, it is seen that when using linear interpolation of viscosity, the value of 1 _/η_ is too low in a wide part of the low viscosity region. This is the cause of the deviation from the analytical solution in Fig. 10. This can be partly remedied by using harmonic interpolation of _η_, which results in more accurate results in Fig. 10, but using MRT collisions (see Appendix A) due to stability problems with the low _τ_ seen in Fig. 2c. The most accurate results are of course obtained with a sharp interpolation, but as noted above, this causes stability problems. In the region of light fluid it is clear that the present method performs better than the other LB methods, while in the heavy fluid the moment-based method agrees best with the finite difference solution. The present method performs better than the velocity-based method in both 37 _M. Benioug / Applied and Computational Mechanics 19 (2025) 21–48_ (a) (b) Fig. 10. Velocity profiles for flow between parallel plates driven by a constant body force _F_ _b_ = _F_ 0 ˆ _x_, with density ratio 1 000 and viscosity ratio 100. The heavy fluid is on the left of the domain and the light fluid on the right. The numerical results for the present and previous methods, using linear (21) and harmonic (32) interpolation of viscosity, are compared to the analytical solution found in [25], using a sharp jump in dynamic viscosity, (dashed) and a high resolution finite difference solution using harmonic interpolation of viscosity (solid line). The whole domain is shown in the top figure, showing accuracy in the light phase, while the bottom figure is zoomed in on the heavy fluid region. All profiles correspond to the steady-state solution, after the velocity field has fully developed regions, showing the importance of the improved accuracy in the gradient computations. The present method agrees well with the analytical solution in the heavy fluid, but it is unclear if this is a coincidence. The velocity profiles for the second case with a density-dependent force are shown in Fig. 11 and are compared to a high-resolution finite difference solution using linear interpolation of density and dynamic viscosity. As was also noted by Fakhari et al. [10], the moment-based 38 _M. Benioug / Applied and Computational Mechanics 19 (2025) 21–48_ Fig. 11. Velocity profiles for flow between parallel plates driven by a force proportional to the density (like for example a gravitational force). The results from the lattice Boltzmann methods are compared to a high-resolution finite difference solution. All results use the linear interpolation of viscosity (21), except where the harmonic interpolation (32) is used (triangles). The fluid with high density and viscosity is on the left. The density ratio is 1 000 and the viscosity ratio is 100 method computes an erroneous solution in the heavy fluid and in the interface region. The present method and the velocity-based method [10] produce very similar results, which are very close to the finite difference solution. Note that using the harmonic interpolation (32) results in a bump in the solution due to mismatch between density and viscosity in the transition region. In Fig. 12, the results of a convergence study for the two forcing cases are shown. The number of grid points _N_ was varied while keeping the Cahn number Cn = _ξ/N_ constant. For case 1 with constant force, the harmonic viscosity interpolation (32) and Cn = 5 _/_ 42 were used with an MRT scheme with _τl_ = 2 _._ 0 (to avoid instabilities due to low values of _τ_ in the transition region). For case 2, the linear interpolation (21) and Cn = 4 _/_ 42 were used with the SRT scheme with _τl_ = 1 _._ 0. The density ratio was 1 000 and the viscosity ratio 100. The resulting velocities _ux_ were compared to a very high resolution finite difference solution _u_ <sup>_FD_</sup> _x_ and the relative _L_ 2-norm of the error was computed as - _ux_ ( _yi_ ) _−_ _u_ <sup>_FD_</sup> _x_ �2 <sup>_FD_</sup> _x_ <sup>(</sup> <sup>_yi_</sup> <sup>)</sup> _||δu||_ 2 = ~~�~~ - _N_ _i_ =1 ~~<u>�</u>~~ - _N_ _i_ =1 _._ (49) ( _u_ <sup>_FD_</sup> _x_ <sup>(</sup> <sup>_yi_</sup> <sup>))2</sup> The present method using the gradient computations in Section 2.3.3 was compared to the original velocity based method by Fakhari et al. [10]. The results show second-order convergence in all cases (contrary to the results in [10]), but with significantly lower errors for the present method (by a factor of 15 and 6, respectively, for the two cases). This shows the importance of the logarithm-based gradient computations to improve the accuracy at high density ratios. 39 _M. Benioug / Applied and Computational Mechanics 19 (2025) 21–48_ Fig. 12. Convergence study for the flows between parallel plates with a constant force (squares, solid lines) and density-dependent force _F_ = _ϱ_ ( _ϕ_ ) _F_ 0 (circles, dashed lines), at density ratio 1 000 and viscosity ratio 100. Results for the present scheme, using the gradient computations in Section 2.3.3, (hollow markers) are compared to the original velocity-based scheme (filled markers). Lines are fits in log-logscale with indicated slopes. See text for more details _3.4._ _Case 4:_ _Stationary meniscus in a cylindrical capillary_ Next, we investigate the equilibrium shape of a capillary meniscus in a cylindrical tube. The meniscus at the liquid front adopts a curved shape due to the contact angle _θ_ = 30 <sup>_◦_</sup>, resulting in a pressure difference across the meniscus according to the Young-Laplace relation ∆ _pc_ = <sup><u>2</u></sup> <sup>_<u>σ</u>_</sup> <sup><u>cos</u></sup> <sup>_<u>θ</u>_</sup> _,_ (50) _R_ where _σ_ is the surface tension (here, _σ_ = 0 _._ 001) and _R_ = 15 is the radius of the cylinder. In order to make the meniscus stationary, a counter-acting body force _Fb_ = _−_ ∆ _pc/L_ was applied, where _L_ = 100 is the length of the cylinder. A constant pressure, _p_ = 0, was applied at both ends together with boundary conditions _ϕ_ = 1 and _ϕ_ = 0 at the left and right ends of the cylinder. To correctly simulate, this system requires accurate boundary conditions to get the correct spherical shape of the meniscus, in combination with a correct computation of the chemical potential and pressure gradient. An incorrect pressure drop or capillary force will cause the interface to drift with time, and thus, this test case is an overall indication of the accuracy of the simulation of capillary flows. In Fig. 13a and 13b, the stationary pressure profiles and velocity profiles along a line through the center of the cylinder are shown, respectively. The pressure profiles are compared to an analytical profile with a slope given by _Fb_ and a jump across the meniscus given by (50). The momentum-based method produces the best results, with a very low spurious velocity, while the velocity-based method deviates strongly in the pressure gradient in the heavy fluid, which causes a high spurious velocity and makes the meniscus move with time, which is seen by that the location of the pressure jump is to the right of the other profiles. The present method improves the situation through a more accurate computation of forces, resulting in a more accurate pressure profile and much lower spurious velocity, although the moment-based method is still 40 _M. Benioug / Applied and Computational Mechanics 19 (2025) 21–48_ (a) (b) Fig. 13. Results for the simulation of a stationary meniscus in a cylindrical capillary: (a) the pressure profiles along a line through the center of the cylinder, compared to the pressure profile computed with a slope given by the body force _Fb_ and a jump across the meniscus given by the Young-Laplace relation (50), and (b) the _x_ -velocity profiles along the same center line (ideally, they should all be zero) more accurate. Note that for all methods, there are local vortices formed close to the meniscus, which cause the peaks in the velocity profiles along the center line. What is not seen very clearly in the figure is that the moment-based method yields a different average velocity in the light phase compared to the heavy phase, thus violating the incompressibility condition (4). The velocity-based methods on the contrary yield similar velocities in the two phases, except for a region close to the interface. This effect is also seen in dynamic simulations. _3.5._ _Case 5:_ _Capillary flow in a cylinder_ Capillary rise of a liquid into circular cylindrical capillaries is a standard and widely studied problem with very well documented experimental results [34,38]. Nevertheless, there are many challenges for the correct simulation of this system, including dynamic contact angles dependent on boundary conditions and velocity, initial effects, etc. The Poiseuille law expresses the balance between viscous forces and capillary and hydrostatic forces (neglected inertial effects), resulting in the equation <u>4</u> (51) _R_ <sup>[</sup> <sup>_ηlh_</sup> <sup>+</sup> <sup>_ηg_</sup> <sup>(</sup> <sup>_L −_</sup> <sup>_h_</sup> <sup>)]</sup> <sup>_<u>dh</u>_</sup> _dt_ <sup>=</sup> <sup>_σcos_</sup> <sup>(</sup> <sup>_θ_</sup> <sup>)</sup> for the height _h_ reached by the liquid front at time _t_ . _L_ is the height of the cylinder, _R_ is the radius of the cylinder, _ηl_ is the liquid viscosity, _ηg_ the gas viscosity, _σ_ is the surface tension, and _θ_ is the equilibrium contact angle. If the viscosity of the gas is neglected, integration of (51) leads to the well-known Washburn’s equation _h_ ( _t_ ) <sup>2</sup> _−_ _h_ <sup>2</sup> 0 <sup>=</sup> <sup>_<u>σR</u>_</sup> <sup><u>cos(</u></sup> <sup>_<u>θ</u>_</sup> <sup><u>)</u></sup> _t_ (52) 2 _ηl_ with the initial height _h_ 0 = _h_ ( _t_ = 0). In our case, with the viscosity ratio 55 and a rather short cylinder, the gas viscosity can be safely neglected. 41 _M. Benioug / Applied and Computational Mechanics 19 (2025) 21–48_ Fig. 14. Geometrical set-up of the simulation. The 3D geometry is divided into three parts. The left and right parts colored blue are filled by liquid and in the middle there is initially gas. The left and right part has periodic boundary conditions at all sides. In the middle, there is the true capillary cylinder: The boundary conditions are those of a solid wall with a given contact angle. Periodic boundary conditions are also imposed at the inlet and outlet sides. The experimental results do not correspond to those found by (52). This difference is due to the assumption that the meniscus is spherical in shape and that the contact angle remains constant during fluid penetration into the tube. Several experimental studies have been performed to improve the prediction of the displacement of the liquid interface. All these studies show a change in the contact angle during the process of displacement due to a change in the velocity of the meniscus [5,20,34] and with a very different value compared to the static angle. To validate the accuracy of our model, a comparison was made with the velocity-based method [10] and the momentum-based method [9], as well as with (52). The geometry used is depicted in Fig. 14. The computational domain was [0 _,_ 4 _l_ ] _×_ [0 _, l_ ] _×_ [0 _, l_ ], where _l_ = 50. A horizontal cylindrical capillary of radius _R_ = 0 _._ 3 _l_ was centered at _x_ = 50, _y_ = _l/_ 2, _z_ = _l/_ 2 with height _L_ = 2 _l_ . Initially, the region between _x_ = 64 and _x_ = 188 was filled with gas and the rest was filled with fluid. At the walls of the capillary cylinder, no-slip boundary conditions and a given static contact angle were imposed. Outside the cylinder, periodic boundary conditions were imposed at the top, bottom and lateral surfaces in order to mimic an infinite reservoir. Periodic boundary conditions were also imposed at the inlet and outlet to ensure total conservation of mass inside the system. Measurements of the meniscus dynamic contact angle were made by using the approach from Siebold et al. [37]. In their experimental study, the authors assumed that the meniscus was a portion of sphere and used the following equation to compute the contact angle: _θd_ = <sup>_<u>π</u>_</sup> - <u>2</u> _<u>xm</u>_ 2 <sup>_−_</sup> <sup>2</sup> <sup>arctan</sup> _d_ _._ (53) Here, _xm_ is the height and _d_ is the diameter of the meniscus ( _d_ = 2 _R_ ). This method was used to compute the dynamic contact angle from our numerical results. Fig. 15a–c show the height _h_ reached by the liquid front as a function of time. The present method is compared with the velocity based and the momentum based methods for a range of different equilibrium contact angles _θd_ . The solid straight line shows the profile of the theoretical solution (52), for a value of _θ_ equals to the final value of _θd_ calculated by (53). We can see a good agreement with the theoretical results for all methods, for all the contact angles, at late times. Many studies [29,38] have reported that at the start of the wicking process, it takes time to form the meniscus in a capillary tube and the inertial effects are important. Here, the simulation is started with a flat surface, so the Washburn equation (52) is valid only after some time. This may explain the deviations at early times. 42 _M. Benioug / Applied and Computational Mechanics 19 (2025) 21–48_ (a) (b) (c) (d) Fig. 15. (a)–(c) Comparison of the height of the meniscus in the cylindrical capillary between the numerical solutions and the theoretical solution (solid lines): (a) _θ_ = 30 <sup>_◦_</sup>, (b) _θ_ = 45 <sup>_◦_</sup>, (c) _θ_ = 70 <sup>_◦_</sup>, and (d) effect of the relaxation time using different interpolation schemes The results for the capillary flow using different methods for interpolation of dynamic viscosity (see Section 2.3.4) are shown in Fig. 15d. Both (33) and (34) yield an underestimation of the velocity. In Fig. 2, the dynamic viscosity across the phase interface is plotted for the three interpolation methods. It is clear that both (33) and (34) result in a region of high viscosity which extends into the low viscosity region ( _x_ _>_ 0). Especially using equation (33) results in a region with an artificially high viscosity, several times higher than the viscosity of the most viscous fluid, which implies, in agreement with (51), an underestimation of the liquid velocity. 4. Conclusions In this work, we propose a phase-field lattice Boltzmann model for simulation of immiscible fluids at high density ratios in three space dimensions. An accurate method has been proposed for prescribing the three-phase contact angle on curved boundaries and improvements have been made to the velocity-based model by Fakhari et al. [10] to achieve higher accuracy. 43 _M. Benioug / Applied and Computational Mechanics 19 (2025) 21–48_ The first two test cases of droplets on flat and curved surfaces show the accuracy of the boundary conditions and the volume conservation of the model. Simulations are accurate at least in a range of contact angles from 30 <sup>_◦_</sup> to 150 <sup>_◦_</sup> . Outside this range the simulations are still stable, but there seems to be room for improvement on the boundary conditions for the phasefield equations. The simulations of flow between parallel plates show, as was known before, that the momentum-based model performs very badly at high density ratios. Additionally, we see improvements in accuracy using our model compared to the previous velocity-based model. For the test case of a stationary meniscus, the moment-based method is most accurate in computing the pressure jump across the meniscus, and therefore yields the most stationary meniscus. While our proposed method improves the accuracy of the velocity-based model significantly, it is still not as accurate as the momentum-based method for this test case. Finally, for the dynamic capillary flow, the differences between the three methods are small and they all agree with theory after some time, provided a suitable dynamic contact angle is chosen. In summary, our proposed method increases the accuracy of the computation of force terms and therefore improves the accuracy in all test cases compared to the previous velocity-based model [10]. The momentum-based model [9] performs well in simulating the stationary meniscus, but our results confirm that the proposed velocity-based method yields improved accuracy for layered flows and better consistency in dynamic capillary simulations. The proposed boundary conditions perform well for a wide range of contact angles on flat and curved boundaries. To conclude, our proposed method is a suitable method for high density ratio multi-phase flows in general geometries with improved accuracy compared to existing phase-field models. Future work may include multiple relaxation time variants of the method, higher accuracy no-slip boundary conditions and investigation into more accurate boundary conditions for the phase-field for small contact angles. We will also apply the method to problems like multi-phase flow in porous media. References [1] Aihara, S., Takada, N., Takaki, T., Highly conservative Allen-Cahn-type multi-phase-field model and evaluation of its accuracy, Theoretical and Computational Fluid Dynamics 37 (2023) [639–659. https://doi.org/10.1007/s00162-023-00655-0](https://doi.org/10.1007/s00162-023-00655-0) [2] Ba, Y., Liu, H., Li, Q., Kang, Q., Sun, J., Multiple-relaxation-time color-gradient lattice Boltz mann model for simulating two-phase flows with high density ratio, Physical Review E 94 (2016) [No. 023310. https://doi.org/10.1103/PhysRevE.94.023310](https://doi.org/10.1103/PhysRevE.94.023310) [3] Bibette, J., Calderon, F. L., Poulin, P., Emulsions: Basic principles, Reports on Progress in Physics [62 (1999) 969–1033. https://doi.org/10.1088/0034-4885/62/6/203](https://doi.org/10.1088/0034-4885/62/6/203) [4] Blunt, M. J., Flow in porous media – pore-network models and multiphase flow, Current Opinion in Colloid & Interface Science 6 (3) (2001) 197–207. [https://doi.org/10.1016/S1359-0294(01)00084-X](https://doi.org/10.1016/S1359-0294%0x2801%0x2900084-X) [5] Bracke, M., De Voeght, F., Joos, P., The kinetics of wetting: The dynamic contact angle, Trends in Colloid and Interface Science III, edited by Bothorel, P., Dufourc, E. J., Darmstadt, Steinkopff, [1989, pp. 142–149. https://doi.org/10.1007/BFb0116200](https://doi.org/10.1007/BFb0116200) [6] Brennen, C. E., Fundamentals of multiphase flow, Cambridge University Press, 2005. [https://doi.org/10.1017/CBO9780511807169](https://doi.org/10.1017/CBO9780511807169) [7] d’Humi`eres, D., Ginzburg, I., Krafczyk, M., Lallemand, P., Luo, L.-S., Multiple-relaxation-time lattice Boltzmann models in three dimensions, Philosophical Transaction of the Royal Society A [360 (2002) 437–451. https://doi.org/10.1098/rsta.2001.0955](https://doi.org/10.1098/rsta.2001.0955) 44 _M. Benioug / Applied and Computational Mechanics 19 (2025) 21–48_ [8] Faghri, A., Zhang, Y., Transport phenomena in multiphase systems, Elsevier, 2006. [9] Fakhari, A., Bolster, D., Diffuse interface modeling of three-phase contact line dynamics on curved boundaries: A lattice Boltzmann model for large density and viscosity ratios, Journal of [Computational Physics 334 (2017) 620–638. https://doi.org/10.1016/J.JCP.2017.01.025](https://doi.org/10.1016/J.JCP.2017.01.025) [10] Fakhari, A., Mitchell, T., Leonardi, C., Bolster, D., Improved locality of the phase-field lattice Boltzmann model for immiscible fluids at high density ratios, Physical Review E 96 (2017) [No. 053301. https://doi.org/10.1103/PhysRevE.96.053301](https://doi.org/10.1103/PhysRevE.96.053301) [11] Geier, M., Sch¨onherr, M., Pasquali, A., Krafczyk, M., The cumulant lattice Boltzmann equation in three dimensions: Theory and validation, Computers & Mathematics with Applications 70 (4) [(2015) 507–547. https://doi.org/10.1016/j.camwa.2015.05.001](https://doi.org/10.1016/j.camwa.2015.05.001) [12] Gharibi, F., Ghavaminia, A., Ashrafizaadeh, M., Zhou, H., Th´evenin, D., High viscosity ratio multicomponent flow simulations in porous media using a pseudo-potential central moment lattice Boltzmann method, Chemical Engineering Science 297 (2024) No. 120289. [https://doi.org/10.1016/j.ces.2024.120289](https://doi.org/10.1016/j.ces.2024.120289) [13] Ginzburg, I., Generic boundary conditions for lattice Boltzmann models and their application to advection and anisotropic dispersion equations, Advances in Water Resources 28 (11) (2005) [1 196–1 216. https://doi.org/10.1016/j.advwatres.2005.03.009](https://doi.org/10.1016/j.advwatres.2005.03.009) [14] Ginzburg, I., d’Humieres, D., Multireflection boundary conditions for lattice Boltzmann models, [Physical Review E 68 (2003) No. 066614. https://doi.org/10.1103/PhysRevE.68.066614](https://doi.org/10.1103/PhysRevE.68.066614) [15] Guo, Z., Zheng, C., Shi, B., Discrete lattice effects on the forcing term in the lattice Boltzmann [method, Physical Review E 65 (2002) No.046308. https://doi.org/10.1103/PhysRevE.65.046308](https://doi.org/10.1103/PhysRevE.65.046308) [16] G¨unther, A., Jensen, K. F., Multiphase microfluidics: From flow characteristics to chemical and [materials synthesis, Lab on a Chip 6 (2006) 1 487–1 503. https://doi.org/10.1039/B609851G](https://doi.org/10.1039/B609851G) [17] Han, C., Multiphase flow in polymer processing, Academic Press, 1981. [https://doi.org/10.1016/B978-0-12-322460-6.X5001-8](https://doi.org/10.1016/B978-0-12-322460-6.X5001-8) [18] He, X., Shan, X., Doolen, G. D., Discrete Boltzmann equation model for nonideal gases, Physical [Review E 57 (1998) R13–R16. https://doi.org/10.1103/PhysRevE.57.R13](https://doi.org/10.1103/PhysRevE.57.R13) [19] Hosseini, S. A., Atif, M., Ansumali, S., Karlin, I. V., Entropic lattice Boltzmann methods: A review, Computers & Fluids 259 (2023) No. 105884. [https://doi.org/10.1016/j.compfluid.2023.105884](https://doi.org/10.1016/j.compfluid.2023.105884) [20] Jiang, T.-S., Oh, S.-G., Slattery, J. C., Correlation for dynamic contact angle, Journal of Colloid [and Interface Science 69 (1) (1979) 74–77. https://doi.org/10.1016/0021-9797(79)90081-X](https://doi.org/10.1016/0021-9797%0x2879%0x2990081-X) [21] Lafarge, T., Boivin, P., Odier, N., Cuenot, B., Improved color-gradient method for lattice Boltz mann modeling of two-phase flows, Physics of Fluids 33 (8) (2021) No. 082110. [https://doi.org/10.1063/5.0061638](https://doi.org/10.1063/5.0061638) [22] Lee, T., Liu, L., Lattice Boltzmann simulations of micron-scale drop impact on dry surfaces, Journal of Computational Physics 229 (20) (2010) 8 045–8 063. [http://doi.org/10.1016/j.jcp.2010.07.007](http://doi.org/10.1016/j.jcp.2010.07.007) [23] Li, Q., Luo, K. H., Kang, Q. J., He, Y. L., Chen, Q., Liu, Q., Lattice Boltzmann methods for multiphase flow and phase-change heat transfer, Progress in Energy and Combustion Science 52 [(2016) 62–105. https://doi.org/10.1016/j.pecs.2015.10.001](https://doi.org/10.1016/j.pecs.2015.10.001) [24] Li, Q., Xing, Y., Huang, R., Equations of state in multiphase lattice Boltzmann method revisited, [Physical Review E 107 (2023) No. 015301. https://doi.org/10.1103/PhysRevE.107.015301](https://doi.org/10.1103/PhysRevE.107.015301) [25] Liang, H., Xu, J., Chen, J., Wang, H., Chai, Z., Shi, B., Phase-field-based lattice Boltzmann modeling of large-density-ratio two-phase flows, Physical Review E 97 (2018) No. 033309. [https://doi.org/10.1103/PhysRevE.97.033309](https://doi.org/10.1103/PhysRevE.97.033309) 45 _M. Benioug / Applied and Computational Mechanics 19 (2025) 21–48_ [26] Liu, L., Lee, T., Wall free energy based polynomial boundary conditions for non-ideal gas lattice Boltzmann equation, International Journal of Modern Physics C 20 (11) (2009) 1 749–1 768. [https://doi.org/10.1142/s0129183109014710](https://doi.org/10.1142/s0129183109014710) [27] Liu, P., Zhao, J., Li, Z., Wang, H., Numerical simulation of multiphase multi-physics flow in underground reservoirs: Frontiers and challenges, Capillarity 12 (3) (2024) 72–79. [https://doi.org/10.46690/capi.2024.09.02](https://doi.org/10.46690/capi.2024.09.02) [28] Liu, Y., Feng, J., Min, J., Zhang, X., Homogenized color-gradient lattice Boltzmann model for im miscible two-phase flow in multiscale porous media, Journal of Applied Physics 135 (18) (2024) [No. 184701. https://doi.org/10.1063/5.0202947](https://doi.org/10.1063/5.0202947) [29] Masoodi, R., Pillai, K. M., Wicking in porous materials: Traditional and modern modeling ap [proaches, Darmstadt, CRC Press, 2013. https://doi.org/10.1201/b12972](https://doi.org/10.1201/b12972) [30] Mei, R., Luo, L.-S., Shyy, W., An accurate curved boundary treatment in the lattice Boltzmann method, Journal of Computational Physics 155 (2) (1999) 307–330. [https://doi.org/10.1006/jcph.1999.6334](https://doi.org/10.1006/jcph.1999.6334) [31] Otomo, H., Sun, C., Inamuro, T., Li, W., Dressler, M., Chen, H., Li, Y., Zhang, R., Lattice Boltzmann models for the hydrodynamic equations in multiphase flow with high density ratio, [Physics of Fluids 37 (4) (2025) No. 043317. https://doi.org/10.1063/5.0260829](https://doi.org/10.1063/5.0260829) [32] Peng, C., Ayala, L. F., Ayala, O. M., Wang, L.-P., Isotropy and spurious currents in pseudo potential multiphase lattice Boltzmann models, Computers & Fluids 191 (2019) No. 104257. [https://doi.org/10.1016/j.compfluid.2019.104257](https://doi.org/10.1016/j.compfluid.2019.104257) [33] Roccon, A., Zonta, F., Soldati, A., Phase-field modeling of complex interface dynamics in drop laden turbulence, Physical Review Fluids 8 (2023) No. 090501. [https://doi.org/10.1103/PhysRevFluids.8.090501](https://doi.org/10.1103/PhysRevFluids.8.090501) [34] Seebergh, J. E., Berg, J. C., Dynamic wetting in the low capillary number regime, Chemical Engineering Science 47 (17–18) (1992) 4 455–4 464. [https://doi.org/10.1016/0009-2509(92)85123-S](https://doi.org/10.1016/0009-2509%0x2892%0x2985123-S) [35] Shao, J. Y., Shu, C., Huang, H. B., Chew, Y. T., Free-energy-based lattice Boltzmann model for the simulation of multiphase flows with density contrast, Physical Review E 89 (2014) No. 033309. [https://doi.org/10.1103/PhysRevE.89.033309](https://doi.org/10.1103/PhysRevE.89.033309) [36] Sharifi, R., Varmazyar, M., Mohammadi, A., Investigating droplet and bubble deformation under shear flow using the multi-pseudo-potential scheme of lattice Boltzmann method, Advances in Applied Mathematics and Mechanics 16 (2) (2024) 519–548. [https://doi.org/10.4208/aamm.OA-2021-0326](https://doi.org/10.4208/aamm.OA-2021-0326) [37] Siebold, A., Nardin, M., Schultz, J., Walliser, A., Oppliger, M., Effect of dynamic contact angle on capillary rise phenomena, Colloids and Surfaces A: Physicochemical and Engineering Aspects [161 (1) (2000) 81–87. https://doi.org/10.1016/S0927-7757(99)00327-1](https://doi.org/10.1016/S0927-7757%0x2899%0x2900327-1) [38] Stange, M., Dreyer, M. E., Rath, H. J., Capillary driven flow in circular cylindrical tubes, Physics [of Fluids 15 (9) (2003) 2 587–2 601. https://doi.org/10.1063/1.1596913](https://doi.org/10.1063/1.1596913) [39] Sukop, M.-C., Thorne, D. T., Lattice Boltzmann modeling: An introduction for geoscientists and [engineers, Springer, 2007. https://doi.org/10.1007/978-3-540-27982-2](https://doi.org/10.1007/978-3-540-27982-2) [40] Sun, Y., Beckermann, C., Sharp interface tracking using the phase-field equation, Journal of Com [putational Physics 220 (2) (2007) 626–653. https://doi.org/10.1016/j.jcp.2006.05.025](https://doi.org/10.1016/j.jcp.2006.05.025) [41] Wang, L., He, K., Wang, H., Phase-field-based lattice Boltzmann model for simulating thermo capillary flows, Physical Review E 108 (2023) No. 055306. [https://doi.org/10.1103/PhysRevE.108.055306](https://doi.org/10.1103/PhysRevE.108.055306) [42] Wu, J., Tan, Z., A conservative Allen-Cahn model for a hydrodynamics coupled phase-field sur 46 _M. Benioug / Applied and Computational Mechanics 19 (2025) 21–48_ factant system, Mathematics and Computers in Simulation 226 (2024) 42–65. [https://doi.org/10.1016/j.matcom.2024.06.016](https://doi.org/10.1016/j.matcom.2024.06.016) [43] Zheng, L., Lee, T., Guo, Z., Rumschitzki, D., Shrinkage of bubbles and drops in the lattice Boltz mann equation method for nonideal gases, Physical Review E 89 (2014) No. 033302. [https://doi.org/10.1103/PhysRevE.89.033302](https://doi.org/10.1103/PhysRevE.89.033302) [44] Zhu, G., Chen, H., Li, A., Sun, S., Yao, J., Fully discrete energy stable scheme for a phase field moving contact line model with variable densities and viscosities, Applied Mathematical [Modelling 83 (2020) 614–639. https://doi.org/10.1016/j.apm.2020.02.022](https://doi.org/10.1016/j.apm.2020.02.022) [45] Zu, Y. Q., He, S., Phase-field-based lattice Boltzmann model for incompressible binary fluid sys tems with density and viscosity contrasts, Physical Review E 87 (2013) No. 043301. [https://doi.org/10.1103/PhysRevE.87.043301](https://doi.org/10.1103/PhysRevE.87.043301) Appendix A – MRT scheme for the fluid The multiple relaxation time (MRT) scheme used here is similar to the scheme presented in [10], but extended to three space dimensions. The collision operator <sup>SRT</sup> _q_ = _−_ <sup><u>1</u></sup> Ω <sup>SRT</sup> _q_ _τ_ - _g_ ¯ _q −_ _g_ ¯ _q_ <sup>_eq_</sup> - (54) in (13) is replaced with the MRT counterpart Ω <sup>MRT</sup> _q_ = _−_ [ _M_ <sup>_−_</sup> <sup>1 ˆ</sup> _SM_ (¯ _g_ _−_ _g_ ¯ <sup>_eq_</sup> )] _q,_ (55) where _g_ = ( _g_ 0 _, . . ., gQ−_ 1) <sup>_T_</sup> . The matrix _M_ is the transformation matrix into moment space, and _S_ ˆ is a diagonal matrix of reciprocal relaxation times. In this work, we have used the matrices for the D3Q19 model described by d’Humieres et al. [7]. Additionally, the viscous force term _F_ _η_ needs to be implemented differently in the MRT setting. Equation (18)2 is therefore replaced by - _Q_ _q_ =1 _η,i_ <sup>MRT</sup> = _−_ <sup>_<u>ν</u>_</sup> _<u>∂ϱ</u>_ _∂xj_ _Fη,i_ <sup>MRT</sup> _c_ <sup>2</sup> _s_ _eqieqj_ [ _M_ <sup>_−_</sup> <sup>1</sup> _SM_ (¯ _g_ _−_ _g_ ¯ <sup>_eq_</sup> )] _q_ _,_ (56) _s_ _d_ _j_ =1 where (20)–(22) are used to compute the required quantities. Appendix B – Units Conversion In lattice Boltzmann (LBM) simulations, the mesh size and time step are commonly set to unity ∆ _x_ LBM = 1 lu _,_ ∆ _t_ LBM = 1 lu _,_ where ”lu” denotes lattice units. These differ from physical units (e.g., meters, seconds), and all LBM quantities must be rescaled accordingly to ensure consistency with the underlying physical model. We use the following convention: Physical quantities are marked with a tilde (e.g., _x_ ˜, _t_ ˜, _ϱ_ ˜), while lattice-based quantities are left unmarked. The conversions between physical and lattice units are defined as ∆ _x_ = _CL_ ˜ _x,_ ∆ _t_ = _Ct_ _t,_ <sup>˜</sup> _ϱ_ = _Cϱ_ ˜ _ϱ,_ 47 _M. Benioug / Applied and Computational Mechanics 19 (2025) 21–48_ where _CL_, _Ct_, and _Cϱ_ are the unit conversion factors for length, time, and density, respectively. To determine the conversion of any derived physical quantity, one must express its SI units in terms of the base dimensions. For example, the surface tension _σ_ ˜ has units [˜ _σ_ ] = <sup><u>N</u></sup> <u>kg</u> m <sup>=</sup> m _·_ s <sup>2</sup> <sup>= kg</sup> <sup>_·_</sup> <sup>m</sup> <sup>_−_</sup> <sup>1</sup> <sup>_·_</sup> <sup>s</sup> <sup>_−_</sup> <sup>2</sup> <sup>_._</sup> Therefore, the relation between the physical and lattice surface tension becomes _σ_ = _Cϱ_ _<u>CL</u>_ <sup>3</sup> _Ct_ <sup>2</sup> _σ,_ ˜ (57) where _σ_ is the surface tension in lattice units. This expression allows one to recover the physical surface tension from simulation parameters. 48

섹션 본문

섹션 본문이 없습니다.

참고문헌

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