Algorithm Search⌘K

Definitioncore

BGK collision operator

Also called Bhatnagar-Gross-Krook operator, single-relaxation-time collision.

Relaxes particle distributions toward a local equilibrium with one time tau. In lattice Boltzmann it sets the viscosity nu = c_s^2 (tau - 1/2) dt, with tau in time steps.

The BGK collision operator replaces the collision integral of the Boltzmann equation by a relaxation toward a local equilibrium at one rate 1/τ1/\tau. Bhatnagar, Gross and Krook introduced it in 1954 as a model of collisions in gases. It is the collision step of the standard lattice Boltzmann method, where the single time τ\tau fixes the viscosity. The multiple-relaxation-time method generalizes it by giving each moment of the distribution its own rate; with all rates equal to 1/τ1/\tau it is BGK again.

Definition

Continuous form. Let f(x,ξ,t)f(x, \xi, t) be the density of particles at position xx with velocity ξ\xi. Its moments give the density ρ=∫f dξ\rho = \int f\,d\xi, the momentum ρu=∫ξf dξ\rho u = \int \xi f\,d\xi and the internal energy. Let feqf^{\mathrm{eq}} be the Maxwell distribution with the same density, velocity and temperature as ff. The BGK operator is

Ω(f)=−1τ(f−feq[f]),∂tf+ξ⋅∇xf=Ω(f),\Omega(f) = -\frac1\tau\bigl(f - f^{\mathrm{eq}}[f]\bigr), \qquad \partial_t f + \xi \cdot \nabla_x f = \Omega(f),

with a relaxation time τ>0\tau > 0. Because ff and feqf^{\mathrm{eq}} have the same density, momentum and energy, ∫Ω dξ=0\int \Omega\,d\xi = 0, ∫ξ Ω dξ=0\int \xi\,\Omega\,d\xi = 0 and ∫∣ξ∣2Ω dξ=0\int |\xi|^2\Omega\,d\xi = 0: the operator conserves mass, momentum and energy, like the true collision integral. Bhatnagar, Gross and Krook also showed that it satisfies an H-theorem, so it drives ff to the local Maxwellian.

Lattice form. On a lattice with velocities cic_i, weights wiw_i, sound speed csc_s and time step Δt\Delta t, the lattice BGK update is

fi(x+ciΔt,t+Δt)=fi(x,t)−Δtτ(fi(x,t)−fieq(ρ,u)),f_i(x + c_i\Delta t, t + \Delta t) = f_i(x, t) - \frac{\Delta t}{\tau}\bigl(f_i(x, t) - f_i^{\mathrm{eq}}(\rho, u)\bigr),
fieq(ρ,u)=wiρ(1+ci⋅ucs2+(ci⋅u)22cs4−∣u∣22cs2),f_i^{\mathrm{eq}}(\rho, u) = w_i\rho\Bigl(1 + \frac{c_i \cdot u}{c_s^2} + \frac{(c_i \cdot u)^2}{2c_s^4} - \frac{|u|^2}{2c_s^2}\Bigr),

where ρ=∑ifi\rho = \sum_i f_i and ρu=∑icifi\rho u = \sum_i c_i f_i at the node. On D2Q9 in lattice units (Δx=Δt=1\Delta x = \Delta t = 1), cs2=13c_s^2 = \frac13 and the weights are 49\frac49, 19\frac19 and 136\frac1{36}. The weights make ∑ifieq=ρ\sum_i f_i^{\mathrm{eq}} = \rho and ∑icifieq=ρu\sum_i c_i f_i^{\mathrm{eq}} = \rho u exact identities, so the lattice collision conserves mass and momentum at each node exactly (in exact arithmetic). It does not conserve energy; the isothermal lattice has no energy equation.

Viscosity. The Chapman-Enskog expansion of the lattice BGK equation gives the Navier-Stokes equations at low Mach number with kinematic viscosity

ν=cs2(τ−Δt2),in lattice units ν=13(τ−12).\nu = c_s^2\Bigl(\tau - \frac{\Delta t}2\Bigr), \qquad \text{in lattice units } \nu = \frac13\Bigl(\tau - \frac12\Bigr).

The −Δt2-\frac{\Delta t}2 is a discretization effect. The explicit update is a second-order (trapezoidal) integration of the BGK equation along the characteristic after a change of variables, and that change of variables shifts the relaxation time by Δt2\frac{\Delta t}2. In the continuous BGK model with cs2c_s^2 the isothermal sound speed squared, the same expansion gives ν=cs2τ\nu = c_s^2\tau (the dynamic viscosity is τp\tau p). Stability needs τ>Δt2\tau > \frac{\Delta t}2, so ν>0\nu > 0; near τ=12\tau = \frac12 the scheme becomes unstable in practice, which is the limit MRT relaxes.

