Algorithm Search⌘K

Techniqueadvanced

Chapman-Enskog expansion

Also called Chapman-Enskog analysis.

A multiscale expansion in the Knudsen number that derives the Navier-Stokes equations and their viscosity from a kinetic equation such as lattice Boltzmann.

The Chapman-Enskog expansion derives the equations of fluid flow from a kinetic equation. It expands the particle distribution around the local equilibrium in powers of the Knudsen number ϵ\epsilon, the ratio of the mean free path to the length of the flow, and expands the time derivative in the same way. The first order gives the Euler equations, and the second order gives the Navier-Stokes equations with a viscosity expressed in the collision time. Chapman and Enskog built it for the Boltzmann equation of a dilute gas. In lattice Boltzmann work it is the standard way to show that the scheme is consistent with Navier-Stokes and to find ν=cs2(τ−12)\nu = c_s^2(\tau - \frac12) for the BGK collision. It is a formal asymptotic expansion: it shows what equations the scheme approximates, but it is not a convergence proof.

In plain words

A gas is made of particles that collide very often. Between collisions the particles carry mass and momentum from place to place. If collisions are frequent compared with the time it takes the flow to change, the particle velocities at each point are almost in balance, and only a small correction is left. The Chapman-Enskog method writes the distribution as the balanced state plus small corrections, sorted by how small they are. The balanced state alone gives inviscid flow. The first correction gives viscosity, because it describes how much the velocities lag behind the flow. Applied to a lattice Boltzmann scheme, the same steps tell you which equations the scheme solves and with which viscosity.

When it applies

  • A kinetic equation ∂tf+ξ⋅∇f=Ω(f)\partial_t f + \xi \cdot \nabla f = \Omega(f) or a lattice Boltzmann scheme, whose collision Ω\Omega has an equilibrium feqf^{\mathrm{eq}} that depends on the local conserved moments only (density, momentum and, for thermal models, energy).
  • The Knudsen number is small: the flow varies on length scales much larger than the mean free path, and on time scales much longer than the collision time. For lattice Boltzmann this means smooth flow on many lattice nodes.
  • The Mach number is small, for lattice equilibria that are second order in uu: the expansion then also shows the O(u3)O(u^3) error terms that break Galilean invariance.
  • It does not apply to strongly rarefied flow (Knudsen number of order 1 or more), to shock interiors, or to the first steps after a start far from equilibrium.

The template

  1. CHAPMAN-ENSKOG(kinetic equation, f^eq, conserved moments φ)
  2. 1Taylor-expand the update in Δt (lattice schemes only): D_i f_i + (Δt/2) D_i^2 f_i + ... = Ω_i / Δt, with D_i = ∂_t + c_i · ∇
  3. 2write f = f^(0) + ε f^(1) + ε^2 f^(2) + ..., with f^(0) = f^eq
  4. 3solvability: Σ φ f^(k) = 0 for every k ≥ 1, so the conserved moments come from f^(0) only
  5. 4write ∇ = ε ∇^(1) and ∂_t = ε ∂_t^(1) + ε^2 ∂_t^(2)
  6. 5order ε: take moments with φ to get the Euler-level equations for ∂_t^(1); solve for f^(1) in terms of f^(0)
  7. 6order ε^2: take moments with φ to get the ∂_t^(2) equations; the momentum flux of f^(1) gives the viscous stress
  8. 7recombine ∂_t = ε ∂_t^(1) + ε^2 ∂_t^(2) into one macroscopic equation, and read off the transport coefficients

The holes are the kinetic equation (its collision operator and, for a lattice, its velocity set and weights), the equilibrium feqf^{\mathrm{eq}}, and the list ϕ\phi of conserved quantities (1 and cc for isothermal lattice Boltzmann).

Line L1 is the step that makes the lattice result differ from the continuous one: the second-order term Δt2Di2fi\frac{\Delta t}2 D_i^2 f_i is where the −12-\frac12 in τ−12\tau - \frac12 comes from. Line L2 is the expansion in the Knudsen number. Line L3 says that the corrections carry no mass or momentum; this fixes the expansion uniquely and makes the collision invariants come only from the equilibrium. Line L4 is the multiscale step: the fast convective time scale t1t_1 and the slow diffusive time scale t2t_2 are treated as independent. At order ϵ\epsilon (line L5), the collision term gives f(1)=−τDi(1)f(0)f^{(1)} = -\tau D_i^{(1)} f^{(0)}, and the moments of Di(1)f(0)D_i^{(1)} f^{(0)} are the Euler equations. At order ϵ2\epsilon^2 (line L6), the term Di(1)f(1)D_i^{(1)} f^{(1)} and the Taylor term combine into (1−Δt2τ)Di(1)f(1)(1 - \frac{\Delta t}{2\tau}) D_i^{(1)} f^{(1)}; its moments give the viscous terms. Line L7 adds the two time scales back together.

