• Keine Ergebnisse gefunden

Asymptotic expansion for nonlinear LBM

2.4 Boundary condition

3.1.1 Asymptotic expansion for nonlinear LBM

3.1.1 Asymptotic expansion for nonlinear LBM

In order to removethe zeroth order of the residue (3.12), we have to find a functionf(0) which satisfies

A(feq,(0)(f(0))−f(0)) = 0. (3.20) We can easily verify that equation (3.20) and

f(0) =feq,(0)(f(0)) (3.21)

are equivalent. In fact, any solution of (3.21) satisfies the problem (3.20). On the other hand, multiplying (3.20) withA from the left and usingAA=P as well as the equality (3.19), we obtain equation (3.21). Notice that

f(0) =FL0,u0) +FQ(u0,u0) (3.22) with anyρ0 and u0 is a solution of equation (3.21). In view ofρ0=h1,f(0)i= ρ0,u0 =h1,Vf(0)i=u0, the functionsρ0,u0 are actually the momentsρ0,u0 of f(0). We conclude that defining f(0) according to (3.22) together with any arbitrarily prescribedρ00 andu0=u0 removes the zeroth order residue in (3.12).

Next, to removethe first order term in residue (3.12), the equation A

feq,(1)(f(0),f(1))−f(1)

−ξ(1)(f(0)) = 0 (3.23) must be fulfilled by some f(1). We first prove that a necessary and sufficient condition to solve (3.23) is

h1,ξ(1)(f(0))i= 0, h1,Vξ(1)(f(0))i= 0. (3.24) Since A is symmetric and has a kernel with basis {1, v1, . . . ,vd}, it follows from (3.23) that

h1,ξ(1)(f(0))i= 0, hvα(1)(f(0))i= 0, (3.25) i.e.,ξ(1)(f(0)) must be orthogonal to the kernel ofA. Moreover, (3.25) is equiv-alent to (3.24) by applying (2.15), hence (3.24) is a necessary condition to solve (3.23).

On the other hand, if (3.24) holds, it follows that

(1)(f(0)) =ξ(1)(f(0)), Qξ(1)(f(0)) = 0, (3.26) so that any solution of

f(1) =feq,(1)(f(0),f(1))−Aξ(1)(f(0)) (3.27) satisfies equations (3.23). This can be easily verified by inserting (3.27) into (3.23) and applying (3.26) as well asAA =P. Conversely, solutions of (3.23)

satisfy (3.27) too, which is a consequence of (3.19) as well as AA = P and (3.26).

Based on (3.27), we can define f(0) and f(1). To see this, we first notice that (3.24) is equivalent to partial differential equations for u0 and ρ0 by taking (3.21) andξ(1)(f(0),f(1)) = (V· ∇)f(0) into account. They are

h1,ξ(1)(f(0))i=∇ ·u0= 0,

h1,Vξ(1)(f(0))i=c2s∇ρ0+ (u0· ∇)u0 = 0. (3.28) Assuming we have momentsu0andρ0satisfying (3.28), and arbitrary functions u1 and ρ1, thenf(1) defined by

f(1) =FL1,u1) +FQ(u0,u1)−Aξ(1)(f(0)) (3.29) satisfies (3.23). This is checked by direct computation using (3.7) and (3.8).

Hence (3.24) is also a sufficient condition to findf(1).

We stress that the necessary and sufficient condition to solve (3.23) for f(1) gives a constraint on the lower order moments. More preciselyf(0) is restricted by equation (3.22) with the moments u0 and ρ0 governed by (3.28). In the following, we choose a particular solution of (3.28),

u0 = 0, ρ0 ≡ρ¯0, ρ¯0 is a constant, (3.30) which turns out to be compatible with the regime in which lattice Boltzmann algorithms are usually applied. In fact, a relation to the incompressible Navier-Stokes equation is only obtained in this regime. Hence

f(0) = ¯ρ0f (3.31)

is constant intandx, so that the derivative terms ofu00 andf(0) disappear in the residue (3.12) and the functions ξ(k) are actually independent of f(0). For f(1) defined in (3.29) which removes the 1st order residue in (3.12), it has the consequence

f(1)=feq,(1) =fL(1). (3.32)

Next, we remove the second order term in residue (3.12). f(2) is required to satisfy

A

feq,(2)(f(0),f(1),f(2))−f(2)

−ξ(2)(f(0),f(1)) = 0, (3.33) ξ(2)(f(0),f(1)) = (V· ∇)f(1). (3.34) Proceeding as above, we find that a sufficient and necessary condition to solve (3.33) for f(2) is

