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

Upscaled Lattice Boltzmann Method for Simulations of Flows in Heterogeneous Porous Media

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

기본 정보

저자
  1. Jun Li — Center for Numerical Porous Media, King Abdullah University of Science and Technology, Thuwal, Saudi Arabia|||Center for Integrative Petroleum Research, College of Petroleum Engineering and Geosciences, King Fahd University of Petroleum & Minerals, Dhahran, Saudi Arabia
  2. Donald L. Brown — School of Mathematical Sciences, University of Nottingham, Nottingham, UK|||Center for Numerical Porous Media, King Abdullah University of Science and Technology, Thuwal, Saudi Arabia
DOI
10.1155/2017/1740693
저널
Geofluids
발행년도
2017
발행기관
Hindawi Publishing Corporation
피인용수
11
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1155/2017/1740693
토픽
Heat and Mass Transfer in Porous Media
OpenAlex ID
W2963782964

평가 내용

관련도
간접 관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
(6) PEM(고분자전해질막), (7) MEA(막전극접합체)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
porous media, Lattice Boltzmann Method, permeability, Brinkman equation, multiscale
판단 근거
이 논문은 다공성 매질(porous media) 내의 유체 흐름을 시뮬레이션하기 위한 격자 볼츠만 방법(LBM)의 업스케일링 모델을 다룹니다. 이는 수소연료전지(PEMFC)의 핵심 구성 요소인 가습기(5)의 중공사막이나 MEA(7) 내의 가스 확산층(GDL)과 같은 다공성 구조 내 유체 거동을 분석하는 수치 해석 기법에 응용될 수 있습니다.
R&D 활용 포인트
PEMFC용 중공사막(가습기)이나 가스확산층(GDL)의 미세 구조에 따른 가스/수증기 투과 성능 및 유체 흐름을 예측하는 수치 해석 모델링 기술로 활용 가능합니다.
평가 입력
본문 59,315자 중 30,032자 발췌

초록

An upscaled Lattice Boltzmann Method (LBM) for flow simulations in heterogeneous porous media at the Darcy scale is proposed in this paper. In the Darcy-scale simulations, the Shan-Chen force model is used to simplify the algorithm. The proposed upscaled LBM uses coarser grids to represent the average effects of the fine-grid simulations. In the upscaled LBM, each coarse grid represents a subdomain of the fine-grid discretization and the effective permeability with the reduced-order models is proposed as we coarsen the grid. The effective permeability is computed using solutions of local problems (e.g., by performing local LBM simulations on the fine grids using the original permeability distribution) and used on the coarse grids in the upscaled simulations. The upscaled LBM that can reduce the computational cost of existing LBM and transfer the information between different scales is implemented. The results of coarse-grid, reduced-order, simulations agree very well with averaged results obtained using a fine grid.

본문 59,315자