The result is a formal asymptotic statement: if the scheme has a solution with the assumed smooth multiscale structure, that solution satisfies the macroscopic equations up to terms of order ϵ2\epsilon^2. The expansion does not prove that such a solution exists or that the scheme converges.

Classic examples

D1Q3 diffusion, in full. Velocities ci=0,1,−1c_i = 0, 1, -1, weights 23,16,16\frac23, \frac16, \frac16, equilibrium fieq=wiρf_i^{\mathrm{eq}} = w_i\rho, lattice units, BGK collision with time τ\tau. The only conserved quantity is ρ=∑fi\rho = \sum f_i. Line L1 gives Difi+12Di2fi=−1τ(fi−wiρ)D_if_i + \frac12 D_i^2f_i = -\frac1\tau(f_i - w_i\rho) up to third-order terms. At order ϵ\epsilon:

Di(1)fi(0)=−1τfi(1),sofi(1)=−τ(∂t(1)+ci∂x(1))wiρ.D_i^{(1)} f_i^{(0)} = -\frac1\tau f_i^{(1)}, \qquad \text{so} \qquad f_i^{(1)} = -\tau(\partial_t^{(1)} + c_i \partial_x^{(1)}) w_i\rho.

Its zeroth moment gives ∂t(1)ρ+∂x(1)∑iciwiρ=∂t(1)ρ=0\partial_t^{(1)}\rho + \partial_x^{(1)}\sum_i c_iw_i\rho = \partial_t^{(1)}\rho = 0, because ∑ciwi=0\sum c_iw_i = 0: there is no convection. At order ϵ2\epsilon^2:

∂t(2)fi(0)+(1−12τ)Di(1)fi(1)=−1τfi(2).\partial_t^{(2)} f_i^{(0)} + \Bigl(1 - \frac1{2\tau}\Bigr) D_i^{(1)} f_i^{(1)} = -\frac1\tau f_i^{(2)}.

The zeroth moment, with ∑fi(1)=∑fi(2)=0\sum f_i^{(1)} = \sum f_i^{(2)} = 0, is ∂t(2)ρ+(1−12τ)∂x(1)∑icifi(1)=0\partial_t^{(2)}\rho + (1 - \frac1{2\tau})\partial_x^{(1)}\sum_i c_if_i^{(1)} = 0. From the expression for f(1)f^{(1)} and ∑ci2wi=13\sum c_i^2w_i = \frac13, ∑icifi(1)=−τ3∂x(1)ρ\sum_i c_if_i^{(1)} = -\frac\tau3\partial_x^{(1)}\rho. So ∂t(2)ρ=13(τ−12)∂x(1)∂x(1)ρ\partial_t^{(2)}\rho = \frac13(\tau - \frac12)\partial_x^{(1)}\partial_x^{(1)}\rho, and line L7 gives the heat equation

∂tρ=D ∂xxρ,D=13(τ−12).\partial_t\rho = D\,\partial_{xx}\rho, \qquad D = \frac13\Bigl(\tau - \frac12\Bigr).

Without the Taylor term of line L1 the result would be D=τ/3D = \tau/3. A run checks this: on a periodic lattice of NN nodes, start from ρ=1+0.01sin⁡(2πx/N)\rho = 1 + 0.01\sin(2\pi x/N) and measure the decay rate of the mode over the second half of N2/2N^2/2 steps.

τ\tau predicted DD measured, N=16N = 16 N=32N = 32 N=64N = 64
0.6 0.033333 0.033747 0.033436 0.033359
1.0 0.166667 0.166659 0.166666 0.166667
2.0 0.5 0.438741 0.486406 0.496739

The relative difference falls by a factor of about 4 each time NN doubles, as it should: it is the next order of the expansion, of size (kτ)2(k\tau)^2 for wavenumber k=2π/Nk = 2\pi/N. The value τ/3\tau/3 is ruled out at once: for τ=2\tau = 2 it would be 0.6670.667.

