Skip to main content

ORIGINAL RESEARCH article

Front. Appl. Math. Stat., 16 June 2021
Sec. Statistical and Computational Physics
This article is part of the Research Topic Interfaces and Mixing - Non-equilibrium Dynamics and Conservation Laws at Continuous and Kinetic Scales View all 6 articles

Volumetric Lattice Boltzmann Models in General Curvilinear Coordinates: Theoretical Formulation

  • Dassault Systemes, Waltham, MA, United States

A theoretical formulation of lattice Boltzmann models on a general curvilinear coordinate system is presented. It is based on a volumetric representation so that mass and momentum are exactly conserved as in the conventional lattice Boltzmann on a Cartesian lattice. In contrast to some previously existing approaches for arbitrary meshes involving interpolation approximations among multiple neighboring cells, the current formulation preserves the fundamental one-to-one advection feature of a standard lattice Boltzmann method on a uniform Cartesian lattice. The new approach is built on the concept that a particle is moving along a curved path. A discrete space-time inertial force is derived so that the momentum conservation is exactly ensured for the underlying Euclidean space. We theoretically show that the new scheme recovers the Navier-Stokes equation in general curvilinear coordinates in the hydrodynamic limit, along with the correct mass continuity equation.

1 Introduction

Lattice Boltzmann Methods (LBM) have been developed as an advantageous method for computational fluid dynamics during past few decades [1, 2]. The underlying dynamics of a lattice Boltzmann system resides on the kinetic theory, in that it involves motion of many particles according to the Boltzmann equation [3, 4]. There are two fundamental dynamical processes in a basic Boltzmann kinetic system, namely advection and collision. In the advection process, a particle moves from one location to another according to its microscopic velocity, while in the collision process particles interact with each other obeying conservation laws and relax to equilibrium. In a standard LBM model, particle velocity takes on a discrete set of constant values, and the latter form exact links from one lattice site to its neighboring sites on a simple Bravais lattice corresponding to a three dimensional (3D) uniform cubical Cartesian mesh [57]. Therefore, having these discrete velocity values, a particle moves from one lattice site to a unique neighboring site per constant time interval (say Δt=1). This exact one-to-one advection of a particle on the lattice effectively realizes a Lagrangian advection characteristics. That is, a particle location during the advection process is exactly predicted at any later time from its location at a given time. Such a Lagrangian advection characteristics is the reason for one of the key advantages of LBM, besides its simplicity, the advection process produces an extremely low numerical dissipation (due to no smearing of locations of a single particle). Indeed, if such a one-to-one advection is relaxed, numerical dissipation has been seen to significantly increase even with the usage of much higher order interpolation schemes. In addition, the Lagrangian one-to-one advection may also have non-trivial implications in simulations of flows at finite Knudsen numbers [79]. In contrast, unlike particle velocity, a fluid velocity varies in both time and space, hence an one-to-one advection process is impossible for a Navier-Stokes equation based numerical scheme on a spatially fixed mesh.

However, a uniform and cubical Cartesian mesh poses fundamental limitations. First of all, often in realistic fluid study one deals with a solid geometry with curved surfaces, and obviously a Cartesian mesh does not smoothly conform with such a geometric shape. Secondly, a flow usually has small scale structures concentrated in certain spatial locations and directions. For instance, in the turbulent boundary layer, the flow scale in the direction normal to the wall is much smaller than in the tangential direction or in the fluid region outside of the boundary layer. Consequently, the requirement on spatial resolution is significantly higher in the normal direction inside a boundary layer. A cubic Cartesian mesh does not provide the flexibility with different spatial resolutions in different directions. Therefore, it is of fundamental importance to extend the standard LBM for a general non-cubic Cartesian mesh.

There have been various attempts in the past to extend LBM on arbitrary meshes, including curvilinear mesh (cf [1012]). The essential idea is to relax the aforementioned exact one-to-one advection between a pair of lattice sites while keeping the advection of particles according to the original constant discrete velocity values. As a consequence, on an arbitrary mesh, a particle after advecting from its original mesh site does not in general land on a single neighboring mesh site. Thus its location needs to be distributed onto a set of neighboring mesh sites via interpolation. As mentioned above, such an effective “one-to-many” advection process destroys the preciseness of a Lagrangian advection characteristics thus resulting in a significantly increased numerical dissipation.

It is of fundamental interest to formulate an LBM on a general mesh that preserves the exact one-to-one feature of the particle advection process. A possible way to accomplish this is to construct the micro-dynamic process on a non-Euclidean space represented by a general curvilinear coordinate system based on Riemann geometry [13]. In such a non-Euclidean space, a constant particle velocity corresponds to a curved and spatially varying path in the underlying Euclidean space. Indeed, the continuum Boltzmann kinetic theory on a Riemannian manifold can be theoretically described [14, 15]. The key difference between a constant particle velocity on a Euclidean and a non-Euclidean space is that the latter is accompanied with an inertial force, due to the 1st law of Newton in Euclidean space. According to this concept, it is entirely conceivable to formulate LBM models on a cubic Cartesian lattice in non-Euclidean space that corresponds to a general curvilinear mesh in the Euclidean space. The first such attempts were made by Mendosa et al. in a series of papers (see [1618]). The significance of their work is that it established this fundamental approach to LBM on curvilinear meshes via a Riemann geometric framework.

As Mendosa et al., we formulate LBM on a general curvilinear coordinate system via the concept of Riemannian geometry. There are several critical differences between our approach presented here and that of Mendosa et al. First of all, we adopt a volumetric formulation so that the mass and momentum conservations are exactly ensured. The resulting continuity equation of mass is automatically shown to have the correct form in curvilinear coordinates, and there is no need to introduce any artificial mass source term to correct for any artifacts in the resulting hydrodynamics. Secondly, as in the continuum kinetic theory on a manifold, the only external source term in the extended LBM is associated with an effective inertial force due to curvilinearity. It contributes no mass source. Moreover, such a force term is constructed fully self-consistently within the discrete lattice formulation. This force form in discrete space and time recovers asymptotically the one in the continuum kinetic theory in the hydrodynamic limit. It does not rely on any outside analytical forms borrowed from the continuum kinetic theory [14, 15]. Thirdly, the inertial force enforces the exact momentum conservation for the underlying Euclidean space in the discrete space-time LBM model. Lastly, we demonstrate that the force term must be constructed properly so that it adds momentum in the system at a proper discrete time moment in order to produce the correct resulting Navier-Stokes hydrodynamics to the viscous order. Indeed, the correct Navier-Stokes equation is fully recovered in the hydrodynamic limit with the new formulation without introducing any extra correction terms.