본문 펼치기
## Upscaled Lattice Boltzmann Method for Simulations of Flows in Heterogeneous Porous Media Jun Li <sup>a</sup>, Donald Brown <sup>a</sup> _aCenter_ _for_ _Numerical_ _Porous_ _Media_ _King_ _Abdullah_ _University_ _of_ _Science_ _and_ _Technology_ _Thuwal,_ _Saudi_ _Arabia_ Abstract A upscaled lattice Boltzmann method (LBM) for flow simulations in heterogeneous porous media, at both pore and Darcy scales, is proposed in this paper. In the micro-scale simulations, we model flows using LBM with the modified Guo et al. algorithm where we replace the force model with a simple Shan-Chen force model. The proposed upscaled LBM uses coarser grids to represent the effects of the fine-grid (pore-scale) simulations. For the upscaled LBM, effective properties and reduced-order models are proposed as we coarsen the grid. The effective properties are computed using solutions of local problems (e.g., by performing local LBM simulations) subject to some boundary conditions. A upscaled LBM that can reduce the computational complexity of existing LBM and transfer the information between different scales is implemented. The results of coarse-grid, reduced-order, simulations agree very well with averaged results obtained using a fine grid. _Keywords:_ flows in porous media, Stokes equation, Darcy equation, Brinkman equation, lattice Boltzmann method, force models, upscaled simulations 1. Introduction Detailed flow simulations in porous media are often modeled using the Darcy or Brinkman approximations. In these models, effective parameters, such as absolute and relative permeabilities, depend on the pore-scale geometry. To compute these effective parameters, pore-scale simulations accounting for relevant geometric features in a Representative Elementary Volume (REV) are commonly used as in [1]. The lattice Boltzmann method (LBM) _Preprint_ _submitted_ _to_ _October_ _31,_ _2018_ [2]-[4] is well developed for pore-scale flow simulations and extended to model two-phase systems or two immiscible fluids [5]-[7]. After computing the effective parameters, we are able to perform Darcy-scale simulations using traditional finite volume or element methods used in commercial reservoir simulators. However, these computations are limited to small REVs (compared to the computational grid) and rely on two distinct idealized scale concepts. Flows at the Darcy scale can also be modeled by LBM with a modified algorithm. The model described in [8] allows particles to partially bounce back at the cells (points) with small permeability. In [9]-[10], an external body force, which increases with decreasing permeability, is employed to represent the resistance effect of the porous media to the fluid, where LBM is considered as a unified framework for simulations at all scales. However, these simulations require significant computational resources to converge since the permeability distribution usually has drastic changes in space, which requires a very fine grid for high spatial resolution. To overcome this difficulty, we propose a upscaled LBM scheme that is applicable at the pore and coarser, e.g., Darcy scales. Following the work in [10] where the generalized Navier-Stokes equation [11] is solved, we simplify the equilibrium distribution function. In addition, we replace the original Guo et al. force model [12] used in [10] by the simpler Shan-Chen force model [5]-[6] to improve the efficiency. Then, an upscaled LBM scheme is proposed to improve computational efficiency by using a coarse grid (each coarse point represents a subdomain) with effective permeability. For each subdomain, the effective permeability is computed by a local scheme, which is based on the conservation principle for the average fluxes (see [13] for general overview of multiscale methods). To avoid the iterative process of finding the unknown effective permeability that satisfies the equation for the average flux, we derive an analytical formula. This analytical formula allows finding the average flux in terms of the effective permeability, which is then inversely determined from the computed average flux using the original permeability distribution in the subdomain concerned. The computed effective permeabilities are verified in several benchmark problems, where analytical solutions are known. We implement upscaled LBM simulations using a coarse grid and the computed effective permeability. Agreement between the coarse and fine grid LBM simulations demonstrates the validity of the upscaled LBM scheme. The average effects of the fine-grid simulations are preserved in the coarse-grid simulations in solving the flow 2 equation at any intermediate scale. Our numerical results show that one can achieve a substantial gain in CPU time by using coarse-grid models. In this paper, the upscaled LBM approach is applied to single-phase flows; however, this approach can be used for modeling multi-phase flow phenomena. 2. LBM algorithms for simulating flows in porous media In this section, we discuss LBM algorithms that will be used in our microscale simulations. We first present LBM algorithm based on the force model proposed by Guo et al. in [12], where an additional term is used in the particle evolution equation to represent the force contribution. Then, we present the general Shan-Chen force model for multicomponent and multiphase systems. In our upscaling algorithm, we focus on the single phase and single component model for Brinkmann flows. The Shan-Chen force model allows for a more efficient upscaling procedure and overall cleaner presentation. We refer to [14] for more general discussions on LBM algorithms. First, we will introduce some basic notation associated with LBM. The grid (lattice) points are uniformly distributed inside the computational domain and _c_ = ∆ _x/_ ∆ _t_, where ∆ _x_ is the lattice spacing and ∆ _t_ is the time step. For two-dimensional problems, we use the D2Q9 lattice model [4], where _Q_ = 9 is the total number of lattice velocities, _⃗e_ 0 = (0 _,_ 0), _ω_ 0 = 4 _/_ 9, _eα_ = (cos _θα,_ si _√_ <u>n</u> _θα_ ) _c_, _θα_ = ( _α_ _−_ 1) _π/_ 2, _ωα_ = 1 _/_ 9 for _α_ = 1 to 4, _⃗eα_ = (cos _θα,_ sin _θα_ ) 2 _c_, _θα_ = ( _α −_ 5) _π/_ 2 + _π/_ 4, and _ωα_ = 1 _/_ 36 for _α_ = 5 to 8. _√_ (cos _θα,_ sin _θα_ ) 2 _c_, _θα_ = ( _α −_ 5) _π/_ 2 + _π/_ 4, and _ωα_ = 1 _/_ 36 for _α_ = 5 to 8. For three-dimensional problems, the D3Q19 lattice model [4] with different _eα_ and _ωα_ is used, but the algorithms are unchanged. _2.1._ _LBM_ _algorithm_ _with_ _the_ _Guo_ _force_ _model_ Following the algorithm presented in [10], the evolution algorithm of the distribution function _fα_ ( _⃗x, t_ ) is: _α_ _fα_ ( _⃗x_ + ∆ _t⃗eα, t_ + ∆ _t_ ) = _fα_ ( _⃗x, t_ ) + <sup>_<u>f</u>_</sup> <sup>(eq)</sup> _⃗_ _<u>−</u>_ _<u>fα</u>_ <u>(</u> _⃗x, t_ <u>)</u> + ∆ _tFα_ ( _⃗x, t_ ) _,_ (1) _τ_ _α_ <sup>(eq)</sup> <u>(</u> _⃗x, t_ <u>)</u> _<u>−</u>_ _<u>fα</u>_ <u>(</u> _⃗x, t_ <u>)</u> where the normalized relaxation time _τ_ is appropriately selected to match _√_ the desired effective kinematic viscosity _ν_ eff = _c_ <sup>2</sup> s <sup>(</sup> <sup>_τ −_</sup> <sup>0</sup> <sup>_._</sup> <sup>5)∆</sup> <sup>_t_</sup> <sup>, where</sup> <sup>_c_</sup> <sup>s</sup> <sup>=</sup> <sup>_c/_</sup> 3 _√_ <sup>2</sup> s <sup>(</sup> <sup>_τ −_</sup> <sup>0</sup> <sup>_._</sup> <sup>5)∆</sup> <sup>_t_</sup> <sup>, where</sup> <sup>_c_</sup> <sup>s</sup> <sup>=</sup> <sup>_c/_</sup> the desired effective kinematic viscosity _ν_ eff = _c_ <sup>2</sup> s <sup>(</sup> <sup>_τ −_</sup> <sup>0</sup> <sup>_._</sup> <sup>5)∆</sup> <sup>_t_</sup> <sup>, where</sup> <sup>_c_</sup> <sup>s</sup> <sup>=</sup> <sup>_c/_</sup> 3 is the sound speed. We use the simplified truncated form of the equilibrium distribution function as: 3 _α_ <sup>(eq)</sup> = _ωαρ_ (1 + _⃗_ <sup>_<u>eα ·⃗</u>_</sup> <sup>_<u>u</u>_</sup> <sup>(eq)</sup> _fα_ <sup>(eq)</sup> _⃗_ <sup>_⃗_</sup> _c_ <sup>2</sup> s ) _,_ (2) s where the density is given by _ρ_ ( _⃗x, t_ ) = <sup>�</sup> _α_ <sup>_Q_</sup> =0 <sup>_−_</sup> <sup>1</sup> <sup>_fα_</sup> <sup>(</sup> <sup>_⃗x, t_</sup> <sup>)</sup> <sup>and</sup> <sup>the</sup> <sup>equilibrium</sup> velocity, _⃗u_ <sup>(eq)</sup> ( _⃗x, t_ ) _,_ is defined as: _u_ <sup>(eq)</sup> = - _Q−_ 1 _α_ =0 _⃗_ <sup>_eαfα_</sup> <sup>+</sup> <sup><u>1</u></sup> <u>2</u> _⃗_ <u>2</u> <sup>∆</sup> <sup>_tρ⃗f_</sup> <sup>m</sup> (3) _,_ _ρ_ _⃗_ <sup><u>1</u></sup> <u>2</u> <sup>∆</sup> <sup>_tρ⃗f_</sup> <sup>m</sup> where _⃗f_ m( _⃗x, t_ ) is the force per unit mass. Similarly, _Fα_ ( _⃗x, t_ ) is simplified to: 2 <sup><u>1</u></sup> _τ_ <sup>)</sup> <sup>_⃗_</sup> <sup>_<u>eα ·</u>_</sup> _c_ <sup>2</sup> s <sup>_⃗_</sup> <sup>_<u>f</u>_</sup> <sup><u>m</u></sup> _Fα_ = _ωαρ_ (1 _−_ 2 <sup><u>1</u></sup> <sup>_⃗_</sup> <sup>_⃗_</sup> _._ (4) <sup>_⃗_</sup> s <sup>_⃗_</sup> In the force model proposed by Guo et al. [12], the flow velocity _⃗u_ is equal to _⃗u_ <sup>(eq)</sup> . If _⃗f_ m is constant, _ρ_ and _⃗u_ <sup>(eq)</sup> are computed by _fα_ and then _fα_ <sup>(eq)</sup> and _Fα_ of Eq. (1) are determined explicitly. For solving the pore-scale equation, we consider the following expressions for _⃗f_ m as a linear function of _u_ (see [10]): _f_ m = _−_ <sup>_<u>ϵν</u>_</sup> (5) _κ⃗_ <sup>_u_</sup> <sup>+</sup> <sup>_ϵ⃗G,_</sup> where _ϵ_ is the porosity, _ν_ is the physical kinematic viscosity of the fluid, _κ_ ( _⃗x_ ) is a scalar for the permeability and _⃗G_ ( _⃗x_ ) is the external body force per unit mass. The force introduced above incorporates the porous media heterogeneities through the permeability function _κ_ ( _⃗x_ ) and depends on the microstructure. If _κ_ ( _⃗x_ ) has a high value in the region, then one can assume that this region is highly permeable, while if _κ_ ( _⃗x_ ) has a very low value, then this region is almost impermeable. One can also use a forcing that is nonlinear in _⃗u_ as an extension to cases with nonlinear Forchheimer effects which are discussed in [10] and [15]. In expressions (3) and (5) we have _⃗u_ = _⃗u_ <sup>(eq)</sup> . Using this fact and solving for _⃗u_ in (5), we obtain the explicit formula as in [10]: _u_ = - _Q−_ 1 _α_ =0 _⃗_ <sup>_eαfα_</sup> <sup>+</sup> <sup><u>∆</u></sup> <sup>_<u>t</u>_</sup> <u>2</u> _ρ_ (1 + <sup>_<u>ϵ</u>_</sup> <sup><u>∆</u></sup> <sup>_<u>tν</u>_</sup> 2 _κ_ _⃗_ _._ (6) <sup><u>∆</u></sup> <sup>_<u>tν</u>_</sup> 2 _κ_ <sup>)</sup> _⃗_ <sup>_<u>t</u>_</sup> <u>2</u> <sup>_ϵρ⃗G_</sup> 4 _⃗fm_ is computed by Eq. (5). Then, _fα_ <sup>(eq)</sup> and _Fα_ of Eq. (1) are determined by (2) and (4), respectively. In the incompressible limit with _|⃗u|_ _≪_ _c_ s, the analysis [10] based on the Chapman-Enskog expansion shows that the computed pressure _p_ = _c_ <sup>2</sup> s <sup>_ρ_</sup> <sup>and</sup> flow velocity _⃗u_ converge to the solutions of the following equation: _∇·⃗u_ = 0 _<u>∂∂t⃗u</u>_ <sup>=</sup> <sup>_−_</sup> _ρ_ <sup><u>1</u></sup> 0 _∇p_ + _ν_ eff∆ _⃗u −_ <sup>_<u>ϵν</u>_</sup> (7) _κ⃗_ <sup>_u_</sup> <sup>+</sup> <sup>_ϵ⃗G,_</sup> _<u>∂⃗u</u>_ _ρ_ 0 where _ρ_ 0 is the initial mass density used in LBM simulations. Here, _ρ_ 0 needs not be the real density _ρ_ real of the incompressible fluid; then, the computed _pρ_ real _/ρ_ 0 is used as the pressure of the physical problem. The steady state results of LBM simulations are used as the solutions of the Brinkman equation. The parameters of _ν_ eff, _ϵ_, _ν_ and _κ_ ( _⃗x_ ) can be set independently such that the steady state LBM results converge to the solutions of the continuum Darcy and Stokes equations, respectively. _2.2._ _Simplified_ _LBM_ _algorithm_ _with_ _the_ _Shan-Chen_ _force_ _model_ We now present the general Shan-Chen model and its application to our upscaling scheme. In the original Shan-Chen model [5]-[6], which is proposed to simulate multiphase and multicomponent flows, the number of molecules of the _σ_ <sup>th</sup> component having the velocity _⃗eα_ at _⃗x_ and time _t_ is denoted by _fα_ <sup>_σ_</sup> <sup>(</sup> <sup>_⃗x, t_</sup> <sup>),</sup> <sup>where</sup> <sup>_σ_</sup> <sup>= 1</sup> <sup>_, · · ·_</sup> <sup>_, S_</sup> <sup>and</sup> <sup>_S_</sup> <sup>is</sup> <sup>the</sup> <sup>total</sup> <sup>number</sup> <sup>of</sup> <sup>components.</sup> <sup>The</sup> _fα_ <sup>_σ_</sup> <sup>(</sup> <sup>_⃗x, t_</sup> <sup>),</sup> <sup>where</sup> <sup>_σ_</sup> <sup>= 1</sup> <sup>_, · · ·_</sup> <sup>_, S_</sup> <sup>and</sup> <sup>_S_</sup> <sup>is</sup> <sup>the</sup> <sup>total</sup> <sup>number</sup> <sup>of</sup> <sup>components.</sup> <sup>The</sup> general updating algorithm of _fα_ <sup>_σ_</sup> <sup>(</sup> <sup>_⃗x, t_</sup> <sup>)</sup> <sup>is:</sup> _α_ <sup>_σ_</sup> <sup>(</sup> <sup>_⃗x, t_</sup> <sup>)</sup> <sup>is:</sup> _⃗_ <u>)</u> _<u>−</u>_ _<u>fα</u>_ <sup>_σ_</sup> <sup><u>(</u></sup> <sup>_⃗x, t_</sup> <sup><u>)</u></sup> _,_ (8) _τ_ <sup>_σ_</sup> _fα_ <sup>_σ_</sup> _α_ <sup>_σ_</sup> <sup>(</sup> <sup>_⃗x_</sup> <sup>+ ∆</sup> <sup>_t⃗eα, t_</sup> <sup>+ ∆</sup> <sup>_t_</sup> <sup>) =</sup> <sup>_f_</sup> _α_ <sup>_σ_</sup> _α_ <sup>_σ_</sup> <sup>(</sup> <sup>_⃗x, t_</sup> <sup>) +</sup> <sup>_<u>f</u>_</sup> _α_ <sup>_σ_</sup> <sup>(eq)</sup> _α_ <u>(</u> _⃗x, t_ <u>)</u> _<u>−</u>_ _<u>fα</u>_ <sup>_σ_</sup> <sup>_⃗_</sup> <sup>_σ_</sup> <sup>(eq)</sup> where _σ_ = 1 _, · · ·_ _, S_ and the equilibrium distribution function is defied as: - _⃗_ <sup>_⃗_</sup> + <sup><u>(</u></sup> <sup>_⃗eα ·⃗_</sup> <sup>_<u>uσ</u>_</sup> <sup>(eq))2</sup> 2 _c_ <sup>4</sup> s _−⃗_ <sup>_<u>uσ</u>_</sup> <sup>(eq)</sup> <sup>_<u>·⃗</u>_</sup> <sup>_<u>uσ</u>_</sup> <sup>(eq)</sup> 2 _c_ <sup>2</sup> s _,_ (9) _fα_ <sup>_σ_</sup> <sup>(eq)</sup> = _ρ_ <sup>_σ_</sup> _ωα_ 1 + _⃗_ <sup>_<u>eα ·⃗</u>_</sup> <sup>_<u>uσ</u>_</sup> <sup>(eq)</sup> _⃗_ <sup>_⃗_</sup> _c_ <sup>2</sup> s s where _σ_ = 1 _, · · ·_ _, S_, _ρ_ <sup>_σ_</sup> = <sup>�</sup> _α_ <sup>_Q_</sup> =0 <sup>_−_</sup> <sup>1</sup> _α_ <sup>_σ_</sup> <sup>and</sup> <sup>_⃗uσ_</sup> <sup>(eq)</sup> <sup>is</sup> <sup>computed</sup> <sup>as:</sup> _α_ <sup>_Q_</sup> =0 <sup>_−_</sup> <sup>1</sup> <sup>_f_</sup> _α_ <sup>_σ_</sup> _u_ <sup>_σ_</sup> <sup>(eq)</sup> = <sup>_<u>ρσ⃗u′</u>_</sup> <sup><u>+</u></sup> <sup>_<u>τ σ⃗F σ</u>_</sup> _,_ _σ_ = 1 _, · · ·_ _, S,_ (10) _ρ_ <sup>_σ_</sup> 5 where _⃗F_ <sup>_σ_</sup> ( _⃗x, t_ ) is related to the total volume force acting on the _σ_ <sup>th</sup> component. Generally speaking [16], _⃗F_ <sup>_σ_</sup> contains three parts: the fluid-fluid interaction _⃗F_ <sup>1</sup> <sup>_,σ_</sup>, fluid-solid interaction _⃗F_ <sup>2</sup> <sup>_,σ_</sup> and external force _⃗F_ <sup>3</sup> <sup>_,σ_</sup> . For example, _⃗F_ <sup>3</sup> <sup>_,σ_</sup> = ∆ _tρ_ <sup>_σ⃗_</sup> _G_ for the contribution by the external body force _⃗G_ per unit mass. In Eq. (10), _⃗u_ <sup>_′_</sup> is defined as follows to conserve momentum: _._ (11) <u>1</u> _<u>τ</u>_ <sup>_σ_</sup> - _Q−_ 1 _α_ =0 _⃗_ <sup>_eαf_</sup> _α_ <sup>_σ_</sup> _u_ <sup>_′_</sup> = - _S_ _σ_ =1 _σ_ =1 _α_ =0 _⃗_ <sup>_eαf_</sup> _α_ <sup>_σ_</sup> _<u>τ</u>_ <sup>_σ_</sup> <u>1</u> <u>�</u> _S_ <u>�</u> _Q−_ 1 _σ_ =1 _α_ =0 <sup>_f_</sup> _α_ <sup>_σ_</sup> _τ_ <sup>_σ_</sup> <u>1</u> _τ_ <sup>_σ_</sup> <u>�</u> _Q−_ 1 _α_ =0 <sup>_f_</sup> _α_ <sup>_σ_</sup> _α_ The flow velocity _⃗u_ of the whole fluid is equal to the mean velocity before and after implementing the force term and is computed as follows: - _S_ <sup><u>1</u></sup> _σ_ =1 _⃗_ <sup>_F σ_</sup> <u>2</u> _⃗_ _⃗_ <u>2</u> (12) _._ <u>�</u> _Sσ_ =1 <sup>_ρσ_</sup> _⃗_ _α_ <sup>_σ_</sup> <sup>+</sup> <sup><u>1</u></sup> _u_ = - _S_ _σ_ =1 - _Q−_ 1 _α_ =0 _⃗_ <sup>_eαf_</sup> _α_ <sup>_σ_</sup> Recently [15], phase separation process in a fiber geometry and flow of two immiscible fluids in a cross channel are modeled using the Shan-Chen model, which shows the convenience of the LBM in dealing with complex geometries and manipulating the contact angle. As upscaling in the multiphase phase is a very difficult and often nonlinear procedure, we focus our algorithm first to single-component and single-phase models. For flows of single-component and single-phase, the evolution of _fα_ ( _⃗x, t_ ) without notation _σ_ is: _α_ _fα_ ( _⃗x_ + ∆ _t⃗eα, t_ + ∆ _t_ ) = _fα_ ( _⃗x, t_ ) + <sup>_<u>f</u>_</sup> <sup>(eq)</sup> _⃗_ _<u>−</u>_ _<u>fα</u>_ <u>(</u> _⃗x, t_ <u>)</u> _._ (13) _τ_ _α_ <sup>(eq)</sup> <u>(</u> _⃗x, t_ <u>)</u> _<u>−</u>_ _<u>fα</u>_ <u>(</u> _⃗x, t_ <u>)</u> In order to recover the Brinkman equation, the equilibrium distribution function _fα_ <sup>(eq)</sup> of Eq. (9) is simplified to the above Eq. (2). _ρ_ = <sup>�</sup> _α_ <sup>_Q_</sup> =0 <sup>_−_</sup> <sup>1</sup> <sup>_fα_</sup> <sup>but</sup> _α_ <sup>(eq)</sup> of Eq. (9) is simplified to the above Eq. (2). _ρ_ = <sup>�</sup> _α_ <sup>_Q_</sup> =0 <sup>_−_</sup> <sup>1</sup> tion _fα_ <sup>(eq)</sup> of Eq. (9) is simplified to the above Eq. (2). _ρ_ = <sup>�</sup> _α_ <sup>_Q_</sup> =0 <sup>_−_</sup> <sup>1</sup> <sup>_fα_</sup> <sup>but</sup> _u_ <sup>(eq)</sup> of Eq. (10) is modified as follows: _u_ <sup>(eq)</sup> = <u>�</u> _Q−_ 1 _<u>α</u>_ <u>=0</u> _⃗_ <sup>_<u>eαfα</u>_</sup> <sup><u>+</u></sup> <sup>_<u>τ</u>_</sup> <sup><u>∆</u></sup> <sup>_<u>tρf⃗</u>_</sup> <sup><u>m</u></sup> _,_ (14) _ρ_ where we use ∆ _tρ⃗f_ m to replace the original notation which is equal to the momentum increase per unit volume after ∆ _t_ due to the force effect through the relaxation process. Correspondingly, the flow velocity _⃗u_ of Eq. (12) is modified to: 6 _⃗u_ = - _Q−_ 1 _α_ =0 _⃗_ <sup>_eαfα_</sup> <sup>+</sup> <sup><u>1</u></sup> <u>2</u> _⃗_ <u>2</u> <sup>∆</sup> <sup>_tρ⃗f_</sup> <sup>m</sup> (15) _._ _ρ_ _⃗_ <sup><u>1</u></sup> <u>2</u> <sup>∆</sup> <sup>_tρ⃗f_</sup> <sup>m</sup> When solving the Brinkman equation, _⃗f_ m is a function of _⃗u_ defined by Eq. (5). A comparison of Eqs. (3) and (15) shows that the explicit formula of Eq. (6) to compute _⃗u_ is also valid here. Then, _⃗u_ <sup>(eq)</sup> is computed as: <u>�</u> _Q−_ 1 _<u>α</u>_ <u>=0</u> _⃗_ <sup>_<u>eαfα</u>_</sup> _u_ <sup>(eq)</sup> = 2 _τ⃗u_ + (1 _−_ 2 _τ_ ) _,_ (16) _ρ_ which is obtained by solving Eqs. (14) and (15). As we can see, the computations of _⃗f_ m by Eq. (5) and _Fα_ by Eq. (4) using the computed _⃗f_ m in the original algorithm [10] are avoided in the current simplified algorithm and, therefore, the efficiency is improved. In the incompressible limit with _|⃗u|_ _≪_ _c_ s, the computed pressure _p_ = _c_ <sup>2</sup> s <sup>_ρ_</sup> <sup>and</sup> flow velocity _⃗u_ also converge to the solutions of the above Brinkman-like equation Eq. (7). The same idea can be implemented to Eqs. (8)-(12) to solve multiphase flows at the Darcy scale. In this way, it may be possible to develop multiphase upscaling techniques based on the upscaling scheme presented below. This is a topic for future work. 3. Upscaling scheme For many practical cases, the number of fine discretization points in the whole computational domain due to heterogeneities is very large, making the memory usage and computational time unaffordable. We use an upscaling simulation scheme to reduce the number of points in the fine grid by using a coarse grid with an effective permeability _κ_ <sup>_∗_</sup> ( _⃗x_ ). The upscaled quantities are a tensor quantity even though the input permeability, _κ_ ( _⃗x_ ), is assumed to be a scalar. With this approach we are able to capture fine grid information on the coarse grid by solving many parallel local problems. In our proposed algorithm, the computational domain is divided into many subdomains and each subdomain is represented by a coarse point (see Fig. 1). This substantially reduces the degrees of freedom in the coarsegrid simulation. To compute the effective _κ_ <sup>_∗_</sup> for each subdomain, we impose different external forces _⃗G_ const to drive flows in different directions in the local LBM simulations, which use a fine grid located inside the corresponding 7 Figure 1: Schematic models of the fine and coarse grids. subdomain and the distribution of _κ_ ( _⃗x_ ) on the fine grid. Then, the similar local LBM simulations usually need to be run with a constant tensor _κ_ <sup>_∗_</sup> as shown in Eq. (18). We seek _κ_ <sup>_∗_</sup> such that the average velocities from local fine-grid simulations with the heterogeneous _κ_ ( _⃗x_ ) and homogeneous _κ_ <sup>_∗_</sup>, respectively, are equal (see Eqs. (20)-(21)). The onerous seeking process by adjusting the unknown _κ_ <sup>_∗_</sup> to match the fluxes computed using _κ_ ( _⃗x_ ) is avoided in our simulations since _κ_ <sup>_∗_</sup> can be computed explicitly by Eq. (17). We discuss two-dimensional problems as example. In the local LBM simulations using _κ_ ( _⃗x_ ), we drive flow in the _x_ direction by _⃗G_ <sup>(1)</sup> const <sup>= (</sup> <sup>_G_</sup> <sup>const</sup> <sup>_,_</sup> <sup>0)</sup> simulations using _κ_ ( _⃗x_ ), we drive flow in the _x_ direction by _⃗G_ <sup>(1)</sup> const <sup>= (</sup> <sup>_G_</sup> <sup>const</sup> <sup>_,_</sup> <sup>0)</sup> ~~(~~ 1) and compute the average velocity _⃗uκ_ ( _⃗x_ ) <sup>, where</sup> <sup>_~~·~~_</sup> <sup>is defined as a volume average</sup> ~~(~~ 1) _κ_ ( _⃗x_ ) <sup>, where</sup> <sup>_~~·~~_</sup> <sup>is defined as a volume average</sup> over a subdomain. We also compute _⃗u_ (2) _κ_ ( _⃗x_ ) <sup>by</sup> <sup>using</sup> <sup>_⃗G_</sup> const <sup>(2)</sup> over a subdomain. We also compute _⃗uκ_ ( _⃗x_ ) <sup>by</sup> <sup>using</sup> <sup>_⃗G_</sup> const <sup>(2)</sup> <sup>=</sup> <sup>(0</sup> <sup>_, G_</sup> <sup>const)</sup> <sup>in</sup> another local simulation. Then, _κ_ <sup>_∗_</sup> is computed as follows: - _⃗u_ ~~(~~ _κ_ 1)( _⃗x_ ) <sup>_·_</sup> <sup>(1</sup> <sup>_,_</sup> <sup>0)</sup> <sup>_,⃗_</sup> _u_ _u_ _κ_ <sup>_∗_</sup> = - _κ∗xx_ <sup>_,_</sup> _κ_ <sup>_∗_</sup> _xx_ <sup>_,_</sup> _xy_ _κ_ <sup>_∗_</sup> _yx_ <sup>_,_</sup> _κ_ <sup>_∗_</sup> _yy_ <sup>_∗_</sup> _yx_ <sup>_,_</sup> _κ_ <sup>_∗_</sup> ~~(~~ 2) _κ_ ( _⃗x_ ) <sup>_·_</sup> <sup>(1</sup> <sup>_,_</sup> <sup>0)</sup> (17) ~~(~~ 2) _κ_ ( _⃗x_ ) <sup>_·_</sup> <sup>(0</sup> <sup>_,_</sup> <sup>1)</sup> ~~(~~ 1) _κ_ ( _⃗x_ ) <sup>_·_</sup> <sup>(0</sup> <sup>_,_</sup> <sup>1)</sup> <sup>_,⃗_</sup> _u_ _yy_ - _<u>ν</u>_ = _G_ const Now, we validate that the computed _κ_ <sup>_∗_</sup> satisfies the conservation principle of average fluxes. Assuming that we run local LBM simulations using the constant _κ_ <sup>_∗_</sup> computed by Eq. (17), Eq. (5) is modified to be: _f_ m = _−ϵν_ _κ_ <sup>_∗−_</sup> <sup>1</sup> _·⃗u_ + _ϵ⃗G,_ (18) 8 where _κ_ <sup>_∗−_</sup> <sup>1</sup> is the inverse matrix of _κ_ <sup>_∗_</sup> . The evolution of _fα_ ( _⃗x, t_ ) is described by Eqs. (2), (13), (14), (15) and (18). As _κ_ <sup>_∗_</sup> and _⃗G_ are constant and the periodic boundary conditions are used in local simulations, the relation _fα_ ( _⃗x_ + ∆ _t⃗eα, t_ + ∆ _t_ ) = _fα_ ( _⃗x, t_ ) holds at steady state. For arbitrary ∆ _x_, ∆ _t_, _τ_, _ϵ_, _ν_, _κ_ <sup>_∗_</sup> and _⃗G_ = _⃗G_ const, the steady state solution of _fα_ is independent of _⃗x_ and equal to: _fα_ = _ωαρ_ 0(1 + _⃗_ <sup>_<u>eα</u>_</sup> _⃗_ _c_ <sup>2</sup> s s _·_ <sup>_<u>κ</u>_</sup> <sup>_∗_</sup> <sup>_<u>·⃗</u>_</sup> <sup>_<u>G</u>_</sup> <sup><u>const</u></sup> ) (19) _ν_ which implies that the uniform density is _ρ_ = <sup>�</sup> _α_ <sup>_Q_</sup> =0 <sup>_−_</sup> <sup>1</sup> <sup>_fα_</sup> <sup>_≡_</sup> <sup>_ρ_</sup> <sup>0.</sup> We vali date the solution of Eq. (19) by the following verification: substituting Eq. (19) into Eq. (15) and considering Eq. (18), we get the uniform velocity _u_ _≡_ <sup>_<u>κ</u>_</sup> <sup>_∗_</sup> <sup>_<u>·⃗</u>_</sup> <sup>_<u>G</u>_</sup> <sup><u>const</u></sup> <sup>_⃗_</sup> <sup><u>const</u></sup> . In addition, we get _⃗f_ m _≡_ 0 by Eq. (18) using _⃗u_ . Then, _ν_ substituting _fα_ and _⃗f_ m into Eq. (14), we get _⃗u_ <sup>(eq)</sup> = _⃗u_, which implies that Eq. (13) is satisfied at steady state since we have _fα_ = _fα_ <sup>(eq)</sup> according to Eq. Eq. (13) is satisfied at steady state since we have _fα_ = _fα_ <sup>(eq)</sup> according to Eq. (2) and _fα_ ( _⃗x_ +∆ _t⃗eα, t_ +∆ _t_ ) = _fα_ ( _⃗x, t_ ). According to the uniform solution of _u ≡_ <sup>_<u>κ</u>_</sup> <sup>_∗_</sup> <sup>_<u>·⃗</u>_</sup> <sup>_<u>G</u>_</sup> <sup><u>const</u></sup> <sup>_⃗_</sup> <sup><u>const</u></sup> and Eq. (17), the average velocity _⃗u_ _ν_ ~~(~~ 1) _κ_ <sup>_∗_</sup> <sup>of the local simulation</sup> using constant _κ_ <sup>_∗_</sup> and _⃗G_ <sup>(1)</sup> <sup>(1)</sup> const <sup>= (</sup> <sup>_G_</sup> <sup>const</sup> <sup>_,_</sup> <sup>0)</sup> <sup>satisfies:</sup> (1) _κ_ <sup>_∗_</sup> <sup>=</sup> <sup>_<u>κ</u>_</sup> <sup>_∗_</sup> <sup>_<u>·</u>_</sup> <sup><u>(</u></sup> <sup>_<u>G</u>_</sup> <sup><u>const</u></sup> <sup>_<u>,</u>_</sup> <sup><u>0)</u></sup> = _⃗u_ _ν_ (1) _κ_ <sup>_∗_</sup> <sup>=</sup> <sup>_<u>κ</u>_</sup> <sup>_∗_</sup> <sup>_<u>·</u>_</sup> <sup><u>(</u></sup> <sup>_<u>G</u>_</sup> <sup><u>const</u></sup> <sup>_<u>,</u>_</sup> <sup><u>0)</u></sup> _u_ ~~(~~ 1) (20) _κ_ ( _⃗x_ ) which implies that the average flux is conserved when using the same external force _⃗G_ <sup>(1)</sup> const <sup>but</sup> <sup>different</sup> <sup>permeability</sup> <sup>distributions,</sup> <sup>namely</sup> <sup>using</sup> <sup>the</sup> ternal force _⃗G_ <sup>(1)</sup> const <sup>but</sup> <sup>different</sup> <sup>permeability</sup> <sup>distributions,</sup> <sup>namely</sup> <sup>using</sup> <sup>the</sup> heterogeneous _κ_ ( _⃗x_ ) and homogeneous _κ_ <sup>_∗_</sup>, respectively. When driving flow by _⃗G_ <sup>(2)</sup> const <sup>= (0</sup> <sup>_, G_</sup> <sup>const),</sup> <sup>the</sup> <sup>average</sup> <sup>flux</sup> <sup>is</sup> <sup>also</sup> <sup>conserved:</sup> <sup>(2)</sup> const <sup>= (0</sup> <sup>_, G_</sup> <sup>const),</sup> <sup>the</sup> <sup>average</sup> <sup>flux</sup> <sup>is</sup> <sup>also</sup> <sup>conserved:</sup> (2) _κ_ <sup>_∗_</sup> <sup>=</sup> <sup>_<u>κ</u>_</sup> <sup>_∗_</sup> <sup>_<u>·</u>_</sup> <sup><u>(0</u></sup> <sup>_<u>, G</u>_</sup> <sup><u>const)</u></sup> = _⃗u_ _ν_ (2) _κ_ <sup>_∗_</sup> <sup>=</sup> <sup>_<u>κ</u>_</sup> <sup>_∗_</sup> <sup>_<u>·</u>_</sup> <sup><u>(0</u></sup> <sup>_<u>, G</u>_</sup> <sup><u>const)</u></sup> _u_ ~~(~~ 2) (21) _κ_ ( _⃗x_ ) After getting the value of _κ_ <sup>_∗_</sup> ( _⃗x_ ) at each coarse point on the coarse grid, we implement two LBM simulations on the coarse and fine grids, respectively, inside the whole computational domain. The _κ_ <sup>_∗_</sup> ( _⃗x_ ), ∆ _x_ coarse and ∆ _t_ coarse in the coarse-grid simulation are different from _κ_ ( _⃗x_ ), ∆ _x_ fine and ∆ _t_ fine, respectively. The boundary conditions and the parameters _ρ_ 0, _ν_ eff, _ϵ_, _ν_ and _⃗G_ ( _⃗x_ ) 9 in the coarse-grid simulation are the same as in the fine-grid simulation. In order to clearly verify the validity of the coarse-grid simulation of the whole computational domain, we use periodic boundary conditions to eliminate potential numerical errors which occur when using fixed pressures, for example, at the two ends along the _x_ direction because fixed quantities are numerically imposed at the initial and last points along the _x_ direction and their spatial positions are different when using different ∆ _x_ . 4. Numerical results _4.1._ _Comparison_ _between_ _the_ _original_ _and_ _the_ _proposed_ _LBM_ _algorithms_ First, we verify the proposed simple LBM algorithm using the Shan-Chen force model against the original algorithm using the Guo el al. force model. In the two simulations using different force models, the number of grid points is 100 _×_ 100 and ∆ _x_ = 0 _._ 01 m, ∆ _t_ = 0 _._ 0001 s and _τ_ = 0 _._ 53 making _ν_ eff = 0 _._ 01 m <sup>2</sup> s <sup>_−_</sup> <sup>1</sup>, _ν_ = 2 _×_ 10 <sup>_−_</sup> <sup>6</sup> m <sup>2</sup> s <sup>_−_</sup> <sup>1</sup>, _ρ_ 0 = 1000 kg m <sup>_−_</sup> <sup>3</sup>, _ϵ_ = 0 _._ 8 and _⃗G_ const = (2 _,_ 0) m s <sup>_−_</sup> <sup>2</sup> . The periodic boundary conditions are used and the permeability assigned to each point with index ( _i, j_ ) is: - _κ_ = 10 <sup>_−_</sup> <sup>6</sup> _,_ 31 _≤_ _i, j_ _≤_ 70 (22) _κ_ = 10 <sup>_−_</sup> <sup>5</sup> _,_ otherwise _._ The average pressure over the whole computational domain is subtracted from the computed pressure _p_ = _c_ <sup>2</sup> s <sup>_ρ_</sup> <sup>in all figures of the pressure distributions.</sup> The transient results at the 5000 <sup>th</sup> ∆ _t_ and the steady state results at the 200000 <sup>th</sup> ∆ _t_ are given in Fig. 2 which shows the excellent agreement between the two simulations using different force models. The simulation using the Guo et al. force model takes about 23 minutes of computational time but the simulation using the Shan-Chen force model uses about 21 minutes. In the following LBM simulations, we only use the simple LBM algorithm with the Shan-Chen force model, which is described in Section 2.2. _4.2._ _Verifications_ _of_ _the_ _computed_ _κ_ <sup>_∗_</sup> We use the above setting of parameters but choose different values for _τ_, _G_ const and _κ_ for different problems in Section 4.2. We run simulations in the whole computational domain with prescribed distribution of _κ_ ( _⃗x_ ) and verify the computed effective permeability _κ_ <sup>_∗_</sup> against the analytical solutions. 10 Figure 2: Comparisons of _p_, _u_ and _v_ between two LBM simulations using different force models, transient results at the 5000 <sup>th</sup> ∆ _t_ (top) and the steady state results (bottom), _ν_ eff = 0 _._ 01 m <sup>2</sup> s <sup>_−_</sup> <sup>1</sup>, _⃗G_ const = (2 _,_ 0) m s <sup>_−_</sup> <sup>2</sup> . 11 Table 1: Verification of computed _κ_ <sup>_∗_</sup> _xx_ <sup>,</sup> <sup>_κ_</sup> <sup>1</sup> <sup>= 10</sup> <sup>_−_</sup> <sup>12</sup> <sup>m2</sup> <sup>and</sup> <sup>_ν_</sup> <sup>eff</sup> <sup>= 0</sup> <sup>_._</sup> <sup>01</sup> <sup>m2</sup> <sup>s</sup> <sup>_−_</sup> <sup>1</sup> _<u>κ</u>_ <u>2</u> _<u>κ</u>_ <u>1</u> [2 <sup><u>1</u></sup> <u>2</u> <sup><u>1(</u></sup> _<u>κ</u>_ <sup><u>1</u></sup> <u>1</u> + <sup><u>1</u></sup> _<u>κ</u>_ <u>2</u> )] <sup>_−_</sup> <sup>1</sup> _κ_ <sup>_∗_</sup> _xx_ <sup>by</sup> <sup>LBM</sup> 2 1 _._ 33333 _×_ 10 <sup>_<u>−</u>_</sup> <sup><u>12</u></sup> 1 _._ 33333 _×_ 10 <sup>_<u>−</u>_</sup> <sup><u>12</u></sup> 10 1 _._ 81818 _×_ 10 <sup>_−_</sup> <sup>12</sup> 1 _._ 81818 _×_ 10 <sup>_−_</sup> <sup>12</sup> 50 1 _._ 96078 _×_ 10 <sup>_−_</sup> <sup>12</sup> 1 _._ 96078 _×_ 10 <sup>_−_</sup> <sup>12</sup> 100 1 _._ 98019 _×_ 10 <sup>_−_</sup> <sup>12</sup> 1 _._ 98019 _×_ 10 <sup>_−_</sup> <sup>12</sup> 1000 1 _._ 99800 _×_ 10 <sup>_−_</sup> <sup>12</sup> 1 _._ 99800 _×_ 10 <sup>_−_</sup> <sup>12</sup> 10000 1 _._ 99980 _×_ 10 <sup>_−_</sup> <sup>12</sup> 1 _._ 99979 _×_ 10 <sup>_−_</sup> <sup>12</sup> <u>100000</u> <u>1</u> _<u>.</u>_ <u>99998</u> _<u>×</u>_ <u>10</u> <sup>_−_</sup> <sup>12</sup> <u>1</u> _<u>.</u>_ <u>99998</u> _<u>×</u>_ <u>10</u> <sup>_−_</sup> <sup>12</sup> _4.2.1._ _Layered_ _distribution_ _of_ _κ_ Here, we uniformly divide the whole domain into 10 layers parallel to the _y_ axis. The odd number layers have _κ_ 1 = 10 <sup>_−_</sup> <sup>12</sup> m <sup>2</sup> and _κ_ 2 in the even number layers is constant with values shown in Table 1 for different cases. Flow is driven in the _x_ direction by a uniform _⃗G_ const = (2 _,_ 0) m s <sup>_−_</sup> <sup>2</sup> . _τ_ = 0 _._ 53 and so _ν_ eff = 0 _._ 01 m <sup>2</sup> s <sup>_−_</sup> <sup>1</sup> . The results in Table 1 show that the computed _κ_ <sup>_∗_</sup> _xx_ by LBM agrees exactly with the analytical solution although the analytical formula is derived from the Darcy equation. This is because the steady state velocity is uniform and so the LBM simulations based on the Brinkman equation with nonzero _ν_ eff actually yield the solutions of the Darcy equation at steady state. When driving flow in the _y_ direction by setting _⃗G_ const = (0 _,_ 2) m s <sup>_−_</sup> <sup>2</sup>, the velocity distribution along the _x_ direction is nonuniform. We set _τ_ = 0 _._ 5 such that _ν_ eff = 0 m <sup>2</sup> s <sup>_−_</sup> <sup>1</sup> to recover the Darcy equation. As we can see in Table 2, the computed _κ_ <sup>_∗_</sup> _yy_ <sup>by</sup> <sup>LBM</sup> <sup>simulations</sup> <sup>agrees</sup> <sup>exactly</sup> <sup>with</sup> <sup>the</sup> <sup>analytical</sup> solution. _4.2.2._ _Checkerboard_ _distribution_ _of_ _κ_ As on a checkerboard, we divide the whole computational domain uniformly into 10 _×_ 10 squares with each square containing 10 _×_ 10 points. The black squares of the checkerboard have _κ_ 1 = 10 <sup>_−_</sup> <sup>12</sup> m <sup>2</sup> and _κ_ 2 in the white squares takes different values for different cases as shown in Table 3. Flow is driven by a uniform _⃗G_ const = (2 _,_ 0) m s <sup>_−_</sup> <sup>2</sup> and we set _ν_ eff = 0 m <sup>2</sup> s <sup>_−_</sup> <sup>1</sup> to get the solution of the Darcy equation. The representative distributions of _p_, _u_ 12 Table 2: Verification of computed _κ_ <sup>_∗_</sup> _yy_ <sup>,</sup> <sup>_κ_</sup> <sup>1</sup> <sup>= 10</sup> <sup>_−_</sup> <sup>12</sup> <sup>m2</sup> <sup>and</sup> <sup>_ν_</sup> <sup>eff</sup> <sup>= 0</sup> <sup>m2</sup> <sup>s</sup> <sup>_−_</sup> <sup>1</sup> _<u>κ</u>_ <u>2</u> _<u>κ</u>_ <u>1</u> <u>1</u> <u>2</u> <sup>(</sup> <sup>_κ_</sup> <sup>1 +</sup> <sup>_κ_</sup> <sup>2)</sup> _κ_ <sup>_∗_</sup> <sup>_∗_</sup> _yy_ <sup>by</sup> <sup>LBM</sup> 2 1 _._ 500000 _×_ 10 <sup>_<u>−</u>_</sup> <sup><u>12</u></sup> 1 _._ 499999 _×_ 10 <sup>_<u>−</u>_</sup> <sup><u>12</u></sup> 10 5 _._ 500000 _×_ 10 <sup>_−_</sup> <sup>12</sup> 5 _._ 499999 _×_ 10 <sup>_−_</sup> <sup>12</sup> 50 25 _._ 50000 _×_ 10 <sup>_−_</sup> <sup>12</sup> 25 _._ 49999 _×_ 10 <sup>_−_</sup> <sup>12</sup> 100 50 _._ 50000 _×_ 10 <sup>_−_</sup> <sup>12</sup> 50 _._ 49999 _×_ 10 <sup>_−_</sup> <sup>12</sup> 1000 500 _._ 5000 _×_ 10 <sup>_−_</sup> <sup>12</sup> 500 _._ 4999 _×_ 10 <sup>_−_</sup> <sup>12</sup> 10000 5000 _._ 500 _×_ 10 <sup>_−_</sup> <sup>12</sup> 5000 _._ 499 _×_ 10 <sup>_−_</sup> <sup>12</sup> <u>100000</u> <u>50000</u> _<u>.</u>_ <u>50</u> _<u>×</u>_ <u>10</u> <sup>_−_</sup> <sup>12</sup> <u>50000</u> _<u>.</u>_ <u>49</u> _<u>×</u>_ <u>10</u> <sup>_−_</sup> <sup>12</sup> Figure 3: Distributions of _p_, _u_ and _v_, _ν_ eff = 0 m <sup>2</sup> s <sup>_−_</sup> <sup>1</sup>, _⃗G_ const = (2 _,_ 0) m s <sup>_−_</sup> <sup>2</sup>, _κ_ 1 = 10 <sup>_−_</sup> <sup>12</sup> m <sup>2</sup> and <sup>_<u>κ</u>_</sup> <sup><u>2</u></sup> = 2. _κ_ 1 = 2. and _v_ are given in Fig. 3. The results in Table 3 show that the computed _κ_ <sup>_∗_</sup> _xx_ <sup>by</sup> <sup>LBM</sup> <sup>simulations</sup> <sup>agrees</sup> <sup>well</sup> <sup>with</sup> <sup>the</sup> <sup>analytical</sup> <sup>solution</sup> <sup>when</sup> <sup>_<u>κ</u>_</sup> <sup><u>2</u></sup> is _κ_ 1 not very large but deviates significantly in the case of high contrast. This deviation is due to the low spatial resolution of the grid used in the LBM simulations at high contrast of permeability. We refine the grid by increasing the total point number from 100 _×_ 100 to 1000 _×_ 1000 to show improving accuracy. ∆ _x_ and ∆ _t_ are changed to 10 <sup>_−_</sup> <sup>3</sup> m and 10 <sup>_−_</sup> <sup>5</sup> s, respectively. The results given in Table 3 show that the computed _κ_ <sup>_∗_</sup> _xx_ <sup>becomes</sup> <sup>very</sup> <sup>close</sup> <sup>to</sup> <sup>_∗_</sup> _xx_ <sup>by</sup> <sup>LBM</sup> <sup>simulations</sup> <sup>agrees</sup> <sup>well</sup> <sup>with</sup> <sup>the</sup> <sup>analytical</sup> <sup>solution</sup> <sup>when</sup> <sup>_<u>κ</u>_</sup> <sup><u>2</u></sup> _κ_ 1 is results given in Table 3 show that the computed _κ_ <sup>_∗_</sup> _xx_ <sup>becomes</sup> <sup>very</sup> <sup>close</sup> <sup>to</sup> the analytical solution when the permeability ratio is up to 100 but still significantly deviate from the correct value if the permeability ratio is very high, where more points are required to achieve good spatial resolution. 13 Table 3: Verification of computed _κ_ <sup>_∗_</sup> _xx_ <sup>,</sup> <sup>_κ_</sup> <sup>1</sup> <sup>= 10</sup> <sup>_−_</sup> <sup>12</sup> <sup>m2</sup> <sup>and</sup> <sup>_ν_</sup> <sup>eff</sup> <sup>= 0</sup> <sup>m2</sup> <sup>s</sup> <sup>_−_</sup> <sup>1</sup> <sup>_∗_</sup> _xx_ <sup>by</sup> <sup>LBM</sup> <sup>(1000</sup> <sup>_×_</sup> <sup>1000</sup> <sup>points)</sup> _~~<u>κ</u>~~_ <u>2</u> _<u>κ</u>_ <u>1</u> _~~√~~_ _<u>κ</u>_ 1 _<u>κ</u>_ 2 _κ_ <sup>_∗_</sup> <sup>_∗_</sup> _xx_ <sup>by</sup> <sup>LBM</sup> _κ_ <sup>_∗_</sup> 2 1 _._ 41421 _×_ 10 <sup>_<u>−</u>_</sup> <sup><u>12</u></sup> 1 _._ 41418 _×_ 10 <sup>_<u>−</u>_</sup> <sup><u>12</u></sup> 10 3 _._ 16227 _×_ 10 <sup>_−_</sup> <sup>12</sup> 3 _._ 14081 _×_ 10 <sup>_−_</sup> <sup>12</sup> 50 7 _._ 07106 _×_ 10 <sup>_−_</sup> <sup>12</sup> 6 _._ 45938 _×_ 10 <sup>_−_</sup> <sup>12</sup> 7 _._ 01357 _×_ 10 <sup>_−_</sup> <sup>12</sup> 100 10 _._ 0000 _×_ 10 <sup>_−_</sup> <sup>12</sup> 8 _._ 25393 _×_ 10 <sup>_−_</sup> <sup>12</sup> 9 _._ 70489 _×_ 10 <sup>_−_</sup> <sup>12</sup> 1000 31 _._ 6227 _×_ 10 <sup>_−_</sup> <sup>12</sup> 12 _._ 2496 _×_ 10 <sup>_−_</sup> <sup>12</sup> 19 _._ 8897 _×_ 10 <sup>_−_</sup> <sup>12</sup> <u>10000</u> <u>100</u> _<u>.</u>_ <u>000</u> _<u>×</u>_ <u>10</u> <sup>_−_</sup> <sup>12</sup> <u>13</u> _<u>.</u>_ <u>0133</u> _<u>×</u>_ <u>10</u> <sup>_−_</sup> <sup>12</sup> <u>23</u> _<u>.</u>_ <u>2777</u> _<u>×</u>_ <u>10</u> <sup>_−_</sup> <sup>12</sup> _4.3._ _Verifications_ _of_ _the_ _upscaled_ _simulation_ _scheme_ _4.3.1._ _Simulations_ _of_ _Darcy_ _flows_ We choose a two-dimensional 1 m _×_ 1 m domain with periodic boundary conditions and _ϵ_ = 0 _._ 8, _ρ_ 0 = 1000 kg m <sup>_−_</sup> <sup>3</sup>, _ν_ = 2 _×_ 10 <sup>_−_</sup> <sup>6</sup> m <sup>2</sup> s <sup>_−_</sup> <sup>1</sup> . We set _ν_ eff = 0 m <sup>2</sup> s <sup>_−_</sup> <sup>1</sup> by using _τ_ = 0 _._ 5 in the simulations of both fine and coarse grids and also in the calculation of _κ_ <sup>_∗_</sup> ( _⃗x_ ). In order to have obvious variations in the results of the coarse-grid simulation, a nonuniform external force _⃗G_ = (sin _πx,_ sin _πy_ ) m s <sup>_−_</sup> <sup>2</sup> is used and the distribution of permeability _κ_ ( _⃗x_ ) in Fig. 4 is set according to Eq. (23) such that the distribution of _κ_ <sup>_∗_</sup> ( _⃗x_ ) is nonuniform.           _κ_ = _κ_ const _,_ 0 _._ 45 _≤_ _x, y_ _≤_ 0 _._ 55 _κ_ = _κ_ const _,_ 0 _._ 2 _≤_ _x, y_ _≤_ 0 _._ 3 _κ_ = _κ_ const _,_ 0 _._ 7 _≤_ _x, y_ _≤_ 0 _._ 8 _κ_ = _κ_ const _,_ 0 _._ 2 _≤_ _x ≤_ 0 _._ 3 _,_ 0 _._ 7 _≤_ _y_ _≤_ 0 _._ 8 _κ_ = _κ_ const _,_ 0 _._ 7 _≤_ _x ≤_ 0 _._ 8 _,_ 0 _._ 2 _≤_ _y_ _≤_ 0 _._ 3 _κ_ = 10(1 + sin(80 _xπ_ ) cos(80 _yπ_ )) _κ_ const _,_ elsewhere _,_          (23) where _κ_ const = 10 <sup>_−_</sup> <sup>13</sup> m <sup>2</sup> . ∆ _x_ fine = 0 _._ 0025 m and ∆ _t_ fine = 0 _._ 000025 s in the fine-grid simulation. The number of fine points is 400 _×_ 400 inside the whole computational domain which is divided uniformly into 40 _×_ 40 subdomains. The averaged results over each set of 10 _×_ 10 fine points located inside the same subdomain are computed and used to verify the results of the coarsegrid simulation. 14 Figure 4: Distribution of the permeability _κ_ ( _⃗x_ ), _κ_ const = 10 <sup>_−_</sup> <sup>13</sup> . We have _κ_ <sup>_∗_</sup> <sup>_∗_</sup> _xx_ <sup>=</sup> <sup>_κ∗_</sup> <sup>_∗_</sup> _yy_ <sup>=</sup> <sup>_κ_</sup> <sup>const</sup> <sup>and</sup> <sup>_κ∗_</sup> <sup>_∗_</sup> _yx_ <sup>=</sup> <sup>_κ∗_</sup> We have _κ_ <sup>_∗_</sup> _xx_ <sup>=</sup> <sup>_κ∗_</sup> _yy_ <sup>=</sup> <sup>_κ_</sup> <sup>const</sup> <sup>and</sup> <sup>_κ∗_</sup> _yx_ <sup>=</sup> <sup>_κ∗_</sup> _xy_ <sup>=</sup> <sup>0</sup> <sup>inside</sup> <sup>the</sup> <sup>subdomains,</sup> where _κ ≡_ _κ_ const. For subdomains with _κ_ = 10(1+sin(80 _xπ_ ) cos(80 _yπ_ )) _κ_ const, we use _⃗G_ const = (2 _,_ 0) m s <sup>_−_</sup> <sup>2</sup> to drive flow and get _κ_ <sup>_∗_</sup> _xx_ <sup>=</sup> <sup>8</sup> <sup>_._</sup> <sup>485</sup> <sup>_κ_</sup> <sup>const</sup> <sup>and</sup> we use _⃗G_ const = (2 _,_ 0) m s <sup>_−_</sup> <sup>2</sup> to drive flow and get _κ_ <sup>_∗_</sup> _xx_ <sup>=</sup> <sup>8</sup> <sup>_._</sup> <sup>485</sup> <sup>_κ_</sup> <sup>const</sup> <sup>and</sup> _κ_ <sup>_∗_</sup> _yx_ <sup>= 0.</sup> <sup>The</sup> <sup>symmetric</sup> <sup>property</sup> <sup>of</sup> <sup>_κ_</sup> <sup>(</sup> <sup>_⃗x_</sup> <sup>)</sup> <sup>inside</sup> <sup>the</sup> <sup>subdomain</sup> <sup>implies</sup> <sup>that</sup> _κ_ <sup>_∗_</sup> _yx_ <sup>= 0.</sup> <sup>The</sup> <sup>symmetric</sup> <sup>property</sup> <sup>of</sup> <sup>_κ_</sup> <sup>(</sup> <sup>_⃗x_</sup> <sup>)</sup> <sup>inside</sup> <sup>the</sup> <sup>subdomain</sup> <sup>implies</sup> <sup>that</sup> _κ_ <sup>_∗_</sup> _yy_ <sup>=</sup> <sup>_κ∗_</sup> _xx_ <sup>and</sup> <sup>_κ∗_</sup> _xy_ <sup>=</sup> <sup>_κ_</sup> _yx_ <sup>_∗_</sup> <sup>.</sup> <sup>We</sup> <sup>define</sup> <sup>a</sup> <sup>scalar</sup> <sup>_κ∗_</sup> <sup>as</sup> <sup>the</sup> <sup>average</sup> <sup>value</sup> <sup>over</sup> _κ_ <sup>_∗_</sup> _yy_ <sup>=</sup> <sup>_κ∗_</sup> _xx_ <sup>and</sup> <sup>_κ∗_</sup> _xy_ <sup>=</sup> <sup>_κ_</sup> _yx_ <sup>_∗_</sup> <sup>.</sup> <sup>We</sup> <sup>define</sup> <sup>a</sup> <sup>scalar</sup> <sup>_κ∗_</sup> <sup>as</sup> <sup>the</sup> <sup>average</sup> <sup>value</sup> <sup>over</sup> all diagonal components of _κ_ <sup>_∗_</sup> and for all subdomains we have _κ_ <sup>_∗_</sup> = _κ_ <sup>_∗_</sup> I, where I is the identity tensor. Now, Eq. (18), which is a general formula in the coarse-grid simulations, can be replaced by Eq. (5), where we change _κ_ to _κ_ <sup>_∗_</sup> . In the case of _κ_ <sup>_∗_</sup> _≡_ _κ_ <sup>_∗_</sup> I, the algorithm in the coarse-grid simulation is the same as in the fine-grid simulation (see Section 2.2) but they use different scalar permeability distributions, namely _κ_ <sup>_∗_</sup> and _κ_, respectively. In the coarse-grid simulation, ∆ _x_ coarse = 0 _._ 025 m and ∆ _t_ coarse = 0 _._ 00025 s. The number of coarse points is 40 _×_ 40 and the value of _κ_ <sup>_∗_</sup> assigned to each coarse point with index ( _I, J_ ) is: <sup>_∗_</sup> _yy_ <sup>=</sup> <sup>_κ∗_</sup> <sup>_∗_</sup> _xx_ <sup>and</sup> <sup>_κ∗_</sup> <sup>_∗_</sup> _xy_ <sup>=</sup> <sup>_κ∗_</sup>           (24) _κ_ <sup>_∗_</sup> = _κ_ const _,_ 19 _≤_ _I, J_ _≤_ 22 _κ_ <sup>_∗_</sup> = _κ_ const _,_ 9 _≤_ _I, J_ _≤_ 12 _κ_ <sup>_∗_</sup> = _κ_ const _,_ 29 _≤_ _I, J_ _≤_ 32 _κ_ <sup>_∗_</sup> = _κ_ const _,_ 9 _≤_ _I_ _≤_ 12 _,_ 29 _≤_ _J_ _≤_ 32 _κ_ <sup>_∗_</sup> = _κ_ const _,_ 29 _≤_ _I_ _≤_ 32 _,_ 9 _≤_ _J_ _≤_ 12 _κ_ <sup>_∗_</sup> = 8 _._ 485 _κ_ const _,_ otherwise _._          15 Figure 5: Comparisons of _p_, _u_ and _v_ between the fine-grid results (left), fine-grid averaged results (middle) and coarse-grid results using _κ_ <sup>_∗_</sup> (right), _ν_ eff = 0 m <sup>2</sup> s <sup>_−_</sup> <sup>1</sup>, _⃗G_ = (sin _πx,_ sin _πy_ ) m s <sup>_−_</sup> <sup>2</sup>, _κ_ const = 10 <sup>_−_</sup> <sup>13</sup> m <sup>2</sup> . The distributions of the fine and coarse grids inside a representative area are given in Fig. 1. Figs. 5-6 show that the agreement is very good between the two simulations using the fine and coarse grids, respectively. _4.3.2._ _Simulations_ _of_ _Brinkman_ _flows_ The physical problem studied here is similar to that described in Section 4.3.1. The differences are that we increase the value of _κ_ const to be _κ_ const = 10 <sup>_−_</sup> <sup>7</sup> m <sup>2</sup> (cf. _κ_ const = 10 <sup>_−_</sup> <sup>13</sup> m <sup>2</sup> in Section 4.3.1) and set _ν_ eff = 10 <sup>_−_</sup> <sup>5</sup> m <sup>2</sup> s <sup>_−_</sup> <sup>1</sup> such that the contribution by the viscosity term _ν_ eff∆ _⃗u_ is remarkable as shown in Fig. 7, which shows the comparison between the averaged results of two fine-grid simulations using _ν_ eff = 10 <sup>_−_</sup> <sup>5</sup> and 0 m <sup>2</sup> s <sup>_−_</sup> <sup>1</sup>, 16 Figure 6: Detailed comparisons of _p_, _u_ and _v_ between the fine-grid averaged results and coarse-grid results using _κ_ <sup>_∗_</sup>, _ν_ eff = 0 m <sup>2</sup> s <sup>_−_</sup> <sup>1</sup>, _⃗G_ = (sin _πx,_ sin _πy_ ) m s <sup>_−_</sup> <sup>2</sup>, _κ_ const = 10 <sup>_−_</sup> <sup>13</sup> m <sup>2</sup> . respectively. In this regime, flow in some regions is close to Stokes flow while in other regions, flow is close to Darcy flow. Since _ν_ eff is nonzero here, we let _ν_ eff = 10 <sup>_−_</sup> <sup>5</sup> m <sup>2</sup> s <sup>_−_</sup> <sup>1</sup> when computing _κ_ <sup>_∗_</sup> and get _κ_ <sup>_∗_</sup> _xx_ <sup>(</sup> <sup>_κ, ν_</sup> <sup>eff)</sup> <sup>=</sup> here, we let _ν_ eff = 10 <sup>_−_</sup> <sup>5</sup> m <sup>2</sup> s <sup>_−_</sup> <sup>1</sup> when computing _κ_ <sup>_∗_</sup> and get _κ_ <sup>_∗_</sup> _xx_ <sup>(</sup> <sup>_κ, ν_</sup> <sup>eff)</sup> <sup>=</sup> _κ_ <sup>_∗_</sup> _yy_ <sup>(</sup> <sup>_κ, ν_</sup> <sup>eff)</sup> <sup>=</sup> <sup>7</sup> <sup>_._</sup> <sup>367</sup> <sup>_κ_</sup> <sup>const</sup> <sup>and</sup> <sup>_κ∗_</sup> _yx_ <sup>(</sup> <sup>_κ, ν_</sup> <sup>eff)</sup> <sup>=</sup> <sup>_κ∗_</sup> _xy_ <sup>(</sup> <sup>_κ, ν_</sup> <sup>eff)</sup> <sup>=</sup> <sup>0</sup> <sup>for</sup> <sup>subdomains</sup> <sup>_∗_</sup> _yy_ <sup>(</sup> <sup>_κ, ν_</sup> <sup>eff)</sup> <sup>=</sup> <sup>7</sup> <sup>_._</sup> <sup>367</sup> <sup>_κ_</sup> <sup>const</sup> <sup>and</sup> <sup>_κ∗_</sup> <sup>_∗_</sup> _yx_ <sup>(</sup> <sup>_κ, ν_</sup> <sup>eff)</sup> <sup>=</sup> <sup>_κ∗_</sup> _κ_ <sup>_∗_</sup> _yy_ <sup>(</sup> <sup>_κ, ν_</sup> <sup>eff)</sup> <sup>=</sup> <sup>7</sup> <sup>_._</sup> <sup>367</sup> <sup>_κ_</sup> <sup>const</sup> <sup>and</sup> <sup>_κ∗_</sup> _yx_ <sup>(</sup> <sup>_κ, ν_</sup> <sup>eff)</sup> <sup>=</sup> <sup>_κ∗_</sup> _xy_ <sup>(</sup> <sup>_κ, ν_</sup> <sup>eff)</sup> <sup>=</sup> <sup>0</sup> <sup>for</sup> <sup>subdomains</sup> with _κ_ = 10(1 + sin(80 _xπ_ ) cos(80 _yπ_ )) _κ_ const. For subdomains with _κ_ = _κ_ const, _κ_ <sup>_∗_</sup> _xx_ <sup>(</sup> <sup>_κ, ν_</sup> <sup>eff)</sup> <sup>=</sup> <sup>_κ∗_</sup> _yy_ <sup>(</sup> <sup>_κ, ν_</sup> <sup>eff)</sup> <sup>=</sup> <sup>_κ_</sup> <sup>const</sup> <sup>and</sup> <sup>_κ∗_</sup> _yx_ <sup>(</sup> <sup>_κ, ν_</sup> <sup>eff)</sup> <sup>=</sup> <sup>_κ∗_</sup> _xy_ <sup>(</sup> <sup>_κ, ν_</sup> <sup>eff)</sup> <sup>=</sup> <sup>0.</sup> <sup>Thus,</sup> <sup>_∗_</sup> _xx_ <sup>(</sup> <sup>_κ, ν_</sup> <sup>eff)</sup> <sup>=</sup> <sup>_κ∗_</sup> _yy_ <sup>_∗_</sup> _yy_ <sup>(</sup> <sup>_κ, ν_</sup> <sup>eff)</sup> <sup>=</sup> <sup>_κ_</sup> <sup>const</sup> <sup>and</sup> <sup>_κ∗_</sup> <sup>_∗_</sup> _yx_ <sup>(</sup> <sup>_κ, ν_</sup> <sup>eff)</sup> <sup>=</sup> <sup>_κ∗_</sup> _κ_ <sup>_∗_</sup> _xx_ <sup>(</sup> <sup>_κ, ν_</sup> <sup>eff)</sup> <sup>=</sup> <sup>_κ∗_</sup> _yy_ <sup>(</sup> <sup>_κ, ν_</sup> <sup>eff)</sup> <sup>=</sup> <sup>_κ_</sup> <sup>const</sup> <sup>and</sup> <sup>_κ∗_</sup> _yx_ <sup>(</sup> <sup>_κ, ν_</sup> <sup>eff)</sup> <sup>=</sup> <sup>_κ∗_</sup> _xy_ <sup>(</sup> <sup>_κ, ν_</sup> <sup>eff)</sup> <sup>=</sup> <sup>0.</sup> <sup>Thus,</sup> we have _κ_ <sup>_∗_</sup> ( _κ, ν_ eff) equal to 7 _._ 367 _κ_ const I or _κ_ const I . As discussed in Section 4.3.1, we can use a scalar distribution of _κ_ <sup>_∗_</sup> ( _κ, ν_ eff), which is equal to 7 _._ 367 _κ_ const or _κ_ const, in the coarse-grid simulation. We use ∆ _x_ fine = 0 _._ 0025 m, ∆ _t_ fine = 0 _._ 000025 s and _τ_ fine = 0 _._ 50012 in the fine-grid simulation, and use ∆ _x_ coarse = 0 _._ 025 m, ∆ _t_ coarse = 0 _._ 00025 s and _τ_ coarse = 0 _._ 500012 in the coarse-grid simulation. Figs. 8-9 show that the agreement of the coarse-grid simulation using _κ_ <sup>_∗_</sup> ( _κ, ν_ eff) with the fine-grid simulation is very good. In addition, we set _ν_ eff = 0 m <sup>2</sup> s <sup>_−_</sup> <sup>1</sup> when computing _κ_ <sup>_∗,_</sup> <sup>err</sup> and get _κ_ <sup>_∗_</sup> _xx_ <sup>_,_</sup> <sup>err(</sup> <sup>_κ_</sup> <sup>) =</sup> <sup>_κ∗_</sup> _yy_ <sup>_,_</sup> <sup>err(</sup> <sup>_κ_</sup> <sup>) = 8</sup> <sup>_._</sup> <sup>485</sup> <sup>_κ_</sup> <sup>const</sup> <sup>and</sup> <sup>_κ∗_</sup> _yx_ <sup>_,_</sup> <sup>err(</sup> <sup>_κ_</sup> <sup>) =</sup> <sup>_κ_</sup> _xy_ <sup>_∗,_</sup> <sup>err(</sup> <sup>_κ_</sup> <sup>) = 0 for subdomains</sup> <sup>_∗_</sup> _xx_ <sup>_,_</sup> <sup>err(</sup> <sup>_κ_</sup> <sup>) =</sup> <sup>_κ∗_</sup> _yy_ <sup>_,_</sup> <sup>err</sup> <sup>_∗_</sup> _yy_ <sup>_,_</sup> <sup>err(</sup> <sup>_κ_</sup> <sup>) = 8</sup> <sup>_._</sup> <sup>485</sup> <sup>_κ_</sup> <sup>const</sup> <sup>and</sup> <sup>_κ∗_</sup> _yx_ <sup>_,_</sup> <sup>err</sup> <sup>_∗_</sup> _yx_ <sup>_,_</sup> <sup>err(</sup> <sup>_κ_</sup> <sup>) =</sup> <sup>_κ_</sup> _xy_ <sup>_∗,_</sup> <sup>err</sup> _κ_ <sup>_∗_</sup> _xx_ <sup>_,_</sup> <sup>err(</sup> <sup>_κ_</sup> <sup>) =</sup> <sup>_κ∗_</sup> _yy_ <sup>_,_</sup> <sup>err(</sup> <sup>_κ_</sup> <sup>) = 8</sup> <sup>_._</sup> <sup>485</sup> <sup>_κ_</sup> <sup>const</sup> <sup>and</sup> <sup>_κ∗_</sup> _yx_ <sup>_,_</sup> <sup>err(</sup> <sup>_κ_</sup> <sup>) =</sup> <sup>_κ_</sup> _xy_ <sup>_∗,_</sup> <sup>err(</sup> <sup>_κ_</sup> <sup>) = 0 for subdomains</sup> with _κ_ = 10(1 + sin(80 _xπ_ ) cos(80 _yπ_ )) _κ_ const. For subdomains with _κ_ = _κ_ const, _κ_ <sup>_∗_</sup> _xx_ <sup>_,_</sup> <sup>err(</sup> <sup>_κ_</sup> <sup>)</sup> <sup>=</sup> <sup>_κ_</sup> _yy_ <sup>_∗,_</sup> <sup>err(</sup> <sup>_κ_</sup> <sup>)</sup> <sup>=</sup> <sup>_κ_</sup> <sup>const</sup> <sup>and</sup> <sup>_κ∗_</sup> _yx_ <sup>_,_</sup> <sup>err(</sup> <sup>_κ_</sup> <sup>)</sup> <sup>=</sup> <sup>_κ∗_</sup> _xy_ <sup>_,_</sup> <sup>err(</sup> <sup>_κ_</sup> <sup>)</sup> <sup>=</sup> <sup>0,</sup> <sup>where</sup> <sup>we</sup> <sup>still</sup> <sup>_∗_</sup> _xx_ <sup>_,_</sup> <sup>err(</sup> <sup>_κ_</sup> <sup>)</sup> <sup>=</sup> <sup>_κ_</sup> _yy_ <sup>_∗,_</sup> <sup>err</sup> _yy_ <sup>_∗,_</sup> <sup>err(</sup> <sup>_κ_</sup> <sup>)</sup> <sup>=</sup> <sup>_κ_</sup> <sup>const</sup> <sup>and</sup> <sup>_κ∗_</sup> _yx_ <sup>_,_</sup> <sup>err</sup> <sup>_∗_</sup> _yx_ <sup>_,_</sup> <sup>err(</sup> <sup>_κ_</sup> <sup>)</sup> <sup>=</sup> <sup>_κ∗_</sup> _xy_ <sup>_,_</sup> <sup>err</sup> _κ_ <sup>_∗_</sup> _xx_ <sup>_,_</sup> <sup>err(</sup> <sup>_κ_</sup> <sup>)</sup> <sup>=</sup> <sup>_κ_</sup> _yy_ <sup>_∗,_</sup> <sup>err(</sup> <sup>_κ_</sup> <sup>)</sup> <sup>=</sup> <sup>_κ_</sup> <sup>const</sup> <sup>and</sup> <sup>_κ∗_</sup> _yx_ <sup>_,_</sup> <sup>err(</sup> <sup>_κ_</sup> <sup>)</sup> <sup>=</sup> <sup>_κ∗_</sup> _xy_ <sup>_,_</sup> <sup>err(</sup> <sup>_κ_</sup> <sup>)</sup> <sup>=</sup> <sup>0,</sup> <sup>where</sup> <sup>we</sup> <sup>still</sup> use the superscript ’err’ since the local simulation procedure with _ν_ eff = 0 m <sup>2</sup> s <sup>_−_</sup> <sup>1</sup> is wrong although the obtained _κ_ <sup>_∗,_</sup> <sup>err</sup> ( _κ_ ) is the same as the above _κ_ <sup>_∗_</sup> ( _κ, ν_ eff). Now, we have _κ_ <sup>_∗,_</sup> <sup>err</sup> ( _κ_ ) equal to 8 _._ 485 _κ_ const I or _κ_ const I . We use a scalar distribution of _κ_ <sup>_∗,_</sup> <sup>err</sup> ( _κ_ ), which is equal to 8 _._ 485 _κ_ const or _κ_ const, in another coarse-grid simulation. Note that the difference between _κ_ <sup>_∗,_</sup> <sup>err</sup> ( _κ_ ) and _κ_ <sup>_∗_</sup> ( _κ, ν_ eff) is distinct in subdomains with nonuniform _κ_ ( _⃗x_ ). The results of the coarse-grid simulation using _κ_ <sup>_∗,_</sup> <sup>err</sup> ( _κ_ ) are also given in Fig. 8 which shows that the deviation of the coarse-grid simulation using _κ_ <sup>_∗,_</sup> <sup>err</sup> ( _κ_ ) from the fine 17 Figure 7: Comparisons of _p_, _u_ and _v_ between two fine-grid simulations using _ν_ eff = 10 <sup>_−_</sup> <sup>5</sup> and 0 m <sup>2</sup> s <sup>_−_</sup> <sup>1</sup>, respectively, _⃗G_ = (sin _πx,_ sin _πy_ ) m s <sup>_−_</sup> <sup>2</sup>, _κ_ const = 10 <sup>_−_</sup> <sup>7</sup> m <sup>2</sup> . grid simulation is remarkable. Thus, the previous computation of _κ_ <sup>_∗_</sup> ( _κ, ν_ eff) as the effective permeability using nonzero _ν_ eff is accurate for upscaling the Brinkman equation. 5. Conclusions Pore-scale flows are routinely modeled by the LBM simulations due to their ability to handle complex geometries and physics. However, LBM simulations become very expensive as one uses large REVs. In this paper, we propose a upscaled LBM algorithm to model flows at coarse scales with a reduced computational complexity. The effective properties are computed by a local upscaling scheme. In this scheme, the local fine-grid simulations are performed and their results are averaged over the local region to compute effective properties. Effective properties are used in a coarse-grid LBM algorithm to perform the simulations at larger scales. The coarse-grid LBM simulation using the computed effective permeability agrees very well with the fine-grid LBM simulation. In addition, simulation results show that the coarse-grid LBM simulation will deviate significantly from the fine-grid LBM simulation if the effective permeability is computed by neglecting the viscosity term in modeling Brinkman flows. Although the results presented in this paper are encouraging, there is scope for further exploration of some of the underlying approaches. As our intent here was to demonstrate that coarse scale information could be effectively used to design upscaled LBM representations, we did not consider 18 Figure 8: Comparisons of _p_, _u_ and _v_ between the fine-grid averaged results (left), coarse-grid results using _κ_ <sup>_∗_</sup> ( _κ, ν_ eff) (middle) and _κ_ <sup>_∗,_</sup> <sup>err</sup> ( _κ_ ) (right), _ν_ eff = 10 <sup>_−_</sup> <sup>5</sup> m <sup>2</sup> s <sup>_−_</sup> <sup>1</sup>, _⃗G_ = (sin _πx,_ sin _πy_ ) m s <sup>_−_</sup> <sup>2</sup>, _κ_ const = 10 <sup>_−_</sup> <sup>7</sup> m <sup>2</sup> . Figure 9: Detailed comparisons of _p_, _u_ and _v_ between the fine-grid averaged results and coarse-grid results using _κ_ <sup>_∗_</sup> ( _κ, ν_ eff), _ν_ eff = 10 <sup>_−_</sup> <sup>5</sup> m <sup>2</sup> s <sup>_−_</sup> <sup>1</sup>, _⃗G_ = (sin _πx,_ sin _πy_ ) m s <sup>_−_</sup> <sup>2</sup>, _κ_ const = 10 <sup>_−_</sup> <sup>7</sup> m <sup>2</sup> . 19 challenging heterogeneous cases with high-contrast permeability. It is known (e.g., [13] and [17]) that the presence of high heterogeneities, such as channels and high contrast, will cause a decrease in the accuracy of upscaling methods for Darcy flow problems. Similarly, we expect that our upscaled LBM algorithm will require an additional treatment to handle highly heterogeneous cases. These treatments can include oversampling, local-global, or global techniques or possibly upscaled techniques. Some of these treatments can be easily incorporated into our new upscaled LBM framework. 6. Acknowledgements We would like to acknowledge Victor Calo for his helpful discussion on the physical implications of the models. Also, we would like to thank Oleg Iliev for his helpful insights on the upscaling of porous media and validation of the computational results. 7. References References [1] Khan F., Enzmann F., Kersten M., Wiegmann A., and Steiner K. 2012. 3D simulation of the permeability tensor in a soil aggregate on basis of nanotomographic imaging and LBE solver, _Journal_ _of_ _Soils_ _and_ _Sedi-_ _ments_ 12 : 86-96. [2] McNamara G. R., and Zanetti G. 1988. Use of the Boltzmann equation to simulate lattice-gas automata, _Physical_ _Review_ _Letters_ 61 : 23322335. [3] Chen H., Chen S., and Matthaeus W. H. 1992. Recovery of the Navier Stokes equations using a lattice-gas Boltzmann method, _Physical Review_ _A_ 45 : 5339-5342. [4] Qian Y.H., d’Humieres D., and Lallemand P. 1992. Lattice BGK models for Navier-Stokes equation, _Europhysics_ _Letters_ 17 : 479-484. [5] Shan X., and Chen H. 1993. Lattice Boltzmann model for simulating flows with multiple phases and components, _Physical_ _Review_ _E_ 47 : 1815-1820. 20 [6] Shan X., and Chen H. 1994. Simulation of nonideal gases and liquid-gas phase transitions by the lattice Boltzmann equation, _Physical_ _Review_ _E_ 49 : 2941-2948. [7] Shan X., and Doolen G. 1996. Diffusion in a multicomponent lattice Boltzmann equation model, _Physical_ _Review_ _E_ 54 : 3614-3620. [8] Zhu J., and Ma J. 2013. An improved gray lattice Boltzmann model for simulating fluid flow in multi-scale porous media, _Advances_ _in_ _Water_ _Resources_ 56 : 61-76. [9] Kang Q., Zhang D., and Chen S. 2002. Unified lattice Boltzmann method for flow in multiscale porous media, _Physical_ _Review_ _E_ 66 : 056307. [10] Guo Z., and Zhao T. 2002. Lattice Boltzmann model for incompressible flows through porous media, _Physical_ _Review_ _E_ 66 : 036304. [11] Nithiarasu P., Seetharamu K.N., and Sundararajan T. 1997. Natural convective heat transfer in a fluid saturated variable porosity medium, _International_ _Journal_ _of_ _Heat_ _and_ _Mass_ _Transfer_ 40 : 3955-3967. [12] Guo Z., Zheng C., and Shi B. 2002. Discrete lattice effects on the forcing term in the lattice Boltzmann method, _Physical_ _Review_ _E_ 65 : 046308. [13] Efendiev Y., and Hou Y. T. 2009. _Multiscale_ _finite_ _element_ _methods._ _Theory_ _and_ _applications._ _Surveys_ _and_ _tutorials_ _in_ _the_ _applied_ _mathe-_ _matical_ _sciences_, 4. Springer, New York. [14] Sukop M.C., and Thorne Jr. D.T. 2006. _Lattice_ _Boltzmann_ _modeling:_ _an_ _introduction_ _for_ _geoscientists_ _and_ _engineers_, Springer. [15] Li J., Brown D., Calo V., Efendiev Y., and Iliev O. 2013. _Multiscale_ _lattice_ _Boltzmann_ _method_ _for_ _flow_ _simulations_ _in_ _highly_ _heterogenous_ _porous_ _media_, in: SPE Reservoir Characterization and Simulation Conference and Exhibition, p. 165985. [16] Kang Q., Zhang D., and Chen S. 2002. Displacement of a twodimensional immiscible droplet in a channel, _Physics_ _of_ _Fluids_ 14 : 3203-3214. 21 [17] Qin G., Bi L., Popov P., Efendiev Y., and Espedal S.M. 2010. _An_ _efficient_ _upscaling_ _procedure_ _based_ _on_ _Stokes-Brinkman_ _model_ _and_ _dis-_ _crete_ _fracture_ _network_ _method_ _for_ _naturally_ _fractured_ _carbonate_ _karst_ _reservoirs_, in: International Oil and Gas Conference and Exhibition in China, p. 132236. 22