h1,ξ(2)(f(1))i= 0, h1,Vξ(2)(f(1))i= 0, (3.35) which are actually equations for the moments ρ1 and u1,

∇·u1= 0, ∇ρ1= 0. (3.36)

3.1.1 Asymptotic expansion for nonlinear LBM 27 At this point, we restrict our considerations to expansions with a constant ρ1 = ¯ρ1. It turns out, that these expansions are still flexible enough to describe the behavior of the lattice Boltzmann solutions to high orders. (In contrast, settingu1 to be zero would generally stall the expansion at order 3).

In addition, under the condition (3.35), equation (3.33) is equivalent to f(2) =feq,(2)(f(0),f(1),f(2))−Aξ(2)(f(0),f(1)). (3.37) Prescribing arbitrary values of ρ2 and u2, and restricting ρ1 = ¯ρ1 and u1 following the equations (3.36), we can define

f(2)=FL2,u2) +FQ(u1,u1)−Aξ(2)(f(0),f(1)). (3.38) which satisfies (3.37). As a result, the second order term in the residue (3.12) is removed.

Continuing to removethe third order term in the residue (3.12), we seek f(3) to satisfy

A(feq,(3)(f(0), . . . ,f(3))−f(3))−ξ(3)(f(0),f(1),f(2)) = 0, ξ(3)(f(0),f(1),f(2)) = (V· ∇)f(2)+1

2(V· ∇)2f(1)+∂tf(1)−g. (3.39) Again we find a sufficient and necessary condition to solve (3.39)

h1,ξ(3)(f(1),f(2))i= 0, h1,Vξ(3)(f(1),f(2))i= 0. (3.40) We first note that

h1,(V· ∇)2f(1)i=∇ ⊗ ∇:p(1) =c2s2ρ1 = 0,

wherep(1)=h1,V⊗Vf(1)i, and the equation (3.36) forρ1 is applied. Due to the symmetry ofVand f

h1,Vfi=0, h1,gi=c−2s G· h1,Vfi= 0, so that the actual form of the first equation in (3.40) is

∇·u2= 0. (3.41)

Let us see the second equation in (3.40) which gives

tu1+∇·p(2)+1

2h1,V(V· ∇)2f(1)i=G. (3.42) with p(2) = h1,V⊗Vf(2)i. Applying (2.28) to the second order derivative term, we obtain

h1,V(V· ∇)2f(1)i=c2s2u1. (3.43) Proceeding further we need to know p(2) which is based on the second order coefficient

f(2) =FL2,u2) +FQ(u1,u1)−A(V· ∇)fL(1). (3.44)

Taking∇ρ1 = 0 into account and introducing the symmetric part of the velocity derivative

S[u] = (∇u+∇uT)/2, (3.45)

we find

A(V· ∇)f(1) =c−2s S[u1] :A(V⊗Vf). (3.46) Since the trace of S[u1] equals 2∇·u1 which vanishes due to the incom-pressibility condition in (3.36), V⊗V can be replaced by its traceless part Λ =V⊗V− |V|2/dI. Applying the property (iv) ofA, we have

A(V· ∇)f(1)=µc−4s S[u1] : Λf, (3.47) which gives the last term on the right hand side of (3.44) a more explicit form.

In view of (2.28), (2.32) and (2.35), we can now computep(2) from (3.44) which gives rise to

p(2) =c2sρ2I+u1⊗u1−2µS[u1]. (3.48) With substitution of (3.43) and (3.48) into (3.42), the second equation in (3.40) is also reformulated to an explicit form.

In summary, the sufficient and necessary condition (3.40) is equivalent to the equations

∇·u2= 0,

tu1+u1· ∇u1+c2s∇ρ2 =ν∆u1+G, (3.49) where we have used the definition

µ=ν+1 2c2s. The function f(3) has to be a solution of

f(3) =fL(3)+fQ(3)−Aξ(3)(f(0),f(1),f(2)). (3.50) To obtain a specific form of the possible solutions to (3.50), we assume thatρ1=

¯

ρ1is constant, and thatu1andc2sρ2solve our target problem, the incompressible Navier-Stokes equation (2.1). Further, we choose a divergence free field u2 in the definition of f(2). Thenξ(3) and fQ(3) can be computed and we set

f(3)=FL3,u3) +FQ(u1,u2)−Aξ(3)(f(1),f(2)) (3.51) with arbitrary values ofρ3as well asu3, which is a solution of (3.50) and hence satisfies (3.39). In this way, also the third order term is removed.