To summarize, our goal is to theoretically demonstrate how discrete kinetic theories can be formulated in curvilinear coordinates in a way that mass and momentum are exactly conserved, and also the correct hydrodynamics is recovered in the microscopic limit. We hope the reader may find such discrete non-equilibrium statistical systems interesting, similar to discrete systems found in other branches of physics, e.g., spin models on a lattice in the equilibrium statistical theory, lattice field theories, etc. In addition to fundamental interest, non-equilibrium discrete systems like LBM may be useful for applications in numerical analysis and for practical use. Computational aspects such as scheme stability, numerical dissipation, performance, and boundary conditions treatment, as well as numerical verification of theoretical results, are outside of the scope of this study. We also restrict ourselves to one of the simplest situations, namely the low speed isothermal flow, which admits a closed self-contained analytical treatment which explicates the main features of volumetric formulation in curvilinear coordinates. Possible extensions and applications of this work are briefly discussed in Section 4 below.

The description of non-equilibrium dynamics and transport at the spatio-temporal scales not treatable by hydrodynamics can often benefit from using kinetic theory methods. Here we show how to construct lattice kinetic theories in a general coordinate system that possess exact conservation laws at both kinetic and continuum scales, as well as correct macroscopic limit behavior. In addition to the fundamental interest, this can be useful for describing interactions at interfaces between different fluids or materials with complex geometry.

The subsequent sections are organized as follows. We describe in Section 2 the formulation of the new LBM on a general curvilinear mesh. In Section 3, we provide a detailed theoretical derivation and show that the new LBM indeed produces the correct Navier-Stokes equation in general curvilinear coordinates. In order for the paper to be more self-contained, we provide, in Supplementary Appendices SA1–SA3 basic theoretical description of the continuum Boltzmann kinetic theory in curvilinear coordinates as in the literature [15], some fundamental properties [13], as well as a derivation of the Navier-Stokes hydrodynamic equation on a general curvilinear coordinate system.

2 Formulation of Lattice Boltzmann in Curvilinear Coordinates

This section is divided into two subsections. First, we construct the geometric quantities that are necessary for defining a general curvilinear coordinate system. Then we present the volumetric lattice Boltzmann formulation on a general curvilinear mesh.

2.1 Construction of Geometric Quantities on a Curvilinear Mesh

We describe how to construct a coordinate system for formulating kinetic theory on a curvilinear mesh. Let x be any spatial point in 3D Euclidean space. We choose a curvilinear coordinate system, so that x=x(q) is uniquely defined by q. Here q(q1,q2,q3) are the coordinate values along three non-collinear congruences of parameterized basis curves. The above forms the basic starting point for a general curvilinear mesh. For when a 3D curvilinear mesh with its entire spatial layout is given, then all its vertex locations in space are known and specified. Let x now be only defined on sites (i.e., vertices) of the curvilinear mesh. We choose the coordinate system {q} that is a one-to-one mapping between x and q. In other words, for any site x on the curvilinear mesh, there is a unique value q associated with it, that is x=x(q) is uniquely defined. In addition, we construct the coordinate values of q on the mesh as follows: For any site x(q), its nearest neighbor site along the ith (i=1,2,3) coordinate curve in the positive or negative direction is a spatial point x±i. Due to the unique mapping, we have x±i=x(q±i), where q±i is a unique coordinate value for the neighboring site. It is entirely possible to choose the spatial variation of q in such a way that q±i and q only differ in their ith coordinate component values by a constant d0. That is, q±i=(q±i1,q±i2,q±i3), and q±ijqj=±d0δij (i,j=1,2,3). Here we choose the constant d0 to be unity without loss of generality.

It is easy to see that, under such a construction, the coordinate values {q} actually form a simple uniform 3D cubic Cartesian lattice with the lattice spacing unity. One may interpret this “Cartesian” lattice {q} as a result of deformation (bending, twisting and stretching/compressing) of the original curvilinear mesh {x} in the Euclidean space. Thus, its topological structure is the same as the original curvilinear mesh, but the Cartesian lattice is on a non-Euclidean space as a result of distortion of the original Euclidean space.

When a curvilinear mesh is provided, spatial locations of all the vertices {x} on the mesh are specified, and hence the distance from any one vertex to another on a such mesh is also fully determined. Let’s define the distance vector from x(q) to one of its neighbors x(q±i) (i=1,2,3) as

D±i(q)x(q±i)x(q);i=1,2,3(1)

For instance, D±1(q)x(q1±1,q2,q3)x(q1,q2,q3). Notice that, due to spatial non-uniformity of a general curvilinear mesh, the spatial distance from one mesh site to its nearest neighbor site is in general changing from location to location. In other words, D±i(q) is a function of q. Furthermore, one can realize that the distance value in the positive direction along the ith coordinate curve is in general not equal to that in the negative direction. Explicitly, in terms of the distance vectors, Di(q)Di(q). For example, according to the definition of Eq. 1,

D1(q)=x(q11,q2,q3)x(q1,q2,q3)=D1(q11,q2,q3)D1(q)=(x(q1+1,q2,q3)x(q1,q2,q3))(2)

and the inequality only becomes an equality everywhere if the curvilinear mesh is a uniform lattice (so that |Di|=const, independent of spatial coordinate value q).

Following the basic differential geometry concept, we now construct the basis tangent vectors at x(q) along each of the three coordinate directions,

gi(q)βi(q)[Di(q)Di(q)]/2Δx;i=1,2,3(3)

where the scalar factor βi(q) is