섹션 본문 52문단 · 26,613자

(제목 없음)

1A upscaled lattice Boltzmann method (LBM) for flow simulations in heterogeneous porous media, at both pore and Darcy scales, is proposed in this paper. In the micro-scale simulations, we model flows using LBM with the modified Guo et al. algorithm where we replace the force model with a simple Shan-Chen force model. The proposed upscaled LBM uses coarser grids to represent the effects of the fine-grid (pore-scale) simulations. For the upscaled LBM, effective properties and reduced-order models are proposed as we coarsen the grid. The effective properties are computed using solutions of local problems (e.g., by performing local LBM simulations) subject to some boundary conditions. A upscaled LBM that can reduce the computational complexity of existing LBM and transfer the information between different scales is implemented. The results of coarse-grid, reduced-order, simulations agree very well with averaged results obtained using a fine grid.

Introduction

2Detailed flow simulations in porous media are often modeled using the Darcy or Brinkman approximations. In these models, effective parameters, such as absolute and relative permeabilities, depend on the pore-scale geometry. To compute these effective parameters, pore-scale simulations accounting for relevant geometric features in a Representative Elementary Volume (REV) are commonly used as in [1]. The lattice Boltzmann method (LBM) [2]- [4] is well developed for pore-scale flow simulations and extended to model two-phase systems or two immiscible fluids [5]- [7]. After computing the effective parameters, we are able to perform Darcy-scale simulations using traditional finite volume or element methods used in commercial reservoir simulators. However, these computations are limited to small REVs (compared to the computational grid) and rely on two distinct idealized scale concepts.

