Professional Documents
Culture Documents
BGK model
Qisu Zou
Theoretical Division, Los Alamos National Lab, Los Alamos, New Mexico 87545
and Department of Mathematics, Kansas State University, Manhattan, Kansas 66506
Xiaoyi He
Center for Nonlinear Studies and Theoretical Biology and Biophysics Group, Los Alamos National
Laboratory, Los Alamos, New Mexico 87545
I. INTRODUCTION
1070-6631/97/9(6)/1591/8/$10.00
Downloaded 11 Oct 2011 to 152.19.196.250. Redistribution subject to AIP license or copyright; see http://pof.aip.org/about/rights_and_permissions
1591
1
f i ~ x1 d ei ,t1 d ! 2 f i ~ x,t ! 52 @ f i ~ x,t ! 2 f ~i eq ! ~ x,t !# ,
t
~1!
i50,1, . . . ,8,
i50
f i5 r ,
i51
f i ei 5 r u.
~2!
9
3
f ~i eq ! 5t i r 113 ~ ei u! 1 ~ ei u! 2 2 uu ,
2
2
4
t 05 ,
9
1
t i5 ,
9
i51:4;
t i5
1
,
36
u y 50,
]p
52G,
]x
]p
50,
]y
i55:8.
G52 rn u 0 /L 2 ,
~7!
] b ~ u a u b ! 52 ] a
~8!
S D
p
1 n] bb u a .
r0
~9!
~3!
] t ~ r u a ! 1 ] b ~ r u a u b ! 52 ] a ~ c 2s r ! 1 ] b ~ 2 nr S ab ! ,
1
t i5 ,
9
~5!
t i5
i51:4;
1
,
36
4
t 05 ,
9
i55:8
~10!
and
8
i50
~4!
~6!
]r
1 ~ r u! 50,
]t
y2
,
L2
9
3
f ~i eq ! 5t i r 13ei v1 ~ ei v! 2 2 vv ,
2
2
1592
u x 5u 0 12
f i5
i50
f ~i eq ! 5 r ,
i51
f i ei 5
i51
f ~i eq ! ei 5v,
~11!
~12!
Q. Zou and X. He
Downloaded 11 Oct 2011 to 152.19.196.250. Redistribution subject to AIP license or copyright; see http://pof.aip.org/about/rights_and_permissions
] b ~ v a v b ! 52 ] a ~ c 2s r ! 1 n] bb v a ,
O( d 2 ) with respect to the steady-state NavierStokes equation, for some special flows like Poiseuille flow, this error
disappears with suitable boundary conditions.
The 3-D 15-velocity LBGK model d3q15 is based on the
LBGK equation, Eq. ~1! with i50,1,... ,14, where
ei ,i50,1,... ,14 are the column vectors of the following matrix:
~13!
21
21
21
21
E5 0
0
21
21
21
21
21
21
21
21
21
21
i50
14
f i5 r ,
i51
f i ei 5 r u.
~14!
1
1
r 2 r uu,
8
3
f ~i eq ! 5
1
1
1
1
r 1 r ei u1 r ~ ei u! 2 2 r uu,
8
3
2
6
iPI,
~19!
~20!
1
1
1
f 65 f 81 ~ f 12 f 3 !2 r u x1 r u y .
2
2
6
~15!
~16!
f 52 f 65 r u x2~ f 12 f 32 f 71 f 8 !,
~17!
f 21 f 51 f 65 r u y1~ f 41 f 71 f 8 !.
~18!
1
@ f 1 f 1 f 12 ~ f 4 1 f 7 1 f 8 !# .
12u y 0 1 3
1
1
1
f 55 f 72 ~ f 12 f 3 !1 r u x1 r u y ,
2
2
6
1 ,
1
2
f 25 f 41 r u y ,
3
1
1
1
1
f ~i eq ! 5 r 1 r ei u1 r ~ ei u! 2 2 r uu,
64
24
16
48
iPII.
r5
21
~21!
f 1 1 f 5 1 f 8 5 r in u x 1 ~ f 3 1 f 6 1 f 7 ! ,
~22!
f 5 2 f 8 52 f 2 1 f 4 2 f 6 1 f 7 .
~23!
@ f 0 1 f 2 1 f 4 12 ~ f 3 1 f 6 1 f 7 !#
.
r in
~24!
Downloaded 11 Oct 2011 to 152.19.196.250. Redistribution subject to AIP license or copyright; see http://pof.aip.org/about/rights_and_permissions
1593
2
f 1 5 f 3 1 r in u x ,
3
1
1
f 5 5 f 7 2 ~ f 2 2 f 4 ! 1 r in u x ,
2
6
~25!
1
1
f 8 5 f 6 1 ~ f 2 2 f 4 ! 1 r in u x .
2
6
The corner node at the inlet needs some special treatment. Take the bottom node at the inlet as an example. After
streaming, f 3 , f 4 , f 7 are known, r is specified, and
u x 5u y 50. We need to determine f 1 , f 2 , f 5 , f 6 , f 8 . We use
the bounceback rule for the non-equilibrium part of the particle distribution normal to the inlet and the boundary to find
f 1 5 f 3 1 ~ f ~1eq ! 2 f ~3eq ! ! 5 f 3 ,
f 2 5 f 4 1 ~ f ~2eq ! 2 f ~4eq ! ! 5 f 4 .
~26!
or
1
f 6 5 f 8 5 @ r 2 ~ f 0 1 f 1 1 f 2 1 f 3 1 f 4 1 f 5 1 f 7 !# ,
2
~29!
~30!
and in Eq. ~20!, r u x , r u y are replaced by v x , v y , respectively. For the pressure flow boundary condition, Eq. ~24! is
replaced by
v x 5 r in 2 @ f 0 1 f 2 1 f 4 12 ~ f 3 1 f 6 1 f 7 !# ,
~31!
r in u x 5 r in 2 @ f 0 1 f 3 1 f 4 1 f 5 1 f 6 12 ~ f 2 1 f 8 1 f 101 f 12
1 f 14!# .
~32!
f 55 f 7 ,
1594
r 5 v y 1 @ f 0 1 f 1 1 f 3 12 ~ f 4 1 f 7 1 f 8 !# ,
eq !
f i 5 f i11 1 ~ f ~i eq ! 2 f ~i11
!,
f 5 1 f 6 2 f 8 52 ~ f 2 2 f 4 2 f 7 ! 5 f 7 ,
i57,9,11,13.
~35!
1
1
r in u x 2 @ e iy ~ f 3 2 f 4 ! 1e iz ~ f 5 2 f 6 !# ,
12
4
i57,9,11,13.
Q. Zou and X. He
Downloaded 11 Oct 2011 to 152.19.196.250. Redistribution subject to AIP license or copyright; see http://pof.aip.org/about/rights_and_permissions
u 0 @ 4 t ~ 4 t 25 ! 13 # 2
d ,
3
~37!
where u tj ,u j are the analytical and computed x-velocity, respectively, and u 0 is the center velocity. For a fixed t , the
error is second-order in the lattice spacing d . Of course, large
value of t will give large errors,2,5 because the Chapman
Enskog procedure breaks down when t is large. However,
for t between 0.5 and 1.25, the magnitude of the error given
in ~37! is less than or equal to 1.1 u 0 d 2 . Thus, it is worthwhile to consider this boundary condition in more general
situations, especially in 3-D flows.
V. NUMERICAL RESULTS
< d Tol,
~38!
A~ u tx 2 v x ! 2 1 ~ u ty 2 v y ! 2
u0
u tx ,u ty
~39!
Downloaded 11 Oct 2011 to 152.19.196.250. Redistribution subject to AIP license or copyright; see http://pof.aip.org/about/rights_and_permissions
1595
TABLE I. Maximum relative errors for 2-D Poiseuille flow with pressure specified at the inlet and outlet. The
results of three boundary conditions Nos. 1, 2, 3 are given. In each box, the upper figure is the error, and the
lower figure is the ratio of two consecutive errors. The last column shows the order of convergence using
least-squares fitting. The symbol ~22! represents 1022 .
lx
ly
u0
No. 1
Re 5 10
t 50.6
No. 2
No. 3
u0
No. 1
Re 5 10
t 50.8
No. 2
No. 3
u0
No. 1
Re 5 1
t 51.1
No. 2
No. 3
8
4
16
8
0.8333~21!
0.6031~21!
4.021
0.5917~21!
4.001
0.4167~21!
0.1500~21!
4.023
0.1479~21!
3.998
0.2500
0.3276~21!
3.938
0.3250~21!
4.000
0.1000
4.000
0.5000~21!
0.5550~21!
4.011
0.5750~21!
4.001
0.5000~21!
4.000
0.1250
0.8319~22!
4.050
0.8125~22!
3.999
0.2500~21!
4.000
0.2500~21!
0.1441~21!
4.010
0.1437~21!
3.998
0.1250~21!
4.000
32
16
0.2084~21!
0.3729~22!
4.011
0.3699~22!
3.992
unstable
0.6250~21!
0.2054~22!
4.019
0.2032~22!
3.996
0.6250~22!
3.999
0.1250~21!
0.3617~22!
3.984
0.3594~22!
4.000
0.3125~22!
4.000
64
32
128
64
0.1042~21!
0.9297~23!
4.000
0.9265~23!
3.939
0.5208~22!
0.2324~23!
2.005
0.2352~23!
1.995
0.1563~21!
0.1276~23!
2.003
0.1283~23!
1 .997
0.3920~23!
1.999
0.3125~22!
0.2249~23!
1.989
0.2246~23!
2. 000
0.1953~23!
2.000
0.3125~21!
0.5111~23!
4.005
0.5085~23!
3.963
0.1563~22!
3.987
0.6250~22!
0.9021~23!
3.851
0.8984~23!
4.000
0.7812~23!
4.000
S D
16a 2
dp
u x ~ y,z ! 5
2
mp3
dx
3 12
order
i51,3,5, . . .
~ 21 ! ~ i21 ! /2
~40!
Downloaded 11 Oct 2011 to 152.19.196.250. Redistribution subject to AIP license or copyright; see http://pof.aip.org/about/rights_and_permissions
TABLE II. Maximum relative errors for 3-D square duct flow with pressure specified at the inlet and outlet. The
results of five boundary conditions ~Nos. 15! are given. In each box, the upper figure is the error, and the lower
figure is the ratio of two consecutive errors. The last column shows the order of convergence using least-squares
fitting.
lx
ly,lz
u0
No. 1
Re 5 10
t 50.6
8
4
0.8333~21!
0.4028
3.822
No. 2
16
8
0.4167~21!
0.2083~21!
0.1054
0.2742~21!
3.844
3.762
unstable
No. 3
No. 4
u0
No. 1
Re 5 5
t 50.8
No. 2
No. 3
No. 4
No. 5
u0
No. 1
Re 5 0.2
t 51.1
No. 2
No. 3
No. 4
64
32
order
0.1042~21!
0.7289~22!
1.931
0.3132~22!
2.053
0.1563~21!
0.2388~22!
1.959
0.2310~22!
1.966
0.5741~22!
1.984
0.1278~22!
1.998
0.7935~21!
1.025
0.1250~22!
0.4807~22!
1.818
0.4737~22!
1.829
0.4904~22!
1.994
0.3341~22!
1.982
unstable
0.2210
3.971
0.1250
0.1382
3.472
0.1371
3.747
0.3397
3.552
0.8567~21!
5.552
0.6539
1.955
0.1000~21!
0.2091
3.199
0.2114
3.279
0.3109
4.017
0.2070
4.162
0.5565~21!
4.304
0.6250~21!
0.3980~21!
4.059
0.3659~21!
3.959
0.9563~21!
4.517
0.1543~21!
3.427
0.3345
2.178
0.5000~22!
0.6537~21!
3.598
0.6448~21!
3.608
0.7740~21!
3.937
0.4973~21!
3.894
pears that in 3-D duct flow, the four edges pose additional
difficulties to resolving the flow. Even with forcing, the density is not uniform in a cross section for the half-way wall
bounceback or for boundary conditions in Refs. 7 and 6.
Nevertheless, the order of convergence for 3-D duct flow is
still close to 2. The half-way wall bounceback has a weaker
convergence when t .1 while the boundary condition in
Ref. 7 performs better as t .1 but worse as t ,1.
We would like to point out that a second-order accuracy
of the half-way wall bounceback in the flows considered
does not imply a second-order accuracy for any flows. The
statement can be applied to other boundary conditions as
well. One is encouraged to do some tests on a simplified flow
of the type of flows to be simulated.
VI. DISCUSSIONS
32
16
0.1293~21!
4.128
0.3125~21!
0.9805~22!
4.106
0.9243~22!
4.001
0.2117~21!
3.688
0.4502~21!
3.523
0.1536
1.936
0.2500~22!
0.1817~21!
3.780
0.1787~21!
3.772
0.1966~21!
4.009
0.1277~21!
3.822
Discussions with R. Maier and R. Bernard are appreciated. Q. Z. would like to thank the Associated Western Universities, Inc. for providing a fellowship and to thank G.
Doolen and S. Chen for helping to arrange his visit to the
Los Alamos National Lab. Some computations are performed on the Convex Exempler SPP-1000 of Kansas State
University. Q. Z. would like to thank National Science Foundation Grant No. DMR-9413513 which provided funds for
the acquisition of the machine.
1
Downloaded 11 Oct 2011 to 152.19.196.250. Redistribution subject to AIP license or copyright; see http://pof.aip.org/about/rights_and_permissions
1597
1598
12
Q. Zou and X. He
Downloaded 11 Oct 2011 to 152.19.196.250. Redistribution subject to AIP license or copyright; see http://pof.aip.org/about/rights_and_permissions