βi(q)[|Di(q)|+|Di(q)|]|Di(q)Di(q)|

and βi(q)=1 when the two distance vectors Di(q) and Di(q) are parallel. With such a construction, the parity symmetry is achieved, so that

gi(q)=gi(q)

Notice, in Eq. 3Δx is a length scale corresponding to a representative vertex spacing of the mesh. It is well known that, unlike a Cartesian coordinate system in Euclidean space, the basis tangent vectors gi(q) (i=1,2,3) of a curvilinear coordinate system are not orthonormal in general. That is, gi(q)gj(q)δij. Hence, we should further define the corresponding metric tensor based on these basis tangent vectors,

gij(q)gi(q)gj(q),i,j=1,2,3(4)

as well as the volume J of the cell centered at x(q),

J(q)(g1(q)×g2(q))g3(q)(5)

and we can always choose a proper handedness so that J(q)>0. Clearly J(q) is a constant in space for a uniform Bravais lattice. One can easily verify that

g(q)det[gij(q)]=J2(q)(6)

with det[gij(q)] being the determinant of the metric tensor [gij(q)]. Furthermore, we can define the co-tangent basis vectors gi(q) (i=1,2,3) accordingly,

g1(q)g2(q)×g3(q)/J(q)g2(q)g3(q)×g1(q)/J(q)g3(q)g1(q)×g2(q)/J(q)(7)

Indeed, the basis tangent vectors and the co-tangent vectors are orthonormal to each other,

gi(q)gj(q)=δij,i,j=1,2,3

where δij is the Kronecker delta function. Similarly, we can define the inverse metric tensor,

gij(q)gi(q)gj(q),i,j=1,2,3(8)

Clearly the inverse metric tensor is the inverse of the metric tensor, [gij(q)]=[gij(q)]1, or

k=13gik(q)gkj(q)=δij

and

det[gij(q)]=1/det[gij(q)]

Having these basic geometric quantities defined above, we can now introduce the lattice Boltzmann velocity vectors on a general curvilinear mesh, similar to the ones on a standard Cartesian lattice,

eα(q)cαigi(q)ΔxΔt(9)

Here and thereafter, the summation convention is used for repeated Roman indices. For convenience, in subsequent derivations we adopt the ‘lattice units’ convention so that Δx = 1 and Δt=1. The constant number cαi is either a positive or negative integer or zero, and it is the ith component value of the three dimensional coordinate array cα(cα1,cα2,cα3). For example, in the so called D3Q19 with the Greek index α running from 0 to 19,5

cα{(0,0,0),(±1,0,0),(0,±1,0),(0,0,±1),(±1,±1,0),(±1,0,±1),(0,±1,±1)}

As shown in the subsequent sections, a set of necessary moment isotropy and normalization conditions must be satisfied in order to recover the correct full Navier-Stokes hydrodynamics [6, 7, 19, 20]. These are, when there exists a proper set of constant weights {wα;α=1,,b}, the set of lattice component vectors admit moment isotropy up to the 6th order, namely

αwα=1αwαcαicαj=T0δijT0Δ(2),ijαwαcαicαjcαkcαl=T02[δijδkl+δikδjl+δilδjk]T02Δ(4),ijklαwαcαicαjcαkcαlcαmcαn=T03[δijΔ(4),klmn+δikΔ(4),jlmn+δilΔ(4),jkmn+δimΔ(4),jkln+δinΔ(4),jklm]T03Δ(6),ijklmn(10)

where the constant T0 depends on the choice of a set of lattice vectors and δij is the Kronecker delta function. For example, T0=1/3 for the so called D3Q19 lattice (albeit it only satisfies Eq. 10 up to the 4th order). Notice, one should not confuse the three dimensional array cα with the lattice vector eα(q) in Eq. 9. The former is simply an array of three constant (integer) numbers, while the latter is a vector (with a well defined direction and magnitude) at q on the curvilinear mesh.

Lastly, we define a set of specific geometric quantities below that are essential for the extended LBM model,

Θji(q+cα,q)[gj(q+cα)gj(q)]gi(q)i,j=1,2,3;α=0,1,,b(11)

It is easily seen that Θji(q+cα,q) vanish if the mesh is a uniform Cartesian lattice.

Once a curvilinear mesh is specified, all the geometric quantities above are fully determined and can thus be pre-computed before starting a dynamic LBM simulation.

2.2 Volumetric Lattice Boltzmann Model on a Curvilinear Mesh

Although the basic theoretical framework of the work is more general, for simplicity of describing the basic concept, we present the formulation for the so called isothermal LBM in this section. Similar to the standard lattice Boltzmann equation (LBE), we write the evolution of particle distribution below [1, 5, 2123]

Nα(q+cα,t+1)=Nα(q,t)+Ωα(q,t)+δNα(q,t)(12)

where Nα(q,t) is the number of particles belonging to the discrete direction cα in the cell q at time t. We have assumed in Eq. 12 a unity time increment (i.e., Δt=1) without loss of generality. Ωα(q,t) in Eq. 12 is the collision term that satisfies local mass and momentum conservations,

αΩα(q,t)=0αeα(q)Ωα(q,t)=0(13)

The particle density distribution function fα(q,t) is related to Nα(q,t), via

J(q)fα(q,t)=Nα(q,t)(14)

where J(q) is the volume of cell centered at q, as defined previously. The fundamental fluid quantities are given by the standard hydrodynamic moments,

ρ(q,t)=αfα(q,t)ρ(q,t)u(q,t)=αeα(q)fα(q,t)(15)

where ρ(q,t) and u(q,t) are fluid density and velocity at the location x(q) and time t. Using the relationship in Eq. 9, the velocity moment above can also be rewritten as

ρ(q,t)u(q,t)=αcαigi(q)fα(q,t)=ρ(q,t)Ui(q,t)gi(q)(16)

and the velocity component value in the curvilinear coordinate system is given by,

ρ(q,t)Ui(q,t)=αcαifα(q,t)(17)

Or for simplicity of notation, we define a three-dimensional fluid velocity array U(q,t)(U1(q,t),U2(q,t),U3(q,t)). Therefore, Eq. 17 can be equivalently expressed as