3Flows at the Darcy scale can also be modeled by LBM with a modified algorithm. The model described in [8] allows particles to partially bounce back at the cells (points) with small permeability. In [9]- [10], an external body force, which increases with decreasing permeability, is employed to represent the resistance effect of the porous media to the fluid, where LBM is considered as a unified framework for simulations at all scales. However, these simulations require significant computational resources to converge since the permeability distribution usually has drastic changes in space, which requires a very fine grid for high spatial resolution. To overcome this difficulty, we propose a upscaled LBM scheme that is applicable at the pore and coarser, e.g., Darcy scales.

4Following the work in [10] where the generalized Navier-Stokes equation [11] is solved, we simplify the equilibrium distribution function. In addition, we replace the original Guo et al. force model [12] used in [10] by the simpler Shan-Chen force model [5]- [6] to improve the efficiency. Then, an upscaled LBM scheme is proposed to improve computational efficiency by using a coarse grid (each coarse point represents a subdomain) with effective permeability. For each subdomain, the effective permeability is computed by a local scheme, which is based on the conservation principle for the average fluxes (see [13] for general overview of multiscale methods). To avoid the iterative process of finding the unknown effective permeability that satisfies the equation for the average flux, we derive an analytical formula. This analytical formula allows finding the average flux in terms of the effective permeability, which is then inversely determined from the computed average flux using the original permeability distribution in the subdomain concerned.