D2Q9 lattice BGK to Navier-Stokes. The same steps with the conserved moments ρ\rho and ρu\rho u on the lattice Boltzmann D2Q9 lattice give, at order ϵ\epsilon, the Euler equations with pressure p=cs2ρp = c_s^2\rho, and at order ϵ2\epsilon^2 the viscous stress ρν(∇u+∇uT)\rho\nu(\nabla u + \nabla u^T) with ν=cs2(τ−12)\nu = c_s^2(\tau - \frac12) in lattice units (Qian, d'Humières and Lallemand 1992; Chen, Chen and Matthaeus 1992). The analysis also shows the error terms: the third moment of the second-order equilibrium misses the term ρuuu\rho uuu, which gives errors of order u3u^3 in the stress, so the result holds for small Mach number (Krüger et al. 2017, Chapter 4).

The viscosity of MRT. For the multiple-relaxation-time method the same expansion, done in moment space, gives the shear viscosity ν=13(1sν−12)\nu = \frac13(\frac1{s_\nu} - \frac12) from the stress rate and a bulk viscosity from the energy rate, while the rates of the heat flux moments do not enter the Navier-Stokes level (Lallemand and Luo 2000). It shows that those rates are free at this order, which is what the wall tuning of bounce-back uses.

The continuous BGK gas. For the Boltzmann equation with the continuous BGK operator, the expansion gives the compressible Navier-Stokes equations with dynamic viscosity μ=τp\mu = \tau p and a Prandtl number of 1. For the full Boltzmann collision integral, Chapman and Enskog obtained the viscosity and heat conductivity of a dilute gas from integral equations for f(1)f^{(1)} (Chapman and Cowling 1970).

Variations

  • Higher orders. Order ϵ3\epsilon^3 gives the Burnett equations. Bobylev (1982) showed that the Burnett equations are unstable for short waves, so the expansion is asymptotic and not convergent in general.
  • Diffusive scaling. An expansion with Δt∼Δx2\Delta t \sim \Delta x^2 (time scales as the square of space) and a small Mach number leads straight to the incompressible Navier-Stokes equations. It is an alternative to the two time scales of line L4.
  • Asymptotic analysis of the scheme. Instead of expanding in ϵ\epsilon, expand the discrete scheme in Δx\Delta x with fixed τ\tau (Junk and coworkers' asymptotic analysis). This gives the same leading equations, and also the initial and boundary layers that the Chapman-Enskog method does not see.
  • Hilbert expansion. An expansion in ϵ\epsilon without the multiscale time derivative. It needs the macroscopic fields to be expanded too, and gives the hierarchy of Euler and linearized equations.
  • Grad moment method. Instead of an expansion, take a closure for a finite set of moments (13 moments in Grad's method). It is used for moderately rarefied gas.

Pitfalls

  • Forgetting the Taylor term of line L1. Doing the expansion of the continuous BGK equation and then reading off ν=cs2τ\nu = c_s^2\tau for the lattice scheme gives the wrong viscosity; the lattice value is cs2(τ−12)c_s^2(\tau - \frac12). The D1Q3 table shows the difference.
  • Dropping the solvability condition of line L3. Without ∑ϕf(k)=0\sum\phi f^{(k)} = 0 the split between f(0)f^{(0)} and the corrections is not unique, and the moments of line L6 pick up spurious terms.
  • Reading the result as a convergence proof. The expansion says which equation a smooth solution satisfies up to O(ϵ2)O(\epsilon^2). Stability is a separate question, for example by the von Neumann analysis of Lallemand and Luo; BGK with τ\tau near 12\frac12 is consistent but often unstable.
  • Using the result outside its regime. At large Knudsen number, inside shocks, or near walls on a coarse lattice, the higher-order terms are not small. The τ=2\tau = 2 column of the D1Q3 table shows a 12 percent error at N=16N = 16.
  • Mixing the time scales. ∂t(1)\partial_t^{(1)} and ∂t(2)\partial_t^{(2)} act on the same fields; after line L7 they must be added with their powers of ϵ\epsilon, not used as separate equations.

Exercises

  1. Repeat the D1Q3 calculation with the equilibrium fieq=wiρ(1+3ciU)f_i^{\mathrm{eq}} = w_i\rho(1 + 3c_iU) for a constant velocity UU, and show that the result is the advection-diffusion equation ∂tρ+U∂xρ=D∂xxρ\partial_t\rho + U\partial_x\rho = D\partial_{xx}\rho with D=(τ−12)(13−U2)D = (\tau - \frac12)(\frac13 - U^2). The U2U^2 term is the D1Q3 version of the Galilean error.
  2. Show that with the MRT collision and the rate sνs_\nu on the stress moments, the D2Q9 calculation gives ν=13(1sν−12)\nu = \frac13(\frac1{s_\nu} - \frac12).
  3. Check the second column of the table: for τ=1\tau = 1 the D1Q3 scheme is FTCS with μ=16\mu = \frac16, whose amplification factor 1−23sin⁡2(k/2)1 - \frac23\sin^2(k/2) gives an effective D=−ln⁡(1−23sin⁡2(k/2))/k2D = -\ln(1 - \frac23\sin^2(k/2))/k^2 that tends to 16\frac16 as k→0k \to 0. Show that the k2k^2 term of this expansion vanishes, which is why the τ=1\tau = 1 column agrees so well.

References

  1. Sydney Chapman and T. G. Cowling, The Mathematical Theory of Non-uniform Gases, 3rd edition, Cambridge University Press, 1970, the chapters on the solution of the Boltzmann equation by successive approximation (the Chapman-Enskog method) and on viscosity and conduction
  2. 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 4 (analysis of the lattice Boltzmann equation, the Chapman-Enskog analysis)
  3. Y. H. Qian, D. d'Humières and P. Lallemand, Lattice BGK models for Navier-Stokes equation, Europhysics Letters 17 (1992) 479-484
  4. 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
  5. Pierre Lallemand and Li-Shi Luo, Theory of the lattice Boltzmann method: Dispersion, dissipation, isotropy, Galilean invariance, and stability, Physical Review E 61 (2000) 6546-6562

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)
WritingW2 basic
  • three classic examples