ρ(q,t)U(q,t)=αcαfα(q,t)(18)

It is immediately seen that Eq. 18 has the same form for the fluid velocity as that in the standard Cartesian lattice based LBM. Similarly, the momentum conservation of the collision term in Eq. 13 can also be written as,

αcαΩα(q,t)=0(19)

Often in LBM the collision term takes on a linearized form [1, 20], namely

Ωα(q,t)=βJ(q)Mαβ[fβ(q,t)fβeq(q,t)](20)

where Mαβ and fβeq(q,t) represent a collision matrix and the equilibrium distribution function, respectively. In particular, the so called Bhatnagar-Gross-Krook (BGK) form corresponds to

Mαβ=1τδαβ

with τ being the collision relaxation time [5, 2224]. In order to recover the correct Navier-Stokes hydrodynamics, besides Eqs 13,19 the collision matrix needs to satisfy an additional condition [8, 9, 20, 2527],

αcαcαMαβ=1τcβcβ(21)

Obviously the BGK form trivially satisfies such an additional property.

The extra term δNα(q,t) in Eq. 12 represents the change of particle distribution due to an effective inertial force associated with the curvature and non-uniformity of a general curvilinear mesh. Obviously δNα(q,t) vanishes in the standard LBM on a Cartesian lattice. We explain and construct its explicit form below.

We define the advection process as an exact one-to-one hop from one site to another as in the standard LBM, namely

Nα(q+cα,t+1)=Nα(q,t)(22)

where Nα(q,t) is the post-collide distribution at (q,t) that is equal to the right side of Eq. 12. Due to curvilinearity, though the amount of particles advected from cell q is exactly equal to what is arrived at cell q+cα (as defined in Eq. 22), the momentum is in fact changed along the way. Indeed, in general

eα(q+cα)Nα(q+cα,t+1)eα(q)Nα(q,t)

In the above, the left side of the inequality sign is the momentum value at the end of advection process while the right side is the value at the beginning of the process. The inequality is there because the path of particles is curved (as well as stretched or compressed), so that its velocity at the end of the advection is changed from its original value. This is fundamentally different from that on a uniform Cartesian lattice, in that the particles have a constant velocity throughout the advection process. Consequently, we have the following inequalities in the overall momentum values,

αeα(q)Nα(q,t)αeα(qeα)Nα(qcα,t1)(23)

where the right side of the unequal sign in Eq. 23 represents the total amount of momentum advected out of all the neighboring cells, while the left side is the total momentum arrived at cell q after the advection along the curved paths. Thus from Eqs 22,23, we see that the net momentum change via advection from all the neighboring cells into cell q is given by,

J(q)χI(q,t)=α[eα(q)eα(qcα)]Nα(q,t)(24)

Similarly, we can realize that the net momentum change via advection out of cell q to all its neighboring cells is given by

J(q)χo(q,t)=α[eα(q+cα)eα(q)]Nα(q,t)(25)

Subsequently, if we impose the constraints on δNα(q,t) below,

αδNα(q,t)=0αeα(q)δNα(q,t)=J(q)χ(q,t)(26)

then we preserve an exact mass conservation as well as recover the exact momentum conservation in discrete space-time for the underlying Euclidean space. Here χ(q,t)=[χI(q,t)+χo(q,t)]/2. More specifically, the first constraint in Eq. 26 means that no mass source is introduced by δNα(q,t). On the other hand, the second constraint in Eq. 26 introduces an “inertial force” that equals exactly to the amount needed for achieving the momentum conservation in the underlying Euclidean space at any lattice site q and time t. The mechanism is in analogy with the continuum kinetic theoretic description in a curved space. Writing in the coordinate component form, we have

Fi(q,t)=χ(q,t)gi(q)

Using the geometric quantities defined in the previous subsection, it can be immediately shown that

J(q)Fi(q,t)=12αcαj{Θji(q+cα,q)Nα(q,t)Θji(qcα,q)Nα(q,t)}(27)

where the geometric function Θji(q+cα,q) is defined in Eq. 11. From Eqs 11, 27, one can immediately see that Fi(q,t) vanishes if the curvilinear mesh is a regular uniform Cartesian lattice, as is obviously the case for a basic LBM. The second constraint in Eq. 26 can also be expressed in coordinate component form as

αcαiδNα(q,t)=J(q)Fi(q,t)(28)

As to be demonstrated in the next section, in order to recover the full viscous Navier-Stokes equation, an additional constraint on the momentum flux also needs to be imposed below,

αcαicαjδNα(q,t)=J(q)[δΠij(q,t)+δΠji(q,t)](29)

with

δΠij(q,t)12(112τ)αcαicαk[Θkj(q+cα,q)Θkj(qcα,q)]fαeq(q,t)(30)

A specific form of δNα(q,t) can be chosen below

δNα(q,t)=wαJ(q)[cαjFj(q,t)T0+(cαjcαkT0δjk)δΠjk(q,t)T0](31)

With a simple algebra, one can verify that it satisfies the moment constraints of Eqs 26, 28, 29. Notice, due to the appearance of Nα(q,t) in Eq. 27, the overall collision process for determining Nα(q,t) defines an implicit relationship, so that various ways to handle it need to be explored depending on types flows of interest.

The final part for complete specifying the extended LBM on a curvilinear mesh is the form of the equilibrium distribution function, which needs to be defined appropriately in order to recover the correct Euler equation as well as the Navier-Stokes equation in curvilinear coordinates in the hydrodynamic limit. In particular, the following fundamental conditions on hydrodynamic moments must be realized,

αfαeq=ρ,αcαifαeq=ρUi,αcαicαjfαeqΠij,eq=gijρT0+ρU˜iU˜j,αcαicαjcαkfαeqQijk,eq=[gijU˜k+gjkU˜i+gkiU˜j]ρT0+ρU˜iU˜jU˜k(32)

In the above,

U˜i(q,t)=Ui(q,t)+12ai(q,t)