5The computed effective permeabilities are verified in several benchmark problems, where analytical solutions are known. We implement upscaled LBM simulations using a coarse grid and the computed effective permeability. Agreement between the coarse and fine grid LBM simulations demonstrates the validity of the upscaled LBM scheme. The average effects of the fine-grid simulations are preserved in the coarse-grid simulations in solving the flow equation at any intermediate scale. Our numerical results show that one can achieve a substantial gain in CPU time by using coarse-grid models. In this paper, the upscaled LBM approach is applied to single-phase flows; however, this approach can be used for modeling multi-phase flow phenomena.

LBM algorithms for simulating flows in porous media

6In this section, we discuss LBM algorithms that will be used in our microscale simulations. We first present LBM algorithm based on the force model proposed by Guo et al. in [12], where an additional term is used in the particle evolution equation to represent the force contribution. Then, we present the general Shan-Chen force model for multicomponent and multiphase systems. In our upscaling algorithm, we focus on the single phase and single component model for Brinkmann flows. The Shan-Chen force model allows for a more efficient upscaling procedure and overall cleaner presentation. We refer to [14] for more general discussions on LBM algorithms.

7First, we will introduce some basic notation associated with LBM. The grid (lattice) points are uniformly distributed inside the computational domain and c = ∆x/∆t, where ∆x is the lattice spacing and ∆t is the time step. For two-dimensional problems, we use the D2Q9 lattice model [4], where Q = 9 is the total number of lattice velocities, e 0 = (0, 0), ω 0 = 4/9, e α = (cos θ α , sin θ α )c, θ α = (α − 1)π/2, ω α = 1/9 for α = 1 to 4, e α = (cos θ α , sin θ α ) √ 2c, θ α = (α − 5)π/2 + π/4, and ω α = 1/36 for α = 5 to 8. For three-dimensional problems, the D3Q19 lattice model [4] with different e α and ω α is used, but the algorithms are unchanged.

