You are on page 1of 25

Lattice Boltzmann Methods

for Fluid Dynamics


Steven Orszag
Department of Mathematics
Yale University

In collaboration with Hudong Chen, Isaac


Goldhirsch, and Rick Shock
Transient flow around a car
LBGK vs. CONVENTIONAL CFD

Real Fluid
Free molecules in continous space

Continuum Kinetic Theory


Microscopic particles (Boltzmann Equation)

Conventional CFD Methods Lattice Based Method


___________________________ _________________________________
Discrete formulation of kinetic theory
Construction of fluid equations Lattice Boltzmann equations
Navier-Stokes equations (PDE)
No further approximation
The equations are already in discrete form
Discrete approximation of PDE
Finite difference, finite element, etc Numerical integration
Solve on lattices and apply kinetic based BC
Numerical integration
Solve the equations on a given mesh and Simple conversion to fluid variables
apply PDE boundary conditions These are theoretically shown to obey
the required fluid equations

Results
Fluid dynamic quantities at discrete points in space and time
Lattice Boltzmann (or BGK) Methods
Particles only have a finite number of discrete velocity values

! !
v ! {ci ; i = 0,1, " , b} 4 3 2

0
b in 3D ~ 20 - 30 5 1
" " "
f ( x , v , t ) ! ni ( x , t ); i = 0,1,! , b
!
Number density for particles with velocity c
6
7 8
i

The choice is not arbitrary!


• Satisfy foundational symmetry
requirements (up to required orders)
• Avoid spurious invariants x
Lattice BGK method

LBGK:
! ! ! !
ni ( x + ci !t , t + !t ) = ni ( x , t ) + Ci ( x , t )
Coupled (via Ci ) algebraic difference equations
1
BGK form: Ci = " (ni " ni )
eq D3Q19
! lattice
!
Fluid quantities obtained via averaging over c and space-time:
i

! = " i ni
! !
! u = " i ci ni x
D2Q6 ! ! 2
lattice ! T = D " i (ci # u ) ni
1
D2Q4
Remarks on LBGK
• Lattice
BGK yields the Navier-Stokes equations
• Chapman-Enskog asymptotic expansion in
powers of Knudsen number λ/L or τ/T << 1
• Easy to compute time dependent flows
• Relaxation time τ defines viscosity
• No need to compute pressure explicitly
• Boundary conditions are fully realizable
• Stability is ensured
• Parallel performance with arbitrary geometry
Brief Comparison of LBGK and
Conventional CFD
Conventional CFD LBGK
1. Nonlinear dynamic 1. Linear advection
advection
2. Non-local – limited 2. Local and fully parallel
parallel performance
3. Issues with boundary 3. BC are fully realizable for
conditions (BC) arbitrary geometry
4. Geometry setup slow 4. Geometry setup fast
5. 3D time dependent 5. Time dependent flows
flows costly to simulate straightforward – especially
important in 3D
6. Complex physics (like
multi-phase flows) 6. Complex physics (like multi-
require complex phase flows) involve simple
physical models
physical models
2D Cylinder
2D Cylinder

Re = 100
2D Cylinder

Friction Drag
How do you derive N-S from LBGK?
• Chapman-Enskog (moment
expansion) procedure in powers
of Knudsen number λ/L
• Navier-Stokes equations are
independent of orientation of
coordinate system
• BUT – lattice BGK is highly
anisotropic
• REMARKABLE FACT – isotropy
of velocity moments only up to a
fixed finite order are required
Isothermal Navier-Stokes equations
at low Mach numbers
• Density/momentum
b b
" ( x, t ) # $ f! ( x, t ), "u( x, t ) # $ c! f! ( x, t )
! =1 ! =1

• Momentum flux tensor


b
Pij ( x, t ) " # c! ,i c! , j f! ( x, t )
! =1
• Energy flux tensor
b
Qijk ( x, t ) " # c! ,ic! , jc! ,k f ! ( x,t )
! =1

• Navier-Stokes requires isotropy of