with ρ(q,t)ai(q,t)Fi(q,t). It is straightforward to show that these fundamental conditions are met by the following equilibrium distribution form,

fαeq=ρwα{1+cαiUiT0+12T0(cαicαjT0δij)[(gijδij)T0+U˜iU˜j]+16T03(cαicαjcαkT0(cαiδjk+cαjδki+cαkδij))[T0[(gijU˜kδijUk)+(gjkU˜iδjkUi)+(gkiU˜jδkiUj)]+U˜iU˜jU˜k]}(33)

The equilibrium distribution form above is analogous to that of a low Mach number expansion of the Maxwell-Boltzmann distribution expressed in curvilinear coordinates [14]. It reduces to the standard LBM equilibrium distribution if the curvilinear mesh is a uniform Cartesian lattice so that gij=δij [7, 19, 20].

With all the quantities and dynamic properties defined above, we can show that the lattice Boltzmann Eq. 12 computed on the (non-Euclidean) uniform Cartesian lattice {q} obeys the Navier-Stokes hydrodynamics in curvilinear coordinates. Consequently, mapping of the resulting fluid values, ρ(q,t) and Ui(q,t), onto the curvilinear mesh is given by a simple transformation below,

ρ(x(q),t)=ρ(q,t),u(x(q),t)=Ui(q,t)gi(q)(34)

3 Derivation of the Navier-Stokes Hydrodynamics in Curvilinear Coordinates

In this section, we provide a detailed derivation and show that the extended LBM presented above indeed produces the correct Navier-Stokes equations in general curvilinear coordinates. We rewrite the lattice Boltzmann Eq. 12) below,

Nα(q+cα,t+1)=Nα(q,t)+Ωα(q,t)+δNα(q,t)(35)

Expanding it in both time and space up to the second order leads to

[t+cαiqi+12(t+cαiqi)2]Nα=Ωα+δNα(36)

Now we introduce multiple scales in time and space based on the conventional Chapman-Enskog expansion procedure, [21, 28]

t=ϵt0+ϵ2t1;qi=ϵqi

and

Nα=Nαeq+ϵNα(1)+ϵ2Nα(2)+

Here ϵ (1) denotes a small number. Conservation laws require,

αNαeq=αNα=Jρ,αcαiNαeq=αcαiNα=JρUiαNα(n)=αcαiNα(n)=0;n>0(37)

Likewise, δNα=ϵδNα(0)+ϵ2δNα(1)+, and

αδNα(n)=0;n=0,1,

for they introduce no source of mass. Equating the same powers of ϵ, Eq. 36 leads to the following two equations

(t0+cαiqi)Nαeq=βMαβNβ(1)+δNα(0)(38)

and

t1Nαeq+12(t0+cαiqi)2Nαeq+(t0+cαiqi)Nα(1)=βMαβNβ(2)+δNα(1)(39)

where the collision term has taken the linearized form in Eq. 20. Eq. 38 can be directly inverted,

Nα(1)=βMαβ1[(t0+cβiqi)NβeqδNβ(0)](40)

Therefore, Eq. 39 can also be written as,

t1Nαeq+12(t0+cαiqi)[βMαβNβ(1)+δNα(0)]+(t0+cαiqi)Nα(1)=βMαβNβ(2)+δNα(1)(41)

Taking the mass moment of Eqs 38, 41, and using mass conservation properties of Mαβ and δN(n) above, we obtain for the leading order

α(t0+cαiqi)Nαeq=0(42)

Based on the equilibrium moment definitions Eqs 37, 42 is equivalent to

t0(Jρ)+qi(JρUi)=0(43)

For the next order, we have

t1αNαeq+12qiαcαiδNα(0)=0(44)

Combining Eq. 43 and Eq. 44, we get

tαNαeq+qiαcαiNαeq+12qiαcαiδNα(0)=0(45)

Substitute the definitions in Eqs 37, 45 becomes

t(Jρ)+qi[Jρ(Ui+a(0),i2)]=0(46)

where

αcαiδNα(0)Jρa(0),i(47)

is to be further discussed later in this section. Define the fluid velocity as

U˜iUi+12a(0),i(48)

and since J=J(q) is not a function of time, Eq. 46 is in fact the standard mass continuity equation expressed in general curvilinear coordinates,

tρ+1Jqi(JρU˜i)=0(49)

Recognizing that 1Jqi(JAi)=A is the divergence of a vector A in a general curvilinear coordinate system, Eq. 49 is simply the familiar mass continuity equation in the coordinate free representation,

tρ+(ρu˜)=0(50)

Taking the momentum moment of Eq. 38, we get,

αcαi(t0+cαjqj)Nαeq=αcαiδNα(0)(51)

Define (see also in Eq. 32)

JΠij,eqαcαicαjNαeq(52)

together with Eq. 47, Eq. 51 becomes

t0(JρUi)+qj(JΠij,eq)=Jρa(0),i(53)

Similarly, taking the momentum moment of Eq. 41,

t1αcαiNαeq+αcαicαjqjα[δαβ+12Mαβ]Nβ(1)+12αcαi(t0+cαjqj)δNα(0)=αcαiδNα(1)(54)

Let

JΠij,(1)αcαicαjα(δαβ+12Mαβ)Nβ(1)(55)

and use relation Eq. 40, we can derive

JΠij,(1)=αcαicαjβ(δαβ+12Mαβ)γMβγ1[(t0+cγkqk)NγeqδNγ(0)]=αcαicαjβ(Mαβ1+12δαβ)[(t0+cβkqk)NβeqδNβ(0)](56)

Using the collision matrix property Eq. 21 and its inverse, namely

αcαcαMαβ=1τcβcβ;αcαcαMαβ1=τcβcβ(57)

then Eq. 56 becomes

JΠij,(1)=(τ12)αcαicαj[(t0+cαkqk)NαeqδNα(0)](58)

Substitute JΠij,(1) of the above into Eq. 54, we get

t1αcαiNαeqqj{(τ12)αcαicαj[(t0+cαkqk)NαeqδNα(0)]}+12αcαi(t0+cαjqj)δNα(0)=αcαiδNα(1)(59)