LBM algorithm with the Guo force model

8Following the algorithm presented in [10], the evolution algorithm of the distribution function f α ( x, t) is:

9where the normalized relaxation time τ is appropriately selected to match the desired effective kinematic viscosity ν eff = c 2 s (τ −0.5)∆t, where c s = c/ √ 3 is the sound speed. We use the simplified truncated form of the equilibrium distribution function as:

10where the density is given by ρ( x, t) = Q−1 α=0 f α ( x, t) and the equilibrium velocity, u (eq) ( x, t), is defined as:

11where f m ( x, t) is the force per unit mass. Similarly, F α ( x, t) is simplified to:

12In the force model proposed by Guo et al. [12], the flow velocity u is equal to u (eq) . If f m is constant, ρ and u (eq) are computed by f α and then f (eq) α and F α of Eq. (1) are determined explicitly. For solving the pore-scale equation, we consider the following expressions for f m as a linear function of u (see [10]):

13where is the porosity, ν is the physical kinematic viscosity of the fluid, κ( x) is a scalar for the permeability and G( x) is the external body force per unit mass. The force introduced above incorporates the porous media heterogeneities through the permeability function κ( x) and depends on the microstructure. If κ( x) has a high value in the region, then one can assume that this region is highly permeable, while if κ( x) has a very low value, then this region is almost impermeable. One can also use a forcing that is nonlinear in u as an extension to cases with nonlinear Forchheimer effects which are discussed in [10] and [15]. In expressions (3) and (5) we have u = u (eq) . Using this fact and solving for u in (5), we obtain the explicit formula as in [10]:

14.

15(6) f m is computed by Eq. (5). Then, f (eq) α and F α of Eq. (1) are determined by (2) and (4), respectively.

16In the incompressible limit with | u| c s , the analysis [10] based on the Chapman-Enskog expansion shows that the computed pressure p = c 2 s ρ and flow velocity u converge to the solutions of the following equation:

17where ρ 0 is the initial mass density used in LBM simulations. Here, ρ 0 needs not be the real density ρ real of the incompressible fluid; then, the computed pρ real /ρ 0 is used as the pressure of the physical problem. The steady state results of LBM simulations are used as the solutions of the Brinkman equation. The parameters of ν eff , , ν and κ( x) can be set independently such that the steady state LBM results converge to the solutions of the continuum Darcy and Stokes equations, respectively.

Simplified LBM algorithm with the Shan-Chen force model

18We now present the general Shan-Chen model and its application to our upscaling scheme. In the original Shan-Chen model [5]- [6], which is proposed to simulate multiphase and multicomponent flows, the number of molecules of the σ th component having the velocity e α at x and time t is denoted by f σ α ( x, t), where σ = 1, · · · , S and S is the total number of components. The general updating algorithm of f σ α ( x, t) is:

19where σ = 1, · · · , S and the equilibrium distribution function is defied as:

20where σ = 1, · · · , S, ρ σ = Q−1 α=0 f σ α and u σ(eq) is computed as:

21where F σ ( x, t) is related to the total volume force acting on the σ th component. Generally speaking [16], F σ contains three parts: the fluid-fluid interaction F 1,σ , fluid-solid interaction F 2,σ and external force F 3,σ . For example, F 3,σ = ∆tρ σ G for the contribution by the external body force G per unit mass. In Eq. (10), u is defined as follows to conserve momentum:

22The flow velocity u of the whole fluid is equal to the mean velocity before and after implementing the force term and is computed as follows:

23Recently [15], phase separation process in a fiber geometry and flow of two immiscible fluids in a cross channel are modeled using the Shan-Chen model, which shows the convenience of the LBM in dealing with complex geometries and manipulating the contact angle. As upscaling in the multiphase phase is a very difficult and often nonlinear procedure, we focus our algorithm first to single-component and single-phase models. For flows of single-component and single-phase, the evolution of f α ( x, t) without notation σ is:

24In order to recover the Brinkman equation, the equilibrium distribution function f (eq) α of Eq. (9) is simplified to the above Eq. (2). ρ = Q−1 α=0 f α but u (eq) of Eq. (10) is modified as follows:

25where we use ∆tρ f m to replace the original notation which is equal to the momentum increase per unit volume after ∆t due to the force effect through the relaxation process. Correspondingly, the flow velocity u of Eq. (12) is modified to:

26When solving the Brinkman equation, f m is a function of u defined by Eq. (5). A comparison of Eqs. (3) and (15) shows that the explicit formula of Eq. (6) to compute u is also valid here. Then, u (eq) is computed as:

27which is obtained by solving Eqs. (14) and (15).

28As we can see, the computations of f m by Eq. (5) and F α by Eq. (4) using the computed f m in the original algorithm [10] are avoided in the current simplified algorithm and, therefore, the efficiency is improved. In the incompressible limit with | u| c s , the computed pressure p = c 2 s ρ and flow velocity u also converge to the solutions of the above Brinkman-like equation Eq. (7). The same idea can be implemented to Eqs. (8)- (12) to solve multiphase flows at the Darcy scale. In this way, it may be possible to develop multiphase upscaling techniques based on the upscaling scheme presented below. This is a topic for future work.

Upscaling scheme

29For many practical cases, the number of fine discretization points in the whole computational domain due to heterogeneities is very large, making the memory usage and computational time unaffordable. We use an upscaling simulation scheme to reduce the number of points in the fine grid by using a coarse grid with an effective permeability κ * ( x). The upscaled quantities are a tensor quantity even though the input permeability, κ( x), is assumed to be a scalar. With this approach we are able to capture fine grid information on the coarse grid by solving many parallel local problems.

30In our proposed algorithm, the computational domain is divided into many subdomains and each subdomain is represented by a coarse point (see Fig. 1). This substantially reduces the degrees of freedom in the coarsegrid simulation. To compute the effective κ * for each subdomain, we impose different external forces G const to drive flows in different directions in the local LBM simulations, which use a fine grid located inside the corresponding subdomain and the distribution of κ( x) on the fine grid. Then, the similar local LBM simulations usually need to be run with a constant tensor κ * as shown in Eq. (18). We seek κ * such that the average velocities from local fine-grid simulations with the heterogeneous κ( x) and homogeneous κ * , respectively, are equal (see Eqs. (20)-(21)). The onerous seeking process by adjusting the unknown κ * to match the fluxes computed using κ( x) is avoided in our simulations since κ * can be computed explicitly by Eq. (17).

31We discuss two-dimensional problems as example. In the local LBM simulations using κ( x), we drive flow in the x direction by G (1) const = (G const , 0) and compute the average velocity u (1) κ( x) , where · is defined as a volume average over a subdomain. We also compute u (2) κ( x) by using G (2) const = (0, G const ) in another local simulation. Then, κ * is computed as follows:

32κ( x) · (0, 1)

33Now, we validate that the computed κ * satisfies the conservation principle of average fluxes. Assuming that we run local LBM simulations using the constant κ * computed by Eq. (17), Eq. (5) is modified to be:

34where κ * −1 is the inverse matrix of κ * . The evolution of f α ( x, t) is described by Eqs. (2), (13), (14), (15) and (18). As κ * and G are constant and the periodic boundary conditions are used in local simulations, the relation

35holds at steady state. For arbitrary ∆x, ∆t, τ , , ν, κ * and G = G const , the steady state solution of f α is independent of x and equal to:

36which implies that the uniform density is ρ =

37which implies that the average flux is conserved when using the same external force G

38const but different permeability distributions, namely using the heterogeneous κ( x) and homogeneous κ * , respectively. When driving flow by G (2) const = (0, G const ), the average flux is also conserved:

39After getting the value of κ * ( x) at each coarse point on the coarse grid, we implement two LBM simulations on the coarse and fine grids, respectively, inside the whole computational domain. The κ * ( x), ∆x coarse and ∆t coarse in the coarse-grid simulation are different from κ( x), ∆x fine and ∆t fine , respectively. The boundary conditions and the parameters ρ 0 , ν eff , , ν and G( x) in the coarse-grid simulation are the same as in the fine-grid simulation. In order to clearly verify the validity of the coarse-grid simulation of the whole computational domain, we use periodic boundary conditions to eliminate potential numerical errors which occur when using fixed pressures, for example, at the two ends along the x direction because fixed quantities are numerically imposed at the initial and last points along the x direction and their spatial positions are different when using different ∆x.

Comparison between the original and the proposed LBM algorithms

