We propose a formal expansion of multiple relaxation times lattice Boltzmann schemes in terms of a single infinitesimal numerical variable. The result is a system of partial differential equations for the conserved moments of the lattice Boltzmann scheme. The expansion is presented in the nonlinear case up to fourth order accuracy. The asymptotic corrections of the nonconserved moments are developed in terms of equilibrium values and partial differentials of the conserved moments. Both expansions are coupled and conduct to explicit compact formulas. The new algebraic expressions are validated with previous results obtained with this framework. The example of isothermal D2Q9 lattice Boltzmann scheme illustrates the theoretical framework.
The lattice Boltzmann schemes in their modern form have been developed with the contributions of d’Humières, Lallemand, Succi [13,37,43,50] and many others. An underlying lattice Boltzmann equation is discretised on a cartesian grid with a finite set of velocities chosen in such a way that during one time step, an exact transport is done between two vertices of the mesh. A lattice Boltzmann scheme is composed with two steps: a nonlinear local relaxation step, followed by a linear advection scheme coupling a given vertex with a given family of neighbours. The relaxation step follows in general the “BGK” approximation introduced by Bhatnagar, Gross and Krook [4]. This numerical method allows the simulation of an important number of physical phenomena as isothermal flows, compressible flows with heat transfer, non-ideal fluids, multiphase and multi-component flows, microscale gas flows, soft-matter flows,…up to quantum mechanics. For the actual status of the method and the various applications, we refer e.g. to the books of Guo and Shu [33], Krüger et al. [41] and to the prospective article of Succi [56]. The lattice Boltzmann method is founded on a mesoscopic Boltzmann model but is not able in general to solve the Boltzmann equation or associated kinetic models. It is admitted that essentially macroscopic models are approximated with the lattice Boltzmann schemes.
The link between mesoscopic and macroscopic models is never straightforward and an analysis is necessary. The usual method of formal analysis is founded on the Chapman–Enskog [8] expansion in the spirit of the book of Huang [38]. The classical approach for the Boltzmann equation and other mesoscopic models posed in a continuum space-time. The Chapman–Enskog method has been adapted to lattice Boltzmann schemes with discrete space and time equations by Chen and Doolen [9] and by Qian and Zhou [51]. It allows the derivation the equivalent partial differential equations founded on a multiscale time analysis. This classical Chapman Enskog expansion is popular in the lattive Boltzmann community, as reported in the contributions of Lallemand and Luo [43], Philippi and Hegele [48], Shan et al. [53] and Otomo et al. [46] among others. A main drawback of this approach is the fact that multiscale expansions are used without a clear mathematical signification of the various variables and associated functions.
Independently of this framework, we have proposed in [15,16] the Taylor expansion method for isothermal fluid problems to obtain formally equivalent partial differential equations at second order accuracy. This work was inspired by the method of equivalent equations for finite difference schemes, in a spirit proposed by Lerat and Peyret [45] and Warming and Hyett [57]. In this approach, the infinitesimal variable is simply the time step (proportional to the space step with the acoustic scaling) and there is only one infinitesimal scale for the analysis. This approach has been experimentaly validated with Pierre Lallemand in various contributions [22,23,25,42]. It was extended to third order accuracy for thermal and fluid problems in [17], automated at an arbitrary order in the linear case in [3], extended with an external drift in [26] and to relative velocities in [19,20]. Our point of view is a priori not to consider the third and fourth order terms as approximations of Burnett of super-Burnett equations (see e.g. [1,55]) but simply as errors of the lattice Boltzmann scheme when solving partial differential equations of second order type. Nevertheless, progress in the approximation of fourth order partial differential equations have been obtained in [47]. Here, we have no particular fluid hypothesis. It can be applied to scalar or to vectorial [18,30] lattice Bolzmann schemes. This Taylor expansion method has been also revisited with the Maxwell iterations of Yong et al. [58].
In this contribution, we first recall in Section 2 classic results related to the Boltzmann equation with discrete velocities. The link with multiple relaxation times lattice Boltzmann schemes as initially proposed by d’Humières [13] is presented in Section 3. Then we present the Taylor expansion method in a very general way and the result is explicited with compact formulas. Our main result (Section 4) concerns the derivation of asymptotic partial differential equations in the nonlinear case, up to fourth order accuracy. The proof for first and second orders is presented in Section 5, with a validation for the isothermal fluid case in the specific case of the D2Q9 scheme. In Section 6, the expansion up to third and fourth orders is detailed, with a confrontation with our previous work [17]. The proofs of these results need specific algebraic developments, presented in this contribution. The linear case with constant coefficients is described in Section 7.
Boltzmann equation with discrete velocities
In the space of dimension d, we consider a finite set of q discrete velocities with components for . The unknowns of the Boltzmann equation are the particle densities . They are functions of space x, time t and discrete velocities :
The vector is constructed with the numbers for . We introduce a collision vector of components for with given regular functions . We introduce also a small parameter that can be interpreted as a Knudsen number in the context of gas dynamics (see e.g. [8]).
The Boltzmann model with discrete velocities takes the form
It has been proposed by Carleman [7], Gross [32], Broadwell [6] and intensively developed by Gatignol [28] and her co-workers.
∙ Moments
Our framework concerns multi relaxation times: we introduce a constant invertible matrix M called “d’Humières matrix” [13] in this contribution. This matrix defines the vector of moments by a simple product:
We introduce the number of conservation laws N () such that the N first moments of the collision kernel are equal to zero:
Then it is natural to divide the vector of moments into two families:
The conserved moments or macroscopic variables W constitute a linear space of dimension N and if the Boltzmann model with discrete velocities (1) is satisfied, we have N conservation laws due to the cancellation (3):
Observe that the nonconserved moments or microscopic variables Y generate a linear space of dimension .
∙ Equilibrium states
We suppose that the equilibrim states defined by the conditions
are characterized with the help of a regular nonlinear vector field such that
In other words, the vector field defines the set of equilibrium states.
We suppose moreover that the jacobian matrix at equilibrium is diagonalizable with real eigenvalues and real eigenvectors. More precisely, taking into account the hypothesis (3), we suppose that there exists a diagonal matrix
of order with strictly positive coefficients such that
In other words, the jacobian operator admits the matrix as a matrix of right eigenvectors and the associated eigenvalues are all non positive.
∙ Momentum-velocity operator
For a linear space of dimension d, we introduce the momentum-velocity operator matrix Λ defined by the relation
It is a operator matrix composed by first-order space differential operators. It is obtained by conjugation of the first order advection operator by the d’Humières matrix M. The operator matrix Λ is nothing else than the advection operator seen in the basis of moments. We introduce a block decomposition of the momentum-velocity operator matrix associated to the decomposition (4) of the moments. We define a operator matrix A, a operator matrix B, a operator matrix C and a operator matrix D according to
Remember that in the following, the matrices A, B, C and D are matrices composed with first order space operators.
∙ Boltmann-BGK system with discrete velocities
We approximate now the previous discrete model with a BGK [4] type hypothesis: the state f is close to equilibrium and we approach the collision kernel Q by its first order expansion around the equilibrium state:
Due to the condition , we obtain with this approximation that we call “BGK” in this contribution, even it is not exactly the hypothesis done in the original article [4], a new system of partial differential equations:
Observe that is a function of the particle distribution f through the relations (2), (4) and (5). Taking into account the hypothesis (6), the definition (7) and the notation (8), we can write the Boltmann-BGK system with discrete velocities (9) under the form of a system of two coupled partial differential equations:
(Fourth order Chapman–Enskog expansion of the Boltmann-BGK system with discrete velocities).
As ε tends to zero, the conserved moments W of the Boltmann-BGK system with discrete velocities (
10
) satisfy formally the following asymptotic system of partial differential equations:The nonlinear operators are related to the expansion of the microscopic moments:and we have the interlaced relations
In applications to fluid dynamics, the first order term is associated to the Euler equations of gas dynamics and the second order term to the viscous terms of the Navier–Stokes equations. The operators and represent the Burnett and super-Burnett terms respectively. With this Proposition 1, we essentially reformulate the classic Chapman Enskog expansion [8] in the discrete velocity case, as done e.g. in the book of Gatignol [28].
Proof of Proposition 1 First we inject the representation (12) inside the first equation of (10). It comes
then after rearranging the terms,
The confrontation of this partial differential equation with the Ansatz (11) shows that
as proposed in (13).
Secondly, we write the second equation of (10) under the form
We observe that
We report this expression inside the value of Y:
Comparatively to the relation (12), we obtain
and the last relations of (13) are explicited. The proof is completed. □
Multiple relaxation times lattice Boltzmann schemes
We introduce now a regular cartesian lattice composed by vertices x separated by distances that are simple expressions of the space step . A discrete time t is supposed to be an integer multiple of a time step . The unknowns of a lattice Boltzmann scheme with q discrete velocities are the particle densities . They are now functions of discrete space x, discrete time t and discrete velocities for :
The discrete velocity set does not depend on space or time.
Multiple relaxation times lattice Boltzmann scheme considered in this contribution consists in a simple Lie–Trotter splitting applied to the Boltzmann-BGK model with discrete velocities (9). First a relaxation step for the approximation of the system of ordinary differential equations
and secondly a transport step for the free advection
∙ Relaxation step
Due to the formulation (10), the relaxation scheme is simply described in the moment representation and we have
After relaxation, the vector of moments m is transformed into a new vector :
The conserved moments are not modified during this relaxation step:
As remarked in [16], we use an explicit first order Euler scheme for the microscopic moments:
id est
with
Usually, as pointed by Lallemand and Luo [43], the relaxation matrix S is a diagonal matrix, in coherence with the hypothesis concerning the diagonalization of the operator presented in the previous section:
Moreover, the matrix S is a fixed invertible square matrix of dimension . In other words, the time step is if the order of the Knudsen number ε in our asymptotic study. Finally the particle distribution after relaxation is given according to
∙ Necessary conditions for stability
We deduce from the relation (16)
and a natural stability condition takes the form , id est
The case of over-relaxation is widely used when implementing lattice Boltzmann schemes to take into account very law viscosities in fluid mechanics. We will emphasize this point in the next section.
∙ Advection step
In the second step of advection, the method of characteristics is applied in the very particular case when it is exact. In one time step each particle distribution is exactly transported from the note of the lattice to the vertex . In other words, the advection step occurs with a Courant–Friedrichs–Lewy number for all discrete velocities .
∙ Lattice Boltzmann scheme as a Lie–Trotter splitting scheme
The iteration of the lattice Boltzmann scheme is finally given by the relation
and it is usefull to explicit it for each component:
Observe that this framework is very general. The so-called “BGK version” of the lattice Boltzmann scheme [5,37,50] corresponds to the choice and . Usual multi-relaxation lattice Boltzmann schemes [13,21,22,43] suppose in general some orthogonality property for the d’Humières matrix. This paradigm permits also the introduction of two particle distributions [2,21,34,40] or eventually more with the vectorial schemes developed by Graille [30] or a variant proposed in [18]. In those last cases, the numbering of the velocities is simply non injective.
It is naturally possible to think to a second order accurate splitting scheme. A natural idea is the Strang splitting [54]:
In this case, as put in evidence by Dellar [11], one can write and the previous Strang scheme can be written as
This scheme, up to the shift of one half relaxation step, is identical to the Lie–Trotter splitting (19), except that the product plays the role of . A first possibility is to divide the time step by a factor 2 in the relations (16), (17):
Then
and over-relaxation is no more possible because for all . So such a numerical scheme is not used by the engineers at our knowledge.
A second possibility is to enforce the relation , id est
But this relation has a sense only if and over-relaxation is again excluded.
An other idea is to exchange the roles of advection and relaxation in the Strang scheme:
or to use more elaborated splittings as proposed by Drui et al. [14]. In this case, the transport step is nomore at a Courant number equal to unity and an interpolation procedure, costly in terms of numerical viscosity or complex to implement as the semi-Lagrangian method [27], is not usually chosen by experts developping lattice Boltzmann schemes.
In conclusion of this sub-section, the naive Lie–Trotter splitting scheme (19) gives very good numerical results. It is important to put in evidence precise qualities and defects of this scheme through the following formal asymptotic analysis.
(Exponential form of lattice Boltzmann schemes).
Consider a lattice Boltzmann scheme as defined at the previous section by the relations (
2
), (
4
), (
5
), (
7
), (
8
), (
14
), (
15
), (
16
), (
18
) and (
20
). Then we have an exponential form of the discrete iteration (
20
):
We have simply a long sequence of identities:
and the proof is completed. □
We can see the relation (21) as a discrete form of the Duhamel formula for ordinary differential equations. The idea of introducing a formal exponential expansion is also present in the work of Boghosian and Coveney in the BGK case [5].
∙ Momentum-velocity operator for a D2Q9 lattice Boltzmann scheme
D2Q9 lattice Boltzmann scheme.
We can concretize the matrix Λ introduced in (7) with the popular two-dimensional “D2Q9” scheme. A set of nine velocities is defined by the Fig. 1.
To fix the ideas, we use the moment matrix presented in Lallemand and Luo [43]:
Observe that other choices are possible with the Hermite moments developed in [48,53]. The moments are associated with the lines of the matrix (22). They are denominated (in this order) by . The lines of this invertible matrix are chosen orthogonal. For isothermal flows, the conserved moments
correspond to the three first lines of the d’Humières matrix (22). The non-conserved moments complete the family:
They are linked to the six last lines of the matrix defined in (22). With the velocities defined in Fig. 1 and the moment matrix (22), we construct without difficulty the operator matrix Λ for the thermal D2Q9 scheme:
In the relation (25), we have put in evidence the block decomposition (8) for the D2Q9 scheme with the conserved moments precised in (23). Even if the space differential operators commute, the matrices that compose the momentum-velocity operator matrix does not commute! We have the very important but elementary structure
and to fix the ideas
Taylor expansion method
In this section, we revisit the Taylor expansion method: we specify the hypotheses, express our general result and begin the proof with the order zero.
∙ Hypotheses for a formal expansion
The formal Taylor expansion supposes some precise hypotheses. First, we adopt the acoustic scaling: the ratio is supposed to be constant in all this work. Moreover, the ratio remains constant in our asymptotic analysis. Then the relaxation matris S is fixed and invertible; it is also the case for the matrix proportional to the matrix who plays an important role in the relations (13) of the Chapman–Enskog expansion (11), (12), (13) for the continuous in time lattice Boltzmann-BGK system.
A unintuitive result has been discovered by Hénon [36]. Due to the fact that the fully discretized in time lattice Boltzmannn scheme (20) is substantially different from the continuous in time Boltzmann-BGK system with discrete velocities (9), the asymptotic expansions have similarities and differences. In particular, the lattice Boltzmannn scheme put in evidence what we call the Hénon matrix Σ in this contribution. Roughtly speaking, it plays a role analogous to the matrix in the relations (13). But it is defined by
This matrix emerges from the very classic second order analysis presented thereafter at Proposition 5 and detailed in the relations (40), (41). For applications to fluid dynamics, this matrix is closely related to viscosities, as explained in Section 5 for the D2Q9 example in relations (50) and (51). Then some values of the Hénon matrix Σ are chosen as small as possible in order to simulate flows with high Reynolds number. In consequence, over-relaxation is a mandatory practice for lattice Boltzmann schemes applied to high Reynolds number flows. Recall that this matrix remains fixed in our analysis.
Secondly, we suppose also that we can differentiate all the expansions relative to space and/or time. This hypothesis is mathematically absolutly non trivial and expresses that all the formal expansions should take place in very regular functional spaces. Thirdly, we use the notation for the action of the differential of some regular function againts a test vector ξ. In particular,
For second order derivatives, we introduce
The asymptotic analysis occurs for a time step (or a space step ) tending to zero. Emerging partial differential equations for the conserved variables are denoted as
The vector belongs in . It is obtained after j space derivations of the conserved moments W and of the equilibrium vector . For this reason, we will speak in the following of e.g. as “first order term”, even if it is a term of order zero relative to the infinitesimal . For non-conserved moments (or microscopic variables), we suppose
where I is the identity matrix of dimension . Observe that the two lines of (30) are equivalent thanks to (16) and (26). The vectors are analogous to but not with the same dimension: and .
∙ Main result. Recurrence formulas for fourth order expansion
We prove in this contribution that we have the following recurrence formulas for the explicitation of the vectors and up to fourth order accuracy:
Observe that the order of the relations in (31) is mandatory. Each step has to be explicited before the evaluation of the next expression. At second order accuracy, the three first lines of the relations (31) summarizes what is needed for a lot of applications with only first and second order partial differential equations. Observe that the compact form for the second order term put in evidence the important choice of a Hénon matrix “as small as possible”. Observe that the relations (31) have similarities with the ones obtained in (13) for the Chapman–Enskog expansion. But essentially the matrix Σ has replaced the matrix and new terms appear due to the post-processing with Taylor expansions.
(Equilibrium state and zero order expansion).
Whentends to zero, the microscopic moments are close to their equilibrium value:
We expand one iteration of the scheme (21) at order zero:
Then we deduce from (33):
Then due to the iteration (16) and the fact that the matrix S is supposed fixed, we have
The first relation of (32) is satisfied. It is then immediate to deduce from the scheme iteration (16) the second relation of (32). The proposition is established. □
In the following, we detail all the ingredients that conduct to the main result (29) to (31).
Taylor expansion method at first and second order accuracy
In this section, we prove the two first orders of the expansion (29), (30), (31). We make the link with the Taylor expansion as presented in [15,16] and we apply the result for the isothermal D2Q9 scheme.
(First order expansion).
Whentends to zero, the macroscopic moments W satisfy asymptotically the following system of N first order equations:Moreover, the vectorfor the first order dynamics satisfy
We expand one iteration of the scheme (21) at first order:
We can replace the vector m by its two components W and Y. We have for the first line
We simplify by the constant W term, divide by and take into account the expansion (32):
This relation is exactly the expansion (35) with the first order dynamics evaluated according to the relation (36). □
∙ Example of the D2Q9 fluid scheme
The results presented here are essentially a reformulation of the classic work of Lallemand and Luo [43]. With the moments introduced in (22), (23) and (24), we denote by , and the equilibium values of the three first non conserved moments (24). The dynamics at first order is given by (36). We have in this D2Q9 case,
These relations can be easily fitted with the Euler equations of gas dynamics in two space dimensions
We identify the two expressions with and :
and we deduce the expression for the three first noncenserved moments:
The other nonequilibrium moments , and h does not play any role in the first order partial equivalent equations.
(Taylor expansion method at second order accuracy).
An essential result for the applications is the second order asymptotic analysis for a time step(or a space step) tending to zero. The expansion of the microscopic variables takes the formand the vectorsatisfies the relationA set of second order partial differential equations emergesThe vectorhas been precised in (
36
) the vectoris obtained after two derivations of the conserved moments W and the equilibrium vector:The expression of the second order term puts in evidence the importance of taking over-relaxation in the applications where Σ should also be as small as possible.
We first consider the first order expansion of microscopic moments. From the expansion (37) of one iteration of the scheme at first order, we can extract relations for the second component. We have for the microscopic moments
Then
The explicitation of is given by the chain rule from the expansion (34):
Then
The relation (38) is established, and the expression of is obtained by the relation (39). Before using the expansion (38), we must expand the microscopic moments after relaxation up to first order accuracy. We have the following calculus
and we have the relation
The two relations (38) and (42) are nothing else that the first order terms of the general expansion (30).
∙ Second order partial differential equations
We expand now one iteration of the scheme (21) at second order accuracy:
We replace the vector m by its two components W and Y. We use the decomposition (8) of the momentum-velocity operator matrix Λ. We have for the first component
We explicit some terms present in the relation (44). We have
Then, using the formal rule stated at the beginning of Section 4, we keep the order of accuracy after derivation:
We deduce from (44):
We order the various terms by powers of :
and the relation (40) is proven with as proposed in (41). □
∙ Link with the original Taylor expansion method
In [15 ,16], the moments at equilibrium are denoted :
the coefficients are given according to
are closely related to the operator matrix Λ introduced in (7). The coefficients of the Hénon’s matrix (26) have a shifted numbering
and the defect of conservation is defined according to
(Equivalence at second order accuracy).
The second order expansion (
40
), (
38
), (
36
), (
39
) and (
41
) is equivalent to the expansion proposed in [
15
,
16
]:
Remark first that
Then on one hand, the component number i of the first order term can be expanded in the following way:
and the first order terms of (40) and (48) are identical. Secondly, due to (47), we have for
and due to (39),
We deduce that for second order terms with :
because the coefficients are supposed constant. Then the relation (48) is established. □
∙ Fluid D2Q9 diffusive tensor
If we compute the second order term for the D2Q9 scheme introduced previously, the holy grail would be to recover the viscous terms of the compressible Navier Stokes equations in two space dimensions. More precisely, with a given shear viscosity μ and a given bulk viscosity ζ, we write the viscous terms of the lattice Boltzmann expansion as
with the notation , for the error for the dissipation of momentum.
The problem to enforce is ill-posed, as recognized by Dellar [10,12], Házi and Kávrán [35] and Prasianakis at al. [49] among others. Nevertheless, it can be proven that the unphysical terms involving second order space derivatives involving the density can be removed with a pressure law of the type
id est a sound velocity equal to in the velocity unit of the lattice Boltzmann scheme. Nevertheless, with the notation and for the equilibrium fonctions of the moments and and the coefficients of the Hénon matrix Σ fixed as
the choice
conducts to the relation (49) with associated viscosities fixed in a very classical way:
The equilibrium value of the last fourth order moment h (see the relation (24)) has no incidence on the value of the diffusive term . The error is then reduced to third order terms relative to the velocity and we have precisely
Taylor expansion method at third and fourth order accuracy
The two following orders of the Taylor expansion does not set any theoretical difficulty, except the care of algebra with not so short formal expressions...
(Nonlinear third-order expansion).
When the time stephas an infinitesimal value, the expansion of the microscopic variables takes the formThe vectoris evaluated at the relation (
39
) andsatisfies the relationIt is possible to precise a system of third order partial differential equationsThe vectorsandhave been precised at the relations (
36
) and (
41
) respectively. We have moreover
We first establish the relations (52) and (53). We start by the expansion of the scheme (43) at order 2. For the second component of nonconserved moments, we have
and, due to the relaxation process , we have
We can precise the two first time derivatives of the non-conserved moments. The relation (38) can also be written as
We differentiate this previous relation relative to time:
and
Because we need the second time derivative in the right hand side of (56), we differentiate the relation (57) relative to time. Using the notation (27), we deduce
We precise now the expansions of and . We have
and
With a new set of operator matrices,
and because ,
Then due to (56), (57), (58), (59) and (60), we have
and the relations (52) and (53) are established.
∙ Third order partial differential equations
We consider now the Taylor expansion of the relation (21) at third order:
We consider the first conserved components of the moments:
We simplify the constant term W and divide by . We deduce
We explicit the partial derivatives and at orders one and zero respectively. From the relation
we have
and
Then
In order to compute the coefficient , we precise now the expansions of the quantities for , 2 and 3. We have
We deduce now from (62), (63), (64) and the previous expressions:
and the relations (54) and (55) are established. □
In [17], we have proposed a third order expansion of nonlinear lattice Boltzmann schemes for two specific applications: scalar advection diffusion () and fluid system () with mass and momentum conservation. In the following proposition, we show that our previous result at third order accuracy can be reformulated with the compact formulation (54) (55) of Proposition 6.
(Third-order formal expansion for thermics and fluids).
With the notations (
45
), (
46
) and (
47
) introduced at Proposition 5, we suppose moreoverThe first moments are denoted byand. For the scalar advection diffusion (), the third order equivalent partial differential equation (
54
) (
55
) can be writtenwithand the defects of conservationdefined in (
47
). For the fluid system (), we haveThe relations (
65
) and (
66
) are axactly the ones proposed with numbers (35), (40) and (41) in the reference [
17
].
We first consider the conservation defect introduced in (47). We define a vector conservation defect θ of dimension just obtained by a shift of component numbering:
We have for :
and
In particular, and
Due to (41) and (55), we have the following calculus:
The third-order partial equivalent equations (54) can be written under the form
∙ We explicit now the following cartesian components:
and
We deduce a new form of the third-order partial equivalent equations for :
∙ We focus on the mass conservation (). We have
Then
In the thermal case, we have only one conservation law and . Thus we have enlightened the second order term of the left hand side of the relation (65). In the fluid case, the momentum (id est moments numbered from 1 to d) are conserved. In consequence, and we have no second order term in the mass conservation (66).
Now for the first term relative to third order term of (67), we have
In the termal case, and this term is exactly the first of the two third order terms of the relation (65). In the fluid case, and this term has a more compact expression. Finally,
For the second term relative to third order, we have
In the thermal case, and . In the tluid case, the momentum is conserved and and . In a synthetic way,
We deduce from (68) and (69) the expansion (65) in the thermal case and the first relation of (66) in the fluid case.
∙ For the momentum equation of the fluid case, and the relation (67) can be rewritten as
This relation is exactly the second relation of (66). □
(Nonlinear expansion at fourth order).
When the time stephas an infinitesimal value, the expansion of the microscopic variables takes the formThe vectorsandhave been evaluated at the relations (
39
) and (
53
). We haveA system of fourth order partial differential equations is asymptotically satisfied by the lattice Boltzmann scheme:The vectors,andhave been precised at the relations (
36
), (
41
) and (
55
) respectively. We have now
We first establish the relations (70) and (71). We start by the expansion of the scheme (61) at order 3. For the second component of nonconserved moments, we have
The relaxation process can be written . We deduce
We have to precise the three first time derivatives of the non-conserved moments. The relation (70) can also be written at second order accuracy:
We differentiate this previous relation relative to time:
and
We need the second time derivative and third order time derivative in the right hand side of (74). We differentiate the relation (75) relative to time. Using the notation (27), we deduce
and
Finally,
We precise now the expansions of , and . We have
and
For the second order term,
and due to (60),
We have finally for the third order terms
and
Then due to (74), (75), (76), (77), (78), (79) and (80), we have
The relations (70) and (71) are established.
∙ Fourth order partial differential equations
We consider now the Taylor expansion of the relation (21) at fourth order:
For the first components (conserved moments):
We simplify the constant term W and divide by . We deduce
We explicit the partial derivatives , and at orders two, one and zero respectively. We start with the relation
where , and have been evaluated previously. We have
and
Then
and we have at first order for this third order derivative
Last but not least, we have
and finally
For the determination of the coefficient , we precise the expansions of the quantities for to . We use the previous evaluations done in the proof of the previous propositions:
We deduce now from (81), (82), (83), (84) and the previous expressions:
because . The relations (72) and (73) are established and the proposition is proven. □
Revisiting the “Berlin algorithm” in the linear case
In [3], we have presented the Berlin explicit algorithm in order to determine, with the help of formal calculus, the equivalent partial differential equations of a linear lattice Boltzmann scheme. We do not enter here into the details of our previous contribution because the linearized version of the present algorithm is much more simple.
(Linearized general expansion at fourth order).
We suppose that the equilibrium value of the nonconserved moments is a linear function:with a given fixedrectangle matrix E. Then the nonequilibium moments can be expanded asThematricesare linear operators of order j. The equivalent partial equivalent equations are linear and can be written asandis adifferential matrix of order j. In other terms,andare linear functions of the conserved moments. The coefficent matricesandare computed according to a linearized version of (
31
):
First observe that for any test vector ξ. Due to the relation (36), we have and . Due to (39), we have moreover
and the second relation of (85) is established. Due to (41),
Then and the third line of (85) is proven. We have now from (53),
and as suggested in the fourth line of(85). From the relation (55), we have now
Then as proposed in the fifth line of (85). Observe now that due to (28), we have
Then due to (71), we have in this linear case,
and . We have finally, due to (73),
and the proposition is established. □
Conclusion
In this contribution, we have extended the Taylor expansion method of a multiple relaxation times lattice Boltzmann scheme up to fourth order accuracy. With this expansion, nonlinear partial differential equations for the conserved variables and various differential expressions for the nonconserved moments emerge naturally. This expansion has been validated with previous works on the subject.
Observe that the main result is implemented with this framework in the “pyLBM”’ software [31]. The next step is the introduction of source terms, in the spirit proposed in [26], and other geometries like triangles, in a way suggested in [24]. The adaptation of the Taylor expansion method to other variants of lattice Boltzmann schemes as recentered schemes [19,29], regularized lattice Boltzmann [44,48,53] or entropic lattice Boltzmann schemes [39] are also into study. After a first step in [47], the link between the single scale Taylor expansion and the multiple scale Chapman–Enskog is also a project for the near future.
Footnotes
Acknowledgements
The author thanks Bruce Boghosian, Filipa Caetano, Loïc Gouarin, Benjamin Graille, Pierre Lallemand and Paulo Philippi for impressive disussions. The scientific exchanges with the referee greatly improved the matter of this contribution. All the formal computations have been implemented with SageMath [].
References
1.
R.Agarwal, K.Y.Yun and R.Balakrishnan, Beyond Navier Stokes – Burnett equations for flow simulations in continuum-transition regime, Physics of Fluids13 (2001), 3061–3085. doi:10.1063/1.1397256.
A.Augier, F.Dubois, B.Graille and P.Lallemand, On rotational invariance of lattice Boltzmann schemes, Computers and Mathematics with Applications67 (2014), 239–255. doi:10.1016/j.camwa.2013.06.009.
4.
P.Bhatnagar, E.Gross and M.Krook, A model for collision processes in gases I. Small amplitude processes in charged and neutral one-component systems, Physical Review94 (1954), 511–525. doi:10.1103/PhysRev.94.511.
5.
B.Boghosian and P.Coveney, Inverse Chapman–Enskog derivation of the thermohydrodynamic lattice-BGK model for the ideal gas, International Journal of Modern Physics C9 (1998), 1231–1245. doi:10.1142/S0129183198001114.
6.
J.Broadwell, Study of rarefied shear flow by the discrete velocity method, Journal of Fluid Mechanics19 (1964), 401–414. doi:10.1017/S0022112064000817.
7.
T.Carleman, Problèmes mathématiques dans la théorie cinétique des gaz, Publications Scientifiques de l’Institut Mittag-Leffler, Almqvist & Wiksells Boktryckeri AB, Uppsala University, 1957.
8.
S.Chapman and T.G.Cooling, The Mathematical Theory of Non-uniform Gases, Cambridge University Press, 1939.
9.
S.Chen and G.D.Doolen, Lattice Boltzmann method for fluid flows, Annual Review of Fluid Mechanics30 (1998), 329–364. doi:10.1146/annurev.fluid.30.1.329.
10.
P.Dellar, Non-hydrodynamic modes and a priori construction of shallow water lattice Boltzmann equations, Physical Review E65 (2002), 036309. doi:10.1103/PhysRevE.65.036309.
11.
P.Dellar, An interpretation and derivation of the lattice Boltzmann method using Strang splitting, Computers & Mathematics with Applications65 (2013), 129–141. doi:10.1016/j.camwa.2011.08.047.
12.
P.Dellar, Lattice Boltzmann algorithms without cubic defects in Galilean invariance on standard lattices, Journal of Computational Physics259 (2014), 270–283. doi:10.1016/j.jcp.2013.11.021.
13.
D.d’Humières, Generalized lattice–Boltzmann equations, in: Rarefied Gas Dynamics: Theory and Simulations, AIAA Progress in Astronautics and Astronautics, Vol. 159, 1992, pp. 450–458.
14.
F.Drui, E.Franck, P.Helluy and L.Navoret, An analysis of over-relaxation in a kinetic approximation of systems of conservation laws, Comptes Rendus Mécanique347 (2019), 259–269. doi:10.1016/j.crme.2018.12.001.
15.
F.Dubois, Une introduction au schéma de Boltzmann sur réseau, ESAIM Proceedings and Surveys18 (2007), 181–215. doi:10.1051/proc:071815.
16.
F.Dubois, Equivalent partial differential equations of a Boltzmann scheme, Computers and mathematics with applications55 (2008), 1441–1449. doi:10.1016/j.camwa.2007.08.003.
17.
F.Dubois, Third order equivalent equation of lattice Boltzmann scheme, Discrete and Continuous Dynamical Systems-Series A23(1/2) (2009), 221–248.
18.
F.Dubois, Simulation of strong nonlinear waves with vectorial lattice Boltzmann schemes, International Journal of Modern Physics C25(12) (2014), 1441014. doi:10.1142/S0129183114410149.
19.
F.Dubois, T.Février and B.Graille, Lattice Boltzmann schemes with relative velocities, Communications in Computational Physics17(4) (2015), 1088–1112. doi:10.4208/cicp.2014.m394.
20.
F.Dubois, T.Février and B.Graille, Third order equivalent equation for the relative velocity lattice Boltzmann schemes with one conservation law, arxiv.org/abs/1502.02143, 7 February 2015.
21.
F.Dubois, B.Graille and P.Lallemand, Recovering the full Navier Stokes equations with lattice Boltzmann schemes, in: 30th International Symposium on Rarefied Gas Dynamics, Victoria, BC, Canada, Jul 2016, Vol. 1786, American Institute of Physics Proceedings, 2016, pp. 40003–40003.
22.
F.Dubois and P.Lallemand, Towards higher order lattice Boltzmann schemes, Journal of Statistical Mechanics: Theory and Experiment P (2009), 06006.
23.
F.Dubois and P.Lallemand, Quartic parameters for acoustic applications of lattice Boltzmann scheme, Computers and Mathematics with Applications61 (2011), 3404–3416. doi:10.1016/j.camwa.2011.01.011.
24.
F.Dubois and P.Lallemand, On triangular lattice Boltzmann schemes for scalar problems, Communications in Computational Physics13 (2013), 649–670. doi:10.4208/cicp.381011.270112s.
25.
F.Dubois and P.Lallemand, Comparison of simulations of convective flows, Communications in Computational Physics17 (2015), 1169–1184. doi:10.4208/cicp.2014.m400.
26.
F.Dubois, P.Lallemand and M.M.Tekitek, Taylor expansion method for linear lattice Boltzmann schemes with an external drift. Application to boundary conditions, in: High Order Nonlinear Numerical Schemes for Evolutionary PDEs, R.Abgrallet al., eds, Springer Lecture Notes in Computational Science and Engineering, Vol. 99, 2014, pp. 89–107. doi:10.1007/978-3-319-05455-1_6.
27.
S.Fletcher, Semi-Lagrangian Advection Methods and Their Applications in Geoscience, Elsevier Science Publishing Co, United States, 2019.
28.
R.Gatignol, Théorie cinétique des gaz à répartition discrète de vitesses, Springer Lecture Notes in Physics36 (1975).
29.
M.C.Geier, A.Greiner and J.G.Korvink, Cascaded digital lattice Boltzmann automata for high Reynolds number flow, Physical Review E73 (2006), 066705. doi:10.1103/PhysRevE.73.066705.
30.
B.Graille, Approximation of mono-dimensional hyperbolic systems: A lattice Boltzmann scheme as a relaxation method, Journal of Computational Physics266 (2014), 74–88. doi:10.1016/j.jcp.2014.02.017.
E.Gross, Recent investigations of the Boltzmann equation, in: Proceedings of the First International Symposium Held in Nice, F.M.Devienne, ed., Rarefied Gas Dynamics, Vol. 3, Pergamon Press, London, 1960.
33.
Z.Guo and C.Shu, Lattice Boltzmann Method and Its Applications in Engineering, World Scientific, 2013.
34.
Z.Guo, C.Zheng and B.Shi, Thermal lattice Boltzmann equation for low Mach number flows: Decoupling model, Physical Review E75 (2007), 036704. doi:10.1103/PhysRevE.75.036704.
35.
G.Házi and P.Kávrán, On the cubic velocity deviations in lattice Boltzmann methods, Journal of Physics A: Mathematical and General39(12) (2006), 3127–3136. doi:10.1088/0305-4470/39/12/019.
36.
M.Hénon, Viscosity of a lattice gas, Complex Systems1 (1987), 763–789.
37.
F.J.Higuera, S.Succi and R.Benzi, Lattice gas dynamics with enhanced collisions, Europhysics Letters9(4) (1991), 345–349. doi:10.1209/0295-5075/9/4/008.
38.
K.Huang, Statistical Mechanics, John Wiley & Sons Inc, New York, 1963.
39.
I.V.Karlin, A.N.Gorban, S.Succi and V.Boffi, Maximum entropy principle for lattice kinetic equations, Physical Review Letters81 (1998), 6–9. doi:10.1103/PhysRevLett.81.6.
40.
I.V.Karlin, D.Sichau and S.S.Chikatamarla, Consistent two-population lattice Boltzmann model for thermal flows, Physical Review E88 (2013), 063310. doi:10.1103/PhysRevE.88.063310.
41.
T.Krüger, H.Kusumaatmaja, A.Kuzmin, O.Shardt, G.Silva and E.M.Viggen, The Lattice Boltzmann Method: Principles and Practice, Springer Verlag, 2017.
42.
P.Lallemand and F.Dubois, Comparison of simulations of convective flows, Communications in Computational Physics17 (2015), 1169–1184. doi:10.4208/cicp.2014.m400.
43.
P.Lallemand and L.-S.Luo, Theory of the lattice Boltzmann method: Dispersion, dissipation, isotropy, Galilean invariance, and stability, Physical Review E61 (2000), 6546–6562. doi:10.1103/PhysRevE.61.6546.
44.
J.Latt and B.Chopard, Lattice Boltzmann method with regularized pre-collision distribution functions, Mathematics and Computers in Simulation72 (2006), 165–168. doi:10.1016/j.matcom.2006.05.017.
45.
A.Lerat and R.Peyret, Noncentered schemes and shock propagation problems, Computers and Fluids2 (1974), 35–52. doi:10.1016/0045-7930(74)90004-8.
46.
H.Otomo, B.M.Boghosian and F.Dubois, Two complementary lattice-Boltzmann-based analyses for nonlinear systems, Physica A: Statistical Mechanics and its Applications486 (2017), 1000–1011. doi:10.1016/j.physa.2017.06.010.
47.
H.Otomo, B.M.Boghosian and F.Dubois, Efficient lattice Boltzmann models for the Kuramoto–Sivashinsky equation, Computers and Fluids172 (2018), 683–688. doi:10.1016/j.compfluid.2018.01.036.
48.
P.Philippi and L.Hegele, From the continuous to the lattice Boltzmann equation: The discretization problem and thermal models, Physical Review E73(5) (2006), 056702. doi:10.1103/PhysRevE.73.056702.
49.
N.I.Prasianakis, I.Karlin, I.Mantzaras and K.Boulouchos, Lattice Boltzmann method with restored Galilean invariance, Physical Review E79 (2009), 066702. doi:10.1103/PhysRevE.79.066702.
50.
Y.-H.Qian, D.d’Humières and P.Lallemand, Lattice BGK models for Navier–Stokes equation, Europhysics Letters17(6) (1992), 479–484. doi:10.1209/0295-5075/17/6/001.
51.
Y.H.Qian and Y.Zhou, Higher-order dynamics in lattice-based models using the Chapman–Enskog method, Physical Review E61(2) (2000), 2103–2106. doi:10.1103/PhysRevE.61.2103.
52.
SageMath, the Sage Mathematics Software System (Version 7.5.1), The Sage Developers, http://www.sagemath.org, 2017.
53.
X.Shan, X.F.Yuan and H.Chen, Kinetic theory representation of hydrodynamics: A way beyond the Navier–Stokes equation, Journal of Fluid Mechanics550 (2006), 413–441. doi:10.1017/S0022112005008153.
54.
G.Strang, On the construction and comparison of difference schemes, SIAM Journal on Numerical Analysis5 (1968), 506–517. doi:10.1137/0705041.
55.
H.Struchtrup, Failures of the Burnett and super-Burnett equations in steady state processes, Continuum Mechanics and Thermodynamics17 (2005), 43–50. doi:10.1007/s00161-004-0186-0.
R.F.Warming and B.J.Hyett, The modified equation approach to the stability and accuracy analysis of finite difference methods, Journal of Computational Physics14 (1974), 159–179. doi:10.1016/0021-9991(74)90011-4.
58.
W.-A.Yong, W.Zhao and L.-S.Luo, Theory of the lattice Boltzmann method: Derivation of macroscopic equations via the Maxwell iteration, Physical Review E93 (2016), 033310. doi:10.1103/PhysRevE.93.033310.