After some simple cancellations and rearrangements, it becomes

t1αcαiNαeq+12t0αcαiδNα(0)qj[(τ12)αcαicαj(t0+cαkqk)Nαeq]+qj[ταcαicαjδNα(0)]=αcαiδNα(1)(60)

Using definitions in Eq. 32, Nαeq=Jfαeq, and Eq. 47, Eq. 60 can be equivalently expressed as

t1(JρUi)+12t0(Jρa(0),i)qj[(τ12)αcαicαj(t0+cαkqk)Nαeq]+qj[ταcαicαjδNα(0)]=Jρa(1),i(61)

where in the above we have defined Jρa(1),iαcαiδNα(1).

Now let us examine the forcing terms Jρa(0),i and Jρa(1),i. Recall from the momentum conservation condition, the overall forcing term in Eq. 12 is given by Eq. 28, that is

αcαiδNα(q,t)=J(q)Fi(q,t)

with JFi given by Eq. 27,

J(q)Fi(q,t)=12αcαj{Θji(q+cα,q)Nα(q,t)Θji(qcα,q)Nα(q,t)}(62)

where Θji(q+cα,q) is defined in Eq. 11. Taking the continuum limit, we have for the leading order of Θji(q+cα,q)

Θji(q+cα,q)[gj(q+cα)gj(q)]gi(q)cαkgj(q)qkgi(q)(63)

Similarly,

Θji(qcα,q)[gj(qcα)gj(q)]gi(q)cαkgj(q)qkgi(q)(64)

Consequently, when substitute Eqs 63, 64 in Eq. 62, we obtain, to the leading order

J(q)Fi(q,t)=12Γjki(q)αcαjcαk[Nα(q,t)+Nα(q,t)](65)

where

Γjki(q)gj(q)qkgi(q)(66)

is the Christoffel symbol as defined in differential geometry [13]. Also in the above, the relationship Eq. 22 is used, namely

Nα(q+cα,t+1)=Nα(q,t)(67)

Furthermore, since

Nα(q+cα,t+1)Nα(q,t)+(t0+cαkqk)Nα(q,t)

we have from Eq. 65 the following

αcαiδNα(q,t)=J(q)Fi(q,t)=Γjki(q)αcαjcαkNα(q,t)12Γjki(q)αcαjcαk(t0+cαlql)Nα(q,t)(68)

Comparing terms of the same order in ϵ, we recognize that

αcαiδNα(0)=Jρa(0),i=ΓjkiαcαjcαkNαeq(69)

and

αcαiδNα(1)=Jρa(1),i=ΓjkiαcαjcαkNα(1)(70)
12Γjkiαcαjcαk(t0+cαlql)Nαeq(71)

Replacing Nα(1) with that in Eq. 40, with the use of property Eq. 57 and after some straightforward algebra, Eq. 71 becomes

αcαiδNα(1)=Jρa(1),i=Γjki{(τ12)αcαjcαk(t0+cαlql)NαeqταcαjcαkδNα(0)}(72)

From the definition Eqs 52, 69, we see that

Jρa(0),i=ΓjkiJΠjk,eq(73)

Similarly, let us also define

JΠij,neq(τ12)αcαicαj(t0+cαkqk)Nαeq+ταcαicαjδNα(0)=(τ12)[t0(JΠij,eq)+qk(JQijk,eq)]+ταcαicαjδNα(0)(74)

where

JQijk,eqαcαicαjcαkNαeq(75)

Hence, from Eq. 72, we have

Jρa(1),i=ΓjkiJΠjk,neq(76)

Taking Eq. 73 to Eq. 53, we have for the leading order the equation below

t0(JρUi)+qj(JΠij,eq)+ΓjkiJΠjk,eq=0(77)

On the other hand, taking Eqs 74, 76 to Eq. 61, we get in the viscous order

t1(JρUi)+12t0(Jρa(0),i)+qj(JΠij,neq)+ΓjkiJΠjk,neq=0(78)

Combining Eqs. 77, 78 together and using the definition in Eq. 48, one obtains formally the Cauchy’s transport equation, namely

t(ρU˜i)+1Jqj(JΠij)+ΓjkiΠjk=0(79)

where Πjk=Πjk,eq+Πjk,neq.

Eq. 79 can be further expressed in terms of hydrodynamic quantities. From the moment properties of the equilibrium distribution function in Eq. 32, we have

Πij,eq=gijρT0+ρU˜iU˜j(80)

which has exactly the same form as that from the continuum kinetic theory. On the other hand, from Eq. 74 we have

Πij,neq=(τ12)[t0Πij,eq+1Jqk(JQijk,eq)]+τJαcαicαjδNα(0)(81)

where, from Eq. 32, Πij,eq is given by Eq. 80 and Qijk,eq is given below

Qijk,eq=[gijU˜k+gjkU˜i+gkiU˜j]ρT0+ρU˜iU˜jU˜k(82)

which has exactly the same form as that from the continuum kinetic theory. However, the term ταcαicαjδNα(0) needs to be further evaluated in terms of the hydrodynamic quantities.

From Eqs 29, 30, we have

αcαicαjδNα(q,t)=J(q)[δΠij(q,t)+δΠji(q,t)](83)

with

δΠij(q,t)12(112τ)αcαjcαk[Θki(q+cα,q)Θki(qcα,q)]fαeq(q,t)(84)

Taking the long wave length limit, Eq. 84 in the continuum limit becomes

δΠij(q,t)(112τ)Γkli(q)αcαjcαkcαlfαeq(q,t)=(112τ)Γkli(q)Qjkl,eq(q,t)(85)

Therefore,

ταcαicαjδNα(0)=(τ12)J(q)[Γkli(q)Qjkl,eq(q,t)+Γklj(q)Qikl,eq(q,t)](86)

So we finally obtain from Eq. 81 that

Πij,neq=(τ12){t0Πij,eq+1Jqk(JQijk,eq)+[Γkli(q)Qjkl,eq+Γklj(q)Qikl,eq]}(87)

with Πij,eq and Qijk,eq given by Eqs 80, 82.