40First, we verify the proposed simple LBM algorithm using the Shan-Chen force model against the original algorithm using the Guo el al. force model. In the two simulations using different force models, the number of grid points is 100×100 and ∆x = 0.01 m, ∆t = 0.0001 s and τ = 0.53 making ν eff = 0.01 m 2 s −1 , ν = 2 × 10 −6 m 2 s −1 , ρ 0 = 1000 kg m −3 , = 0.8 and G const = (2, 0) m s −2 . The periodic boundary conditions are used and the permeability assigned to each point with index (i, j) is:

41The average pressure over the whole computational domain is subtracted from the computed pressure p = c 2 s ρ in all figures of the pressure distributions. The transient results at the 5000 th ∆t and the steady state results at the 200000 th ∆t are given in Fig. 2 which shows the excellent agreement between the two simulations using different force models. The simulation using the Guo et al. force model takes about 23 minutes of computational time but the simulation using the Shan-Chen force model uses about 21 minutes. In the following LBM simulations, we only use the simple LBM algorithm with the Shan-Chen force model, which is described in Section 2.2.

Verifications of the computed κ *

42We use the above setting of parameters but choose different values for τ , G const and κ for different problems in Section 4.2. We run simulations in the whole computational domain with prescribed distribution of κ( x) and verify the computed effective permeability κ * against the analytical solutions.

Layered distribution of κ

43Here, we uniformly divide the whole domain into 10 layers parallel to the y axis. The odd number layers have κ 1 = 10 −12 m 2 and κ 2 in the even number layers is constant with values shown in Table 1 for different cases. Flow is driven in the x direction by a uniform G const = (2, 0) m s −2 . τ = 0.53 and so ν eff = 0.01 m 2 s −1 . The results in Table 1 show that the computed κ * xx by LBM agrees exactly with the analytical solution although the analytical formula is derived from the Darcy equation. This is because the steady state velocity is uniform and so the LBM simulations based on the Brinkman equation with nonzero ν eff actually yield the solutions of the Darcy equation at steady state.

44When driving flow in the y direction by setting G const = (0, 2) m s −2 , the velocity distribution along the x direction is nonuniform. We set τ = 0.5 such that ν eff = 0 m 2 s −1 to recover the Darcy equation. As we can see in Table 2, the computed κ * yy by LBM simulations agrees exactly with the analytical solution.

Checkerboard distribution of κ

45As on a checkerboard, we divide the whole computational domain uniformly into 10 × 10 squares with each square containing 10 × 10 points. The black squares of the checkerboard have κ 1 = 10 −12 m 2 and κ 2 in the white squares takes different values for different cases as shown in Table 3. Flow is driven by a uniform G const = (2, 0) m s −2 and we set ν eff = 0 m 2 s −1 to get the solution of the Darcy equation. The representative distributions of p, u 50.50000 × 10 −12 50.49999 × 10 −12 1000 500.5000 × 10 −12 500.4999 × 10 −12 10000 5000.500 × 10 −12 5000.499 × 10 −12 100000 50000.50 × 10 −12 50000.49 × 10 −12 and v are given in Fig. 3. The results in Table 3 show that the computed κ * xx by LBM simulations agrees well with the analytical solution when κ 2 κ 1 is not very large but deviates significantly in the case of high contrast. This deviation is due to the low spatial resolution of the grid used in the LBM simulations at high contrast of permeability. We refine the grid by increasing the total point number from 100 × 100 to 1000 × 1000 to show improving accuracy. ∆x and ∆t are changed to 10 −3 m and 10 −5 s, respectively. The results given in Table 3 show that the computed κ * xx becomes very close to the analytical solution when the permeability ratio is up to 100 but still significantly deviate from the correct value if the permeability ratio is very high, where more points are required to achieve good spatial resolution. Table 3: Verification of computed κ * xx , κ 1 = 10 −12 m 2 and ν eff = 0 m 2 s −1

. Simulations of Darcy flows

46We choose a two-dimensional 1 m×1 m domain with periodic boundary conditions and = 0.8, ρ 0 = 1000 kg m −3 , ν = 2 × 10 −6 m 2 s −1 . We set ν eff = 0 m 2 s −1 by using τ = 0.5 in the simulations of both fine and coarse grids and also in the calculation of κ * ( x). In order to have obvious variations in the results of the coarse-grid simulation, a nonuniform external force G = (sin πx, sin πy) m s −2 is used and the distribution of permeability κ( x) in Fig. 4 is set according to Eq. (23) such that the distribution of κ * ( x) is nonuniform.

47where κ const = 10 −13 m 2 . ∆x fine = 0.0025 m and ∆t fine = 0.000025 s in the fine-grid simulation. The number of fine points is 400×400 inside the whole computational domain which is divided uniformly into 40×40 subdomains. The averaged results over each set of 10 × 10 fine points located inside the same subdomain are computed and used to verify the results of the coarsegrid simulation. We have κ * xx = κ * yy = κ const and κ * yx = κ * xy = 0 inside the subdomains, where κ ≡ κ const . For subdomains with κ = 10(1+sin(80xπ) cos(80yπ))κ const , we use G const = (2, 0) m s −2 to drive flow and get κ * xx = 8.485κ const and κ * yx = 0. The symmetric property of κ( x) inside the subdomain implies that κ * yy = κ * xx and κ * xy = κ * yx . We define a scalar κ * as the average value over all diagonal components of κ * and for all subdomains we have κ * = κ * I, where I is the identity tensor. Now, Eq. (18), which is a general formula in the coarse-grid simulations, can be replaced by Eq. (5), where we change κ to κ * . In the case of κ * ≡ κ * I, the algorithm in the coarse-grid simulation is the same as in the fine-grid simulation (see Section 2.2) but they use different scalar permeability distributions, namely κ * and κ, respectively. In the coarse-grid simulation, ∆x coarse = 0.025 m and ∆t coarse = 0.00025 s. The number of coarse points is 40 × 40 and the value of κ * assigned to each coarse point with index (I, J) is:

4829 ≤ I, J ≤ 32 κ * = κ const , 9 ≤ I ≤ 12, 29 ≤ J ≤ 32 κ * = κ const , 29 ≤ I ≤ 32, 9 ≤ J ≤ 12 κ * = 8.485κ const , otherwise. The distributions of the fine and coarse grids inside a representative area are given in Fig. 1. Figs. 5-6 show that the agreement is very good between the two simulations using the fine and coarse grids, respectively.

Simulations of Brinkman flows

49The physical problem studied here is similar to that described in Section 4.3.1. The differences are that we increase the value of κ const to be κ const = 10 −7 m 2 (cf. κ const = 10 −13 m 2 in Section 4.3.1) and set ν eff = 10 −5 m 2 s −1 such that the contribution by the viscosity term ν eff ∆ u is remarkable as shown in Fig. 7, which shows the comparison between the averaged results of two fine-grid simulations using ν eff = 10 −5 and 0 m 2 s −1 , Figure 6: Detailed comparisons of p, u and v between the fine-grid averaged results and coarse-grid results using κ * , ν eff = 0 m 2 s −1 , G = (sin πx, sin πy) m s −2 , κ const = 10 −13 m 2 .

50respectively. In this regime, flow in some regions is close to Stokes flow while in other regions, flow is close to Darcy flow. Since ν eff is nonzero here, we let ν eff = 10 −5 m 2 s −1 when computing κ * and get κ * xx (κ, ν eff ) = κ * yy (κ, ν eff ) = 7.367κ const and κ * yx (κ, ν eff ) = κ * xy (κ, ν eff ) = 0 for subdomains with κ = 10(1 + sin(80xπ) cos(80yπ))κ const . For subdomains with κ = κ const , κ * xx (κ, ν eff ) = κ * yy (κ, ν eff ) = κ const and κ * yx (κ, ν eff ) = κ * xy (κ, ν eff ) = 0. Thus, we have κ * (κ, ν eff ) equal to 7.367κ const I or κ const I. As discussed in Section 4.3.1, we can use a scalar distribution of κ * (κ, ν eff ), which is equal to 7.367κ const or κ const , in the coarse-grid simulation. We use ∆x fine = 0.0025 m, ∆t fine = 0.000025 s and τ fine = 0.50012 in the fine-grid simulation, and use ∆x coarse = 0.025 m, ∆t coarse = 0.00025 s and τ coarse = 0.500012 in the coarse-grid simulation. Figs. [8][9] show that the agreement of the coarse-grid simulation using κ * (κ, ν eff ) with the fine-grid simulation is very good. In addition, we set ν eff = 0 m 2 s −1 when computing κ * ,err and get κ * ,err xx (κ) = κ * ,err yy (κ) = 8.485κ const and κ * ,err yx (κ) = κ * ,err xy (κ) = 0 for subdomains with κ = 10(1 + sin(80xπ) cos(80yπ))κ const . For subdomains with κ = κ const , κ * ,err xx (κ) = κ * ,err yy (κ) = κ const and κ * ,err yx (κ) = κ * ,err xy (κ) = 0, where we still use the superscript 'err' since the local simulation procedure with ν eff = 0 m 2 s −1 is wrong although the obtained κ * ,err (κ) is the same as the above κ * (κ, ν eff ). Now, we have κ * ,err (κ) equal to 8.485κ const I or κ const I. We use a scalar distribution of κ * ,err (κ), which is equal to 8.485κ const or κ const , in another coarse-grid simulation. Note that the difference between κ * ,err (κ) and κ * (κ, ν eff ) is distinct in subdomains with nonuniform κ( x). The results of the coarse-grid simulation using κ * ,err (κ) are also given in Fig. 8 which shows that the deviation of the coarse-grid simulation using κ * ,err (κ) from the fine- grid simulation is remarkable. Thus, the previous computation of κ * (κ, ν eff ) as the effective permeability using nonzero ν eff is accurate for upscaling the Brinkman equation.

Conclusions

51Pore-scale flows are routinely modeled by the LBM simulations due to their ability to handle complex geometries and physics. However, LBM simulations become very expensive as one uses large REVs. In this paper, we propose a upscaled LBM algorithm to model flows at coarse scales with a reduced computational complexity. The effective properties are computed by a local upscaling scheme. In this scheme, the local fine-grid simulations are performed and their results are averaged over the local region to compute effective properties. Effective properties are used in a coarse-grid LBM algorithm to perform the simulations at larger scales. The coarse-grid LBM simulation using the computed effective permeability agrees very well with the fine-grid LBM simulation. In addition, simulation results show that the coarse-grid LBM simulation will deviate significantly from the fine-grid LBM simulation if the effective permeability is computed by neglecting the viscosity term in modeling Brinkman flows.

52Although the results presented in this paper are encouraging, there is scope for further exploration of some of the underlying approaches. As our intent here was to demonstrate that coarse scale information could be effectively used to design upscaled LBM representations, we did not consider Figure 8: Comparisons of p, u and v between the fine-grid averaged results (left), coarse-grid results using κ * (κ, ν eff ) (middle) and κ * ,err (κ) (right), ν eff = 10 −5 m 2 s −1 , G = (sin πx, sin πy) m s −2 , κ const = 10 −7 m 2 . Figure 9: Detailed comparisons of p, u and v between the fine-grid averaged results and coarse-grid results using κ * (κ, ν eff ), ν eff = 10 −5 m 2 s −1 , G = (sin πx, sin πy) m s −2 , κ const = 10 −7 m 2 . challenging heterogeneous cases with high-contrast permeability. It is known (e.g., [13] and [17]) that the presence of high heterogeneities, such as channels and high contrast, will cause a decrease in the accuracy of upscaling methods for Darcy flow problems. Similarly, we expect that our upscaled LBM algorithm will require an additional treatment to handle highly heterogeneous cases. These treatments can include oversampling, local-global, or global techniques or possibly upscaled techniques. Some of these treatments can be easily incorporated into our new upscaled LBM framework.

참고문헌 13건

  1. An improved gray lattice Boltzmann model for simulating fluid flow in multi-scale porous media Advances in Water Resources · Elsevier BV · 2013 10.1016/j.advwatres.2013.03.001
  2. Natural convective heat transfer in a fluid saturated variable porosity medium International Journal of Heat and Mass Transfer · Elsevier BV · 1997 10.1016/s0017-9310(97)00008-2
  3. Unified lattice Boltzmann method for flow in multiscale porous media Physical review. E, Statistical physics, plasmas, fluids, and related interdisciplinary topics · American Physical Society · 2002 10.1103/physreve.66.056307
  4. Lattice BGK Models for Navier-Stokes Equation EPL (Europhysics Letters) · Institute of Physics · 1992 10.1209/0295-5075/17/6/001
  5. Diffusion in a multicomponent lattice Boltzmann equation model Physical review. E, Statistical physics, plasmas, fluids, and related interdisciplinary topics · American Physical Society · 1996 10.1103/physreve.54.3614
  6. Recovery of the Navier-Stokes equations using a lattice-gas Boltzmann method Physical Review A · American Physical Society · 1992 10.1103/physreva.45.r5339
  7. Use of the Boltzmann Equation to Simulate Lattice-Gas Automata Physical Review Letters · American Physical Society · 1988 10.1103/physrevlett.61.2332
  8. Lattice Boltzmann model for incompressible flows through porous media Physical review. E, Statistical physics, plasmas, fluids, and related interdisciplinary topics · American Physical Society · 2002 10.1103/physreve.66.036304
  9. Lattice Boltzmann model for simulating flows with multiple phases and components Physical review. E, Statistical physics, plasmas, fluids, and related interdisciplinary topics · American Physical Society · 1993 10.1103/physreve.47.1815
  10. Discrete lattice effects on the forcing term in the lattice Boltzmann method Physical review. E, Statistical physics, plasmas, fluids, and related interdisciplinary topics · American Physical Society · 2002 10.1103/physreve.65.046308
  11. Displacement of a two-dimensional immiscible droplet in a channel Physics of Fluids · American Institute of Physics · 2002 10.1063/1.1499125
  12. Simulation of nonideal gases and liquid-gas phase transitions by the lattice Boltzmann equation Physical review. E, Statistical physics, plasmas, fluids, and related interdisciplinary topics · American Physical Society · 1994 10.1103/physreve.49.2941
  13. 3D simulation of the permeability tensor in a soil aggregate on basis of nanotomographic imaging and LBE solver Journal of Soils and Sediments · Springer Science+Business Media · 2011 10.1007/s11368-011-0435-3