On anti bounce back boundary condition for lattice Boltzmann schemes
Fran\c{c}ois Dubois (LM-Orsay, LMSSC), Pierre Lallemand (CSRC),, Mohamed-Mahdi Tekitek

TL;DR
This paper analyzes the anti bounce back boundary condition for lattice Boltzmann schemes, providing asymptotic analysis, identifying discrepancies, and proposing a new mixed boundary condition that improves flow simulation accuracy.
Contribution
It introduces a new boundary condition combining bounce back and anti bounce back to better enforce boundary conditions in lattice Boltzmann schemes.
Findings
Asymptotic analysis confirms known behavior for heat equation.
Identifies discrepancies near boundaries in linear acoustics.
Proposes a mixed boundary condition that improves flow simulation.
Abstract
In this contribution, we recall the derivation of the anti bounce back boundary condition for the D2Q9 lattice Boltzmann scheme. We recall various elements of the state of the art for anti bounce back applied to linear heat and acoustics equations and in particular the possibility to take into account curved boundaries. We present an asymptotic analysis that allows an expansion of all the fields in the boundary cells. This analysis based on the Taylor expansion method confirms the well known behaviour of anti bounce back boundary for the heat equation. The analysis puts also in evidence a hidden differential boundary condition in the case of linear acoustics. Indeed, we observe discrepancies in the first layers near the boundary. To reduce these discrepancies, we propose a new boundary condition mixing bounce back for the oblique links and anti bounce back for the normal link. This…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
On anti bounce back boundary condition
for lattice Boltzmann schemes
François Duboisab, Pierre Lallemandc, Mohamed-Mahdi Tekitekd
a* Dpt. of Mathematics, University Paris-Sud, Bât. 425, F-91405 Orsay, France.*
b* Conservatoire National des Arts et Métiers, LMSSC laboratory, F-75003 Paris, France.*
c* Beijing Computational Science Research Center, Haidian District, Beijing 100094, China.*
d* Dpt. Mathematics, Faculty of Sciences of Tunis, University Tunis El Manar, Tunis, Tunisia.*
05 April 2019 *** Contribution presented to the 14th ICMMES Conference, Nantes (France), 18 - 21 July 2017. Computers And Mathematics With Applications, volume 79, pages 555-575, February 2020.
Keywords: heat equation, linear acoustic, Taylor expansion method.
PACS numbers: 02.70.Ns, 05.20.Dd, 47.10.+g
Abstract
In this contribution, we recall the derivation of the anti bounce back boundary condition for the D2Q9 lattice Boltzmann scheme. We recall various elements of the state of the art for anti bounce back applied to linear heat and acoustics equations and in particular the possibility to take into account curved boundaries. We present an asymptotic analysis that allows an expansion of all the fields in the boundary cells. This analysis based on the Taylor expansion method confirms the well known behaviour of anti bounce back boundary for the heat equation. The analysis puts also in evidence a hidden differential boundary condition in the case of linear acoustics. Indeed, we observe discrepancies in the first layers near the boundary. To reduce these discrepancies, we propose a new boundary condition mixing bounce back for the oblique links and anti bounce back for the normal link. This boundary condition is able to enforce both pressure and tangential velocity on the boundary. Numerical tests for the Poiseuille flow illustrate our theoretical analysis and show improvements in the quality of the flow.
**1) Introduction **
From the early days of Lattice Boltzmann scheme studies, boundary conditions have been the object of various proposals. In fact, two popular methods of boundary conditions are used to impose given macroscopic conditions (velocity, pressure, thermal fields, …). The first one, called “half-way” was proposed in the context of cellular automata [7]. The “half-way” approach [8], consists in using the distributions that leave the domain to define the unknown distributions by a simple reflection (called bounce back) or antireflection (called anti bounce back). In this method the physical position of the wall is located between the last internal domain node and first node beyond boundary. In [24, 16] the exact position of the physical wall is investigated for some simple problems. The second method proposed first by Zou and He [30], called “boundary on the node”, uses the projection of the given macroscopic conditions in the distribution and assumes the bounce back rule for the non-equilibrium part of the particle distribution. In this method the physical wall is located on the last node of the domain.
Here, we only focus on “half-way” boundary conditions method. In a previous work [17] a novel method of analysis, based on Taylor developments, is used for the bounce back scheme. This linear analysis gives an expansion of the macroscopic quantity, on the physical wall, as powers of the mesh size. Later in [18] a generalized bounce back boundary condition for the nine velocities two-dimensional (D2Q9) lattice Boltzmann scheme is proposed. This scheme is exact up to second order by elimination of spurious density terms (first order terms).
In this contribution, the anti bounce back boundary lattice Boltzmann scheme is investigated. This scheme is used to impose Dirichlet boundary conditions for the “thermal problem”, id est the heat equation where one scalar moment is conserved, or to impose a given pressure for a linear fluid problem. Many works proposed new boundary conditions [2, 6, 20, 25, 28] intended to yield improved accuracy compared to the anti bounce back boundary scheme.
In this paper, the D2Q9 lattice Boltzmann scheme is first briefly introduced for heat equation and acoustic system (Section 2). Then in Section 3, the anti bounce back boundary condition is presented to impose a given thermal field for thermal problem or to impose a given density/pressure for the linearized fluid. In Section 4, the scheme is analyzed using Taylor expansion for the heat equation. This asymptotic analysis gives an expansion of the conserved scalar moment which is exact up to order one. In Section 5, we present the extended anti bounce back that allows to handle curved boundaries. In Section 6, anti bounce back is analyzed for the linear fluid problem. A hidden differential boundary condition is put in evidence. In Section 7, a mixing of bounce back and anti bounce back boundary scheme [15], is used and analyzed to impose a given density and a given velocity on the physical wall. Finally in Section 8 a novel boundary scheme is introduced and analyzed to impose a given pressure and tangential velocity on the boundary. A Poiseuille test case gives convergent results.
**2) D2Q9 lattice Boltzmann scheme for heat and acoustic problems **
The D2Q9 lattice Boltzmann scheme uses a set of discrete velocities described in Figure 1. A density distribution is associated to each basic velocity . The two components and the modulus of this vector are denoted by , and respectively. The first three moments for the density and momentum are defined according to
[TABLE]
We complete this set of moments and construct a vector of moments using Gram-Schmidt orthogonalization and an appropriate standardization to have simple expressions of the moment matrix, as proposed in [26]:
[TABLE]
The entire vector of moments is defined by
[TABLE]
and the previous relations can be written in a synthetic way :
[TABLE]
The invertible fixed matrix is usually [26] given by
[TABLE]
where is the fixed numerical lattice velocity. For scalar lattice Boltzmann applications to thermal problems, the density is the “conserved variable”.
We suppose the following linear equilibrium of nonconserved moments and associated relaxation coefficients. Due to (5) and Table 1, we can explicit the vector of equilibrium values of the particle distribution :
[TABLE]
During the relaxation step of the heat diffusion problem, the conserved variable is not modified. In the framework of multiple relaxation times [23], the nonconserved moments to relax towards an equilibrium value displayed in Table 1. The relaxation step needs also parameters presented also in the Table 1:
[TABLE]
Companion parameters have been introduced by Hénon [22] in the context of cellular automata:
[TABLE]
In terms of moments, the linear collision can be written as
[TABLE]
with a collision matrix given by
[TABLE]
The iteration of the DQ scheme after the relaxation step follows the relation
[TABLE]
and the population () at the new time step is evaluated according to
[TABLE]
In [12] and [13], we have introduced classical Taylor expansions in order to recover equivalent partial differential equations of the previous internal scheme. For the thermal model, when and tend to zero, with a fixed ratio and fixed relaxation coefficients , the conserved variable is solution of an asymptotic heat equation
[TABLE]
The infinitesimal diffusivity is evaluated according to
[TABLE]
If we consider a linear fluid problem, the three first moments , and are conserved during the collision step. The table of equilibria and relaxation coefficients is modified in the way specified in Table 2:
We can also display for the linear fluid case all components of the linear vector :
[TABLE]
In the space of moments, the linear collision is still described by a collision matrix. In the fluid case, we have
[TABLE]
The sound velocity satisfies
[TABLE]
The shear and bulk kinematic viscosities and are given [26] according to the relations
[TABLE]
Note the usual values of the parameters : and . During the relaxation step, the conserved variables are not modified. The non-conserved moments follow a relaxation algorithm described in (7).
**3) Construction of the anti bounce back boundary condition **
Consider to fix the ideas a bottom boundary for the D2Q9 lattice Boltzmann scheme, as illustrated in Figure 2. For an internal node , the evolution of populations is given by the internal scheme (10). For a bottom boundary, the values of for are a priori unknown.
When the vertex is near the boundary, and located half a mesh size from the physical boundary, the internal iteration (10) is still applicable for the discrete velocities with numbers , id est for . For , the fundamental scheme (10) has to be adapted. Our framework is still to try to apply the internal scheme at the boundary. In our case, we set
[TABLE]
Therefore, the boundary scheme is replaced by an extrapolation problem: how to determine the values for from the known values at the given vertex and the extra information given by the boundary conditions imposed by the physics?
For the thermal case, the construction of the lattice Boltzmann scheme is based on two arguments. First we can approximate at first order of accuracy (see e.g. [12]) the values at the neighbouring vertices by the equilibrium values at the internal vertex. Second, we have from the relations (6) the following three elementary remarks: , and in consequence . In a similar way, and implies . Last but not least, the relations and show that . If we suppose a Dirichlet boundary condition for the heat equation (11) then the conserved “temperature” is given on the boundary. The anti bounce back boundary condition is obtained by replacing in the previous relations the equilibrium values by the outgoing particle distribution and the moment by the given value on the boundary, as illustrated in Figure 3.
The fluid node near the boundary has coordinates equal to as depicted in Figure 3. In order to be more precise, we observe (see Figure 4) that the diagonal particles (numbered by and ) cross the boundary at locations and respectively. If we have a continuous information for the given field on the boundary, we can introduce in the boundary scheme the exact values , and of the given data. Taking into account all the previous remarks, the anti bounce back boundary condition is written in this case
[TABLE]
The minus sign in the right hand side of the relations (14) characterizes the denomination of “anti” bounce back.
For the linearized fluid, we have three conserved moments: density and the two components of the momentum . The equilibrium of the particle distribution is now given by the relation (12). We have as previously three simple remarks. First, \,f_{2}^{\rm eq}={{\rho}\over{36}}\,\big{(}4-\alpha-2\,\beta+{{12\,u_{y}}\over{\lambda}}\big{)}\, and \,f_{4}^{\rm eq}={{\rho}\over{36}}\,\big{(}4-\alpha-2\,\beta-{{12\,u_{y}}\over{\lambda}}\big{)}. In consequence, . Secondly, \,f_{5}^{\rm eq}={{\rho}\over{36}}\,\big{(}4+2\,\alpha+\beta+{{3}\over{\lambda}}(u_{x}+u_{y})\big{)}\, and \,f_{7}^{\rm eq}={{\rho}\over{36}}\,\big{(}4+2\,\alpha+\beta+{{3}\over{\lambda}}(-u_{x}-u_{y})\big{)}. After a simple addition of these two expressions, . Finally, the relations \,f_{6}^{\rm eq}={{\rho}\over{36}}\,\big{(}4+2\,\alpha+\beta+{{3}\over{\lambda}}(-u_{x}+u_{y})\big{)}\, and \,f_{8}^{\rm eq}={{\rho}\over{36}}\,\big{(}4+2\,\alpha+\beta+{{3}\over{\lambda}}(u_{x}-u_{y})\big{)}\, show that . Applying the same method as in the case of the thermal variant of the D2Q9 lattice Boltzmann scheme, we can write the anti bounce back boundary condition again with the relations (14). The interpretation of the variable is now the density. The anti bounce back is associated to a pressure datum, thanks to the acoustic hypothesis that . Observe that in the fluid case, the bounce back boundary condition is obtained simply by reversing the signs: , and .
**4) Linear asymptotic analysis for the heat problem **
In order to analyze the anti bounce back boundary condition (14), we can rewrite this condition as
[TABLE]
with in our example. As previously the notation corresponds to the opposite direction of the direction number : . The expression denotes the given “temperature” on the boundary at the space location . In the specific example considered here, we have
[TABLE]
If the above equation is replaced by the internal scheme:
[TABLE]
We have proposed in [17] a unified expression of the lattice Boltzmann scheme D2Q9 for a vertex near the boundary. With the help of matrices and , we can write
[TABLE]
The matrix element is equal to if and if not:
[TABLE]
In an analogous way, the explicitation of the opposite directions , and leads to the following matrix denoted by in the relation (16):
[TABLE]
A complete picture of the boundary scheme is presented in Figure 5.
The formal asymptotic analysis for infinitesimal space step and infinitesimal time step is conducted as follows. Multiply the relations (16) by the matrix of (5) in order to introduce the moments (4). Thus a complete expression of the D2Q9 lattice Boltzmann scheme for a node near the boundary takes the form
[TABLE]
Then expand this relation at order 0 and 1. At order zero, we have
[TABLE]
Drop away the indices:
[TABLE]
We make a hypothesis of acoustic scaling: the ratio is maintained constant as and tend to zero. We put also all the unknowns in the left hand side:
[TABLE]
We introduce the matrix according to
[TABLE]
We have established asymptotic equations for the moments in the first cell of the computational domain for anti bounce back scheme at order zero:
[TABLE]
with
[TABLE]
For the anti bounce back for the thermal DQ scheme, we have:
[TABLE]
The matrix defined in (21) is regular. The solution of anti bounce back at order zero is the unique solution of the equation
[TABLE]
obtained by neglecting the first order terms in (20), with given by the relations (15):
[TABLE]
Then since the matrix is regular. With the given temperature given on the boundary, we have:
[TABLE]
At order one, the asymptotic analysis of anti bounce back follows the work done in [17] for the usual bounce back boundary condition. We introduce the matrices
[TABLE]
The equivalent equations for anti bounce back scheme up to order one are solutions of
[TABLE]
Recall that with the data (15), we have
[TABLE]
We search a formal expansion of the type
[TABLE]
We have consequently
[TABLE]
After a tedious computation, the conserved variable can finally be expanded as
[TABLE]
The derivative is the exact value for the continuous problem at the boundary point. Finally, the relation (24) is nothing else than the Taylor expansion for the conserved variable between the boundary value and the value in the first fluid vertex. This Taylor expansion is correctly recovered at first order. This indicates that the Dirichlet boundary condition is correctly taken into consideration and does not induce spurious effects [29]. Recall that for general bounce back velocity condition, the situation shows several discrepancies [17, 18].
In order to illustrate the good quality of the results, we have evaluated numerically the eigenmodes of the heat equation , id est the solutions of the modal problem
[TABLE]
in a square domain with periodic and Dirichlet boundary conditions. The exact eigenvalues are proportional to (the index of the mode). For periodic boundary condition, and are even integers, then For homogeneous Dirichlet boundary condition, there is no restriction on the integers and ; then We use the D2Q9 lattice Boltzmann scheme with homogeneous anti bounce back boundary condition on a grid. The boundary is always located exactly between two grid points and the previous scheme is used without any modification. The eigenmodes of the problem are evaluated in the following way : after one step of the algorithm, the field is supposed to be proportional to . The modes are computed numerically with the “ARPACK” Arnoldi package [27].
On Figure 6, we have plotted the relative error (multiplied by )
[TABLE]
First, this error is very small: less than %. Second, it is approximately proportional to the index . This indicates a second order accuracy with respect to the wave number , with the size of the computational domain. This second order error can be minimized by a suitable choice (see e.g. our contribution [14]) of the parameters of the scheme
[TABLE]
**5) Extended anti bounce back for general boundaries **
The argument summarized in the previous section for bounce back and anti bounce back conditions can be extended to consider a boundary at an arbitrary distance () from the last fluid point. It is completely described for bounce back in Bouzidi et al. [4]. Assume that the boundary is on the left for a given space direction directed towards in interior of the computational domain. The boundary node is located inside the fluid and the node on its right is also inside the fluid. But the node is not a fluid node. The outgoing particles and are known at time after the relaxation step. The incoming particle for the opposite direction () has to be determined by the boundary condition. This question is summarized in Figure 7.
Assuming a linear variation of the macroscopic properties of the flow, one gets (see the original derivation in [4]) extended bounce back to impose the velocity in the fluid case:
[TABLE]
or extended anti bounce back (to impose the density in the fluid case):
[TABLE]
The interpolation is done before the propagation if and after if .
Similar expressions have been written in [4] for extended bounce back assuming a parabolic variation of the velocity field
[TABLE]
Similar changes in the signs as above define the extended for anti bounce back
[TABLE]
Application with the heat equation
The above anti bounce back boundary condition has been used in our previous contribution [13] in the context of the heat equation. Numerical experiments are presented in this contribution. Figures 3 and 4 with D2Q5 scheme for thermics inside a circle, and Figures 6 to 9 for D3Q7 lattice Boltzmann scheme for thermics in a three-dimensional ball. The Dirichlet boundary condition is simply implemented with an extended anti bounce back scheme.
Applications with linear acoustics.
For linear acoustics, we have used in [14] the time dependent extended anti bounce back (28) to enforce a given harmonic pressure on the boundary of a disc (see the Figures 1 to 3 of this reference). No particular difficulty was reported with this treatment of the time dependent pressure boundary condition.
In this contribution, we have determined the discrete eigenmodes of the lattice Boltzmann scheme
[TABLE]
for internal or boundary nodes. For a linear fluid problem, we have determined the eigenmodes (29) with the homogeneous () anti bounce back scheme (28) at the boundary. We have used the following values of relaxation parameters:
[TABLE]
The first mode is depicted in Figures 8 and 9. An other mode is presented in Figure 10. We have no definitive interpretation of the extended bounce back and anti bounce back boundary condition (25) to (28) in terms of partial differential equations. This question is still an open problem at our knowledge. Nevertheless, some modes are clearly associated to Bessel functions. These modes are invariant by rotation as evident from these figures that include data for all points located in the circle. Recall that this is mainly due to the good choice of the quartic parameters (30) as presented in [14].
**6) Analysis of anti bounce back for the linear fluid problem **
The anti bounce back boundary condition for the fluid problem is very close to the framework presented in Section 4 for the scalar case. The boundary iteration still follows a scheme of the form (16). The collision matrix is no longer given by the relation (9), but by (13). The matrices and characterize the locus of the boundary and the anti bounce back boundary condition. They are still given by the relations (17) and (18) respectively. The matrix defined in (19) has a new expression:
[TABLE]
The matrix presented in (31) is singular. The associated kernel is of dimension 2. It is generated by the following two vectors and in the space of moments:
[TABLE]
This means first that when solving a generic linear system of the type
[TABLE]
two compatibility relations have to be satisfied by the right hand side :
[TABLE]
Secondly, it is always possible to add to any solution of the model system (33) any combination of the type . In other terms, two components and of momentum remain undetermined by the anti bounce back boundary condition. They have to be evaluated in practice by the interaction with the other vertices through the numerical scheme.
Following the procedure presented previously for the thermal case, we can try to solve the boundary condition (20) at various orders. At order zero, no relevant information is given by the compatibility conditions (34). Then the solution at order zero depends on two parameters identified as the momentum in the first cell. With a given pressure or a given density on the boundary, we have
[TABLE]
At order one, the first compatibility relation is a linear combination of the first order equivalent partial differential equations. The other compatibility relation gives a non trivial differential condition on the boundary :
[TABLE]
The anti bounce back induces a hidden additional boundary condition. Observe that the differential condition (36) is not satisfied for a Poiseuille flow. Nevertheless, if this relation is satisfied, it is possible to expand the resulting density in the first cell:
[TABLE]
with
[TABLE]
This result indicates that the anti bounce back boundary condition gives not satisfactory results for the field near the boundary. The extra term in the relation (37) is a discrepancy if we compare this relation with a common Taylor expansion of the density in the normal direction as found in the scalar case (24). The relations (36) and (37) put in evidence quantitatively various defects of the anti bounce back boundary condition as proposed at the relations (14).
Numerical experiments for a linear Poiseuille flow.
We have considered a two-dimensional vertical channel with wall boundaries at the left and at the right. At the bottom of the channel a given pressure is imposed through anti bounce back and is imposed at the top (see Figure 11).
We have emphasized in Figures 12, 13, 14 and 15 the results for three meshes with , and cells. In Figure 12, the field is represented in the first two layers near the inflow boundary. Due to the classical Taylor expansion [26]
[TABLE]
this field is an excellent indicator of the treatment of the hidden boundary condition (36). The Figure 12 confirms that for the first cell, the hidden condition is effectively taken into account, except may be in the corners.
In consequence, the Poiseuille flow cannot be correctly satisfied near the fluid boundary. An important error of 18.2% for the pressure in the first cell is observed for the three meshes (see Fig. 13). Nevertheless, if we fit these pressure results by linear curves taking only half the number of points in the middle of the channel, this error is reduced to 6.5% (see Fig. 13). The tangential velocity is supposed to be identically null in all the channel. In the middle, the maximal tangential velocity is always less than 0.01% of the maximum normal velocity. But in the first cells (Fig. 14), the discrepancies are important and can reach 17% of the maximal velocity.
In Figure 15, the axial velocity is presented for the three meshes. We keep the same value of and in consequence the kinematic viscosity of the fluid [12, 26]
[TABLE]
is reduced at each mesh refinement by a factor of 2 and the normal velocity is multiplied in the same proportions. We have fitted with least squares the vertical velocity by a parabola in the middle of the channel and in the first layer (see Figure 15). The null velocity along this fitted parabola defines a numerical boundary that is compared to its true geometric location. The results are presented in Table 3. In the center of the channel, we obtain a typical error of between the numerical and geometrical boundaries, measured in cell units: the axial velocity is of very good quality in the center of the channel. In the first cell, the gap between numerical and physical boundaries represents a notable fraction of one unit cell (see Table 3).
7) Mixing bounce back and anti bounce back boundary conditions
In order to overcome the difficulties with the anti bounce back boundary condition for the fluid problem, we have adapted a mixing of bounce back and anti bounce back first proposed in [15] for the thermal Navier-Stokes equations. We suppose that all the fluid information, id est density and momentum, is given on the boundary. We force this relation by taking bounce back boundary condition for the particles coming from the left and from the right: and . We keep the anti bounce back for the particles coming from the bottom, as illustrated in Figure 16.
Finally, if density and the two components and of the velocity are supposed given on the boundary, the mixed bounce back and anti bounce back boundary condition can be written as:
[TABLE]
The analysis of the discrete mixed condition (38) follows the methodology presented above. The boundary iteration still follows the general framework (16). The matrices and characterize the locus of the boundary and the mixed bounce back and anti bounce back boundary condition. The matrix is still given by (17). On the contrary, the interaction matrix is no longer given by the expression (18), but by the relation
[TABLE]
The matrix introduced in (19) takes the form:
[TABLE]
The matrix defined in (40) is singular. Its kernel is of dimension 1. It is generated by the following vector :
[TABLE]
We did not find any simple physical interpretation of the kernel of the matrix defined by (40) in this case. When solving the generic linear system (33), the right hand side must satisfy
[TABLE]
Moreover, the solution is defined up to a multiple of the vector presented above.
At order zero, the compatibility condition does not give any relevant information. If we suppose that the component of along the eigenvector is reduced to zero, we have for a given density and a given momentum on the boundary:
[TABLE]
At order one the compatibility relations is a linear combination of the first order equivalent partial differential equations and no constraint is added by this relation. The resulting moments in the first cell \,x\equiv\big{(}x_{1},\,{{\Delta x}\over{2}}\big{)}\, at first order can be expressed after some formal calculus:
[TABLE]
with
[TABLE]
and
[TABLE]
We are puzzled by this result and more work is needed. There is a true discrepancy for the density with the three terms parametrized by the coefficients , and . Moreover, no first order term of a simple Taylor formula is present for the expansion (43) of the normal momentum.
**8) Giving pressure and tangential velocity on the boundary **
A natural mathematical question is to know whether a given set of partial differential equations associated with a given set of boundary conditions conducts to a well posed problem in the sense of Hadamard. For example, the Poisson equation with Dirichlet or Neumann boundary conditions conducts to a well posed problem (see e.g. [19]). On the contrary for the same Laplace equations, the Cauchy problem is defined by the fact to impose the value of the unknown field and the value of the normal derivative on some part of the boundary. As well known, this Cauchy problem for the Laplace equation is not correctly posed [5, 9]. For the stationary Stokes problem
[TABLE]
a set of correctly posed boundary conditions is based on the velocity vorticity pressure formulation [10]:
[TABLE]
Considering a variational formulation of the Stokes system (44), natural boundary conditions can be derived and we obtain the following procedure. Consider the two following decompositions and of the boundary :
[TABLE]
Suppose now that on one hand, the normal velocity is given on and the pressure is given on and on the other hand that the tangential velocity is given on and the tangential vorticity is imposed on :
[TABLE]
Then under some technical hypotheses, the Stokes problem (44) with the boundary conditions (45) admits a unique variational solution in ad hoc vectorial Sobolev spaces [11]. A first particular case is the Dirichlet problem, where both components of velocity are given (see e.g. [21]). An interesting case is the fact to give pressure and tangential velocity, as first remarked in [3]:
[TABLE]
In the following of this section, we propose to adapt the algorithm proposed in Section 6 to the set of boundary conditions (46).
We suppose in this section that the density and the tangential momentum are given on the boundary. The momentum nodal values in the first cell are still denoted as and . From the previous given equilibrium (12), we can write the bounce back boundary condition for diagonal edges , . The anti bounce back is unchanged: for the particles coming from the bottom, as illustrated in Figure 17. If \,x\equiv\big{(}x_{1},\,{{\Delta x}\over{2}}\big{)}\, is the notation for the first fluid node, the boundary condition on pressure and tangential velocity is finally implemented in the D2Q9 algorithm with the relations
[TABLE]
The asymptotic analysis of the condition (47) follows the general framework (16). The matrix is still given by (17). The interaction matrix follows now the relation
[TABLE]
The matrix of (19) is now equal to
[TABLE]
The matrix is singular. Its kernel is of dimension 1. The null eigenvector of the matrix is exactly introduced in (32):
[TABLE]
The associated compatibility relation for solving the linear system (33) is analogous to previous ones:
[TABLE]
From the relation (47), the right hand side
[TABLE]
can be easily described:
[TABLE]
At order zero, the compatibility relation (50) does not give any condition. At first order, the compatibility relation reduces to a combination of the associated partial differential equations. In consequence, no hidden boundary condition is introduced with this mixed bounce back and anti bounce back boundary condition. As designed by the boundary conditions (47), the normal momentum is not defined on the boundary. Then all the results are defined up to a multiple in the kernel of the matrix . The moments in the first cell at order zero are specified in the following relation:
[TABLE]
The boundary conditions and are satisfied at order zero for the density and tangential momentum. At order one, the conserved moments and in the first cell have been expanded at order one. Curiously, the relations (41) obtained with the approach in Section 7 are again valid in this case:
[TABLE]
with the coefficients and given by the relations (42).
Numerical experiments for a linear Poiseuille flow
We have done the same numerical experiments than in Section 6 with a vertical linear Poiseuille flow. The pressure field is now converging towards the imposed linear profile with a quasi first order accuracy, as described in Figure 18 and Table 4. We have observed the horizontal component of the velocity. A small discrepancy is present in the first layer (see Fig. 19). Nevertheless, the maximum error is reduced by one order of magnitude compared to the previous anti bounce back boundary scheme. In the center of the channel, the error is very low: typically of relative error, that has to be compared to a relative error of with the previous pure anti bounce back. The profile of vertical velocity (Fig. 20) is quasi perfect. The position of the numerical boundary, measured with the same technique of least squares, is presented in Table 5. These results are still not perfect but can be considered of good quality.
**9) Conclusion **
In this contribution, we have presented the derivation of anti bounce back boundary condition in the fundamental case of linear heat conduction and linear acoustics. We have recalled that using this type of boundary condition is now classical, even in the extended version that allows taking into account curved boundaries. The asymptotic analysis confirms the high quality of the anti bounce back boundary condition for implementing a Dirichlet condition for the heat equation. For the linear fluid system, the anti bounce back boundary condition is designed for taking into account a pressure boundary condition. The asymptotic analysis puts in evidence a differential hidden condition on the boundary. For a Poiseuille flow this hidden condition induces serious discrepancies in the vicinity of the input and output. A variant mixing bounce back and anti bounce back has been proposed in order to set in a mathematical rigorous way fluid conditions composed by the datum of pressure and tangential velocity. A test case for Poiseuille flow is very encouraging.
In future works, the analysis of the pure anti bounce back for thermal problem will be extended up to order two. The novel mixing boundary condition will be investigated more precisely theoretically and numerically, in particular for unsteady acoustic problems. Moreover, the Taylor expansion method near the boundary needs to be generalized for oblique and curved boundaries. Finally a more general boundary condition has to be conceived to reduce the defects at first order and eliminate as far as possible the hidden boundary conditions.
**Acknowledgments **
The authors thank the referees for precise comments on the first drafts of this contribution.
**References **
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1]
- 2[2] S. Ansumali, I.V. Karlin, “Kinetic Boundary Conditions in the Lattice Boltzmann Method”, Physical Review E , vol. 66 , p. 026311, 2002.
- 3[3] C. Bègue, C. Conca, F. Murat, O. Pironneau. “Les équations de Stokes et de Navier-Stokes avec des conditions aux limites sur la pression”, Nonlinear partial differential equations and their applications, Collège de France Seminar (Paris, 1985-1986), volume IX,H. Brézis and J.L. Lions Eds, Pitman research notes in mathematics series , vol. 181 , Longman Scientific & Technical, Harlow, p. 179-264, 1988.
- 4[4] M. Bouzidi, M. Firdaouss, P. Lallemand. “Momentum transfer of a Boltzmann-lattice fluid with boundaries”, Physics of Fluids , vol. 13 , p. 3452-3459, 2001
- 5[5] A. P. Calderón. “Uniqueness in the Cauchy problem for partial differential equations”, American Journal of Mathematics , vol. 80 , p. 16-36, 1958.
- 6[6] B. Chun, A.J.C. Ladd. “Interpolated boundary condition for lattice Boltzmann simulations of flows in narrow gaps”, Physical Review E , vol. 75 , 066705, 2007.
- 7[7] D. d’Humières, , Y. Pomeau, P. Lallemand. “Simulation d’allées de Von Karman bidimensionnelles à l’aide d’un gaz sur réseaux”, Comptes Rendus de l’Académie des Sciences de Paris , vol. 301 , série II, 1985, p. 1391-1394, 1985.
- 8[8] D. d’Humières, I. Ginzburg, “Multi-reflection boundary conditions for lattice Boltzmann models”, Physical Review E , vol. 68 , issue 6, p. 066614 (30 pages), 2003.