velocity moments only up to 4th order
High-order models
• Non-isothermal low Mach number Navier-
Stokes equations requires velocity
moment isotropy up to 6th order
• Other physically relevant models reuqire
even higher-order velocity moment
isotropy, further restricting the discrete
velocity set used in lattice BGK
• For example, non-isothermal flow with
Burnett corrections requires 8th order
isotropy
Relation between rotational symmetry
and order of moment isotropy in 2D
• b velocities C = {c = (cos ( 2"!
!
b
), sin (
2"!
b
); ! = 0,…, b # 1}

is invariant under rotations by multiples of 2π/b


• Isotropy of the nth orderb
basis moment tensor
M ( n ) " # c! c! !c!
b !
!!!! !
requires that # (c! " vˆ) = A where A is a
n n

constant and ! vˆ = (cos ! , sin ! ) is any unit vector


n 2"!
b $1
• This requires that hb (# ) % & cos (
( n)
$ # ) be
! =0 b b #1
independent of θ, which holds if $ ei (2 j #n ) = 0
2 !"
b

" =0
ie (2j-n)/b is not a nonzero integer for j=0,…,n
• CONCLUSION: Isotropy for so n ! b " 2
hexagonal lattice gives 4th order isotropy, etc.
3D Moment Isotropy
• nth order basis moment tensor
b
M ( n)
= # w! c! " c! " ! " c!
! =1
!!!!!!!
n

• Isotropy requires
( n ! 1)c 2 n !2)
M i!i =
( n)
M i(!
!
n
D + n ! 2 !n!2 i

( n ! 3) c 2 n !2)
M i!i jj =
( n)
M i(!
!
n!2
D + n ! 2 !n!4 i jj
( n ! 5) c 2 ( n !2)
( n)
M i!i jjjj = M i!i jjjj
!
n!4
D + n ! 2 !n!6
and so on
Generation of Nth order isotropic lattices

• Using these relations an Nth order


isotropic lattice can be constructed by
a union of (N-2)nd order isotropic
lattices and its rotated realizations
• Example: 6th order set with 59
velocities
1 (0,0,0) 12 {(±1, ±1, 0), ( ±1, 0, ±1), (0, ±1, ±1)}
6 {(±1, 0, 0), (0, ±1, 0), (0, 0, ±1)} 8 {(±1, ±1, ±1)}
6 {(±2, 0, 0)} 12 {(±2, ±2, 0), (±2, 0, ± 2), (0, ±2, ± 2)}
8 {(±2, ±2, ±2)} 6 {(±4, 0, 0), (0, ±4, 0), (0, 0, ±4)}
Boltzmann-τ Turbulence Modeling
• Turbulence modeled via a modified
relaxation time τ

"f 1
= ! ( f ! f eq )
"t #
1 1 1 1 1
= + + + + ...
! ! turb ! shear ! buoyancy ! swirl
Advantages of Boltzmann-τ Method - I

• Realizability of the turbulence model


• Boltzmann-τ has guaranteed realizability
– Requires only τturb > 0
– Stable numerical results
– Positive eddy viscosity
• Navier-Stokes-based turbulence models
can have significant difficulties with
realizability
– Divergent turbulence quantities
– Negative eddy viscosities, …
Advantages of Boltzmann-τ Method - II

• With the BGK model in terms of space, time,


and velocity as independent coordinates,
simple approximations (like τ models) may
be extraordinarily complex in fluid
(velocity/pressure) variables
• Fluid velocity/pressure are projections of the
BGK variables onto a lower-dimensional
space
• In contrast to higher-order Chapman-
Enskog projections, the BCs on BGK are
well defined and easy to implement
An Opel in a Wind Tunnel
Centerline Velocity at 140 km/h
Dodge RAM – Exterior/underhood/
under-carriage flow – centerline velocity
Dodge RAM – Acoustic Impact of Headlight/Hood
Design on A-Pillar and Door Seals: ! = " 2 # S 2
2
3D Streamlines of Flow Past a
Large Truck
Drag Development
Drag increase due
to base of trailer

Deflector
Suction
(-110 cnts) Drag increase due
to cab rear Drag increase
wheels (60 cnts) due to trailer
Secondary friction (20 cnts)
stagnation
region
(110 cnts)

Steep drag increase Drag increase


in stagnation region from cab-trailer
(90 cnts) gap (40 cnts)
Conclusions
• Lattice BGK allows straightforward
mix of complex fluids, complex
physics, and complex geometries
• Appropriate lattice structures can be
derived to assure accurate and
efficient flow computations, even
with turbulence and other complex
physics included

You might also like