선정목록으로
Discrete effect on single-node boundary schemes of lattice Bhatnagar–Gross–Krook model for convection-diffusion equations
간접 관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기) (6) PEM(고분자전해질막)(7) MEA(막전극접합체)
기본 정보
- 저자
- DOI
- 10.1142/s0129183120500175
- 저널
- International Journal of Modern Physics C
- 발행년도
- 2019
- 발행기관
- World Scientific
- 피인용수
- 1
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1142/s0129183120500175
- 토픽
- Heat and Mass Transfer in Porous Media
- OpenAlex ID
- W2956160103
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
- 부 분야
- (6) PEM(고분자전해질막), (7) MEA(막전극접합체)
- R&D 측면
- 분석·모델링
- 확신도
- 0.70
- 근거 용어
- convection-diffusion equations, lattice Boltzmann method, heat and mass transfer, numerical slip, diffusion coefficient
- 판단 근거
- 이 논문은 대류-확산 방정식(CDE)을 해결하기 위한 격자 볼츠만 방법(LBM)의 수치적 경계 조건과 확산 현상을 다루는 수치 해석 연구입니다.
- R&D 활용 포인트
- 수소연료전지(PEMFC)의 핵심 구성 요소인 가습기(5) 내 중공사막(5)을 통한 수증기 투과 및 물질 전달(mass transfer) 현상을 정밀하게 시뮬레이션하고 모델링하는 데 활용할 수 있습니다.
- 평가 입력
- 본문 46,696자 중 30,032자 발췌
초록
The discrete effect on the boundary condition has been a fundamental topic for the lattice Boltzmann method (LBM) in simulating heat and mass transfer problems. In previous works based on the anti-bounce-back (ABB) boundary condition for convection-diffusion equations (CDEs), it is indicated that the discrete effect cannot be commonly removed in the Bhatnagar–Gross–Krook (BGK) model except for a special value of relaxation time. Targeting this point in this paper, we still proceed within the framework of BGK model for two-dimensional CDEs, and analyze the discrete effect on a non-halfway single-node boundary condition which incorporates the effect of the distance ratio. By analyzing an unidirectional diffusion problem with a parabolic distribution, the theoretical derivations with three different discrete velocity models show that the numerical slip is a combined function of the relaxation time and the distance ratio. Different from previous works, we definitely find that the relaxation time can be freely adjusted by the distance ratio in a proper range to eliminate the numerical slip. Some numerical simulations are carried out to validate the theoretical derivations, and the numerical results for the cases of straight and curved boundaries confirm our theoretical analysis. Finally, it should be noted that the present analysis can be extended from the BGK model to other lattice Boltzmann (LB) collision models for CDEs, which can broaden the parameter range of the relaxation time to approach 0.5.
본문 46,696자
본문 펼치기
APS/123-QED
### Discrete effect on the anti-bounce-back boundary condition of lattice Bhatnagar-Gross-Krook model for convection-diffusion equations
Liang Wang, <sup>1, 2</sup> Xuhui Meng, <sup>3</sup> Hao-Chi Wu, <sup>4</sup> Tian-Hu Wang, <sup>1, 2</sup> and Gui Lu <sup>1, 2, ∗</sup>
1Key Laboratory of Condition Monitoring and Control
for Power Plant Equipment of Ministry of Eduction,
North China Electric Power University, Beijing 102206, China
2School of Energy Power and Mechanical Engineering,
North China Electric Power University, Beijing 102206, China
3Division of Applied Mathematics, Brown University, Providence, RI 02912, USA
4School of Control and Computer Engineering,
North China Electric Power University, Beijing 102206, China
(Dated: July 3, 2019)
### Abstract
The discrete effect on the boundary condition has been a fundamental topic for the lattice
Boltzmann method in simulating heat and mass transfer problems. In previous works based on the
halfway anti-bounce-back (ABB) boundary condition for convection-diffusion equations (CDEs),
it is reported that the discrete effect cannot be commonly removed in the Bhatnagar-Gross-Krook
(BGK) model except for a special value of relaxation time. Targeting this point in the present
paper, we still proceed within the framework of BGK model for two-dimensional CDEs, and analyze
the discrete effect on a non-halfway ABB boundary condition which incorporates the effect of the
distance ratio. By analyzing an unidirectional diffusion problem with a parabolic distribution,
the theoretical derivations with three different discrete velocity models show that the numerical
slip is a combined function of the relaxation time and the distance ratio. Different from previous
works, we definitely find that the relaxation time can be freely adjusted by the distance ratio in
a proper range to eliminate the numerical slip. Some numerical simulations are carried out to
validate the theoretical derivations, and the numerical results for the cases of straight and curved
boundaries confirm our theoretical analysis. Finally, it should be noted that the present analysis
can be extended from the BGK model to other lattice Boltzmann (LB) collision models for CDEs,
which can broaden the parameter range of the relaxation time to approach 0.5.
∗ Corresponding author: [lugui02@gmail.com](mailto:lugui02@gmail.com)
I. INTRODUCTION
In the past couples of decades, the lattice Boltzmann method (LBM) has been gradually
developed as an effective and powerful technique for a wide range of application areas [1, 2],
such as single-phase flows, multiphase flows, microgaseous flows and porous flows [3–7].
Unlike the conventional computational methods, the LBM solves the discrete Boltzmann
equation instead of the macroscopic continuum equations. The kinetic nature of the LBM
possesses several attractive features in flow simulations, such as simple program, intrinsically
parallel computation, and easy boundary treatment. Among the other successful extensions,
the LBM has also been adapted to solve convection-diffusion equations (CDEs), which are
commonly encountered in studying heat and mass transfer associated with fluid flows. So
far, there have been many LB models proposed for CDEs [8–10]. More detailed reviews
about these works can be found in Refs. [11–14].
To completely solve CDEs by the LBM, apart from the numerical algorithm for the LB
equation (LBE), the boundary condition should also be specified for the unknown distribu
tion functions at boundary nodes (i.e., lattice nodes nearest to the physical boundary). It is
a critical issue and has attracted increasing researchers’ efforts towards accurate boundary
treatments. In several recent publications [15–18], the reader can trace some existing LBM
boundary conditions such as the ABB scheme [19, 20] and the non-equilibrium extrapolation
scheme [21, 22]. The terminology of ABB is in contrast to the bounce-back (BB) scheme for
fluid flows. That is, the outgoing population reflects back in the opposite direction with the
BB scheme, while it changes its sign with the ABB scheme [23]. As have recognized in the
boundary conditions of LBM for flow simulations, it is known that the discrete effect on the
boundary condition also must be minimized to derive correct results for CDEs [15, 26, 27].
However, there has not been extensive investigations on this topic as those for the fluid flow
simulations. Based on the developed Taylor expansion method [24, 25], Dubois et al. [26]
analyzed the ABB boundary condition within the framework of multiple-relaxation-time
(MRT) model for one-dimensional diffusion equation with the Dirichlet boundary condition.
They demonstrated that the halfway ABB (HABB) boundary condition can be accurate up
to order two in space under a specific combination of the relaxation rates. Within the BGK
model framework, Zhang et al. [15] proposed a HABB boundary condition for CDEs, and
also analyzed the discrete effect of their boundary condition. For the diffusion in Couette
flow with wall injection, they derived mathematically that the concentration jump or the
numerical slip is related with the relaxation time and has a second-order dependence with
the lattice spacing. It is also shown that the numerical slip cannot commonly be removed in
the BGK model. As for the discrete effect of the HABB boundary condition, Cui et al. [27]
revisit this topic based on the MRT model with three discrete lattice models, and derive the
numerical slip relating with two relaxation rates and the square of lattice spacing. Their
theoretical analysis and numerical results show that the discrete effect on the HABB bound
ary condition can be removed owing to the free relaxation parameter s2 in the MRT model,
while it cannot be eliminated except for a special value of the relaxation time in the BGK
model. However, we note that the boundary condition in the above works is concentrated to
the halfway boundary scheme, which intrinsically disregards the possible degree of freedom
from the wall arrangements between lattice nodes.
Actually, in the boundary conditions for CDEs, the wall can be located between two lat
tice nodes with an arbitrary but not only halfway intersection distance [16, 17, 20, 28]. This
means that if the wall location is embodied in the boundary condition, it may appear as a
free parameter besides the relaxation time in the derived numerical slip. Therefore, it natu
rally brings out a fundamental question about the discrete effect of the boundary condition:
whether the numerical slip can be eliminated while not limited at a special relaxation time
in the BGK model. To our knowledge, no publications have been reported on this topic. In
this work, we will analyze the discrete effect on the non-halfway ABB (NHABB) boundary
condition for CDEs within the framework of BGK model. The boundary condition proposed
in Ref. [17] is adopted here for its locality and ability to adjust the wall location arbitrarily
between lattice nodes. And importantly, we will show how to choose the relaxation time
to eliminate the discrete effect freely by tuning the parameter of wall location. From this
point, in addition to resorting to other LBE models (e.g., MRT model) for more degrees of
freedom, the present work reveals another way to eliminate the discrete effect on boundary
condition of the BGK model for CDEs.
The paper is organized as follows. In Sec. II, the BGK-LBE for the CDE with a source
term is presented. Sec. III is devoted to analyzing the discrete effect of the halfway and non
halfway ABB boundary conditions. In Sec. IV, some numerical experiments and discussions
are given, and followed by some conclusions finally presented in Sec. V.
II. LATTICE BHATNAGAR-GROSS-KROOK MODEL FOR CONVECTION-DIFFUSION
EQUATIONS
In this work, our analyses are specially focused on the BGK model for the convection
diffusion equation. For the two-dimensional case, the CDE with a source term reads
∂tφ + ∇· (φu) = ∇· (D∇φ) + R, (1)
where φ is the scalar variable as a function of time and space, D is the diffusion coefficient,
u = (ux, uy) <sup>T</sup> is the convection velocity with T denoting the transposition operator, and
R(x, t) is the source term. The BGK-LBE to sovle the CDE (1) is written as follows
fi(x + ciδt, t + δt) − fi(x, t) = −τ <sup>1</sup> φ
i (x, t)
�fi(x, t) − f <sup>(eq)</sup>
)Ri(x, t), (2)
+ δt(1 − 2 <sup>1</sup> τφ
where {fi(x, t) : i = 0, 1, · · ·, b - 1} are the distribution functions associated with the
discrete velocities {ci : i = 0, 1, · · ·, b − 1} at position x and time t, τφ is the relaxation
time, δt is the evolution time increment; fi <sup>(eq)</sup>
i <sup>(eq)</sup> (x, t) is the equilibrium distribution function,
and Ri(x, t) is the discrete source term, which are respectively defined as
, (3)
fi <sup>(eq)</sup> (x, t) = ωiφ
�1 + <sup>ci</sup> c <sup>·2</sup> s <sup>u</sup>
Ri(x, t) = ωiR, (4)
where ωi is the weight coefficient, and cs is the sound speed.
The discrete velocity set ci is subjected to the DnQb (DnQb denotes b velocity directions
in nD space) lattice models reported in the literature [29]. In this work, the discrete effect
of the ABB boundary condition is inspected with three discrete lattice models. As adopted
in Ref. [27] for the MRT collision model, the D2Q4, D2Q5 and D2Q9 models are also
considered for subsequent analysis connected with the BGK model. The corresponding
parameters for these three models are given as follows: for the D2Q4 model, {ci : i =
1, 2, 3, 4} = {(±1, 0)c, (0, ±1)c}, ω1−4 = <sup>1</sup> 4 <sup>,</sup> <sup>and</sup> <sup>c</sup> s <sup>2</sup> <sup>=</sup> 2 <sup>1</sup>
2 <sup>1c2;</sup> <sup>for</sup> <sup>the</sup> <sup>D2Q5</sup> <sup>model,</sup> <sup>{ci</sup> <sup>:</sup> <sup>i</sup> <sup>=</sup>
0, 1, 2, 3, 4} = {(0, 0)c, (±1, 0)c, (0, ±1)c}, ω0−4 = 51 <sup>,</sup> <sup>and</sup> <sup>c</sup> s <sup>2</sup> <sup>=</sup> 25 <sup>c2;</sup> <sup>for</sup> <sup>the</sup> <sup>D2Q9</sup> <sup>model,</sup>
<sup>4</sup> 9 <sup>,</sup> <sup>ω1−4</sup> <sup>=</sup> <sup>1</sup> 9 <sup>,</sup> <sup>ω5−8</sup> <sup>=</sup> 361 <sup>,</sup>
{ci : i = 0, 1, · · ·, 8} = {(0, 0)c, (±1, 0)c, (0, ±1)c, (±1, ±1)c}, ω0 = <sup>4</sup> 9
<sup>2</sup> s <sup>=</sup> <sup>1</sup> 3
and c <sup>2</sup> s
<sup>1</sup> 3 <sup>c2;</sup> <sup>where</sup> <sup>c = δx/δt</sup> <sup>is</sup> <sup>the</sup> <sup>lattice</sup> <sup>speed</sup> <sup>with</sup> <sup>δx</sup> <sup>the</sup> <sup>lattice</sup> <sup>spacing.</sup>
The macroscopic variable φ is determined by the distribution functions as
fi(x, t) + <sup>δt</sup> (5)
2 <sup>R(x, t).</sup>
φ(x, t) =
�i
FIG. 1. Schematic of the unidirectional and time-independent diffusion problem.
With this definition, the CDE with a source term, Eq. (1), can be recovered from the BGK
model through the Chapman-Enskog analysis [10, 13]. Also, the diffusion coefficient can be
<sup>2</sup> s <sup>(τφ −</sup> <sup>1</sup> 2
derived and determined by the relaxation time τφ as D = c <sup>2</sup> s
<sup>1</sup> 2 <sup>)δt.</sup>
Numerically, the evolution of the BGK-LBE (2) is implemented via two steps, i.e., the
collision and streaming step:
<sup>∗</sup>
i <sup>(x, t) = fi(x, t) −</sup> τ <sup>1</sup> φ
)Ri(x, t),
+ δt(1 − 2 <sup>1</sup> τφ
Collision : f <sup>∗</sup>
i
τφ
i (x, t)
�fi(x, t) − f <sup>(eq)</sup>
Streaming : fi(x + ciδt, t + δt) = fi <sup>∗(x, t),</sup> (6)
where fi <sup>∗(x, t)</sup> <sup>is</sup> <sup>the</sup> <sup>postcollision</sup> <sup>distribution</sup> <sup>function.</sup>
III. DISCRETE EFFECT ON THE ANTI-BOUNCE-BACK BOUNDARY CONDI
TION OF BGK MODEL FOR CDE
As mentioned previously, the discrete effect on the ABB boundary condition for CDEs is
concentrated on the halfway scheme in the existing analysis [15, 27]. However, the discrete
effect is unclear when it is affected by the wall location between lattice nodes. To resolve
this gap, we will restrict within the framework of BGK model to analyze the discrete effect
of the NHABB boundary condition. For clarity of illustration, our analysis is based on
the problem used in Ref. [27] within the MRT framework. The considered problem is an
unidirectional and time-independent diffusion in a straight channel (see Fig. 1) in which
ux is constant, uy = 0, and ∂xφ = 0 for any scalar variable φ. For the constant φB and
## wall
FIG. 2. Schematic of the boundary arrangement with an arbitrary distance in the D2Qb (b = 4, 5,
or 9) lattice model. The bottom wall in the HABB boundary condition is placed with γ = 1/2,
while this restriction for the bottom wall is removed in the present analysis.
φT corresponding to the bottom and top walls (i.e., the Dirichlet boundary condition), the
problem can be described by the following equations
D <sup>∂</sup> ∂y <sup>2φ2</sup> <sup>+ R = 0,</sup> (7a)
φ(x, y = 0) = φB, φ(x, y = H) = φT, (7b)
where H is the height of the channel. As the source term R is further defined by
R = 2D∆φ/H <sup>2</sup>, ∆φ = φT - φB, (8)
we can obtain the analytical solution to this simple problem
φ(y) = φB + ∆φ H <sup>y</sup>
H <sup>y</sup> <sup>).</sup> (9)
<sup>y</sup>
H <sup>(2 −</sup> H <sup>y</sup>
When the BGK model (2) is implemented to solve the above diffusion problem, after a
time step δt, the unknown distribution functions (see Fig. 2) should be specified by proper
boundary conditions of the LBM. To this end, we adopt the NHABB boundary condition
proposed by Huang and Yong [17] using the asymptotic analysis technique. As displayed
in Fig. 2, the wall boundary, say the bottom wall, is located away from its nearest inner
lattice nodes with the distance of γδx. When the location of bottom wall is adjustable, the
distance ratio γ can be considered as a free parameter, which is conventionally used in the
range of 0 ≤ γ ≤ 1 [14, 16, 17]. However, as will be shown later, we would like to note that
the distance ratio γ would not be intuitively limited in 0 ≤ γ ≤ 1, but can be larger than
unity to derive accurate results. With this point, the unknown distribution functions at the
layer j = 0 are then determined by the following equations.
D2Q4 or D2Q5 lattice model:
- f2 <sup>∗</sup> <sup>−</sup> 2 <sup>1</sup> γ <sup>f</sup> 4 <sup>∗</sup> <sup>+</sup> <sup>ω</sup> γ <sup>2</sup> <sup>φB,</sup> (10)
- f6 <sup>∗</sup> <sup>−</sup> 2 <sup>1</sup> γ <sup>f</sup> 8 <sup>∗</sup> <sup>+</sup> <sup>ω</sup> γ <sup>6</sup> <sup>φB.</sup> (11c)
�1 − 2 <sup>1</sup> γ
�1 − 2 <sup>1</sup> γ
�1 − 2 <sup>1</sup> γ
�1 − 2 <sup>1</sup> γ
D2Q9 lattice model:
f2 =
f2 =
f5 =
f6 =
(11a)
- f2 <sup>∗</sup> <sup>−</sup> 2 <sup>1</sup> γ <sup>f</sup> 4 <sup>∗</sup> <sup>+</sup> <sup>ω</sup> γ <sup>2</sup> <sup>φB,</sup>
- f5 <sup>∗</sup> <sup>−</sup> 2 <sup>1</sup> γ <sup>f</sup> 7 <sup>∗</sup> <sup>+</sup> <sup>ω</sup> γ <sup>5</sup> <sup>φB,</sup> (11b)
One can see that if the parameter γ = 2 <sup>1,</sup> <sup>this</sup> <sup>boundary</sup> <sup>condition</sup> <sup>will</sup> <sup>reduce</sup> <sup>to</sup> <sup>the</sup> <sup>HABB</sup>
scheme [15, 27]. It should be noted that the above boundary condition is a local scheme
and has second-order accuracy for the case of straight walls [17]. Additionally, we would
like to point out that following the procedures presented in Ref. [32] for Dirichlet boundary
condition of the Navier-Stokes equations, the above boundary condition can also be obtained
by the Maxwell iteration method [30, 31] with the diffusive scaling δt = ηδx <sup>2</sup> <sup>and an adjustable</sup>
parameter η.
Based on the adopted boundary schemes and the assumptions for the diffusion problem,
one can follow the derivations in Refs. [15, 27] to derive that
<sup>γ −</sup> <sup>1)τφ + 3</sup> δtR (12)
2γ(2τφ − 1)
φ1 = <sup>γ + 1</sup>
<sup>+ 1</sup>
γ φ0 − <sup>φ</sup> γ <sup>B</sup>
<sup>φ</sup> γ <sup>B</sup> <sup>−</sup> <sup>4τ</sup> φ <sup>2</sup>
φ <sup>2</sup> <sup>+ 8(γ −</sup> <sup>1)τφ + 3</sup>
for the D2Q4 lattice model, and
<sup>γ −</sup> <sup>11)τφ + 4</sup> δtR (13)
2γ(2τφ − 1)
φ1 = <sup>γ + 1</sup>
<sup>+ 1</sup>
γ φ0 − <sup>φ</sup> γ <sup>B</sup>
γ <sup>B</sup> <sup>−</sup> <sup>6τ</sup> φ <sup>2</sup>
φ <sup>2</sup> <sup>+ (10γ −</sup> <sup>11)τφ + 4</sup>
for the D2Q5 lattice model, and
<sup>γ −</sup> <sup>7)τφ + 5</sup> δtR (14)
2γ(2τφ − 1)
φ1 = <sup>γ + 1</sup>
<sup>φ</sup> γ <sup>B</sup> <sup>−</sup> <sup>8τ</sup> φ <sup>2</sup>
<sup>+ 1</sup>
γ φ0 − <sup>φ</sup> γ <sup>B</sup>
φ <sup>2</sup> <sup>+ 2(6γ −</sup> <sup>7)τφ + 5</sup>
for the D2Q9 lattice model. Here, φ0 and φ1 are the scalar variables at the layer of j = 0
and j = 1.
During the above derivations, we can also deduce that the numerical scalar variable φj
satisfies D(φj+1 − 2φj + φj−1) = −Rδx <sup>2</sup>
x <sup>2,</sup> <sup>where</sup> <sup>the</sup> <sup>diffusion</sup> <sup>coefficient</sup> <sup>D</sup> <sup>is</sup> <sup>also</sup> <sup>given</sup> <sup>by</sup>
<sup>2</sup> s <sup>(τφ</sup> <sup>−</sup> <sup>1</sup> 2
D = c <sup>2</sup> s
<sup>1</sup> 2 <sup>)δt.</sup> <sup>Clearly,</sup> <sup>this</sup> <sup>is</sup> <sup>the</sup> <sup>central</sup> <sup>finite-difference</sup> <sup>discretization</sup> <sup>of</sup> <sup>Eq.</sup> <sup>(7a),</sup>
meaning that the BGK-LBE is an equivalent solver for the CDEs. However, due to the
discrete effect from the boundary condition, the LB results will deviate from the analytical
solution to the problem [Eq. (9)]. As a result, the solution of the BGK model with the
NHABB boundary condition can be expressed as
+ φs, (15)
φj = φB + ∆φ <sup>yj</sup>
H
2 − H <sup>yj</sup>
where yj = (j + γ)δx, and φs is the numerical slip originated from the discrete effect of the
boundary condition. By substituting φ0 and φ1 from Eq. (15) respectively into Eqs. (12),
(13) and (14), we can obtain the numerical slips φs from the D2Q4, D2Q5 and D2Q9 lattice
models.
D2Q4 lattice model:
δx <sup>2</sup>
<sup>∆φ</sup>
4 H <sup>2</sup>
φs = <sup>∆φ</sup>
x
H <sup>2</sup>
4τ <sup>2</sup>, (16a)
φ <sup>+ 4γ(2τφ −</sup> <sup>1) −</sup> <sup>8τφ −</sup> <sup>4γ2 + 3</sup>
-
γ = <sup>1</sup> 2
x
H <sup>2</sup>
- . (16b)
�4τφ <sup>2</sup> <sup>−</sup> <sup>4τφ</sup>
D2Q5 lattice model:
δx <sup>2</sup>
<sup>1</sup>
4 H <sup>2</sup>
2 <sup>⇒</sup> <sup>φs</sup> <sup>=</sup> <sup>∆φ</sup>
δx <sup>2</sup>
<sup>φ</sup>
5 H <sup>2</sup>
6τφ <sup>2</sup> <sup>+ 5γ(2τφ</sup> <sup>−</sup> <sup>1) −</sup> <sup>11τφ</sup> <sup>−</sup> <sup>5γ2 + 4</sup>
φs = <sup>∆φ</sup>
x
H <sup>2</sup>
-, (17a)
. (17b)
γ = <sup>1</sup> 2
x
H <sup>2</sup>
6τ <sup>2</sup>
- φ <sup>−</sup> <sup>6τφ +</sup> <sup>1</sup> 4
D2Q9 lattice model:
δx <sup>2</sup>
<sup>1</sup>
5 H <sup>2</sup>
2 <sup>⇒</sup> <sup>φs</sup> <sup>=</sup> <sup>∆φ</sup>
δx <sup>2</sup>
<sup>φ</sup>
6 H <sup>2</sup>
8τφ <sup>2</sup> <sup>+ 6γ(2τφ −</sup> <sup>1) −</sup> <sup>14τφ −</sup> <sup>6γ2 + 5</sup>
φs = <sup>∆φ</sup>
x
H <sup>2</sup>
-, (18a)
δx <sup>2</sup>
<sup>1</sup>
6 H <sup>2</sup>
2 <sup>⇒</sup> <sup>φs</sup> <sup>=</sup> <sup>∆φ</sup>
. (18b)
γ = <sup>1</sup> 2
x
H <sup>2</sup>
8τ <sup>2</sup>
- φ <sup>−</sup> <sup>8τφ +</sup> <sup>1</sup> 2
From each of the above equations, one can find that the HABB and NHABB boundary
conditions generate a nonzero numerical slip φs, which has second-order accuracy in space
owing to the term of δx <sup>2/H</sup> <sup>2.</sup> <sup>It</sup> <sup>is</sup> <sup>noted</sup> <sup>that</sup> <sup>the</sup> <sup>results</sup> <sup>of</sup> <sup>φs</sup> <sup>for</sup> <sup>the</sup> <sup>HABB</sup> <sup>boundary</sup>
condition (γ = 1/2) [Eqs. (16b), (17b) and (18b)] here are identical to those of the BGK
model given in Ref. [27]. However, the numerical slip φs of the halfway boundary condition is
not available for the non-halfway boundary condition. Due to the fixed location of wall with
γ = 1/2, φs of the HABB boundary condition is only related with τφ. This indicates that
the discrete effect of the HABB boundary condition always exists in the BGK model unless
a special relaxation time is used [15, 27]. In contrast, owing to the adjustable distance ratio
γ as revealed above, φs of the NHABB boundary condition [Eqs. (10) and (11)] is dependent
with the relaxation time τφ and the distance ratio γ. Thus, the relaxation time τφ has more
degree of freedom to minimize the discrete effect on the boundary condition. The above
results inspire us that the numerical slip φs of the BGK model could be eliminated freely
by the relaxation time τφ with the help of the free parameter γ.
Now let us focus on how to choose the relaxation time τφ tuned by the distance ratio γ
to guarantee φs = 0. Mathematically, this can be done by solving the quadratic equation
φs = 0 from Eqs. (16a), (17a) and (18a) respectively for the D2Q4, D2Q5 and D2Q9 discrete
lattice model. Because of the stability condition as well as the positivity of diffusivity, there
is only one root of τφ that is determined by γ from Eqs. (19a), (20a) and (21a). For the
HABB boundary scheme (γ = 1/2), the corresponding relaxation time τφ is obtained by
Eqs. (19b), (20b) and (21b).
D2Q4 lattice model:
φs = 0 ⇒ τφ = <sup>2(1 −</sup> <sup>γ) +</sup>
�28γ <sup>2</sup> - 4γ + 1, (19a)
γ = <sup>1</sup> 2 <sup>,</sup> <sup>φs</sup> <sup>= 0 ⇒</sup> <sup>τφ</sup> <sup>= 1.</sup> (19b)
D2Q5 lattice model:
φs = 0 ⇒ τφ = <sup>11 −</sup> <sup>10γ +</sup>
�5(4412 γ <sup>2</sup> - 20γ + 5), (20a)
√
<sup>1</sup>
2 <sup>,</sup> <sup>φs</sup> <sup>= 0 ⇒</sup> <sup>τφ</sup> <sup>=</sup> <sup>6 +</sup> 12
γ = <sup>1</sup> 2
√30
. (20b)
12
D2Q9 lattice model:
φs = 0 ⇒ τφ = <sup>7 −</sup> <sup>6γ +</sup>
�3(288 γ <sup>2</sup> - 12γ + 3), (21a)
√
<sup>1</sup>
2 <sup>,</sup> <sup>φs</sup> <sup>= 0 ⇒</sup> <sup>τφ</sup> <sup>=</sup> <sup>2 +</sup> 4
γ = <sup>1</sup> 2
√3
. (21b)
4
For the case of γ = 1/2, the corresponding values of τφ are fixed and identical to those re
ported in Ref. [27]. However, with the adopted NHABB boundary condition, the relaxation
3
2.5
2
1.5
1
0.5
0 1 2 3 4
φ <sup>2</sup> <sup>+ 8τφ(γ</sup> <sup>−</sup> <sup>1) −</sup> <sup>(4γ2</sup> <sup>+ 4γ</sup> <sup>−</sup> <sup>3)</sup> <sup>=</sup> <sup>0</sup> <sup>for</sup>
FIG. 3. Dependence of τφ on γ resulted from φs = 0: 4τφ <sup>2</sup>
φ <sup>2</sup> <sup>+ τφ(10γ</sup> <sup>−</sup> <sup>11)</sup> <sup>−</sup> <sup>(5γ2</sup> <sup>+ 5γ</sup> <sup>−</sup> <sup>4)</sup> <sup>=</sup> <sup>0</sup> <sup>for</sup> <sup>the</sup> <sup>D2Q5</sup> <sup>lattice</sup> <sup>model;</sup>
the D2Q4 lattice model; 6τφ <sup>2</sup>
8τφ <sup>2</sup> <sup>+ 2τφ(6γ −</sup> <sup>7) −</sup> <sup>(6γ2 + 6γ −</sup> <sup>5) = 0</sup> <sup>for</sup> <sup>the</sup> <sup>D2Q9</sup> <sup>lattice</sup> <sup>model.</sup>
time τφ is related with the distance ratio γ, and hence can be freely tuned by γ to ensure
φs = 0. To see this more clearly, the dependence of τφ on γ as given above for φs = 0 is
shown in Fig 3. Take the D2Q4 model as an example. It is seen that as the distance ratio
γ increases, τφ can change continuously to fulfil φs = 0, while as γ = 1/2 for the HABB
boundary condition, φs = 0 determines the merely fixed τφ = 1. When the distance ratio γ
varies in the region of 0 ≤ γ ≤ 1, the relaxation time τφ will take values limitedly between
1 and 1.5. To achieve a wider parameter range for τφ, the distance ratio γ should not be
confined to the region of 0 ≤ γ ≤ 1. This point will be examined in the subsequent numerical
examples, and the computations therein reveal that reasonable results can be also obtained
as γ is beyond 1. From the figure, it is also find that there are two values of γ with γ ≤ 2
corresponding to the same τφ in the range of 1 ≤ τφ ≤ 1.5, while there is only one γ with
γ - 2 corresponding to a certain τφ - 1.5. Similar results stored in Eqs. (20a) and (21a) are
also observed for the D2Q5 and D2Q9 lattice models. It should be noted that as γ → 0, the
boundary conditions (10) and (11) may lose the numerical stability since the included term
γ1 <sup>will</sup> <sup>become</sup> <sup>very</sup> <sup>large.</sup> <sup>This</sup> <sup>will</sup> <sup>be</sup> <sup>also</sup> <sup>affirmed</sup> <sup>in</sup> <sup>the</sup> <sup>subsequent</sup> <sup>numerical</sup> <sup>examples.</sup>
Therefore, the relaxation time τφ should be chosen carefully to avoid very small values of γ
in the computations. However, we would note that such limitation of parameter range in
γ may be remedied through recomposing the distribution functions and their coefficients in
the adopted boundary condition [14].
From the above derivations, it is clear that due to the distance ratio γ, the numerical
slip φs can be theoretically eliminated within the framework of BGK model. As for the
MRT model, it has been commonly recognized that the numerical slip φs can be overcome
owing to its multiple relaxation parameters [27]. For an explicit comparison of the two
model frameworks, Table I presents the numerical slip φs and the relaxation parameter
corresponding to φs = 0 derived in this work together with those deduced with the MRT
model in Ref. [27]. One can find that the relaxation parameter under φs = 0 is related
TABLE I. Numerical slip φs and relaxation parameter corresponding to φs = 0 in the present work
within the BGK model and those [27] within the MRT model. The listed results are based on
the D2Q4, D2Q5 and D2Q9 lattice models. The relaxation parameter s1 = 1/τφ is related to the
diffusion coefficient in [27], while s2 is served as the free relaxation parameter.
Discrete lattice model
D2Q4 ∆φ <sup>δ</sup> x <sup>2</sup>
H <sup>2</sup>
D2Q5 ∆φ <sup>δ</sup> x <sup>2</sup>
H <sup>2</sup>
D2Q9 ∆φ <sup>δ</sup> x <sup>2</sup>
H <sup>2</sup>
Discrete lattice model
φs
BGK(Present) MRT(Ref. [27])
4τφ <sup>2+4γ(2τφ−1)−8τφ−4γ2+3</sup>
4
6τφ <sup>2+5γ(2τφ−1)−11τφ−5γ2+4</sup>
5
8τφ <sup>2+6γ(2τφ−1)−14τφ−6γ2+5</sup>
x
<sup>δ2</sup>
H <sup>2</sup>
x
<sup>δ2</sup>
H <sup>2</sup>
s1s2−8(s1+s2)+16
12s1s2
<sup>1)</sup> 4 <sup>−8τφ−4γ2+3</sup> ∆φ H <sup>δ</sup> x <sup>2</sup>
2s1s2
x
H <sup>δ22</sup> <sup>2−</sup> 2 <sup>s</sup> s <sup>1</sup> 1 <sup>−</sup> s2 <sup>s2</sup>
<sup>1)−11τφ−5γ2+4</sup> ∆φ <sup>δ</sup> x <sup>2</sup>
5 H <sup>2</sup>
<sup>1)</sup> 6 <sup>−14τφ−6γ2+5</sup> ∆φ H <sup>δ</sup> x <sup>22</sup>
s1s2−12(s1+s2)+24
20s1s2
s1s2−12(s1+s2)+24
20s1s2
s1s2−8(s1+s2)+16
12s1s2
Relaxation parameter(φs = 0)
BGK(Present) MRT(Ref. [27])
D2Q4 τφ = <sup>2(1−γ)+√</sup> 2
D2Q5 τφ = <sup>11−10γ+√</sup>
5(4412 γ <sup>2</sup> −20γ+5) s2 = <sup>12(</sup> s1 <sup>s</sup> - <sup>1−</sup> 12 <sup>2)</sup>
8γ <sup>2</sup> −4γ+1
2
s2 = 2 − s1
s1−12
<sup>8(s1−2)</sup>
s1−8
D2Q9 τφ = <sup>7−6γ+√</sup>
3(288 γ <sup>2</sup> −12γ+3) s2 = <sup>8(</sup> s <sup>s</sup> 1 <sup>1</sup> - <sup>−</sup> 8 <sup>2)</sup>
with another relaxation rate in the MRT model, while it is related with the distance ratio
γ here in the BGK model. Based on this, we note that the elimination of numerical slip in
the MRT model is ascribed to the degree of freedom from the relaxation parameter of the
evolution equation, while in the BGK model here, the degree of freedom is from the wall
location of the NHABB boundary condition.
IV. NUMERICAL RESULTS AND DISCUSSIONS
To examine the above theoretical analysis, the BGK-LBE with the halfway and non
halfway ABB boundary conditions [17] are executed in the numerical simulations. The
diffusion problems considered here are the same as those adopted in Ref. [27]. In the
following simulations, the lattice spacing δx is determined by δx = H/(M + 2γ) with γ the
distance ratio, where M is the grid number between the walls in the vertical direction. The
distance ratio γ is set as an input variable, and other related parameters are given by
x <sup>2,</sup> η = <sup>χ(τφ −</sup> 2 <sup>1</sup>
δt = ηδx <sup>2</sup>
2 <sup>)</sup>
<sup>−</sup> <sup>1</sup>, (22)
D
where χ is a model-dependent constant defined by c <sup>2</sup> s <sup>=</sup> <sup>χc2,</sup> <sup>and</sup> <sup>equals</sup> <sup>to</sup> <sup>1/2, 2/5, 1/3</sup>
respectively for the D2Q4, D2Q5 and D2Q9 lattice model.
A. Unidirectional diffusion in a straight channel
The first problem is shown in Fig. 1, where H = 1, ux = 0.1, and the diffusion coefficient
D = 0.1. The periodic boundary condition is applied to the inlet and outlet of the channel,
and the ABB boundary condition with the distance ratio γ is applied to the top and bottom
walls. In Fig. 4, the simulated results of numerical slip, normalized by the results at the
case of γ = 1/2, are presented as a function of γ at τφ = 1.2 and M = 15. The normalized
theoretical results [Eqs. (16a), (17a) and (18a)] are also included for comparison. Clearly,
the numerical predictions are well consistent with the theoretical derivations for the three
discrete lattice models. In particular, the unambiguous agreement between such two results
is observed when γ is greater than 1 up to 2, and even at γ = 3 (the results are not shown
here). Moreover, we find that the computations will break down as γ decreases to 0.1. These
twofold results verify the aforementioned statements about the choice of distance ratio γ in
2
0
-2
-4
Numerical D2Q4
Analytical D2Q4
Numerical D2Q5
Analytical D2Q5
Numerical D2Q9
Analytical D2Q9
-6
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
<sup>∗</sup> s <sup>=</sup> <sup>φs/φ</sup> s,γ= <sup>1</sup> 2
FIG. 4. Normalized results of the numerical slip, φ <sup>∗</sup> s
<sup>1</sup> 2 <sup>,</sup> <sup>as</sup> <sup>a</sup> <sup>function</sup> <sup>of</sup> <sup>γ</sup> <sup>at</sup> <sup>τφ</sup> <sup>=</sup> <sup>1.2</sup>
and M = 15. φs denotes the numerical slip derived theoretically [Eqs. (16a), (17a) and (18a)] or
predicted from numerical simulations. φs,γ= 12 <sup>denotes</sup> <sup>the</sup> <sup>numerical</sup> <sup>slip</sup> <sup>φs</sup> <sup>at</sup> <sup>the</sup> <sup>case</sup> <sup>of</sup> <sup>γ</sup> <sup>=</sup> <sup>1</sup> 2 <sup>.</sup>
the boundary conditions. Additionally, as the distance ratio γ increases, it is observed that
the numerical slip varies increasingly first and then decreasingly after one certain γ due to
its quadratic function as derived above. It is noted that similar results as shown in Fig. 4
can also be obtained at other relaxation times.
The relations between γ and τφ are next examined especially for the numerical slip φs = 0.
To this end, simulations with different grid sizes are carried out for two different values of
τφ at each of two distance ratios γ = 0.6 and γ = 1.5. One relaxation time is given by γ
to satisfy φs = 0 as derived above, while the other relaxation time (e.g., τφ = 3.0) is not
the case. For γ = 0.6 and γ = 1.5 considered here, the corresponding relaxation times τφ
√
13−1 for the
2
to ensure φs = 0 can be obtained from Eq. (19a) as τφ = <sup>4+</sup>
√
√
370−4 for the D2Q5 model, and Eq.
12
10√37 and τφ =
D2Q4 model, Eq. (20a) as τφ = <sup>25+</sup>
√601105 and τφ =
(21a) as τφ = 20 <sup>19</sup> <sup>and</sup> <sup>τφ</sup> <sup>=</sup> 4 <sup>5</sup> <sup>for</sup> <sup>the</sup> <sup>D2Q9</sup> <sup>model.</sup> <sup>Figs.</sup> <sup>5,</sup> <sup>6</sup> <sup>and</sup> <sup>7</sup> <sup>respectively</sup> <sup>present</sup> <sup>the</sup>
simulated results of the D2Q4, D2Q5 and D2Q9 lattice models. As clearly shown in the
figures, only when the relaxation time τφ is determined by γ while guaranteeing φs = 0, the
results of the BGK model agree well with the analytical solution even with four grid points.
However, if this requirement is not satisfied, clear discrepancies between the LBE results
Analytical
M=3 ( s 0)
M=7 ( s 0)
M=11 ( s 0)
M=15 ( s 0)
M=3 ( s <sup>=0)</sup>
M=7 ( s <sup>=0)</sup>
M=11 ( s <sup>=0)</sup>
1.4
1.2
1
0.8
0.6
0.4
0.2
M=11 ( s <sup>=0)</sup>
M=15 ( s <sup>=0)</sup>
Analytical
M=3 ( s 0)
M=7 ( s 0)
M=11 ( s 0)
M=15 ( s 0)
M=3 ( s <sup>=0)</sup>
M=7 ( s <sup>=0)</sup>
1.2
1
0.8
0.6
0.4
0.2
0
0 0.2 0.4 0.6 0.8 1
M=15 ( s <sup>=0)</sup>
0
0 0.2 0.4 0.6 0.8 1
FIG. 5. Profiles of scalar variable φ under different lattice sizes and [(a) γ = 0.6; (b) γ = 1.5]
from the D2Q4 lattice model. Empty shapes denote the case that the relaxation time (τφ = 3.0)
dissatisfies φs = 0 with the distance ratio γ, while filled ones denote the case that τφ satisfies φs = 0
with γ.
M=11 ( s <sup>=0)</sup>
M=15 ( s <sup>=0)</sup>
1.5
1
0.5
M=11 ( s 0)
M=15 ( s 0)
Analytical
M=3 ( s 0)
M=7 ( s 0)
1.4
1.2
1
0.8
0.6
0.4
0.2
Analytical
M=3 ( s 0)
M=7 ( s 0)
M=11 ( s 0)
M=15 ( s 0)
M=3 ( s <sup>=0)</sup>
M=7 ( s <sup>=0)</sup>
M=3 ( s <sup>=0)</sup>
M=7 ( s <sup>=0)</sup>
M=11 ( s <sup>=0)</sup>
M=15 ( s <sup>=0)</sup>
0
0 0.2 0.4 0.6 0.8 1
0
0 0.2 0.4 0.6 0.8 1
FIG. 6. Profiles of scalar variable φ under different lattice sizes and [(a) γ = 0.6; (b) γ = 1.5]
from the D2Q5 lattice model. Empty shapes denote the case that the relaxation time (τφ = 3.0)
dissatisfies φs = 0 with the distance ratio γ, while filled ones denote the case that τφ satisfies φs = 0
with γ.
1.5
1
0.5
Analytical
M=3 ( s 0)
M=7 ( s 0)
M=11 ( s 0)
M=15 ( s 0)
M=11 ( s <sup>=0)</sup>
M=15 ( s <sup>=0)</sup>
Analytical
M=3 ( s 0)
M=7 ( s 0)
M=11 ( s 0)
M=15 ( s 0)
M=3 ( s <sup>=0)</sup>
M=7 ( s <sup>=0)</sup>
M=3 ( s <sup>=0)</sup>
M=7 ( s <sup>=0)</sup>
M=11 ( s <sup>=0)</sup>
M=15 ( s <sup>=0)</sup>
1.4
1.2
1
0.8
0.6
0.4
0.2
0
0 0.2 0.4 0.6 0.8 1
0
0 0.2 0.4 0.6 0.8 1
FIG. 7. Profiles of scalar variable φ under different lattice sizes and [(a) γ = 0.6; (b) γ = 1.5]
from the D2Q9 lattice model. Empty shapes denote the case that the relaxation time (τφ = 3.0)
dissatisfies φs = 0 with the distance ratio γ, while filled ones denote the case that τφ satisfies φs = 0
with γ.
and the analytical solution can be observed even at M = 15. Furthermore, to quantify
the differences between such two results, the relative errors in L <sup>1</sup> norm are evaluated under
different grid sizes. In Fig. 8, the relative errors E(φ) of the scalar variable φ are plotted
against the grid size M. It is clearly shown that as compared with the case of τφ = 3.0, the
obviously large errors are significantly reduced near zero when τφ is given by γ to ensure
φs = 0. This further strengthens and supports our theoretical derivations.
The results exhibited in Fig. 4 has shown that the numerical slip of the NHABB boundary
condition is different from that of the HABB boundary condition (γ = 1/2). This indicates
that the relaxation time τφ derived from φs = 0 for γ = 1/2 [Eqs. (19b), (20b) and (21b)]
must be amended for the NHABB boundary condition to derive accurate results. In what
follows, the values of relaxation time τφ are inspected versus different values of γ under the
numerical slip φs = 0. In Tab. II, the approximations of the calculated values of τφ from
Eqs. (19), (20) and (21) are listed against γ. As seen from the table, the relaxation times
τφ are approximate to 1.0 at γ = 0.5 in the D2Q5 and D2Q9 lattice model. Thus, as have
pointed out in Ref. [27], satisfactory results can be usually obtained as τφ = 1.0 even if the
numerical slip is not strictly removed. However, we should note that this result is derived
and valid for the halfway boundary scheme (i.e., γ = 0.5). In fact, when the distance ratio
0.8
0.6
0.4
0.2
0 (D2Q4)
s
0 (D2Q4)
s
s <sup>=0 (D2Q4)</sup>
s <sup>=0 (D2Q4)</sup>
0 (D2Q5)
s
0 (D2Q5)
s
s <sup>=0 (D2Q5)</sup>
s <sup>=0 (D2Q5)</sup>
0 (D2Q9)
s
0.45
0.3
0.15
0 (D2Q9)
s
s <sup>=0 (D2Q9)</sup>
s <sup>=0 (D2Q9)</sup>
0
2 4 6 8 10 12 14 16
0
2 4 6 8 10 12 14 16
FIG. 8. Relative error of φ against grid size M and [(a) γ = 0.6; (b) γ = 1.5]. Dashed lines with
empty shapes denote the case that the relaxation time (τφ = 3.0) dissatisfies φs = 0 with γ, while
solid lines with filled shapes denote the case that τφ satisfies φs = 0 with γ.
γ deviates away from 0.5, e.g., γ = 1.5, the relaxation time τφ is definitely larger than 1.0,
which is also reflected in Fig. 3. This clearly indicates that when γ varies away from 0.5,
accurate results cannot be achieved any longer if τφ still remains at 1.0. In other words, to
derive accurate results (φs = 0), the relaxation time τφ must be adjusted with γ.
TABLE II. Relaxation time τφ versus distance ratio γ for φs = 0 with the D2Q4, D2Q5 and D2Q9
lattice models.
γ
τφ
D2Q4 D2Q5 D2Q9
0.2 8+10√
√13 45+√
10 60
≈ 1.1606
√129
40
≈ 1.0090
0.5 1.0000 6+√
12
0.8 2+10√
√73 15+√
10 60
≈ 1.0544
√3
4
≈ 0.9330
√849
40
≈ 1.0034
√241
40
≈ 1.1393
√
√345 29+√
60 40
≈ 1.0596
√30 2+√
12 4
≈ 0.9564
√2145 11+√
60 40
≈ 1.0219
√
1.2 −2+
√
√
1.5
10√193 −5+
≈ 1.1892
132−1
≈ 1.3028
37012−4 1.2500
≈ 1.2696
60√5545 −1+340
≈ 1.1578
√
FIG. 9. Schematic of diffusions between two concentric cylinders.
B. Diffusion between two concentric cylinders
In this section, we investigate a more complex problem, i.e., the steady diffusion between
two concentric circular cylinders, as shown in Fig. 9. The inner cylinder has radius of Ra
and boundary value φa, while the outer cylinder has radius of Rb and boundary value φb.
The outer cylinder boundary is separated from the square region with a distance of γ0δx.
There is no source term for diffusions between the two concentric cylinders. From Eq. (1)
in polar coordinates, the analytical solution to this problem can be solved and read as [33]
φ(r) = <sup>φaln(Rb/r) + φbln(r/Ra)</sup>, (23)
ln(Rb/Ra) Ra ≤ r ≤ Rb.
In the simulations, the two cylinders are positioned at the center of a square region with
length L = 1.0. The radius ratio of the two cylinders is Ra : Rb = 1 : 2, the diffusion
coefficient is set to D = 0.001 and the boundary values are φa = 0.0, φb = 1.0. Unlike
the previous problem with straight walls, the curved boundary geometries herein may bring
different distance ratios, denoted by γin and γout for the boundary nodes respectively of the
inner and outer cylinders. To have an unique relaxation time τφ in ensuring φs = 0 (see
Eqs. (19a), (20a) and (21a)), we approximate the distance ratio γ by the average values of
1
0.8
0.6
0.4
0.2
Analytical
M=30 ( s 0)
M=50 ( s 0)
M=90 ( s 0)
M=30 ( s=0)
M=50 ( s=0)
M=90 ( s=0)
1
0.8
0.6
0.4
0.2
Analytical
M=30 ( s 0)
M=50 ( s 0)
M=90 ( s 0)
M=30 ( s=0)
M=50 ( s=0)
M=90 ( s=0)
0
-1 -0.5 0 0.5 1
0
-1 -0.5 0 0.5 1
FIG. 10. Profiles of scalar variable φ under different lattice sizes and [(a) γ0 = 0.2; (b) γ0 = 0.8]
from the D2Q4 lattice model. Empty shapes denote the case that the relaxation time (τφ = 8.0)
dissatisfies φs = 0 with the average distance ratio γ, while filled ones denote the case that τφ
satisfies φs = 0 with γ.
all γin and γout at a given γ0 and grid number M.
Two cases of γ0, i.e., γ0 = 0.2, 0.8, are simulated with two relaxation times τφ. As done
in the above problem, one τφ is given by the average γ from each γ0 to meet φs = 0. The
distributions of φ along the centerline are predicted by the D2Q4, D2Q5 and D2Q9 lattice
models. Figs. 10, 11 and 12 delineate the profiles of φ between the two cylinders under
different grid sizes M. Take the D2Q4 lattice model as an example. When the relaxation
time τφ obeys Eq. (19a) even through the average γ, the predictions are all much more
accurate than the cases where τφ dissatisfies φs = 0 (e.g., τφ = 8.0). The similar results in
Figs. 11 and 12 from the D2Q5 and D2Q9 lattice models again demonstrate our analysis in
this work. In addition, with a careful look at Fig. 5 and Fig. 10 for φs = 0 under a small
grid number, the agreement of the present results with the analytical solution is found not
as closely as those achieved in the previous problem. This result can be expected since the
approximated average distance ratio is used for the curved boundary of the cylinders.
1
Analytical
M=30 ( s 0)
1
Analytical
M=30 ( s 0)
0.8
0.8
0.6
0.4
0.2
M=50 ( s 0)
M=90 ( s 0)
M=30 ( s=0)
M=50 ( s=0)
M=90 ( s=0)
0.6
0.4
0.2
M=50 ( s 0)
M=90 ( s 0)
M=30 ( s=0)
M=50 ( s=0)
M=90 ( s=0)
0
-1 -0.5 0 0.5 1
0
-1 -0.5 0 0.5 1
FIG. 11. Profiles of scalar variable φ under different lattice sizes and [(a) γ0 = 0.2; (b) γ0 = 0.8]
from the D2Q5 lattice model. Empty shapes denote the case that the relaxation time (τφ = 8.0)
dissatisfies φs = 0 with the average distance ratio γ, while filled ones denote the case that τφ
satisfies φs = 0 with γ.
1
0.8
0.6
0.4
0.2
Analytical
M=30 ( s 0)
M=50 ( s 0)
M=90 ( s 0)
M=30 ( s=0)
M=50 ( s=0)
M=90 ( s=0)
1
0.8
0.6
0.4
0.2
Analytical
M=30 ( s 0)
M=50 ( s 0)
M=90 ( s 0)
M=30 ( s=0)
M=50 ( s=0)
M=90 ( s=0)
0
-1 -0.5 0 0.5 1
0
-1 -0.5 0 0.5 1
FIG. 12. Profiles of scalar variable φ under different lattice sizes and [(a) γ0 = 0.2; (b) γ0 = 0.8]
from the D2Q9 lattice model. Empty shapes denote the case that the relaxation time (τφ = 8.0)
dissatisfies φs = 0 with the average distance ratio γ, while filled ones denote the case that τφ
satisfies φs = 0 with γ.
V. CONCLUSIONS
In this work, the discrete effect on the ABB boundary condition has been analyzed in
the framework of BGK model for the CDE. Different from previous works on the HABB
boundary condition, the boundary scheme adopted in this paper incorporates the distance
ratio γ of boundary nodes as a free parameter [17]. The theoretical derivations clearly shows
that unlike the HABB boundary scheme (γ = 1/2), the numerical slip φs of the NHABB
boundary condition can be relieved from only relating with the relaxation time τφ but
together with γ. Therefore, as the numerical slip φs = 0 is guaranteed, the relaxation time
τφ can be freely adjusted as a function of the distance ratio γ, which cannot be realized for the
HABB boundary condition. Concretely, for the distance ratio γ varying in a proper range,
if the relaxation time τφ changing with γ conforms to Eq. (19a) in the D2Q4 lattice model,
Eq. (20a) in the D2Q5 lattice model, or Eq. (21a) in the D2Q9 lattice model, the discrete
effect of the NHABB boundary condition can be eliminated within the framework of BGK
model, while in the HABB boundary condition, the discrete effect always exists except for
a special value of the relaxation time τφ. On the basis of the BGK model, the non-halfway
and halfway ABB boundary conditions are both implemented to validate the theoretical
analysis. For the unidirectional diffusion with a parabolic distribution in a straight channel,
the numerical results show that owing to the free parameter of γ, a much wider range of the
relaxation time τφ can be achieved to produce accurate results. For the diffusion between
two concentric circular cylinders, satisfactory agreements between the numerical results and
the analytical solution can be obtained even with the average distance ratio.
We would like to point out that due to the quadratic dependence on γ in φs = 0, the
minimum relaxation time τφ can reach only around 1 while not near 0.5, as shown in Fig.
3. However, we also note that this limitation can be improved by adding more degree of
freedom in determining τφ from the numerical slip φs. One straightforward strategy for this
is to extend the present analysis from the framework of BGK model to the two-relaxation
time (TRT) or the multiple-relaxation-time (MRT) model. This topic will be investigated
in our forthcoming work.
ACKNOWLEDGMENTS
This work is financially supported by the National Natural Science Foundation of China
(No. 51776068, No. 51606064 and No. 11602075) and the Fundamental Research Funds for
the Central Universities (No. 2018MS060). L. Wang would like to thank Profs. Wen-An
Yong, Zhaoli Guo and Dr. Weifeng Zhao for their fruitful discussions and advices.
[1] S. Succi, The Lattice Boltzmann Equation for Fluid Dynamics and Beyond(Oxford University
Press, Oxford, 2001).
[2] Z. L. Guo and C. Shu, Lattice Boltzmann Method and its Applications in Engineering(World
Scientific Press, Singapore, 2013).
[3] S. Y. Chen and G. D. Doolen, Annu. Rev. Fluid Mech. 30, 329 (1998).
[4] C. K. Aidun and J. R. Clausen, Annu. Rev. Fluid Mech. 42, 439 (2010).
[5] H. B. Huang, M. Sukop, and X. Y. Lu, Multiphase Lattice Boltzmann Methods: Theory and
Application, (Wiley, New York, 2015)
[6] J. Zhang, Microfliud. Nanofluid. 10, 1 (2011).
[7] H. Liang, Y. Li, J. Chen, and J. Xu, Int. J. Heat Mass Transfer 130, 1189 (2019).
[8] R. G. M. van der Sman and M. H. Ernst, J. Comput. Phys. 160, 766 (2000).
[9] R. Z. Huang and H. Y. Wu, J. Comput. Phys. 274, 50 (2014).
[10] L. Wang, W. F. Zhao, and X. D. Wang, Phys. Rev. E 98, 033308 (2018).
[11] B. Shi and Z. Guo, Phys. Rev. E 79, 016701 (2009).
[12] H. Yoshida and M. Nagaoka, J. Comput. Phys. 229, 7774 (2010).
[13] Z. H. Chai and T. S. Zhao, Phys. Rev. E 87, 063309 (2013).
[14] M. X. Zhang, W. F. Zhao, and P. Lin, J. Comput. Phys. 389, 147 (2019).
[15] T. Zhang, B. C. Shi, Z. L. Guo, Z. H. Chai, and J. H. Lu, Phys. Rev. E 85, 016701 (2012).
[16] Q. Chen, X. B. Zhang, and J. F. Zhang, Phys. Rev. E 88, 033304 (2013).
[17] J. T. Huang, W.-A. Yong, J. Comput. Phys. 300, 70 (2015).
[18] T. Kr¨uger, H. Kusumaatmaja, A. Kuzmin, O. Shardt, G. Silva, and E. M. Viggen, in The
Lattice Boltzmann Method (Graduate Texts in Physics, Springer, Cham, 2017), pp. 297-329.
[19] I. Ginzburg, Adv. Water Resour. 28 1196 (2005).
[20] L. Li, R. Mei, and J. F. Klausner, Int. J. Heat Mass Transf. 108 41 (2017).
[21] Z. H. Chai, B. C. Shi, Z. L. Guo, J. Sci. Comput. 69 1 (2016).
[22] Z. L. Guo, C. G. Zheng, B. C. Shi, Phys. Fluids 14 2007 (2002).
[23] I. Ginzburg, Phys. Rev. E 95, 013305 (2017).
[24] F. Dubois, ESAIM 18, 181 (2007).
[25] F. Dubois, Comput. Math. Appl. 55, 1141 (2008).
[26] F. Dubois, P. Lallemand, and M. M. Tekitek, Comput. Math. Appl. 59, 2141 (2010).
[27] S. Q. Cui, N. Hong, B. C. Shi, and Z. H. Chai, Phys. Rev. E 93, 043311 (2016).
[28] F. Dubois, P. Lallemand, and M. M. Tekitek, Comput. Math. Appl. (2019).
[29] Y. H. Qian, D. d’Humi`eres, and P. Lallemand, Europhys. Lett. 17, 479 (1992).
[30] W.-A. Yong, W. F. Zhao, and L.-S. Luo, Phys. Rev. E 93, 033310 (2016).
[31] W. F. Zhao and W.-A. Yong, Phys. Rev. E 95, 033311 (2017).
[32] W. F. Zhao and W.-A. Yong, J. Comput. Phys. 329, 1 (2017).
[33] H. S. Carslaw and J. C. Jaeger, Conduction of Heat in Solids(Clarendon Press, Oxford, 2013).
섹션 본문
섹션 본문이 없습니다.
참고문헌 41건
- The Lattice Boltzmann Equation for Fluid Dynamics and Beyond Oxford University Press eBooks · Oxford University Press · 2001 10.1093/oso/9780198503989.001.0001
- Lattice Boltzmann Method and Its Applications in Engineering Advances in computational fluid dynamics · World Scientific · 2013 10.1142/8806
- LATTICE BOLTZMANN METHOD FOR FLUID FLOWS Annual Review of Fluid Mechanics · Annual Reviews · 1998 10.1146/annurev.fluid.30.1.329
- Lattice-Boltzmann Method for Complex Flows Annual Review of Fluid Mechanics · Annual Reviews · 2009 10.1146/annurev-fluid-121108-145519
- Multiphase Lattice Boltzmann Methods: Theory and Application 2015 10.1002/9781118971451
- Lattice Boltzmann method for microfluidics: models and applications Microfluidics and Nanofluidics · Springer Science+Business Media · 2010 10.1007/s10404-010-0624-1
- Axisymmetric lattice Boltzmann model for multiphase flows with large density ratio International Journal of Heat and Mass Transfer · Elsevier BV · 2018 10.1016/j.ijheatmasstransfer.2018.09.050
- Convection-Diffusion Lattice Boltzmann Scheme for Irregular Lattices Journal of Computational Physics · Elsevier BV · 2000 10.1006/jcph.2000.6491
- A modified multiple-relaxation-time lattice Boltzmann model for convection–diffusion equation Journal of Computational Physics · Elsevier BV · 2014 10.1016/j.jcp.2014.05.041
- Lattice kinetic scheme for the Navier-Stokes equations coupled with convection-diffusion equations Physical review. E · American Physical Society · 2018 10.1103/physreve.98.033308
- Lattice Boltzmann model for nonlinear convection-diffusion equations Physical Review E · American Physical Society · 2009 10.1103/physreve.79.016701
- Multiple-relaxation-time lattice Boltzmann model for the convection and anisotropic diffusion equation Journal of Computational Physics · Elsevier BV · 2010 10.1016/j.jcp.2010.06.037
- Lattice Boltzmann model for the convection-diffusion equation Physical Review E · American Physical Society · 2013 10.1103/physreve.87.063309
- Lattice Boltzmann method for general convection-diffusion equations: MRT model and boundary schemes Journal of Computational Physics · Elsevier BV · 2019 10.1016/j.jcp.2019.03.045
- General bounce-back scheme for concentration boundary condition in the lattice-Boltzmann method Physical Review E · American Physical Society · 2012 10.1103/physreve.85.016701
- Improved treatments for general boundary conditions in the lattice Boltzmann method for convection-diffusion and heat transfer processes Physical Review E · American Physical Society · 2013 10.1103/physreve.88.033304
- Boundary conditions of the lattice Boltzmann method for convection–diffusion equations Journal of Computational Physics · Elsevier BV · 2015 10.1016/j.jcp.2015.07.045
- Lattice Boltzmann for Advection-Diffusion Problems Graduate texts in physics · Springer Nature · 2016 10.1007/978-3-319-44649-3_8
- Generic boundary conditions for lattice Boltzmann models and their application to advection and anisotropic dispersion equations Advances in Water Resources · Elsevier BV · 2005 10.1016/j.advwatres.2005.03.009
- Lattice Boltzmann modeling with discontinuous collision components: Hydrodynamic and Advection-Diffusion Equations Journal of Statistical Physics · Springer Science+Business Media · 2006 10.1007/s10955-006-9234-4
- Lattice Boltzmann models for the convection-diffusion equation: D2Q5 vs D2Q9 International Journal of Heat and Mass Transfer · Elsevier BV · 2016 10.1016/j.ijheatmasstransfer.2016.11.092
- A Multiple-Relaxation-Time Lattice Boltzmann Model for General Nonlinear Anisotropic Convection–Diffusion Equations Journal of Scientific Computing · Springer Science+Business Media · 2016 10.1007/s10915-016-0198-5
- An extrapolation method for boundary conditions in lattice Boltzmann method Physics of Fluids · American Institute of Physics · 2002 10.1063/1.1471914
- Prediction of the moments in advection-diffusion lattice Boltzmann method. II. Attenuation of the boundary layers via double-<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mi mathvariant="normal">Λ</mml:mi></mml:math>bounce-back flux scheme Physical review. E · American Physical Society · 2017 10.1103/physreve.95.013305
- Boundary flow condition analysis for the three-dimensional lattice Boltzmann model Journal de Physique II · EDP Sciences · 1994 10.1051/jp2:1994123
- Analytic solutions of simple flows and analysis of nonslip boundary conditions for the lattice Boltzmann BGK model Journal of Statistical Physics · Springer Science+Business Media · 1997 10.1007/bf02181482
- Discrete effects on boundary conditions for the lattice Boltzmann equation in simulating microscale gas flows Physical Review E · American Physical Society · 2007 10.1103/physreve.76.056704
- Analysis of lattice Boltzmann equation for microscale gas flows: Relaxation times, boundary conditions and the Knudsen layer International journal of computational fluid dynamics · Taylor & Francis · 2008 10.1080/10618560802253100
- Lattice Boltzmann simulation of surface roughness effect on gaseous flow in a microchannel Journal of Applied Physics · American Institute of Physics · 2008 10.1063/1.2949273
- Gas Flow Through Square Arrays of Circular Cylinders with Klinkenberg Effect: A Lattice Boltzmann Study Communications in Computational Physics · Cambridge University Press · 2010 10.4208/cicp.010809.081209a
- On a superconvergent lattice Boltzmann boundary scheme Computers & Mathematics with Applications · Elsevier BV · 2009 10.1016/j.camwa.2009.08.055
- Discrete effect on the halfway bounce-back boundary condition of multiple-relaxation-time lattice Boltzmann model for convection-diffusion equations Physical review. E · American Physical Society · 2016 10.1103/physreve.93.043311
- A comparative study on the lattice Boltzmann models for predicting effective diffusivity of porous media International Journal of Heat and Mass Transfer · Elsevier BV · 2016 10.1016/j.ijheatmasstransfer.2016.03.065
- Equivalent partial differential equations of a lattice Boltzmann scheme Computers & Mathematics with Applications · Elsevier BV · 2007 10.1016/j.camwa.2007.08.003
- Lattice BGK Models for Navier-Stokes Equation EPL (Europhysics Letters) · Institute of Physics · 1992 10.1209/0295-5075/17/6/001
- Theory of the Lattice Boltzmann method: Derivation of macroscopic equations via the Maxwell iteration Physical review. E · American Physical Society · 2016 10.1103/physreve.93.033310
- Maxwell iteration for the lattice Boltzmann method with diffusive scaling Physical review. E · American Physical Society · 2017 10.1103/physreve.95.033311
- Single-node second-order boundary schemes for the lattice Boltzmann method Journal of Computational Physics · Elsevier BV · 2016 10.1016/j.jcp.2016.10.049
- Natural convection in the annulus between concentric horizontal circular and square cylinders Journal of Thermophysics and Heat Transfer · American Institute of Aeronautics and Astronautics · 1996 10.2514/3.820
- A numerical study of natural convection in a square enclosure with a circular cylinder at different vertical locations International Journal of Heat and Mass Transfer · Elsevier BV · 2007 10.1016/j.ijheatmasstransfer.2007.06.033
- A coupled lattice BGK model for the Boussinesq equations International Journal for Numerical Methods in Fluids · Wiley · 2002 10.1002/fld.337