As forthe fourth order residue,f(4) is searched so that

A(feq,(4)(f(0), . . . ,f(4))−f(4))−ξ(4)(f(0), . . . ,f(3)) = 0. (3.52) The sufficient and necessary condition to solve (3.52) is consequently

h1,ξ(4)i= 0, h1,Vξ(4)i= 0, (3.53)

3.1.1 Asymptotic expansion for nonlinear LBM 29

which is equivalent to the equation governing the moments ρ3 andu3,

∇·u3=−c2stρ2−1

2∇·G, (3.54)

tu2+ (u1· ∇)u2+u2· ∇u1+c2s∇ρ3 =ν△u2. (3.55) With arbitrary values of ρ4 and u4, and ρ3, u3 as well as u2 determined by (3.54),(3.55), (3.41) and the other already known lower order moments, the functionf(4) is defined by

f(4)) =FL4,u4) +FQ(u1,u3) +FQ(u2,u2)−Aξ(4)(f(0), . . . ,f(3)). (3.56) It solves the equation

f(4) =feq,(4)(f(0), . . . ,f(4))−Aξ(4)(f(0),f(2),f(3)) and removes the 4th order term in (3.12).

Going tothe 5th order termin the residue (3.12), we definef(5) by

f(5)=FL5,u5) +FQ(u1,u4) +FQ(u2,u3)−Aξ(5)(f(0), . . . ,f(4)), (3.57) in whichρ5 andu5 are taken arbitrarily andρ4,u3 as well asu4 are controlled by the following equations

tu3+u1· ∇u3+u3· ∇u1+c2s∇ρ4 =ν△u3+R (3.58)

∇·u4= 0 (3.59)

with

R= (∂tρ2+ 1

2∇·G)u1+B1G+B2u1+B3ρ2+B4u1⊗u1

+B5ρ3+B6u2+B7u2⊗u2. Here B1, B2, B3, B4, B5, B6 are higher order differential operators: B1 and B5 are linear combinations of∂tand∇2,B2 is a linear combination of∂ta(∇)b with 2a+b= 4, andB3,B4 andB6 are linear combinations of∂ta(∇)b with 2a+b= 3; B7 is a first order spatial derivative operator. The related combination parameters depend on the constant equilibrium f and the linear mappingA.

Because they act on the solution (u, p) = (u1, c2sρ2) and the data G of the target Navier-Stokes problem, R plays the role of an explicitly given source term in the equation foru3.

Successively we could define higher order coefficientsf(m) to remove the higher order residues. As a result, similar equations for the higher order momentsρm

and um of f(m) appear. The emerging source terms in their equations depend on the temporal and spatial derivatives of the lower order moments and the force like (3.54), (3.58) foru3.

It is remarked that the missing information on initial and boundary conditions for u1, ρ2, u2, ρ3, u3 and ρ4 as well as the other moments will follow from corresponding parts of the lattice Boltzmann algorithm. The smoothness of

these moments is determined by the regularity of the initial and boundary values and source terms in the corresponding differential equations. In particular,f(m) are smooth enough if these data are sufficiently smooth.

It is noted that in view of u0= 0, ρ0 = ¯ρ01= ¯ρ1, the moments of the lattice Boltzmann solution have the expansions

ˆ

u=hu1+h2u2+h3u3+. . . , (3.60) ˆ

ρ= ¯ρ0+h¯ρ1+h2ρ2+h3ρ3+. . . . (3.61) In case u2 6= 0, only a first order accurate Navier-Stokes velocity can be ex-tracted from the numerical solution

u= 1

huˆ−hu2−h2u3+. . . . (3.62) In case thatu2 has irregular initial or boundary values,f(2) cannot be regular, so that ρ2 is expected to be not smooth either. Consequently, we expect the numerical result to be inconsistent to the Navier-Stokes pressure.

Further, we note that the first order error term u2 in velocity is controlled by a homogeneous generalized Oseen problem ((3.41), (3.55)). Therefore u2 = 0 is the solution if the initial and boundary values of u2 are zero, so that the velocity field of the Navier-Stokes equation is approximated with a second order accuracy.

As for the pressure, the value of ρ3 behaves as the first order error term. In case that irregular initial or boundary values of ρ3 or u3 can not be avoided, f(3) has no regularity in return. Therefore we expect that the pressure can be obtained from the numerical solution by

p= c−2s