Examples and non-examples

One D2Q9 collision by hand. Take a node at rest with fi=wif_i = w_i, and add 1100\frac1{100} to f1f_1 and to f3f_3, the two populations along ±x\pm x. Then ρ=5150\rho = \frac{51}{50}, u=0u = 0 and fieq=wiρf_i^{\mathrm{eq}} = w_i\rho.

τ\tau f0∗f_0^* f1∗=f3∗f_1^* = f_3^* f2∗=f4∗f_2^* = f_4^* f5∗,…,f8∗f_5^*, \ldots, f_8^* ∑fi∗\sum f_i^*
1 3475=0.45333\frac{34}{75} = 0.45333 17150=0.11333\frac{17}{150} = 0.11333 17150=0.11333\frac{17}{150} = 0.11333 17600=0.02833\frac{17}{600} = 0.02833 1.021.02
0.8 4190=0.45556\frac{41}{90} = 0.45556 4013600=0.11139\frac{401}{3600} = 0.11139 41360=0.11389\frac{41}{360} = 0.11389 411440=0.02847\frac{41}{1440} = 0.02847 1.021.02

With τ=1\tau = 1 the collision returns the equilibrium in one step. With τ=0.8\tau = 0.8 the step is 54\frac54 of the way to the equilibrium, so the excess along ±x\pm x changes sign: f1∗−f2∗=−0.0025f_1^* - f_2^* = -0.0025. In both cases the density stays 1.021.02 and the momentum stays 0. With τ=0.8\tau = 0.8 the viscosity is ν=13⋅0.3=0.1\nu = \frac13 \cdot 0.3 = 0.1.

The diffusion example. On D1Q3 with a zero-velocity equilibrium and τ=1\tau = 1, BGK followed by streaming is the FTCS scheme for the heat equation with μ=16\mu = \frac16; the lattice Boltzmann page works this out by hand.

Non-examples.

  • Relaxation toward a fixed global state, Ω=−(f−fref)/τ\Omega = -(f - f_{\mathrm{ref}})/\tau with freff_{\mathrm{ref}} the same everywhere, is not BGK. It does not conserve momentum, so the flow it models is damped by a friction force.
  • The MRT collision with different rates for different moments is not BGK, though it contains BGK as the case of equal rates.
  • The collision term of the linear Boltzmann transport equation for neutrons scatters particles off a fixed background. It conserves particle number but not momentum, and it has no local Maxwellian.
  • Direct simulation Monte Carlo samples the full binary collision integral of a dilute gas instead of a relaxation model.
  • Prandtl number. The continuous BGK model has a single relaxation time for momentum and heat, so it predicts a Prandtl number of 1; a monatomic gas has a Prandtl number of about 23\frac23. Thermal kinetic models (for example the ellipsoidal statistical BGK and the Shakhov model) change the operator to fix this. Isothermal lattice Boltzmann does not need a Prandtl number.
  • Knudsen number. The ratio of the mean free path csτc_s\tau to a flow length. The Chapman-Enskog expansion is an expansion in it.
  • Collision invariants. The functions 11, ξ\xi and ∣ξ∣2|\xi|^2 whose moments every collision operator must keep. The lattice BGK operator keeps the first two.
  • Halfway bounce-back. The usual wall condition for BGK; its wall position depends on τ\tau, see bounce-back boundary condition.

References

  1. P. L. Bhatnagar, E. P. Gross and M. Krook, A model for collision processes in gases. I. Small amplitude processes in charged and neutral one-component systems, Physical Review 94 (1954) 511-525
  2. Y. H. Qian, D. d'Humières and P. Lallemand, Lattice BGK models for Navier-Stokes equation, Europhysics Letters 17 (1992) 479-484
  3. Hudong Chen, Shiyi Chen and William H. Matthaeus, Recovery of the Navier-Stokes equations using a lattice-gas Boltzmann method, Physical Review A 45 (1992) R5339-R5342
  4. Timm Krüger, Halim Kusumaatmaja, Alexandr Kuzmin, Orest Shardt, Goncalo Silva and Erlend Magnus Viggen, The Lattice Boltzmann Method: Principles and Practice, Springer, 2017, Chapter 2 (the Boltzmann equation and the BGK model), Chapter 3 (the lattice BGK equation) and Chapter 4 (the viscosity from the Chapman-Enskog analysis)
  5. Sydney Chapman and T. G. Cowling, The Mathematical Theory of Non-uniform Gases, 3rd edition, Cambridge University Press, 1970

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/K4C2TZ/text.yaml