Substituting Eqs 80, 87 into Eq. 79, comparing with eqn (B.9) in Supplementary Appendix SA2, together with the definitions of Eqs 80, 82 (having the same forms as that from the continuum kinetic theory), we finally arrive at exactly the same form as derived out of a continuum kinetic theory in curvilinear coordinates. The only difference between the two is that the collision time τ is replaced by (τ1/2) here. The rest of derivation for obtaining the Navier-Stokes hydrodynamics is a straightforward algebra and is no different from that of the continuum kinetic theory in curvilinear coordinates (provided in Supplementary Appendices SA1, SA2). Notice, same as the derivation in the continuum kinetic theory, in Eq. 87 the 0th order time derivative term t0Πij,eq is to be replaced by the leading (Euler) order equations on the right hand sides of Eqs 43, 77. Without repeating the rest of algebra, here we present the final form - the Navier-Stokes equation in a general curvilinear coordinate system,

t(ρU˜i)+1Jqj(JρU˜iU˜j)+ΓjkiρU˜jU˜k=gijpqj+1Jqj(2JμSij)+2ΓjkiμSjk(88)

where the pressure p=ρT0, μ=(τ1/2)ρT0, and

Sij=12[U˜i|kgkj+U˜j|kgki]

with the standard covariant derivative of the velocity component defined as

U˜i|kU˜iqk+ΓkliU˜l

Using the standard definitions of differential operators in differential geometry [13], we can recognize that Eq. 88 is indeed the familiar Navier-Stokes equation in a generic coordinate-free operator representation,

t(ρu˜)+(ρu˜u˜)=p+(2μS)(89)

4 Discussion

In this paper, we present a theoretical formulation of lattice Boltzmann models in a general curvilinear coordinate system. The formulation is an application of the Riemannian geometry for kinetic theory [14] to discrete space and time. Unlike some previous works [1618], here we use a volumetric representation so that conservation laws are exactly ensured [11]. Furthermore, in the current formulation, we find that the main and the only additional source term in the extended LBM model is corresponding to the inertial force to ensure the exact momentum conservation in the underlying Euclidean space. This is the same as in the continuum kinetic theory. On the other hand, this forcing term needs to be applied at an appropriate discrete time in order to realize the correct viscous fluid effect associated with non-equilibrium physics. The equilibrium distribution function also needs to be properly modified that is directly analogous to the Maxwell-Boltzmann distribution on a curved space. Unlike the previous formulations [1618], there are no other terms or treatments added to cancel any discrete artifacts. Through a detailed analysis, we have shown that the current LBM formulation recovers the correct Navier-Stokes behavior in the hydrodynamic limit, as long as a discrete lattice velocity set satisfying a sufficient order of isotropy is used. Extensive numerical validations of this extended LBM for various flows on various curvilinear meshes are to be presented in future publications. The main benefit of this kind of theoretical formulation in a general curvilinear coordinate system is its preservation of the key LBM one-to-one Lagrangian nature of particle advection. Not only this is desirable in algorithmic simplicity, as a standard LBM on a Cartesian lattice, it also has non-trivial implications for flows at finite Knudsen number [79]. Although the specific LBM model constructed here is for an isothermal fluid, the fundamental framework is directly extendable to more general fluid flow situations. Possible extensions in the future may include transport of scalars, complex fluids, finite Knudsen flows, as well as higher speed flows with energy and temperature dynamics in curved space. The latter is essential for study of highly compressible flows and flows with substantial temperature variations. Another interesting possible extension of the current theoretical formulation in the future is for a time varying coordinate system. This is useful particularly for studying of fluid flows around a dynamically deforming solid object.

Data Availability Statement

The original contributions presented in the study are included in the article/Supplementary Material, further inquiries can be directed to the corresponding author.

Author Contributions

The author confirms being the sole contributor of this work and has approved it for publication.

Conflict of Interest

Author HC was employed by the company Dassault Systemes.

Acknowledgments

I am grateful to Raoyang Zhang, Pradeep Gopalakrishnan, Ilya Staroselsky and Alexei Chekhlov for insightful discussions.

Supplementary Material

The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fams.2021.691582/full#supplementary-material

References

1. Benzi, R, Succi, S, and Vergassola, M. The Lattice Boltzmann Equation: Theory and Applications. Phys Rep (1992). 222:145–97. doi:10.1016/0370-1573(92)90090-m

CrossRef Full Text | Google Scholar

2. Chen, S, and Doolen, GD. Lattice Boltzmann Method for Fluid Flows. Annu Rev Fluid Mech (1998). 30:329–64. doi:10.1146/annurev.fluid.30.1.329

CrossRef Full Text | Google Scholar

3. Huang, K. Statistical Mechanics. 2nd ed. India: John Wiley (1987).

4. Cercignani, C. The Boltzmann Equation and its Applications. New York: Springer-Verlag (1975).

5. Qian, YH, D'Humières, D, and Lallemand, P. Lattice BGK Models for Navier-Stokes Equation. Europhys Lett (1992). 17:479–84. doi:10.1209/0295-5075/17/6/001

CrossRef Full Text | Google Scholar

6. Chen, H, Goldhirsch, I, and Orszag, SA. Discrete Rotational Symmetry, Moment Isotropy, and Higher Order Lattice Boltzmann Models. J Sci Comput (2008). 34:87–112. doi:10.1007/s10915-007-9159-3

CrossRef Full Text | Google Scholar

7. Shan, X, Yuan, X-F, and Chen, H. Kinetic Theory Representation of Hydrodynamics: a Way beyond the Navier-Stokes Equation. J Fluid Mech (2006). 550:413. doi:10.1017/s0022112005008153

CrossRef Full Text | Google Scholar

8. Chen, H, Zhang, R, Staroselsky, I, and Jhon, M. Recovery of Full Rotational Invariance in Lattice Boltzmann Formulations for High Knudsen Number Flows. Physica A: Stat Mech its Appl (2006). 362:125–31. doi:10.1016/j.physa.2005.09.008

CrossRef Full Text | Google Scholar

