선정목록으로
The Application of REV-LBM Double Mesh Local Refinement Algorithm in Porous Media Flow Simulation
간접 관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기) (7) MEA(막전극접합체)(18) VENT(방수통기 부품)
기본 정보
- 저자
- DOI
- 10.1155/2022/1082386
- 저널
- Geofluids
- 발행년도
- 2022
- 발행기관
- Hindawi Publishing Corporation
- 피인용수
- 5
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1155/2022/1082386
- 토픽
- Heat and Mass Transfer in Porous Media
- OpenAlex ID
- W4221043824
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
- 부 분야
- (7) MEA(막전극접합체), (18) VENT(방수통기 부품)
- R&D 측면
- 분석·모델링
- 확신도
- 0.70
- 근거 용어
- porous media flow, Lattice Boltzmann Method (LBM), micro-nano pore-throat structure, permeability, seepage simulation
- 판단 근거
- 본 논문은 다공성 매질(porous media) 내의 유체 흐름을 시뮬레이션하는 격자 볼츠만 방법(LBM) 알고리즘을 다룹니다. 이는 코오롱인더스트리의 수소연료전지용 중공사막(5)이나 방수통기용 멤브레인(18)과 같은 다공성 구조체 내의 가스/액체 투과 및 유동 특성을 분석하는 R&D 모델링 기법에 간접적으로 활용될 수 있습니다.
- R&D 활용 포인트
- 연료전지용 막가습기(중공사막)나 방수통기 부품(ePTFE 멤브레인)의 미세 기공 구조 내 유체 투과 성능을 수치 해석적으로 예측하고 최적화하는 데 활용 가능합니다.
- 평가 입력
- 본문 48,349자 중 30,032자 발췌
초록
REV-scale LBM (representative elementary volume scale lattice Boltzmann method) provides a possible way for the unified microscopic simulation of transscale seepage combined with pore-scale LBM. However, shown by numerical results, when simulated fluid flows in tight porous media with discrete microfractures or dispersed dissolution pore, the nonphysical oscillation phenomenon will occur in the region of relatively greater velocity gradient, due to the insufficient computational node caused by computational capability constraints. And for that reason, the increase in simulation scale under certain computational capability will be restricted. In order to solve this problem, this paper extends the application of the original LBM local refinement algorithm into REV-LBM and corrects the original REV-LBM velocity processing method, such that REV-scale LBM has a more reasonable local refinement algorithm. Through conventional computation example, this paper proves that the local refinement algorithm can maintain well computational accuracy while at least double the time efficiency and could save more than 30% of CPU time in the practical application. This algorithm has a great potential of application in simulating flows in larger size porous media with complex micro-nano structures and can provide a new idea to transscale simulation in porous media.
본문 48,349자
본문 펼치기
Hindawi
Geofluids
Volume 2022, Article ID 1082386, 12 pages
[https://doi.org/10.1155/2022/1082386](https://doi.org/10.1155/2022/1082386)
# Research Article The Application of REV-LBM Double Mesh Local Refinement Algorithm in Porous Media Flow Simulation
Zhongkun Niu, <sup>1,2,3</sup> Zhengming Yang, <sup>2,3</sup> Yutian Luo, <sup>1,2,3</sup> Yapu Zhang, <sup>2,3</sup> Debin Xia, <sup>1,2,3</sup>
Taiyi Zheng, <sup>1,2,3</sup> and Xinli Zhao 1,2,3
1University of Chinese Academy of Sciences, Beijing 100049, China
2Institute of Porous Flow and Fluid Mechanics, Chinese Academy of Sciences, Langfang, Hebei 065007, China
3Department of Porous Flow & Fluid Mechanics, Research Institute of Petroleum Exploration & Development,
PetroChina Company Limited, Langfang, Hebei 065007, China
Correspondence should be addressed to Yutian Luo; luoyutian@petrochina.com.cn and Xinli Zhao; ucaszxl@163.com
Received 16 November 2021; Accepted 8 March 2022; Published 31 March 2022
Academic Editor: Chao-Zhong Qin
[Copyright © 2022 Zhongkun Niu et al. This is an open access article distributed under the Creative Commons Attribution License,](https://creativecommons.org/licenses/by/4.0/)
which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
REV-scale LBM (representative elementary volume scale lattice Boltzmann method) provides a possible way for the unified
microscopic simulation of transscale seepage combined with pore-scale LBM. However, shown by numerical results, when
simulated fluid flows in tight porous media with discrete microfractures or dispersed dissolution pore, the nonphysical
oscillation phenomenon will occur in the region of relatively greater velocity gradient, due to the insufficient computational
node caused by computational capability constraints. And for that reason, the increase in simulation scale under certain
computational capability will be restricted. In order to solve this problem, this paper extends the application of the original
LBM local refinement algorithm into REV-LBM and corrects the original REV-LBM velocity processing method, such that
REV-scale LBM has a more reasonable local refinement algorithm. Through conventional computation example, this paper
proves that the local refinement algorithm can maintain well computational accuracy while at least double the time efficiency
and could save more than 30% of CPU time in the practical application. This algorithm has a great potential of application in
simulating flows in larger size porous media with complex micro-nano structures and can provide a new idea to transscale
simulation in porous media.
1. Introduction
The computational fluid dynamics (CFD) applied in fluid
flow and transportation simulation in porous media includes
two types of calculation methods—the conventional N-S
equation and the particle solver, including three scale
simulation methods: macro continuous media simulation,
mesoscopic kinetic simulation, and microscopic molecular
dynamics simulation [1]. Among them, the mesoscopic
kinetic simulation method based on the mesoscopic kinetic
model not only has free constraints in continuity assumptions as the microscopic molecular dynamics simulation
does but also maintains the simplicity of the continuous
media simulation method which ignores the description of
individual molecular motion. Therefore, it is suitable for
simulating flow patterns in porous media with micro-nano
pore throat structure (e.g., tight sandstone [2, 3], shale [4,
5], fibrous porous media [6], and porous electrode [7]). This
simulation method mainly has lattice Boltzmann method
(LBM) [8], direct simulation Monte-Carlo (DSMC) [9],
dissipative particle dynamics (DPD) [10], etc. Whereas due
to the simple and advantageous boundary conditions processing of the LBM method, it is more suitable to simulate
flows in complex porous media.
The LBM simulation method for flows in porous media
includes pore-scale LBM and REV-scale LBM. The porescale combined with the numerical model of porous media
[11–13] can be used to study the microscopic flow of
2 Geofluids
complex fluid such as multiphase flow, multicomponent
fluid flow [14, 15], and non-Newtonian flow and is the popular trend of micro-nano pore-network seepage simulation.
However, when the pore-scale LBM simulates the transscale
porous media model, which could have the matrix of largescale multicontinuum representation and discrete microfractures or dispersed dissolution pore, it will be insufficient
due to the excessive number of nodes required for calculation. Unlike pore-scale LBM, REV-scale LBM avoids porethroat detail characterizations and simulates the flow in the
porous media which must have a REV’s size firstly. This
method not only includes changing the classical well
rebound form to fit the partial rebound model of Darcy
equation [16] but also includes the resistance model constructed by adding external force term to transform into
Stokes or Brinkman function. Among them, the generalized
Lattice Boltzmann equation (GLBE) resistance model proposed by Guo and Zhao [17] is used most extensively. By
only adjusting the porosity of the calculated grid, GLBE
can accommodate all types of porous medium node, including adjusting the porosity and permeability to nearly achieve
a blank or structure node which both referred in pore-scale
LBM [18]. Thus, GLBE-based REV-scale LBM has good
compatibility with pore-scale LBM. By simulating the fluid
transportation in micrometer-scale shale containing microfractures, Zhang et al. [19, 20] confirmed that the combined
REV-scale LBM and pore-scale LBM can simulate flows in
homogeneous porous media, complex heterogeneous porous
media, and single-phase flow in porous media with discrete
microfractures. Therefore, GLBE-based REV-scale LBM
provides an effective simulation method for the unified
simulation of transscale seepage in porous media with
micro-nano pore-throat structure. However, even so, shown
by numerical simulation results, when simulating the seepage problem related to tight porous media with low permeability, the large velocity gradient generated by the wall
boundary (near the fixed structure) or the fracture boundary
(junction of the matrix-fracture system) will cause nonphysical oscillation in the boundary region when the calculation
nodes are insufficient, thus leading to false perceptions of
flow field and restricting the simulation size shown as chapter 4.1 in the reference [21]. Usually, the nonphysical oscillations caused by a lack of nodes can be solved by refining
blocks or locally refining nodes to increase the nodes in rapidly varied boundary areas, in which the local refinement
approach has more practical benefits. The local refinement
algorithm applied to LBM was first proposed by Filippova
and Hanel (FH algorithm) [22]. After several improvements
[23, 24], it was mainly applied to simulate single-phase and
multiphase flow [25, 26] or to explore particle transportation
law [27], etc. However, the application to REV-scale LBM in
simulating fluid seepage in porous media remains blank, and
the REV-scale LBM has been used in the tight porous
medium contained microfractures or dispersed dissolution
pore with no verification of accuracy at the boundary layer
having a large velocity gradient [20].
In order to make up the gap of the existing local refinement algorithm application and solve the nonphysical oscillation problem in the boundary region caused by insufficient
Guo realizes the REV-LBM algorithm by adding an
appropriate resistance term of porous media. This algorithm
integrates porosity into equilibrium state distribution
nodes, this paper extends the application of the original local
refinement algorithm to REV-LBM and adjusts the equilibrium velocity model of Guo’s REV-LBM to make the local
refinement algorithm more suitable for REV-scale LBM. In
this way, the local refinement algorithm can ensure the calculation accuracy as much as possible under certain calculation capacity constraints, saving calculation nodes, reducing
the time consumption of at least one time to reach the simulated equilibrium condition, and enlarging the simulation
size as well as the efficiency of the porous media flow simulation with complex microfractures or dispersed dissolution
pore, when combined with pore-scale LBM. Therefore, it can
provide a direction for future flow simulation of large size
tight porous media and develop a new idea for simulations
of transscale flow in porous media.
2. Porous Media Flow Simulation by Using
REV-LBM with Multigrid
Refinement Approach
2.1. REV-Scale Lattice Boltzmann Method. In the LBM
method, fluid is assumed to be elements with finite discrete
velocities distributed along a regular grid; through the collision and migration evolution, simulation of fluid motion is
realized. Similar to the traditional LBM model, the REVscale LBM model of porous media can establish the seepage
resistance model by modifying the traditional rebound format to fit the seepage law or adding the external force term.
Taking the D2Q9 model [28] LBM as an example, its discrete velocity model is shown in Figure 1.
The corresponding parameters are shown in Table 1.
For BGK model or LBM with single relaxation time [29],
its specific evolution equation is as follows:
Collision:
~ _f i_ ð _x_, _t_ Þ = _f i_ ð _x_, _t_ Þ + <sup>_Δt_</sup>
_τ_
 _f_ <sup>eq</sup> _i_ ð _x_, _t_ Þ − _f i_ ð _x_, _t_ Þà + 1 − <sup>_Δt_</sup>
2 _τ_
_τ_ <sup>_t_</sup> _f_ <sup>eq</sup> _i_ ð
-
1 − <sup>_Δt_</sup> _FiΔt:_
Streaming:
ð1Þ
_f i_ ð _x_ + _ciΔt_, _t_ + _Δt_ Þ = <sup>~</sup> _f i_ ð _x_, _t_ Þ _:_ ð2Þ
Wherein the equilibrium distribution function and the
force source term are as follows:
" À #
, ð3Þ
<sup>eq</sup> _i_ <sup>=</sup> <sup>_ω_</sup> _i_ <sup>_ρ_</sup> <sup>1 +</sup> <sup>_ciαuα_</sup>
_c_ <sup>2</sup>
+ _ciαciβ_ - _c_ <sup>2</sup> _<u>s</u>_
À _ciαciβ_ - _c_ <sup>2</sup> _<u>s</u>_ <sup>_δ_</sup> _αβ_ Á _uβuα_
2 _c_ <sup>4</sup> _s_
_f_ <sup>eq</sup> _i_
_c_ <sup>2</sup> _s_
_s_
" À #
_:_ ð4Þ
+ _ciαciβ_ - _c_ <sup>2</sup> _<u>s</u>_
À _ciαciβ_ - _c_ <sup>2</sup> _<u>s</u>_ <sup>_δ_</sup> _αβ_ Á _uβFα_
_c_ <sup>4</sup> _s_
_Fi_ = _ωi_
_cia_ _Fα_
_c_ <sup>2</sup> _s_
_s_
Geofluids 3
?lc
Boundary of
fine block
Boundary of
coarse block
?lf
Figure 2: Local refinement structure with two blocks.
Figure 1: D2Q9 discrete velocity model.
Table 1: The D2Q9 velocity set in explicit form.
_i_ <u>0</u> <u>1</u> <u>2</u> <u>3</u> <u>4</u> <u>5</u> <u>6</u> <u>7</u> <u>8</u>
_c_ <sup>∗</sup> _ix_ 0 +1 0 −1 0 +1 −1 −1 +1
_c_ <sup>∗</sup> _iy_ 0 0 +1 0 −1 +1 +1 −1 −1
_ωi_ 4/9 1/9 1/9 1/9 1/9 1/36 1/36 1/36 1/36
function and force source term to meet the porous media
seepage model, i.e.,
_ρu_ <sup>eq</sup> = _ρu_ 0 + <sup>1</sup> 2 <sup>_F_</sup> ð <sup>_u_</sup> <sup>eq</sup> Þ _Δt:_ ð7Þ
When the seepage is classified as Darcy flow without
external force term, the equilibrium macroscopic velocity
can be simplified as _u_ <sup>eq</sup> = ð1 + ð1/2Þð _εν_ / _K_ Þ _Δt_ Þ <sup>−1</sup> _u_ 0.
To facilitate calculation, all physical quantities are uniformly nondimensionalized, and let _Δl_ <sup>∗</sup> = _Δl_ / _Cl_ = 1, _Δt_ <sup>∗</sup> = _Δt_ /
_Ct_ = 1, _ρ_ <sup>∗</sup> = _ρ_ / _Cρ_ = 1, and thus, the equation of REV-LBM is
transformed into as follows:
Collision:
 Ã
<sup>_f_</sup> <sup>eq</sup> _i_ <sup>,∗</sup> ð _x_ <sup>∗</sup>, _t_ <sup>∗</sup> Þ − _f_ <sup>∗</sup> _i_ ð <sup>_x_</sup> <sup>∗,</sup> <sup>_t_</sup> <sup>∗</sup> Þ
∗
_i_ ð <sup>_x_</sup> <sup>∗,</sup> <sup>_t_</sup> <sup>∗</sup> Þ = _f_ <sup>∗</sup> _i_
<sup>1</sup> Â _i_
_τ_ <sup>∗</sup> <sup>_f_</sup> <sup>eq,∗</sup>
~ _f_
<sup>∗</sup> _i_ ð <sup>_x_</sup> <sup>∗,</sup> <sup>_t_</sup> <sup>∗</sup> Þ + _τ_ <sup>1</sup>
ð8Þ
-
1
1 − _F_ <sup>∗</sup> _i_
<sup>eq</sup> _i_ <sup>,∗</sup> ð _x_ <sup>∗</sup>, _t_ <sup>∗</sup> Þ − _f_ <sup>∗</sup> _i_
1
+ 1 −
2 _τ_ <sup>∗</sup>
<sup>∗</sup> _i_ <sup>_:_</sup>
" À #
Streaming:
, ð5Þ
<sup>eq</sup> _i_ <sup>=</sup> <sup>_ω_</sup> _i_ <sup>_ρ_</sup> <sup>1 +</sup> <sup>_ciαuα_</sup>
_c_ <sup>2</sup>
+ _ciαciβ_ - _c_ <sup>2</sup> _<u>s</u>_
À _ciαciβ_ - _c_ <sup>2</sup> _<u>s</u>_ <sup>_δ_</sup> _αβ_ Á _uβuα_
2 _εc_ <sup>4</sup> _s_
_f_ <sup>eq</sup> _i_
_c_ <sup>2</sup> _s_
_f_ <sup>∗</sup> _i_
<sup>∗</sup> _i_ ð <sup>_x_</sup> <sup>∗</sup> <sup>+</sup> <sup>_c_</sup> _i_ <sup>∗</sup>
ð <sup>_x_</sup> <sup>∗</sup> <sup>+</sup> <sup>_c_</sup> _i_ <sup>∗,</sup> <sup>_t_</sup> <sup>∗</sup> <sup>+ 1</sup> Þ = <sup>~</sup> _f_
∗
_i_ ð <sup>_x_</sup> <sup>∗,</sup> <sup>_t_</sup> <sup>∗</sup> Þ _:_ ð9Þ
_s_
" À #
Equilibrium distribution function:
3
~~5~~ _:_ ð10Þ
_<u>iα</u>_ <sup>_u_</sup> <sup>∗</sup> _<u>α</u>_
<sup>∗</sup>
_c_ <sup>∗</sup> _s_ <sup>2</sup>
_:_ ð6Þ
+ _ciαciβ_ - _c_ <sup>2</sup> _<u>s</u>_
À _ciαciβ_ - _c_ <sup>2</sup> _<u>s</u>_ <sup>_δ_</sup> _αβ_ Á _uβ_ _Fα_
_εc_ <sup>4</sup> _s_
<sup>_c_</sup> <sup>∗</sup> _iβ_ <sup>−</sup> <sup>_c_</sup> _s_ <sup>∗2</sup>
<sup>_c_</sup> _s_ <sup>∗2</sup> <sup>_δ_</sup> _αβ_ _β_ <sup>_u_</sup> _α_ <sup>∗</sup>
2 _εc_ <sup>∗</sup> _s_ <sup>4</sup>
_u_ <sup>∗</sup> _β_ <sup>_u_</sup> _α_ <sup>∗</sup>
_Fi_ = _ωi_
_ciaFα_
_c_ <sup>2</sup> _s_
_f_ <sup>eq</sup> _i_ <sup>,∗</sup>
<sup>eq</sup> _i_ <sup>,∗</sup> = _ωi_ 41 + <sup>_c_</sup> _<u>i</u>_ <sup>∗</sup> _cα_
+
+
_c_ <sup>∗</sup> _iα_
_s_
2
4
-
_c_ <sup>∗</sup> _iα_ <sup>_c_</sup> <sup>∗</sup> _iβ_ <sup>−</sup> <sup>_c_</sup> _s_ <sup>∗2</sup> <sup>_δ_</sup> _αβ_ _u_ <sup>∗</sup> _β_
_c_ <sup>∗</sup> _iα_ <sup>_c_</sup> <sup>∗</sup> _i_
_s_
To ensure the computational accuracy, the macroscopic
fluid density and macroscopic velocity brought into the
equation of equilibrium state are _ρ_ <sup>eq</sup> = ∑ _i_ _f i_ and _ρu_ <sup>eq</sup> = ∑ _i_ _f i_
_ci_ + ð1/2Þ _FΔt_, respectively. The fluid force in porous media
includes the resistance term and the external force term,
which is _F_ = −ð _εμ_ / _K_ Þ _u_ - _λρu_ <sup>2</sup> + _εG_ (Where, the first term
on the right is the Darcy flow term, the second term is the
nonlinear seepage term, and the third term is the external
force term. Considering that there are various models of
nonlinear seepage terms and external force terms, in this
paper, the most universal algorithm is focused on; thus, the
most common model is only discussed for Darcy flow to
demonstrate the local refinement algorithm of REV-LBM).
Since the force model is related to velocity, it is an implicit
equation of velocity. Guo’s velocity model treats it as a simple quadratic equation.
Force model of porous media:
_F_ <sup>∗</sup> = − <sup>_εν_</sup> <sup>∗</sup> ð12Þ
_K_ <sup><u>∗</u></sup> <sup>_u_</sup> <sup>∗</sup> <sup>−</sup> <sup>_λ_</sup> <sup>∗</sup> <sup>_u_</sup> <sup>∗2 +</sup> <sup>_εG_</sup> <sup>∗</sup> <sup>_:_</sup>
2.2. Multiblock Local Grid Refinement Approach
2.2.1. Parameter Settings. REV-LBM local refinement mesh
model is the same as the conventional LBM local refinement
Force source term:
2
3
5 _:_ ð11Þ
<sup>∗</sup> _iβ_ <sup>−</sup> <sup>_c_</sup> _s_ <sup>∗2</sup>
<sup>_c_</sup> _s_ <sup>∗2</sup> <sup>_δ_</sup> _αβ_ _β_ <sup>_F_</sup> _α_ <sup>∗</sup>
_εc_ <sup>∗</sup> _s_ <sup>4</sup>
<sup>∗</sup> _β_ <sup>_F_</sup> _α_ <sup>∗</sup>
-
_c_ <sup>∗</sup> _iα_ <sup>_c_</sup> <sup>∗</sup> _iβ_ <sup>−</sup> <sup>_c_</sup> _s_ <sup>∗2</sup> <sup>_δ_</sup> _αβ_ _u_ <sup>∗</sup> _β_
_c_ <sup>∗</sup> _iα_
<sup>∗</sup> _iα_ <sup>_c_</sup> <sup>∗</sup> _iβ_
_c_ <sup>∗</sup> _<u>iα</u>_
<sup>∗</sup> _<u>iα</u>_ <sup>_F_</sup> _<u>α</u>_ <sup>∗</sup>
_<u>iα</u>_ <sup>_F_</sup> _<u>α</u>_
_c_ <sup>∗</sup> _s_ <sup>2</sup>
_F_ <sup>∗</sup> _i_ <sup>=</sup> <sup>_ω_</sup> _i_
_F_ <sup>∗</sup> _i_
_i_ 4
_s_
_s_
4 Geofluids
1.0
0.8
0.6
0.4
0.2
0.18
0.16
0.14
0.12
0.10
0.08
0.06
0.04
0.02
0.92 0.94 0.96 0.98 1.00 1.02 1.04 1.06 1.08
u/U
0.0
0.0 0.2 0.4 0.6 0.8 1.0
u/U
Guo's model
Our model
Exact
Figure 3: Poiseuille flow solved by local grid refinement method with two different velocity models.
mesh model. For double mesh, the local refinement mesh
model has two block systems with different block distances.
The schematic model is shown in Figure 2. The lattice spacing of the coarse block is _Δlc_, and the boundary nodes that
intersect the fine blocks are represented by blue squares.
The lattice spacing of the fine block is _Δlf_, and boundary
nodes that intersect the coarse blocks are represented by
red circles.
Similar to the conventional LBM local refinement algorithm data processing method, when it denotes the ratio
between fine and coarse blocks as _n_ ref = _Δlc_ / _Δl_ _f_ to ensure
the consistency in the lattice speed of sound between two
different block systems, let _Δl_ / _Δt_ = const then:
ð1 + ð1/2Þð _εν_ <sup>∗</sup> _c_
<sup>∗</sup> _c_ <sup>/</sup> <sup>_K_</sup> <sup>∗</sup> _c_
_τ_ <sup>∗</sup> _f_
<sup>∗</sup> _f_ <sup>=</sup> <sup>_n_</sup> ref _τ_ <sup>∗</sup> _c_
-
_τ_ <sup>∗</sup> _c_ <sup>−</sup> <sup>1</sup> + <sup>1</sup>
<sup>∗</sup> _c_ <sup>−</sup> <sup>1</sup> 2
2
<sup>1</sup> 2 <sup>,</sup> ð17Þ
_ν_ <sup>∗</sup> _f_
<sup>∗</sup> _f_ <sup>=</sup> <sup>_ν_</sup> <sup>∗</sup> _c_
<sup>∗</sup> _c_ <sup>_n_</sup> ref <sup>,</sup> ð18Þ
_K_ <sup>∗</sup> _f_
ref <sup>2</sup> <sup>_K_</sup> <sup>∗</sup> _c_ <sup>_:_</sup>
<sup>∗</sup> _f_ <sup>=</sup> <sup>_n_</sup> ref <sup>2</sup>
<sup>∗</sup> _c_ <sup>_:_</sup> ð19Þ
After adjusting the basic physical parameters, it can be
found that if the REV-LBM local refinement algorithm still
uses the macro velocity processing in the equilibrium
equation without external force in Guo’s model, then after
a single step duration in the coarse block, due to _uc_ <sup>eq,∗</sup> =
<sup>∗</sup> _f_ <sup>ÞÞ−</sup> <sup>_n_</sup> <sup>ref</sup> <sup>_u_</sup> 0 <sup>∗</sup>
<sup>∗</sup> 0 <sup>≠</sup> <sup>ð1 + ð1/2Þð</sup> <sup>_εν_</sup> <sup>∗</sup> _f_ <sup>/</sup> <sup>_K_</sup> <sup>∗</sup> _f_
<sup>∗</sup> _c_ <sup>ÞÞ−1</sup> <sup>_u_</sup> <sup>∗</sup> 0
_Δtc_
_Δt_ _f_
= <sup>_Δlc_</sup>
_Δlf_
= _n_ ref _:_ ð13Þ
By using the kinematic viscosity of the macroscopic fluid
and the porous media’s local permeability that is independent of block size, it can be obtained that:
<sup>∗</sup> _f_ <sup>−</sup> <sup>1</sup> 2
After adjusting the basic physical parameters, it can be
found that if the REV-LBM local refinement algorithm still
uses the macro velocity processing in the equilibrium
equation without external force in Guo’s model, then after
a single step duration in the coarse block, due to _uc_ <sup>eq,∗</sup> =
ð1 + ð1/2Þð _εν_ <sup>∗</sup> _c_ <sup>/</sup> <sup>_K_</sup> <sup>∗</sup> _c_ <sup>ÞÞ−1</sup> <sup>_u_</sup> <sup>∗</sup> 0 <sup>≠</sup> <sup>ð1 + ð1/2Þð</sup> <sup>_εν_</sup> <sup>∗</sup> _f_ <sup>/</sup> <sup>_K_</sup> <sup>∗</sup> _f_ <sup>ÞÞ−</sup> <sup>_n_</sup> <sup>ref</sup> <sup>_u_</sup> 0 <sup>∗</sup> <sup>=</sup> <sup>_u_</sup> <sup>eq</sup> _f_ <sup>,∗</sup>,
the equilibrium velocities of the same block node on coarse
and fine block systems are not matched, and the velocity on
the coarse block node is slightly higher than that on the fine
block node, making the simulation result of local refinement
algorithm to produce unreasonable convex phenomenon in
coarse block velocity. The convex velocity marked by blue
can be observed in the simulation results in Figure 3. To fix
this problem, the second term on the right side of the
quadratic equation in the original Equation (7) is converted
to the summation term, namely:
" #
<sup>2</sup> _s_ _τ_ <sup>∗</sup> _c_
2
2
_c_ <sup>2</sup> _s_
-
_τ_ <sup>∗</sup> _c_ <sup>−</sup> <sup>1</sup> 2 _Δtc_ = _c_ <sup>2</sup> _s_
<sup>∗</sup> _c_ <sup>−</sup> <sup>1</sup> 2
<sup>2</sup> _s_ _τ_ <sup>∗</sup> _f_
-
_τ_ <sup>∗</sup> _f_ <sup>−</sup> <sup>1</sup> 2 _Δt_ _f_, ð14Þ
_ρu_ <sup>eq</sup> = _ρu_ 0 + <sup>1</sup>
2
_F_ ð _u_ Þ <sup>_Δt_</sup>
_n_
_:_ ð20Þ
<sup>1</sup>
2 _n_ ⟶ <sup>lim</sup> ∞ <sup>〠</sup>
_n_
_ν_ <sup>∗</sup> _c_
_Δl_ <sup>2</sup> _<u>c</u>_
_Δtc_
= _ν_ <sup>∗</sup> _f_
_Δl_ <sup>2</sup> _f_
_Δt_ _f_
, ð15Þ
_K_ <sup>∗</sup> _c_
_c_ <sup>2</sup> <sup>=</sup> <sup>_K_</sup> <sup>∗</sup> _f_
<sup>2</sup> _f_ <sup>_:_</sup> ð16Þ
<sup>∗</sup> _c_ <sup>_Δl_</sup> _c_ <sup>2</sup>
<sup>∗</sup> _f_ <sup>_Δl_</sup> <sup>2</sup> _f_
Similarly, considering that the flow in porous media is
Darcy flow without external force, the equilibrium macroscopic velocity can be expressed as follows:
-
- <sup>1</sup> _εν_ _u_ 0 _:_ ð21Þ
2 _K_ <sup>_Δt_</sup>
<sup>1</sup> _εν_
2 _K_
_K_
- �− _n_
_εν_ _Δt_ _u_ 0 = exp - <sup>1</sup>
<sup>1 +</sup> <sup>1</sup>
_εν_
2 <sup>1</sup> _K_
The relation between fine block parameters and coarse
block parameters can be obtained as follows:
_u_ <sup>eq</sup> = _n_ ⟶lim
lim
_n_ ⟶∞ <sup>1 +</sup> 2 <sup>1</sup>
_Δt_
_n_
Geofluids 5
Transfer at nodes on the boundary of coarse block
Transfer at nodes on the boundary of fine block
at nodes
the boundary offine block
on
Calculate the equilibrium variables
of ? <sup>eq</sup> and u <sup>eq</sup> in the coarse block
Calculate the equilibrium variables
of ? <sup>eq</sup> and u <sup>eq</sup> in the fine block
Collision in the coarse block Collision in the fine block
Streaming in the fine block tc⁎+1/2
tc⁎
⁎
Streamingin the coarse block tc⁎+1
Transfer at nodes on
the boundary of fine block
Spatial interpolation for
at nodes
Spatial interpolation for at nodes on
the boundary of fine block
1/2 onthe boundary of fine block obtained with
the linear interpolation method based on 0 and 1
Calculate the equilibrium variables
of ? <sup>eq</sup> and u <sup>eq</sup> in the fine block
Collision in the fine block
tc⁎+1
Loop ending condition
Y
Output ?,u,...to disk
<u>N</u>
Figure 4: Multigrid REV-LBM program flowchart.
After nondimensionalized, the macroscopic velocity model
in the equilibrium equation becomes _u_ <sup>eq,∗</sup> = exp ð−ð1/2Þð _εν_ <sup>∗</sup> /
_K_ <sup>∗</sup> ÞÞ _u_ <sup>∗</sup> 0 <sup>. After a single step duration in the coarse block,</sup> <sup>_u_</sup> _c_ <sup>eq,∗</sup>
_K_ <sup>∗</sup> ÞÞ _u_ <sup>∗</sup> 0 <sup>. After a single step duration in the coarse block,</sup> <sup>_u_</sup> _c_ <sup>eq,∗</sup>
= exp ð−ð1/2Þð _εν_ <sup>∗</sup> _c_ <sup>/</sup> <sup>_K_</sup> <sup>∗</sup> _c_ <sup>ÞÞ</sup> <sup>_u_</sup> 0 <sup>∗</sup> <sup>= exp ð−</sup> <sup>_n_</sup> ref <sup>ð1/2Þð</sup> <sup>_εν_</sup> <sup>∗</sup> _f_ <sup>/</sup> <sup>_K_</sup> <sup>∗</sup> _f_ <sup>ÞÞ</sup> <sup>_u_</sup> 0 <sup>∗</sup> <sup>=</sup>
<sup>∗</sup> _c_ <sup>/</sup> <sup>_K_</sup> <sup>∗</sup> _c_
0 <sup>∗</sup> <sup>= exp ð−</sup> <sup>_n_</sup> ref <sup>ð1/2Þð</sup> <sup>_εν_</sup> <sup>∗</sup> _f_ <sup>/</sup> <sup>_K_</sup> <sup>∗</sup> _f_
<sup>∗</sup> _c_ <sup>ÞÞ</sup> <sup>_u_</sup> 0 <sup>∗</sup>
<sup>∗</sup> _f_ <sup>ÞÞ</sup> <sup>_u_</sup> 0 <sup>∗</sup>
= exp ð−ð1/2Þð _εν_ <sup>∗</sup> _c_ <sup>/</sup> <sup>_K_</sup> <sup>∗</sup> _c_ <sup>ÞÞ</sup> <sup>_u_</sup> 0 <sup>∗</sup> <sup>= exp ð−</sup> <sup>_n_</sup> ref <sup>ð1/2Þð</sup> <sup>_εν_</sup> <sup>∗</sup> _f_ <sup>/</sup> <sup>_K_</sup> <sup>∗</sup> _f_ <sup>ÞÞ</sup> <sup>_u_</sup> 0 <sup>∗</sup> <sup>=</sup>
_u_ <sup>eq</sup> _f_ <sup>,∗</sup> would satisfy the velocity matching of nodes on coarse
_u_ <sup>eq</sup> _f_ <sup>,∗</sup> would satisfy the velocity matching of nodes on coarse
and fine block systems. Based on the macroscopic equilibrium velocity expression, the coarse block velocity convex
problem caused by the local refinement algorithm simulation
due to the original velocity processing equation can be
improved to a certain degree. Figure 3 illustrates that the
macroscopic equilibrium velocity expression is more scien
tific. Though certain velocity convex in coarse block zone’s
nodes can still be observed, the convex is resulted from different cumulative errors on the fine and coarse blocks with different accuracy, and compared with the original equilibrium state
velocity processing model, the modified equilibrium velocity
processing model in this paper reduces the original velocity
calculation error ð _Err_ = ð _u_ model − _u_ exactÞ/ _u_ exact × 100 _%_ Þ from
1.6% to about 0.8%.
2.2.2. Multigrid Algorithm. To ensure the regular collision,
migration, and evolution of the coarse and fine block systems, the nodes on the coarse and fine block need to
6 Geofluids
4 3
?
?
5
1 6 2
Figure 5: Serendipity element used in spatial interpolation for
nodes on the boundary of the fine block.
exchange data. Same as the conventional LBM local refinement algorithm, take distribution functions into consideration _f i_ = _f_ _i_ <sup>eq</sup> <sup>+</sup> <sup>_f_</sup> <sup>neq</sup> _i_, where
_i_ <sup>eq</sup> <sup>+</sup> <sup>_f_</sup> <sup>neq</sup> _i_
<sup>eq</sup> _i_, _c_ <sup>=</sup> <sup>_f_</sup> <sup>eq</sup> _i_, _f_
ation _f i_ = _f_ _i_ <sup>eq</sup> <sup>+</sup> <sup>_f_</sup> <sup>neq</sup> _i_, where
_f_ <sup>neq</sup> _i_ ≈ _τ_ <sup>∗</sup> _Δt_ ð _Df i_ / _Dt_ Þ ≈ _τ_ <sup>∗</sup> _Δt_ ð _Df_ _i_ <sup>eq/</sup> <sup>_Dt_</sup> <sup>Þ.</sup> <sup>Since</sup> <sup>_f_</sup> <sup>eq</sup> _i_, _c_ <sup>=</sup> <sup>_f_</sup> <sup>eq</sup> _i_, _f_ <sup>,</sup> <sup>_f_</sup> <sup>neq</sup> _i_, _f_
<sup>neq</sup> _i_ ≈ _τ_ <sup>∗</sup> _Δt_ ð _Df i_ / _Dt_ Þ ≈ _τ_ <sup>∗</sup> _Δt_ ð _Df_ _i_ <sup>eq</sup>
_i_ <sup>eq/</sup> <sup>_Dt_</sup> <sup>Þ.</sup> <sup>Since</sup> <sup>_f_</sup> <sup>eq</sup> _i_, _c_
<sup>eq</sup> _i_, _f_ <sup>,</sup> <sup>_f_</sup> <sup>neq</sup> _i_, _f_
major task assignment into multiple small parallel assignments. Due to the peak performance of a single logical
CPU, the local refinement algorithm can take advantage of
computational capability for each line by disassembling
major assignments under certain computational capability
restrictions.
3. Numerical Case
3.1. Poiseuille Flow in Homogeneous Porous Media. The
accuracy and efficiency of the local encryption algorithm
were verified by simulating the Poiseuille flow in homogeneous porous media. The model size of the porous media
is 50 _μ_ m × 16 _μ_ m, the local permeability is 3 _:_ 33 × 10 <sup>−3</sup> _μ_ m <sup>2</sup>,
the local porosity is 10%, the fluid viscosity is 1 × 10 <sup>−6</sup> m <sup>2</sup> /
s, and the fluid density is 1 × 10 <sup>3</sup> kg/m <sup>3</sup> . The fluid is driven
by fixed pressure difference at both ends, and the centerline
flow rate is always maintained at _u_ <sup>∗</sup> = 1 × 10 <sup>−6</sup> . Nonequilibrium extrapolation scheme is adopted for the inlet and outlet
boundary, and the halfway bounce-back scheme is adopted
for the upper and lower walls.
The local refinement method of the model block is
shown in Figure 6, and the parameters of each simulation
method are shown in Table 2.
The simulation results are shown in Figure 7. It can be
found that when only coarse blocks are used for simulation,
the lack of calculation nodes on the solid wall boundary will
cause about 8% abrupt error, while the local refinement
algorithm can obviously eliminate the nonphysical oscillation on the boundary caused by the insufficient calculation
nodes in a single coarse block system. Besides, although
the number of nodes used in the local refinement method
of Refinement-1 and Refinement-2 is different, the calculated results of the two methods are similar. Also, either
Refinement-1 or Refinement-2 can get results close to fine
block accuracy, which shows that as long as the refinement
region covers large velocity gradient nodes, the error control
of such abrupt velocity nodes can be realized, and the appropriate reduction of the local refinement region will not cause
obvious changes in the overall results or cause nonphysical
oscillations again.
In order to fully illustrate the efficiency of the local
refinement algorithm, this paper doubled the simulation size
with the local refinement block model as shown in Figure 6.
At this point, the local refinement algorithm will further
highlight the advantages of saving nodes and will be more
prominent when under constraints of certain computational
capability limits; the local refinement algorithm spends a
shorter time to obtain a relatively good simulation result.
The simulation parameters of each method are as shown in
Table 3.
OpenMP was adopted for parallel acceleration in the
above three simulation methods, and the maximum number
of logical CPU cores for parallel programs was set as 8 cores.
After repeated running several times, the running time
results are shown in Figure 8. It can be found that when
the same number of time steps _t_ <sup>∗</sup> = 2000 is simulated, the
single duration of each local refinement method is smaller
than that of the fine block, and the average duration of the
_i_ _i_, _f_ <sup>,</sup> <sup>_f_</sup> _i_, _f_
= ð _τ_ <sup>∗</sup> _f_ <sup>_Δt_</sup> _f_ <sup>/</sup> <sup>_τ_</sup> _c_ <sup>∗</sup> <sup>_Δt_</sup> _c_ <sup>Þ</sup> <sup>_f_</sup> <sup>neq</sup> _i_, _c_ <sup>= ð</sup> <sup>_τ_</sup> <sup>∗</sup> _f_ <sup>/</sup> <sup>_τ_</sup> <sup>∗</sup> _c_ <sup>_n_</sup> ref <sup>Þ</sup> <sup>_f_</sup> <sup>neq</sup> _i_, _c_ <sup>.</sup> <sup>The</sup> <sup>data</sup> <sup>exchange</sup>
_c_ <sup>∗</sup> <sup>_Δt_</sup> _c_ <sup>Þ</sup> <sup>_f_</sup> <sup>neq</sup> _i_, _c_
<sup>∗</sup> _f_ <sup>_Δt_</sup> _f_ <sup>/</sup> <sup>_τ_</sup> _c_ <sup>∗</sup>
<sup>neq</sup> _i_, _c_ <sup>= ð</sup> <sup>_τ_</sup> <sup>∗</sup> _f_
<sup>∗</sup> _f_ <sup>/</sup> <sup>_τ_</sup> <sup>∗</sup> _c_
<sup>∗</sup> _c_ <sup>_n_</sup> ref <sup>Þ</sup> <sup>_f_</sup> <sup>neq</sup> _i_, _c_
= ð _τ_ <sup>∗</sup> _f_ <sup>_Δt_</sup> _f_ <sup>/</sup> <sup>_τ_</sup> _c_ <sup>∗</sup> <sup>_Δt_</sup> _c_ <sup>Þ</sup> <sup>_f_</sup> <sup>neq</sup> _i_, _c_ <sup>= ð</sup> <sup>_τ_</sup> <sup>∗</sup> _f_ <sup>/</sup> <sup>_τ_</sup> <sup>∗</sup> _c_ <sup>_n_</sup> ref <sup>Þ</sup> <sup>_f_</sup> <sup>neq</sup> _i_, _c_ <sup>.</sup> <sup>The</sup> <sup>data</sup> <sup>exchange</sup>
method on common points of coarse and fine blocks can
thus be obtained.
Coarse to fine:
_f i_, _f_ =
Fine to coarse:
_τ_ <sup>∗</sup> _f_
_f_
_τ_ <sup>∗</sup> _c_ <sup>_n_</sup>
<sup>∗</sup> _c_ <sup>_n_</sup> ref
À _f i_, _c_ - _f_ _i_ <sup>eq</sup> Á + _f_ eq _i_
_f i_, _c_ - _f_ _i_ <sup>eq</sup>
_i_ <sup>_:_</sup> ð22Þ
_f i_, _c_ = <sup>_τ_</sup> _<u>c</u>_ <sup>∗</sup>
_<u>c</u>_ <sup>∗</sup> <sup>_n_</sup> ref
-
_f i_, _f_ - _f_ _i_ <sup>eq</sup> + _f_ <sup>eq</sup> _i_
_f i_, _f_ - _f_ _i_ <sup>eq</sup>
<sup>eq</sup> _i_ <sup>_:_</sup> ð23Þ
_τ_ <sup><u>∗</u></sup> _f_
_f_
To avoid the singularity problem occurred in _τ_ <sup>∗</sup> = 1 of
FH algorithm, the idea of data exchange before the collision
is adopted, which based on the DC algorithm [24]. The specific algorithm flow is shown in Figure 4.
Among them, the nodes that need spatial interpolation
on the fine block boundary adopt the serendipity element
as shown in Figure 5 for interpolation calculation, that is _f i_
= ð1/2Þð _f i_,3 + _f i_,4 − _f i_,1 − _f i_,2Þ + _f i_,6. Since the interpolation
element only depends on known nodes, which means different interpolation nodes are independent of each other.
Moreover, the interpolation requirements on the four
boundaries can be satisfied by rotation, and the calculation
formulas before and after rotation are similar, so the parallel
ability of the whole algorithm can be improved.
The original REV-LBM algorithm features high parallel
computing capability, which mainly focuses on collision
and migrations, whereas the local refinement algorithm has
multiple parallel parts besides collision and migration parts
on different block systems, which also includes the delivery
of node values on coarse and fine blocks as well as the calculation of interpolated nodes on fine blocks. Therefore, the
local refinement algorithm is capable of turning a single
Geofluids 7
Fine block
Coarse block
Fine block
Figure 6: Physical model.
Table 2: Parameter sets.
<u>Simulation method</u> <u>Block</u> <u>size</u> <u>Refined region</u> <u>size</u> <u>Total</u> <u>nodes count</u> <u>Relaxation time</u> <u>(</u> <sup>∗</sup> <u>coarse block/fine</u> <u>block)</u>
Coarse 100 × 32 - 3200 0.52
Refinement-1 100 × 32 199 × 13 × 2 8347 0.52/0.54 <sup>∗</sup>
Refinement-2 100 × 32 199 × 23 × 2 12354 0.52/0.54 <sup>∗</sup>
Fine 200 × 64 - 12800 0.54
1.0
0.8
0.6
0.4
0.2
0.0
0.12
0.10
0.08
0.06
0.04
0.02
0.94 0.96 0.98 1.00 1.02 1.04 1.06 1.08
u/U
0.0 0.2 0.4 0.6 0.8 1.0
u/U
Exact
Coarse
Refinement-1
Coarse Refinement-2
Fine
Figure 7: Poiseuille flow solution with different grid settings.
Table 3: Parameter sets.
Relaxation time
( <sup>∗</sup> coarse block/
fine <u>block)</u>
Total
nodes
<u>count</u>
Simulation
method
Block
size
Refined
region size
Coarse 200 × 64 - 12800 0.52
Refinement 200 × 64 399 × 13 × 2 23174 0.52/0.54 <sup>∗</sup>
Fine 400 × 128 - 51200 0.54
local refinement method is 431.101 s, less than that of the
fine block 473.182 s, which exemplifies the time advantage
of local refinement method. Moreover, the time required
by the local refinement method is about 4.5 times that of a
single coarse block. This is because, under a single step dura
tion of the coarse block, the local refinement algorithm
needs to carry out two node data exchanges between coarse
and fine boundary, two collision migrations in the refinement region, and one collision migration in the coarse block
region. Combined with the simulation parameters, the computational task load is found out to be about 4 to 5 times that
of the coarse block, meaning that the local refinement algorithm has made full use of the computational capacity of a
single logical processor. However, the computational task
load of the overall refined block is 4 times that of the coarse
block, but the time required is about 5.0 times that of the
coarse block only, which shows that the overall refined block
approach has exceeded the optimal peak of a single logical
processor under the computational force constraints. The
local refinement algorithm’s ability to make full use of each
line’s computational capability by dissembling a major task
under certain computational constraints is illustrated. In
addition, the local refinement method has a similar relaxation time with coarse block, thus enabling the local refinement method to reach equilibrium faster and obtain about
2 times the calculation efficiency. At the same time shows
the local encryption algorithm compared with the overall
elaboration grid in the same stability condition by the simulation speed of at least one times, which also shows that the
local refinement algorithm improves the simulation speed at
least twice as fast as the overall refined block method under
the same stability condition.
3.2. Flow in Fractured Porous Media. This method can also
eliminate the nonphysical oscillation located at fracture
boundary (REV-scale LBM is only used for the matrix, but
the fracture flow is calculated by pore-scale LBM. The junction of the matrix-fracture system has a large velocity gradient which will lead to the nonphysical oscillation.). The size
of porous media model with real fractures, shown as
Figure 9, is 320 _μ_ m × 160 _μ_ m. In addition, this model is only
contained 28800 nodes which will be cost about twice by
means of FEM (finite element method) under the same
8 Geofluids
500
400
300
200
100
0
~~465.73~~ 484.724 <u>475.203</u> 481.896 <u>469.572</u> ~~461.97~~
454.176
~~425.178~~ <u>427.758</u> <u>432.118</u>
<u>427.961</u>
~~419.415~~
~~85.671~~ <u>81.508</u>
114.377
<u>92.941</u> <u>98.196</u> <u>97.173</u>
1 2 3 4 5 6
Running number
Coarse
Refinement
Fine
(a)
<u>1×10</u> <sup>−6</sup>
1.0
0.8
0.6
0.4
0.2
0.0
0 500 1000 1500 2000
t <sup>⁎</sup>
Coarse
Refinement
Fine
(b)
Figure 8: (a) Running time when _t_ <sup>∗</sup> = 2000. (b) The central velocity change with dimensionless time step in different grid settings.
Geofluids 9
Figure 9: Imaginary homogenous porous media model with real microfracture: the black color is the homogenous porous media, while the
white color is the microfractures.
u <sup>⁎</sup> (1 ?m·s <sup>−1</sup> /150 m·s <sup>−1</sup> )
160
140
120
100
80
60
40
20
160
140
120
100
80
60
40
20
4.87
3.76
2.65
1.54
0.43
40 80 120 160 200 240 280 320
Length (?m)
(a)
u <sup>⁎</sup> (1 ?m·s <sup>−1</sup> /150 m·s <sup>−1</sup> )
4.87
3.76
2.65
1.54
0.43
40 80 120 160 200 240 280 320
Length (?m)
(b)
Figure 10: Velocity distribution colormap: (a) original coarse algorithm result; (b) refinement algorithm result.
structure accuracy. And the local permeability of matrix is
3 _:_ 33 × 10 <sup>−3</sup> _μ_ m <sup>2</sup> ; the local porosity of matrix is 10%. With
the same simulation parameters and settings as the previous
case, the simulation result is as follow in Figure 10.
From the velocity distribution colormap of the simulation results (Figure 10(a)), it can be clearly observed that
many discontinuous color speckles appear at the fracture
edge, and discontinuous color bands appear at the solid wall
boundary, which is due to the numerical oscillation at the
fracture edge and solid wall boundary caused by the original
single coarse grid algorithm. Compared with Figure 10(a), it
can be found that the discontinuous color speckles and color
strip disappear in Figure 10(b).
As the partial enlarged view of Figure 10(a) is shown in
Figure 11, it can be discovered that the bright speckles (green
circles) appear at a certain distance from the fracture edge,
while the dark speckles (red dash circles) are almost close to
the fractures edge. This phenomenon is consistent with the
previous case (Section 3.1), which shows that the single coarse
grid algorithm will cause extremely serious nonphysical
10 Geofluids
112
96
80
64
20 40 60 80 100 120 140
Length (?m)
Figure 11: The partial enlarged view of shadow region in Figure 10(a).
oscillation when the velocity gradient is large and will cause
great interference to the simulation results of the porous
media model. The smooth transition of the velocity distribution near the fractures edge in Figure 10(b) also proves the
superiority of the numerical accuracy of the local refinement
algorithm. What is more, it could save more than 30% of
CPU time in this practical application, which is similar as
the previous conventional example mentioned in Section 3.1.
4. Conclusion
In this paper, the existing LBM local refinement algorithm is
extended to combine with the REV-scale LBM algorithm,
and because of that, REV-scale LBM is more applicable to
solve the complex porous media seepage problem independently or with the cooperation of pore-scale LBM. By adjusting the processing of macroscopic velocity in the equilibrium
state equation in Guo’s original model, the problem of velocity mismatch on coarse and fine block caused by the application of the original model to the local refinement algorithm
is eliminated. The simulation results show that the local
refinement algorithm based on REV-scale LBM can achieve
high computational accuracy with limited computational
capability and less computational time (nearly 9 times error
reduction at the boundary layer with only 70% CPU time),
which can provide an idea for the flow simulation of transscale porous media with matrix meeting the REV’s size
and complex microfractures or dissolution pore structures.
Symbols
_ci_ : Discrete velocity set, m/s
_cs_ : The lattice speed of sound, m/s
_Cl_ : Conversion factor for length, m
_Ct_ : Conversion factor for time, s
_Cρ_ : Conversion factor for density, kg/m <sup>3</sup>
_Df_ / _Dt_ : Total derivative, kg/(s·m <sup>3</sup> )
_F_ : Body force, N/m <sup>3</sup>
_G_ : External force, N/m <sup>3</sup>
_H_ : Porous channel height, m
_K_ : Local permeability, m <sup>2</sup>
_n_ ref : The ratio of lattice spacing between two blocks,
dimensionless
_u_ : Velocity, m/s
_u_ 0: Initial velocity, m/s
_U_ : Centerline velocity, m/s
_Δl_ : Lattice spacing, m
_Δt_ : Time step, s
_ε_ : Local porosity, dimensionless
_λ_ : Turbulence coefficient of high-speed non-Darcy
flow, m <sup>−1</sup>
_μ_ : Dynamic viscosity, Pa·s
_ν_ : Kinematic viscosity, m <sup>2</sup> /s
_τ_ : Relaxation time, s
_ρ_ : Density, kg/m <sup>3</sup>
_ωi_ : Weight with velocity _ci_, dimensionless.
Superscripts
eq: Equilibrium state
neq: Nonequilibrium state
∗: Dimensionless parameter.
Subscripts
_c_ : Coarse grid
_f_ : Fine grid
_i_ : Parameter with velocity _ci_
_α_, _β_ : Tensor index.
Data Availability
The numerical data and algorithm, except the information
presented in the manuscript, used to support the funding
of this study is restricted by the safety law of Petrol China,
while the source code of the local refinement algorithm
written in the manuscript is not open source before
commercialization.
_f i_ ð _x_, _t_ Þ: Particle distribution function with velocity _ci_ at
position _x_ and time _t_, kg/m <sup>3</sup>
~ _f i_ ð _x_, _t_ Þ: _f i_ after collision, kg/m <sup>3</sup>
Geofluids 11
Conflicts of Interest
The authors declared no potential conflicts of interest with
respect to the research, authorship, and/or publication of
this article.
Acknowledgments
This study is financially supported by the National Science and
Technology Major Project (2017ZX05013-001), the Research
on Comprehensive Evaluation Method of Unconventional
Reservoir Based on Artificial Intelligence (2019D-500809),
the Study on the Seepage Law of Typical Low-Grade Oil Reservoirs and New Methods for Enhancing Oil Recovery
(2021DJ1102), and the Research on Tight Oil Physical Simulation and Production Mechanism (2021DJ2204).
References
[1] T. Krüger, H. Kusumaatmaja, A. Kuzmin, O. Shardt, G. Silva,
and E. M. Viggen, The Lattice Boltzmann Method: Principles
and Practice, Springer International Publishing, Cham, 2017.
[2] X. L. Zhao, Z. M. Yang, W. Lin et al., “Study on pore structures
of tight sandstone reservoirs based on nitrogen adsorption,
high-pressure mercury intrusion, and rate-controlled mercury
intrusion,” Journal of Energy Resources Technology, vol. 141,
no. 11, article 112903, 2019.
[3] P. Qiao, Y. Ju, J. Cai et al., “Micro-nanopore structure and frac
tal characteristics of tight sandstone gas reservoirs in the eastern Ordos Basin, China,” Journal of Nanoscience and
Nanotechnology, vol. 21, no. 1, pp. 234–245, 2021.
[4] W. Guo, W. Shen, X. Li et al., “Study on mechanical character
istics and damage mechanism of the Longmaxi Formation
shale in southern Sichuan Basin, China,” Energy Exploration
& Exploitation, vol. 38, no. 2, pp. 454–472, 2020.
[5] W. Guo, W. Shen, S. Zhou, H. Xue, D. Liu, and N. Wang,
“Shale favorable area optimization in coal-bearing series: a
case study from the Shanxi Formation in northern Ordos
Basin, China,” Energy Exploration & Exploitation, vol. 36,
no. 5, pp. 1295–1309, 2018.
[6] X. Huang, W. Zhou, and D. Deng, “Effective diffusion in
fibrous porous media: a comparison study between lattice
Boltzmann and pore network modeling methods,” Materials,
vol. 14, no. 4, p. 756, 2021.
[7] S. Yao, H. Wu, and M. Xiao, “The REV-scale lattice Boltzmann
method numerical simulation of flow and mass transfer in
porous electrode plate of zinc-nickel single-flow battery,”
International Journal of Electrochemical Science, pp. 8340–
8354, 2019.
[8] G. Z. Liu, F. L. Liu, M. Li et al., “Lattice Boltzmann model for
upscaling of flow in heterogeneous porous media based on
Darcy’s law,” Journal of Porous Media, vol. 22, no. 9,
pp. 1131–1139, 2019.
[9] V. Shariati, M. H. Ahmadian, and E. Roohi, “Direct simulation
Monte Carlo investigation of fluid characteristics and gas
transport in porous microchannels,” Scientific Reports, vol. 9,
no. 1, p. 17183, 2019.
[10] Y. Xia, A. Blumers, Z. Li et al., “A GPU-accelerated package for
simulation of flow in nanoporous source rocks with manybody dissipative particle dynamics,” Computer Physics Communications, vol. 247, article 106874, 2020.
[11] F. O. Alpak, I. Zacharoudiou, S. Berg, J. Dietderich, and
N. Saxena, “Direct simulation of pore-scale two-phase viscocapillary flow on large digital rock images using a phase-field
lattice Boltzmann method on general-purpose graphics
processing units,” Computational Geoences, vol. 23, no. 5,
pp. 849–880, 2019.
[12] W. Lin, S. Xiong, Y. Liu, Y. He, S. Chu, and S. Liu, “Spontane
ous imbibition in tight porous media with different wettability:
pore-scale simulation,” Physics of Fluids, vol. 33, no. 3,
p. 032013, 2021.
[13] W. Lin, X. Z. Li, Z. M. Yang, S. Xiong, Y. Luo, and X. Zhao,
“Modeling of 3D rock porous media by combining X-ray CT
and Markov chain Monte Carlo,” Journal of Energy Resources
Technology, vol. 142, no. 1, p. 13001, 2020.
[14] J. Ansarinasab and M. Jamialahmadi, “Pore-scale investigation
of some effective parameters on immiscible displacement efficiency using free energy model of lattice Boltzmann method,”
Journal of Petroleum Science and Engineering, vol. 156,
pp. 748–762, 2017.
[15] J. Zheng, Y. Ju, and M. Wang, “Pore-scale modeling of spontane
ous imbibition behavior in a complex shale porous structure by
pseudopotential lattice Boltzmann method,” Journal of Geophysical Research: Solid Earth, vol. 123, no. 11, pp. 9586–9600, 2018.
[16] A. Yehya, H. Naji, and M. C. Sukop, “Simulating flows in
multi-layered and spatially-variable permeability media via a
new gray lattice Boltzmann model,” Computers and Geotechnics, vol. 70, pp. 150–158, 2015.
[17] Z. L. Guo and T. S. Zhao, “Lattice Boltzmann model for
incompressible flows through porous media,” Physical Review
E, vol. 66, no. 3, p. 36304, 2002.
[18] T. Zhang, F. Javadpour, Y. Yin, and X. Li, “Upscaling water
flow in composite nanoporous shale matrix using lattice Boltzmann method,” Water Resources Research, vol. 56, no. 4, 2020.
[19] T. Zhang, X. Li, X. Wang et al., “Modelling the water transport
behavior in organic-rich nanoporous shale with generalized
lattice Boltzmann method,” International Journal of Heat
and Mass Transfer, vol. 127, pp. 123–134, 2018.
[20] T. Zhang, X. Li, Y. Yin et al., “The transport behaviors of oil in
nanopores and nanoporous media of shale,” Fuel, vol. 242,
pp. 305–315, 2019.
[21] R. Mabrouk, H. Naji, and H. Dhahri, “Numerical investigation
of metal foam pore density effect on sensible and latent heats
storage through an enthalpy-based REV-scale lattice Boltzmann method,” PRO, vol. 9, no. 7, p. 1165, 2021.
[22] O. Filippova and D. Hänel, “Acceleration of lattice-BGK
schemes with grid refinement,” Journal of Computational
Physics, vol. 165, no. 2, pp. 407–427, 2000.
[23] D. Yu, R. Mei, and W. Shyy, “A multi-block lattice Boltzmann
method for viscous fluid flows,” International Journal for
Numerical Methods in Fluids, vol. 39, no. 2, pp. 99–120, 2002.
[24] A. Dupuis and B. Chopard, “Theory and applications of an
alternative lattice Boltzmann grid refinement algorithm,”
Physical Review E, vol. 67, no. 6, 2003.
[25] K. Guo, X. Cui, and M. Liu, “A coupled lattice Boltzmann
volume penalization for flows past fixed solid obstacles with
local mesh refinement,” Mathematical Problems in Engineering, vol. 2018, 12 pages, 2018.
[26] H. Farhat and J. S. Lee, “Fundamentals of migrating multi
block lattice Boltzmann model for immiscible mixtures in 2D
geometries,” International Journal of Multiphase Flow,
vol. 36, no. 10, pp. 769–779, 2010.
12 Geofluids
[27] S. Chen, C. Peng, Y. Teng, L. P. Wang, and K. Zhang, “Improv
ing lattice Boltzmann simulation of moving particles in a viscous flow using local grid refinement,” Computers & Fluids,
vol. 136, pp. 228–246, 2016.
[28] C. Coreixas, G. Wissocq, B. Chopard, and J. Latt, “Impact of
collision models on the physical properties and the stability
of lattice Boltzmann methods,” Series A: Mathematical, Physical, and Engineering Sciences, vol. 378, no. 2175, article
20190397, 2020.
[29] Z. Guo, C. Zheng, and B. Shi, “Discrete lattice effects on the
forcing term in the lattice Boltzmann method,” Physical
Review E, vol. 65, no. 4, article 046308, 2002.
섹션 본문
섹션 본문이 없습니다.
참고문헌 29건
- Simulating flows in multi-layered and spatially-variable permeability media via a new Gray Lattice Boltzmann model Computers and Geotechnics · Elsevier BV · 2015 10.1016/j.compgeo.2015.07.017
- Theory and applications of an alternative lattice Boltzmann grid refinement algorithm Physical review. E, Statistical physics, plasmas, fluids, and related interdisciplinary topics · American Physical Society · 2003 10.1103/physreve.67.066707
- Fundamentals of migrating multi-block lattice Boltzmann model for immiscible mixtures in 2D geometries International Journal of Multiphase Flow · Elsevier BV · 2010 10.1016/j.ijmultiphaseflow.2010.07.001
- Acceleration of Lattice-BGK Schemes with Grid Refinement Journal of Computational Physics · Elsevier BV · 2000 10.1006/jcph.2000.6617
- 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
- A multi‐block lattice Boltzmann method for viscous fluid flows International Journal for Numerical Methods in Fluids · Wiley · 2002 10.1002/fld.280
- 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
- Improving lattice Boltzmann simulation of moving particles in a viscous flow using local grid refinement Computers & Fluids · Elsevier BV · 2016 10.1016/j.compfluid.2016.06.009
- Pore-scale investigation of some effective parameters on immiscible displacement efficiency using Free Energy model of Lattice Boltzmann method Journal of Petroleum Science and Engineering · Elsevier BV · 2017 10.1016/j.petrol.2017.06.052
- Shale favorable area optimization in coal-bearing series: A case study from the Shanxi Formation in Northern Ordos Basin, China Energy Exploration & Exploitation · SAGE Publishing · 2017 10.1177/0144598717748951
- A Coupled Lattice Boltzmann-Volume Penalization for Flows Past Fixed Solid Obstacles with Local Mesh Refinement Mathematical Problems in Engineering · Hindawi Publishing Corporation · 2018 10.1155/2018/6732082
- Modelling the water transport behavior in organic-rich nanoporous shale with generalized lattice Boltzmann method International Journal of Heat and Mass Transfer · Elsevier BV · 2018 10.1016/j.ijheatmasstransfer.2018.07.070
- Pore-Scale Modeling of Spontaneous Imbibition Behavior in a Complex Shale Porous Structure by Pseudopotential Lattice Boltzmann Method Journal of Geophysical Research Solid Earth · Wiley · 2018 10.1029/2018jb016430
- The transport behaviors of oil in nanopores and nanoporous media of shale Fuel · Elsevier BV · 2019 10.1016/j.fuel.2019.01.042
- Study on Pore Structures of Tight Sandstone Reservoirs Based on Nitrogen Adsorption, High-Pressure Mercury Intrusion, and Rate-Controlled Mercury Intrusion Journal of Energy Resources Technology · ASM International · 2019 10.1115/1.4043695
- The REV-scale Lattice Boltzmann Method Numerical Simulation of Flow and Mass Transfer in Porous Electrode Plate of Zinc-nickel single-flow battery International Journal of Electrochemical Science · Elsevier BV · 2019 10.20964/2019.08.85
- Direct simulation of pore-scale two-phase visco-capillary flow on large digital rock images using a phase-field lattice Boltzmann method on general-purpose graphics processing units Computational Geosciences · Springer Science+Business Media · 2019 10.1007/s10596-019-9818-0
- LATTICE BOLTZMANN MODEL FOR UPSCALING OF FLOW IN HETEROGENEOUS POROUS MEDIA BASED ON DARCY'S LAW Journal of Porous Media · Begell House · 2019 10.1615/jpormedia.2019023331
- A GPU-accelerated package for simulation of flow in nanoporous source rocks with many-body dissipative particle dynamics Computer Physics Communications · Elsevier BV · 2019 10.1016/j.cpc.2019.106874
- Study on mechanical characteristics and damage mechanism of the Longmaxi Formation shale in southern Sichuan Basin, China Energy Exploration & Exploitation · SAGE Publishing · 2019 10.1177/0144598719876858
- Modeling of 3D Rock Porous Media by Combining X-Ray CT and Markov Chain Monte Carlo Journal of Energy Resources Technology · ASM International · 2019 10.1115/1.4045461
- Direct Simulation Monte Carlo investigation of fluid characteristics and gas transport in porous microchannels Scientific Reports · Nature Portfolio · 2019 10.1038/s41598-019-52707-3
- Upscaling Water Flow in Composite Nanoporous Shale Matrix Using Lattice Boltzmann Method Water Resources Research · Wiley · 2020 10.1029/2019wr026007
- Micro-Nanopore Structure and Fractal Characteristics of Tight Sandstone Gas Reservoirs in the Eastern Ordos Basin, China Journal of Nanoscience and Nanotechnology · American Scientific Publishers · 2020 10.1166/jnn.2021.18743
- Impact of collision models on the physical properties and the stability of lattice Boltzmann methods Philosophical Transactions of the Royal Society A Mathematical Physical and Engineering Sciences · Royal Society · 2020 10.1098/rsta.2019.0397
- Effective Diffusion in Fibrous Porous Media: A Comparison Study between Lattice Boltzmann and Pore Network Modeling Methods Materials · Multidisciplinary Digital Publishing Institute · 2021 10.3390/ma14040756
- Spontaneous imbibition in tight porous media with different wettability: Pore-scale simulation Physics of Fluids · American Institute of Physics · 2021 10.1063/5.0042606
- Numerical Investigation of Metal Foam Pore Density Effect on Sensible and Latent Heats Storage through an Enthalpy-Based REV-Scale Lattice Boltzmann Method Processes · Multidisciplinary Digital Publishing Institute · 2021 10.3390/pr9071165
- The Lattice Boltzmann Method Graduate texts in physics · Springer Nature · 2016 10.1007/978-3-319-44649-3