h2 (ˆρ−ρ¯0−h¯ρ1)−hc−2s ρ3+. . . , (3.63) with at most first order accuracy. On the other hand, when a smooth f(3) is obtained and if ρ3 is also accompanied with zero initial values, we find ρ3 = 0 so that a second order accurate pressure field can be extracted from the lattice Boltzmann solution too.

The next higher order errors u3 and ρ4 are determined again by equations of Oseen type ((3.54) and (3.58)). Introducing a field ¯u3 = ∇ϕ−G/2 where ϕ satisfies the equation ∆ϕ=−∂tρ2, we can rewrite theu3-equation as equation for the incompressible field w = u3−u¯3 (for details see [46]). This equation can then be solved with zero initial value for w and eventually yields u3 and ρ4. But sinceR in generally not zero, the solutions u3 and ρ4 can not be zero and thus lead to non-trivial error terms. Moreover, the velocity erroru3 is not incompressible (see equation (3.54)) which actually reflects the compressibility error of the lattice Boltzmann scheme. As a result, the accuracy of the Navier-Stokes solutions extracted from the moments of the lattice Boltzmann solution is restricted by 2nd order for both velocity and pressure.

3.1.1 Asymptotic expansion for nonlinear LBM 31

In summary, we have the following list of possible accuracy constellations Table 3.1: Possible accuracy of Navier-Stokes solutions extracted from the mo-ments of lattice Boltzmann solution.

expected accuracy of (u,p) cases

1, 0 u2 6= 0 andρ2 irregular 2, 1 u2 = 0 andρ3 irregular 2, 2 u2 = 0 andρ3= 0

For a more careful discussion of possible accuracy orders we refer to section 3.3 and section 3.5.

From the above information, the first several f(k) (k ≤ 5) in (3.1) can be defined under the assumption that the involved partial differential equations possess sufficiently smooth solutions.

In particular, the coefficients with trivial lower order momentsρ0= ¯ρ0,u0 = 0 and ρ1 = ¯ρ1 are of our special interest, which render (u1 =u,c2sρ2 =p) to be the solution of the impressible Navier-Stokes problem (2.1), (u23) to be the solution of equation (3.41), (3.55), and (u3,c2sρ4) to satisfy the equation (3.54), (3.58). We set u5 = 0, ρ5 = 0 and u4 = 0 as simple, specific choice. Using these moments in the formula of

f(m) =FLm,um) + X

k+l=m

FQ(uk,ul)−Aξ(m), m= 1, . . . ,5, we arrive at the definition of the first five coefficients in the expansion (3.1) for the nonlinear lattice Boltzmann solutions:

f(0)= ¯ρ0f; Combining them, we thus obtain a truncated asymptotic expansion of the lattice Boltzmann solutions

fˆ(n,j) =f(0)(tn,xj) +hf(1)(tn,xj) +· · ·+h5f(5)(tn,xj). (3.65)

Due to the construction, the truncated expansion fˆremoves the residue terms in (3.10) up to orderh5 and thus satisfies the lattice Boltzmann update rule up to terms of orderh6. We summarize this result in the following theorem.

Theorem 1 Assume that solutions u, p of the Navier-Stokes equation (2.1), solutionsu2, ρ3 of (3.41),(3.55) and solutionsu3, ρ4 of (3.54),(3.58) have the following regularity

u∈C5([0, T],Ω),¯ p∈C4([0, T],Ω),¯

u2 ∈C4([0, T],Ω),¯ ρ3 ∈C3([0, T],Ω),¯ u3 ∈C3([0, T],Ω),¯ ρ4 ∈C2([0, T],Ω),¯ then the prediction function fˆdefined by (3.65) and (3.64) together with arbi-trary constants ρ¯0 and ρ¯1 satisfies

i(n+ 1,j+ci) = ˆfi(n,j) +Ji( ˆf)(n,j) +gi(n,j) + ˆri(n,j) (3.66) at any node xj ∈Ω withxj+hci ∈Ω and there is a h−independent constant κ≥6 such that

|rˆi(n,j)|=O(hκ), nh2≤T. (3.67) The proof is very straightforward. Inserting the prediction ˆf into the scheme (2.20) and using Taylor’s theorem at (tn,xj) for each fi(k), k= 1, . . . ,5, with the Lagrange form of the truncation error at order 6−k, we find the uniformly bounded expression

ˆ

ri(n,j) =h6

5

X

k=1

D6−kfi(k)(tξk,i(n),xηk,i(j)), (3.68) withtξk,i(n) =tnk,ih2, ξk,i∈[0,1] andxηk,i(j) =xjk,ihci, ηk,i ∈[0,1].