9. Zhang, R, Chen, H, and Shan, X. Efficient Kinetic Method for Fluid Simulation beyond the Navier-Stokes Equation. Phys Rew. E (2006). 74:046703. doi:10.1103/physreve.74.046703

PubMed Abstract | CrossRef Full Text | Google Scholar

10. He, X, Luo, L-S, and Dembo, M. Some Progress in Lattice Boltzmann Method Part I Nonuniform Mesh Grids. J Comput Phys (1996). 129:357–63. doi:10.1006/jcph.1996.0255

CrossRef Full Text | Google Scholar

11. Chen, H. Volumetric Formulation of the Lattice Boltzmann Method for Fluid Dynamics: Basic Concept. Phys Rev E (1998). 58:3955–63. doi:10.1103/physreve.58.3955

CrossRef Full Text | Google Scholar

12. Barraza, JAR, and Dieterding, R. Towards a Generalised Lattice-Boltzmann Method for Aerodynamic Simulations. J Comput Phys (2019). 45:101182. doi:10.1016/j.jocs.2020.101182

Google Scholar

13. Aris, R. Vectors, Tensors, and the Basic Equations of Fluid Mechanics. New York: Dover (1962).

14. Vedenyapin, V, Sinitsyn, A, and Dulov, E. Kinetic Boltzmann, Vlasov and Related Equations. London: Elsevier (2011).

15. Love, PJ, and Cianci, D. From the Boltzmann Equation to Fluid Mechanics on a Manifold. Phil Trans R Soc A (2011). 369:2362–70. doi:10.1098/rsta.2011.0097

PubMed Abstract | CrossRef Full Text | Google Scholar

16. Mendoza, M, Debus, J-D, Succi, S, and Herrmann, HJ. Lattice Kinetic Scheme for Generalized Coordinates and Curved Spaces. Int J Mod Phys C (2014). 25:1441001. doi:10.1142/s0129183114410010

CrossRef Full Text | Google Scholar

17. Debus, J-D, Mendoza, M, and Herrmann, HJ. Dean Instability in Double-Curved Channels. Phys Rev E (2014). 90:053308. doi:10.1103/physreve.90.053308

PubMed Abstract | CrossRef Full Text | Google Scholar

18. Debus, J-D, Mendoza, M, Succi, S, and Herrmann, HJ. Poiseuille Flow in Curved Spaces. Phys Rev E (2016). 93:043316. doi:10.1103/physreve.93.043316

PubMed Abstract | CrossRef Full Text | Google Scholar

19. Chen, H, and Shan, X, Fundamental Conditions for N-Th-Order Accurate Lattice Boltzmann Models, Physica D 237, issues: 14-17, 2003–8. (2007). doi:10.1016/j.physd.2007.11.010

Google Scholar

20. Chen, H, Teixeira, C, and Molvig, K. Digital Physics Approach to Computational Fluid Dynamics: Some Basic Theoretical Features. Intl J Mod Phys C (1997). 9(8):675. doi:10.1142/s0129183197000576

CrossRef Full Text | Google Scholar

21. Frisch, U, D’Humieres, D, Hasslacher, B, Lallemand, P, Pomeau, Y, and Rivet, JP. Lattice Gas Hydrodynamics in Two and Three Dimensions. Complex Syst (1987). 1:649–707.

Google Scholar

22. Chen, S, Chen, H, Martnez, D, and Matthaeus, W. Lattice Boltzmann Model for Simulation of Magnetohydrodynamics. Phys Rev Lett (1991). 67:3776–9. doi:10.1103/physrevlett.67.3776

PubMed Abstract | CrossRef Full Text | Google Scholar

23. Chen, H, Chen, S, and Matthaeus, W. Recovery of the Navier-Stokes Equations Using a Lattice-Gas Boltzmann Method. Phys.Rev A (1992). 45:5339–42. doi:10.1103/physreva.45.r5339

CrossRef Full Text | Google Scholar

24. Bhatnagar, PL, Gross, EP, and Krook, M. A Model for Collision Processes in Gases fsI Small Amplitude Processes in Charged and Neutral One-Component Systems. Phys Rev (1954). 94(3):511–25. doi:10.1103/physrev.94.511

CrossRef Full Text | Google Scholar

25. Latt, J, and Chopard, B. Lattice Boltzmann Method with Regularized Pre-collision Distribution Functions. Math Comput Simulat (2006). 72(2-6):165. doi:10.1016/j.matcom.2006.05.017

CrossRef Full Text | Google Scholar

26. Chen, H, Gopalakrishnan, P, and Zhang, R. Recovery of Galilean Invariance in thermal Lattice Boltzmann Models for Arbitrary Prandtl Number. Int J Mod Phys C (2014). 25(10):1450046. doi:10.1142/s0129183114500466

CrossRef Full Text | Google Scholar

27. Chen, H, Zhang, R, and Gopalakrishnan, P. Filtered Lattice Boltzmann Collision Formulation Enforcing Isotropy and Galilean Invariance. Phys Scr (2020). 95:034003. doi:10.1088/1402-4896/ab4b4d

CrossRef Full Text | Google Scholar

28. Chapman, S, and Cowling, T. The Mathematical Theory of Non-uniform Gases. 3rd ed. Cambridge: Cambridge Univ. Press (1990).

Keywords: lattice Boltzmann methods, curvilinear coordinates, Riemann geometry, hydrodynamics, non-equilibrium phenomena

Citation: Chen H (2021) Volumetric Lattice Boltzmann Models in General Curvilinear Coordinates: Theoretical Formulation. Front. Appl. Math. Stat. 7:691582. doi: 10.3389/fams.2021.691582

Received: 06 April 2021; Accepted: 10 May 2021;
Published: 16 June 2021.

Edited by:

Snezhana I. Abarzhi, University of Western Australia, Australia

Reviewed by:

Semion Sukoriansky, Ben-Gurion University of the Negev, Israel
Xiaobo Nie, Halliburton, United States

Copyright © 2021 Chen. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Hudong Chen, aHVkb25nLmNoZW5AM2RzLmNvbQ==

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.