Chapman-Enskog expansion for Navier-Stokes equations
We detail here the algebraic calculations of Chapman-Enskog expansion of Lattice Boltzmann Equation for simulating Navier-Stokes (NS) equations. Here, the expansions are inspired from [1] (pp 332–336). An introduction of that method can be found in [2] (page 106). An alternative method, but equivalent to C-E expansions, is presented in [3]. Here we assume that the equilibrium distribution function and the lattice are known to focus on derivation and approximation. The intermediate calculations of Chapman-Enskog expansion are rarely detailed in publications except in appendices in few of them which improve the numerical methods. Here we present the classical procedure without force term in NS.
Starting point
The LBM aims to simulate the discrete Boltzmann equation:
where \(\mathbf{x}=(x,y,z)^{T}\) is the position, \(\Delta x\) is the spatial discretization, \(\Delta t\) is the time-step and \(\lambda\) is a relaxation coefficient of distribution function \(f_{i}(\mathbf{x},\,t)\) toward an equilibrium function \(f_{i}^{(0)}(\mathbf{x},\,t)\). Those functions depend on the lattice speeds \(\mathbf{e}_{i}\) with \(i=1,...,N\). The equilibrium distribution function is defined by:
where \(\rho(\mathbf{x},\,t)\) is the density, \(\mathbf{u}=(u_{x},\,u_{y},\,u_{z})^{T}\) is the fluid velocity, \(c=\frac{\Delta x}{\Delta t}\) is the lattice speed and \(w_{i}\) are weights depending on the lattice.
In the remainder of this page, in order to alleviate the notations, the dependences with \(\mathbf{x}\) and \(t\) will be canceled in distribution functions \(f_{i}\) et \(f_{i}^{(0)}\) and macroscopic variables \(\rho\) et \(\mathbf{u}\). We also choose the popular lattice D2Q9 defined by ( for \(i=0,...,8\)):
The weights \(w_{i}\) are:
Objectives
The purpose of this section is to demonstrate with the Chapman-Enskog expansion that Eq. (292) with equilibrium (293) and lattice D2Q9 (relations (294) – (296) and (297)) simulate the low-Mach Navier-Stokes equations:
Eq. (298) is the mass balance equation and (299) and the impulsion balance equation. In those equations, the greek indices are \(\alpha=x,y\) and \(\beta=x,y\) (2D) respectively. The Einstein’s convention of summation aver repeated indices is used (for instance \(\partial_{\alpha}u_{\alpha}=\partial_{x}u_{x}+\partial_{y}u_{y})\). The symbol \(\partial_{\alpha}\) is a notation to express the partial derivative \(\frac{\partial}{\partial\alpha}\). For example \(\partial_{x}\equiv\frac{\partial}{\partial x}\), \(\partial_{y}\equiv\frac{\partial}{\partial y}\) and \(\partial_{t}\equiv\frac{\partial}{\partial t}\). In Eq. (299) \(p\) is the (thermodynamic) pressure, \(\nu\) is the kinematic viscosity.
Conservative quantities and moments of equilibrium distribution functions
The macroscopic quantities which have to be conserved are the density and the impulsion:
The conservation of those quantities during a collision implies:
Without loss of generality, we set \(\Delta x=\Delta t=1\) (lattice units) in order to simplify the notations. In general case, \(\Delta x\) and \(\Delta t\) can take values different of unity. We get in Eq. (293) \(c=1\). We also set:
With greek indices, the equilibrium distribution function writes:
On a D2Q9 lattice, we can show that the moments of order 0, 1, 2 et 3 of \(f_{i}^{(0)}\) are:
Those results will be used in calculations of following section.
Remark
When we seek to simulate a specific macroscopic PDE, we need to establish the equilibrium distribution function \(f_{i}^{(0)}\) and the number of moving directions, such as the moments of order zero and one \(f_{i}^{(0)}\) are equal to conserved macroscopic quantities.
Details of Chapman-Enskog expansion
First part: Taylor’s expansion and scale separation
The expansions presented in this first part are classical and can be found in references cited above. We can refer to them for physical interpretation of small parameter \(\varepsilon\) in kinetic theory of gases (Knudsen numner).
By setting \(\Delta x=\Delta t=1\) and using the greek indices, the LBE writes:
The Taylor’s expansion of left-hand side of Eq. (308) up to second order in space and times yields:
By replacing in Eq. (308), we obtain:
We perform a scale separation in space (\(x_{1}=\varepsilon x\)) and time. For the latter, we distinguish one characteristic time of convection \(t_{0}=\varepsilon t\) and one characteristic time of diffusion \(t_{1}=\varepsilon^{2}t\) such that:
That leads to following partial derivatives:
The distribution function is expanded up to the second order:
That expansion and Eqs. (300) and (301) imply that:
Remark
Eq. (314) est derived because the impulsion is a conservative local quantity for Navier-Stokes equations. For advection-diffusion equation, this is not any more the case, and it will be necessary to calculate the first order moment of \(f_{i}^{(1)}\).
Moments des termes en \(\varepsilon\)
The partial derivative in space and times are replaced in (309) by using Eq (311) and we also use the expansion of distribution function iwth Eq. (312). We gather the terms of order \(\varepsilon\) and \(\varepsilon^{2}\).
The gathering of first order terms in \(\varepsilon\) yields the following equality:
With preliminary results Eqs. (304) and (305), the moment of zeroth-order (sum over \(i\)) of that equation is:
Similarily, by using Eqs. (305) and (306), the moment of first order (multiplication of Eq. (315) by \(e_{i\beta}\) and sum over \(i\)) leads to:
Those two moments of order 0 and 1 of terms in \(\varepsilon\) (Eqs. (316) and (317)) will be used for calculation of the 2nd order moment of \(f_{i}^{(1)}\) in the second part of this expansion.
Moments of terms of order \(\varepsilon^{2}\)
Gathering the \(\varepsilon^{2}\) terms leads to the relation:
Applying separately \(\frac{1}{2}e_{i\beta}\partial_{\beta}\) and \(\frac{1}{2}\partial_{t_{0}}\) on Eq. (315) and summing those two results, that Eq. (318) se simplifies into:
With equations (304), (313) and (314), the moment of order 0 of that equation yields:
and its first-order moment:
Gathering moments
We gather the moments of zeroth- and first-order that have been derived separately for terms in \(\varepsilon\) and \(\varepsilon^{2}\). We carry out \(\varepsilon\times\)Eq (316) + \(\varepsilon^{2}\times\)Eq (319), the moment of order zero is:
which is the first equation of NS system i.e. the mass balance equation. We perform now \(\varepsilon\times\)Eq (317) + \(\varepsilon^{2}\times\)Eq (320), the first-order moment is:
where we set:
The notations \(\Pi_{\alpha\beta}^{(0)}\) and \(\Pi_{\alpha\beta}^{(1)}\) are the second-order moments of \(f_{i}^{(0)}\) and \(f_{i}^{(1)}\) respectively. \(\Pi_{\alpha\beta}^{(0)}\) is known with definition of EDF and preliminary results (306). We have to derive now the second-order moment of \(f_{i}^{(1)}\). It is the purpose of the following second part.
Second part: viscosity coefficient and impulsion balance
Viscosity
For \(f_{i}^{(1)}\) (\(\sum_{i}f_{i}^{(1)}e_{i\alpha}e_{i\beta}\)), we use the preliminary results (306) and (307) for moments of second- and third-order of EDF \(f_{i}^{(0)}\):
For last two terms, the time derivative are transformed into space-derivative by using moments of order zero and one of equation of order \(\varepsilon\) (Eq. (316) and (317) respectively). For the penultimate term we obtain:
That term cancels with one of opposite sign contained in the bracket. For last term, we use the following result:
By expansing the partial derivatives in the bracket, we finally get:
The term \(\Pi_{\alpha\beta}^{(1)}\) becomes:
By setting:
we obtain:
L’équation (326) donne la relation entre le paramètre de relaxation \(\lambda\) de l’équation cinétique de Boltzmann et la viscosité cinématique \(\nu\) du fluide.
- Remarque
: en toute rigueur, lors du développement de Taylor, il est nécessaire de considérer \(\Delta x\neq1\) et \(\Delta t\neq1\) et on voit apparaître le rapport \(\Delta x^{2}/\Delta t\) en facteur devant le terme entre parenthèses :
Impulsion balance equation
En remplaçant (306) et (327) dans (322), on obtient :
où on a considéré \(-\frac{1}{c_{s}^{2}}\partial_{\beta}\nu\partial_{\gamma}(\rho u_{\alpha}u_{\beta}u_{\gamma})=\mathcal{O}(\rho u^{3})\). Finalement, en posant \(p=c_{s}^{2}\rho\), on obtient l’équation de conservation de la quantité de mouvement :
qui correspond à la seconde équation recherchée du système d’équations de Navier-Stokes.
Récapitulatif
En effectuant le développement de Chapman-Enskog (ordre deux en espace, ordre deux en temps et en \(\varepsilon^{2}\)) et en calculant les moments d’ordre 0 et 1 des équations en \(\varepsilon\) et \(\varepsilon^{2}\), on a montré que les équations (292) et (293) permettent de résoudre sur un réseau D2Q9 les équations de Navier-Stokes :
avec la pression reliée à la densité par la relation \(p=c_{s}^{2}\rho\) et une viscosité cinématique \(\nu\) donnée par :
Dans l’équation (329), le terme en \(\mathcal{O}(u^{3})\) est de la forme \(-\frac{1}{c_{s}^{2}}\partial_{\beta}\nu\partial_{\gamma}(\rho u_{\alpha}u_{\beta}u_{\gamma})\) qui est négligeable pour les faibles nombres de Mach. Lorsque ce dernier devient important, il est nécessaire de corriger la fonction de distribution à l’équilibre pour éliminer/diminuer l’influence de ce terme. On pourra se référer à [4] qui analyse plusieurs \(f_{i}^{(0)}\) ou termes forces en ce sens.
Démonstration de l’égalité (325)
On démontre dans cette annexe la relation :
Le développement du membre de gauche donne :
En remarquant que \(\rho u_{\alpha}\partial_{t_{0}}u_{\beta}=u_{\alpha}\partial_{t_{0}}(\rho u_{\beta})-u_{\alpha}u_{\beta}\partial_{t_{0}}\rho\) et que \(\rho u_{\beta}\partial_{t_{0}}u_{\alpha}=u_{\beta}\partial_{t_{0}}(\rho u_{\alpha})-u_{\alpha}u_{\beta}\partial_{t_{0}}\rho\), on obtient :
Les dérivées partielles en temps sont converties en dérivées partielles en espace à l’aide des équations (316) pour le premier terme et (317) pour les deux derniers :
Les trois premiers termes contenus dans le premier crochet peuvent être exprimés sous la forme condensée \(\partial_{\gamma}^{(1)}(\rho u_{\alpha}u_{\beta}u_{\gamma})\). Il existe plusieurs façons de la démontrer, on présente dans cette annexe une façon de procéder.
Un premier développement donne \(\partial_{\gamma}^{(1)}(\rho u_{\alpha}u_{\beta}u_{\gamma})=u_{\alpha}\partial_{\gamma}^{(1)}(\rho u_{\beta}u_{\gamma})+\rho u_{\beta}u_{\gamma}(\partial_{\gamma}^{(1)}u_{\alpha})\) c’est-à-dire :
Un second développement conduit à \(\partial_{\gamma}^{(1)}(\rho u_{\alpha}u_{\beta}u_{\gamma})=u_{\beta}\partial_{\gamma}^{(1)}(\rho u_{\alpha}u_{\gamma})+\rho u_{\alpha}u_{\gamma}(\partial_{\gamma}^{(1)}u_{\beta})\) c’est-à-dire :
Enfin, un dernier développement donne \(\partial_{\gamma}^{(1)}(\rho u_{\alpha}u_{\beta}u_{\gamma})=u_{\alpha}u_{\beta}\partial_{\gamma}^{(1)}(\rho u_{\gamma})+\rho u_{\gamma}\partial_{\gamma}^{(1)}(u_{\alpha}u_{\beta})\) c’est-à-dire :
En effectuant la somme (332), (333) et (334), on obtient :
Dans l’équation ci-dessus, les trois derniers termes du membre de droite s’annulent entre eux, on a donc bien démontré que :
Finalement en remplaçant ce résultat dans (331), on obtient la relation recherchée :
References
Section author: Alain Cartalade