• Keine Ergebnisse gefunden

lattice-Boltzmann algorithm

4.3 Construction of consistent population functions

In this section we show by an explicit construction, that functions being consistent to the lattice-Boltzmann equation of arbitrarily high order do exist if we assume sufficient regularity of the solution to the target problem. In order to avoid the impression, that these consistent functions appear out of hot air we point out that the construction is strongly motivated by the results of the formal analysis. In fact, these approximate population functions are obtained by truncating the asymptotic expansion.

Before we formulate the smoothness requirements and describe the construction process, we state the following preparatory lemma.

Lemma 4.4. Let f ∈Cn+1([0, T]×R/LR,R) and 0≤ |h| ≤1, then:

The truncated Taylor series is split into two sums, where the indices β, γ are sup-posed to be non-negative. The second sum is abbreviated by Sn.

Sn = X addends. However, we estimateSnsimply by dropping the restriction 2β+γ ≥n+1 and adding up all derivatives of order ≤n.

|Sn| ≤ |h|n+1 X

4.3. Construction of consistent population functions 179

Estimating Rn yields:

|Rn| ≤ |h|n+1 X

β+γ=n+1

|∂tβxγf(θ, ξ)|

≤ |h|n+1 X

β+γ=n+1

k∂tβxγfkC0 = |h|n+1 |f|Cn+1

Since

f(t+h2, x+h) − Xn k=0

hkTk(∂t, ∂x)f(t, x) = Sn + Rn

the assertion follows by taking the modulus, applying the triangle inequality on the right hand side, using the estimates for Rn and Sn and observing, that kfkCn+1 =

kfkCn + |f|Cn+1.

Existence and Smoothness Hypothesis: Let α ∈ N0 be given. Consider the target problem with the initial and source functions

w∈C2α+4(R/LR,R) g∈C2α+2([0, T]×R/LR,R). (4.31) We assume, that there exist functionsu(0), u(2), ..., u(2α) with

u(2β) ∈C2β+4([0, T]×R/LR,R) β∈ {0,1, ..., α} (4.32) being solutions to the following coupled initial value problems (cf. eqn. (4.19)).

u(2β)(0,·) = w δ (4.33)

tu(2β)+ a∂x1θ(τ −12)

| {z }

x2+c

u(2β) = EXT(2β)+ LOW(2β) (4.34)

Here δ denotes the Kronecker-delta. The two source terms are given by:

LOW(2α) :=

α1

X

β=0

h

ωhP2(αβ+1)i + ωaθhsP2(αβ)+1i − chP2(αβ)ii u(2β) EXT(2α) := hPig

We suppose, that the algorithmic parametersθ, τ are related to the diffusivity ν of the target problem according to (4.7). Then u(0) is just the solution of the target problem (4.1). Furthermore let us define

u(2α+2) ≡0, u(2β+1) ≡0 β ∈ {0,1, ..., α+ 1}. For ease of notation we set u(1)≡0 andu(2) ≡0.

Remark 4.4. The smoothness hypothesis is motivated by the pragmatic reason, to obtain the main result (theorem 4.2) in classical sense. Since the polynomials defined by (4.15) mix time and space derivatives, we do not want to distinguish between temporal and spatial regularity. Apart from this, however, we do not

assume more regularity than necessary. In particular, the smoothness hypothesis guarantees, that the terms on the right hand side of (4.34) keep their classical meaning. It has to be checked separately, whether the required regularity of the data really implies the assumed regularity of the u(2β)’s by successively solving the initial value problem (4.33),(4.34). Using the regularizing effect of the diffusive term (second derivative), the assumption may be relaxed; but we do not enter this issue here.

Due to the regularity assumption concerninggand theu(2β)’s we can construct the following functions f(n) forn∈ {0,1, ...,2α+ 3}

f(n) :=

Xn k=0

Pnk(τ, ∂t, S∂x)E(k) + τ Pn2gw, (4.35) whereE(k) abbreviates D(u(k)) +A(u(k1)) +R(u(k2)). It should be noticed, that the degree of the polynomialPnkisn−k. So, the highest (possibly mixed) deriva-tive contained in Pnk(τ, ∂t, S∂x) is of order n−k≤2α+ 3−k. Since it is applied to u(k)∈Ck+4,u(k1) ∈Ck+5 andu(k2) ∈Ck+6 the sum is well defined.

Likewise, as we have assumed g ∈ C2α+2, the highest derivative acting on g and being of order 2α+ 1, also exists in the classical sense. Actually, we have always presupposed one order of regularity more than necessary for the definition of the f(n)’s. This additional order is required to derive the estimate of lemma 4.6.

The approximate population function fǫ to be compared with the output of the lattice-Boltzmann algorithm is assembled by the following truncated asymptotic expansion

fǫ :=

2α+3X

n=0

f(n)ǫn, (4.36)

where the f(n)’s appear as asymptotic orders. By virtue of their construction (cf.

4.16 resp. (4.35)) it is no surprise, that they exhibit the following algebraic property becoming crucial further below.

Lemma 4.5. u(n) can be recovered from f(n) (n = 0, ...,2α + 3) by computing its zeroth moment.

X

s∈S

fs(n)=u(n)



 P

s∈Sfs(2β) = u(2β) for β ∈ {0,1, ..., α} P

s∈Sfs(2β+1) = 0 for β ∈ {0,1, ..., α+ 1} P

s∈Sfs(2α+2) = 0

Proof: For n = 0,1 the assertion can be directly verified using (4.13) and (4.14);

forn≥2 we take recourse to theorem 4.2. From the representation formula (4.35), we infer for even n = 2β + 2 and β ∈ {0,1, ..., α} by repeating the arithmetic manipulations performed already in the proof of theorem 4.2:

X

s∈S

f(2β+2)=u(2β+2)− ∂t+a∂x1θ(τ −12)∂x2+c

u(2β)+ EXT(2β)+ LOW(2β)

| {z }

=0

4.3. Construction of consistent population functions 181

Since u(2β) satisfies (4.34), the underbraced term vanishes and the assertion is ob-tained. In the same way we get for odd n = 2β + 3 and β ∈ {0,1, ..., α} the expression13,

X

s∈S

f(2β+3)=u(2β+3)− ∂t+a∂x1θ(τ −12)∂x2+c

u(2β+1)+ LOW(2β+1)

| {z }

=0

which vanishes sinceu(1)=u(3)=...=u(2α+3)= 0, thus concluding the proof.

Therefore we can write the zeroth moment offǫ uǫ := X

s∈S

fǫ,s = Xα β=0

u(2β)ǫ

as a truncated asymptotic expansion with theu(2β)’s as coefficient functions. Finally let us define the following remainder terms,

r(n)ǫ,s(t, x) := fs(n)(t+ǫ2, x+sǫ)−

2α+3Xn k=0

ǫk Tk(∂t, s∂x)fs(n)(t, x) (4.37) satisfying the following estimate.

Lemma 4.6. There exists a constant K =K(a, c, τ, θ) depending only on the pa-rameters of the target problem14, such that

2α+3X

n=0

krǫ,s(n)kC0 ǫn ≤ KXα

γ=0

ku(2γ)kC2(α−γ)+4 + kgkC2α+2

ǫ2α+4

for alls∈ S and 0≤ǫ≤1.

Proof: In order to estimate rǫ,s(2β) we apply lemma 4.4 tofs(2β). kr(2β)ǫ,s kC0 = sup

xR/LR t[0,Tǫ2]

fs(n)(t+ǫ2, x+sǫ)−

2α+3Xn k=0

ǫkTk(∂t, s∂x)fs(n)(t, x)

≤ kfs(n)kC2α+4−2β ǫ2α+4

Using the notation of (4.8), equation (4.35) is written forn= 2β withβ∈ {0, ..., α+

1} more explicitly in the following form:

f(2β) = Xβ γ=0

h

PD(2γ) + P1A(2γ) + P2R(2γ)i

+ τ P2gw

13Note, that LOW(2β+1) is a linear combination of derivatives ofu(1), ..., u(2β−1). For the exact definition see equation (4.20). In particular, LOW(2β+1) vanishes ifu(1), ..., u(2β−1)vanish.

14Recall: aadvection speed,creactivity,τ collision time,θweight parameter.

Using the triangle inequality, this leads to:

kfs(n)kC2α+4−2β ≤nXβ

γ=0

PDs(2γ)+P1A(2γ)s +P2R(2γ)s

C2α+4−2β

+ τ P2gws

C2α+4−2β

o

(4.38) Let us now simplify the right hand side by estimating it further. Since P2g contains (mixed) derivatives ofg up to order 2β−2, we see, thatkP2gkC2α+4−2β

involves derivatives up to order (2β−2) + (2α+ 4−2β) = 2α+ 2. Therefore we get kτ P2gwskC2α+4−2β ≤ G(2β)kgkC2α+2

with G(2β):=τ sum of absolute values of polynomial coefficients of P2(τ,·,·) . Similarly, we proceed with the first addend. Introducing the polynomials p(2β)s,2γ, whose coefficients depend only on the parameters a, c, τ and θ via Ds(1), As(1), Rs(1),

p(2β)s,2γ(ϑ, ς) :=

Ds(1)P2(βγ)+As(1)P2(βγ)1+Rs(1)P2(βγ)2

(τ, ϑ, ς) we define the constants K(2β) analogously to the G(2β)’s by:

K(2β) := sum of absolute values of polynomial coefficients of p(2β),2γ

So, the K(2β)’s depend also exclusively on a, c, τ and θ. In the representation of f(2β) derivatives of u(2γ) occur up to order 2β −2γ (for γ ≤ β) contained in P =P(τ, ∂t, s∂x). That is why the highest derivative of u(2γ) occurring on the right hand side of (4.38) is of order (2α+ 4−2β) + (2β−2γ) = 2α+ 4−2γ.

Hence we obtain:

PDs(2γ)+P1A(2γ)s +P2R(2γ)s

C2α+4−2β ≤ K(2β)ku(2γ)kC2α+4−2γ

So we conclude:

kr(2β)ǫ,s kC0 ≤ Xβ

γ=0

K(2β)ku(2γ)kC2α+4−2γ + G(2β) kgkC2α+2

ǫ2α+4

The casen= 2β+ 1 with β ∈ {0, ..., α+ 1} is treated in the same way, resulting in an analogous inequality:

kr(2β+1)ǫ,s kC0 ≤ Xβ

γ=0

K(2β+1)ku(2γ)kC2α+4−2γ + G(2β+1)kgkC2α+2

ǫ2α+3

Multiplying these equations byǫ resp. ǫ2β+1, adding them together and summing over β ∈ {0, ..., α+ 1} yields, after changing the order of the double summation on

4.3. Construction of consistent population functions 183 by definition. So, we obtain the assertion by choosing

K := max n2α+3X

Recalling the definition of the constants G(n) and K(n), we see that K does nei-ther depend on ǫ nor on the u(2γ)’s and g. In fact, it is only determined by the polynomials Pk (k∈ {0,1, ...,2α+ 3}) and the indicated parameters.

We are now well prepared to prove that ˆfh solves the discrete lattice-Boltzmann equation on the gridGh approximately, up to a remainder-term of order O(h2α+4) = O(Nh4).

Theorem 4.2. Suppose that the existence and smoothness hypothesis is satisfied.

May fǫ ∈ F(S ×[0, T]×R/LR,R) be constructed as described above. Then the subsequent estimate holds true for any admissible mesh-size h ∈ HL and all time steps n∈Th\ {NT(h)} with 1≤p≤ ∞.

ˆfh(n+ 1,·)−Bh(n+ 1)ˆfh(n,·)

Lp ≤ Cp h2α+4 (4.39) The constant Cp is independent of h and n

Cp := √p

where K is the constant from lemma 4.6. Thus fǫ is consistent of order 2α+ 4 to the lattice-Boltzmann equation with respect to the supremum-norm and a fortiori with the weaker Lp-norms (1≤p <∞).

For the proof of the theorem, the recursive representation formula (4.12) for the asymptotic order functions will be of great help:

f(0) = E(0), f(n) = E(n) − Xn k=1

Tkfnk + δ2nτ gw n≥1. (4.41)

Proof: Let us first consider the case of the supremum norm (p=∞). The asserted inequality is just a short notation of

|Dh(n, i, s)| :=

...

Figure 4.3: Change of indexation in a double sum. See equation (4.43).

that is asserted to hold for any s∈ S,(tn+h2, xi)∈ Gh. Since we want to prove the estimate independently ofxi ∈ Lh, i.e. in the supremum norm, we have to verify the following inequality, obtained by replacingxi withxi+sh, for any (tn+h2, xi)∈ Gh possible without misinterpretation. Recall in particular Tk=Tk(∂t, s∂x).

(∗) :=

Solving (4.37) for the shifted order function, multiplying by hn and summing over n∈ {0,1, ..., α+ 3} yields By summing also the representation formula (4.41) over n we obtain

fh,s = Es(0) + kas second index and rename, finally, ν inn), we will change the indexation of the double sum such that it can be put together with the double sum in (4.42).

fh,s = Eh,s(uh) − τ

4.3. Construction of consistent population functions 185

Let us now plug (4.42) and (4.43) into (∗). By virtue of lemma (4.5) we have Eh P

˜ s∈Sfh,˜s

= Eh(uh). This enables us to put together the equilibrium terms coming directly from the algorithm with those from (4.43). Thus we get:

(∗) = The double sums can be simplified essentially:

2α+3X

Using again (4.43) for the resubstitution (replace third, fourth and fifth term to-gether by −fh,s) we arrive at Taking into account the estimate of the remainder terms in lemma (4.6), we find the following inequality implying the assertion.

(∗) ≤ K Xα

Initialization and Convergence. Next, let us consider the case α= 0 in detail.

This case is, of course, the simplest as well as the most important one, since it is sufficient to prove convergence of the lattice-Boltzmann scheme. The consideration

of higher orders leads to a truncated asymptotic expansion of the zeroth moment, that additionally describes the leading error terms being not of interest here.

We have already remarked, that u(0) =u, whereu is just the solution of the target problem (4.1). As no other asymptotic orders are involved, we will always write u instead of u(0). Let us assume, that the existence and smoothness hypothesis is fulfilled for u and g, such that we have u ∈ C4([0, T]× R/LR,R) and g ∈ C2([0, T]×R/LR,R). Then it is possible to construct recursively the following functions by means of the polynomialsTk(see equation (4.10) and table 4.2), where Tk abbreviates Tk(∂t, s∂x).

f(0):= D(u)

f(1):= A(u) − τ T1f(0) f(2):= R(u) − τn

T1f(1) + T2f(0)o

+ τ gw f(3):= −τn

T1f(2) + T2f(1) + T3f(0) o

(4.44)

Note, that this construction procedure is equivalent to (4.35). The approximate population function fǫ is then defined by

fǫ := f(0) + ǫf(1) + ǫ2f(2) + ǫ3f(3) . (4.45) Explicitly we obtain for the asymptotic orders:

fs(0)(t, x) =wsu(t, x) fs(1)(t, x) =wsn

θ a s − τ s ∂xo u(t, x) fs(2)(t, x) =−τwsn

c + θas2x − (τ− 12)s2x2 + ∂to

u(t, x) + τwsg(t, x) fs(3)(t, x) =τ2ws

n

sc∂x+θas3x2−(τ −12)s3x3+s∂tx

o

u(t, x) + τwss∂xg(t, x)

− τwst+ 12s2x2

θas−τ s∂x

u(t, x) − τwsn

s∂tx+16s3x3o u(t, x)

Considering these functions as polynomials in s∈ S, we observe, thatfs(1) and fs(3)

have odd parity, while fs(0) and fs(2) are of even parity. Hence the zeroth moments of fs(1) andfs(3) vanish. Since u is the solution of the target equation we find

X

s∈S

fs(2) = −τn

cu+a∂xu−1θ(τ− 12)∂2xu+∂tu−go

= 0.

So we obtain, without explicitly referring to lemma 4.5, X

s∈S

fǫ,s = X

s∈S

fs(0) + hfs(1) + h2fs(2) + h3fs(3)

= u .

4.3. Construction of consistent population functions 187

Let us now estimate the remainder terms:

|r(0)h,s(t, x)| ≤ kukC4 h4

|r(1)h,s(t, x)| ≤ θ|a| kukC3 h3 + τk∂xukC3 h3 ≤ (θ|a|+τ)

| {z }

=:K1

kukC4 h3

|r(2)h,s(t, x)| ≤ τ ckukC2 +τ|a|θk∂xukC2+τ(τ −12)k∂x2ukC2 +τk∂tukC2 +τkgkC2

≤ τ c+θτ|a|+τ(τ −12) +τ

| {z }

=:K2

kukC4h2 + τkgkC2h2

|r(2)h,s(t, x)| ≤

τ2 c+|a|θ+τ +12

+32τ(|a|θ+τ +76τ

| {z }

=:K3

kukC4h+τkgkC2h

As already mentioned, the lattice-Boltzmann scheme is classically initialized by the equilibrium associated with the initial condition for the target problem. The pre-ceding analysis of the lattice-Boltzmann scheme suggests, however, to initialize the population function by the initial value of the approximated population function.

Thus there are four further possibilities of initialization depending on how many orders should be taken into account.

equilibrium: Fh(0, i) = Eh w(xi)

needs:w 0th order : Fh(0, i) = fh(0)(0, xi) ” w 1storder : Fh(0, i) = P1

n=0

fh(n)(0, xi)hn ” w, ∂xw 2nd order : Fh(0, i) = P2

n=0

fh(n)(0, xi)hn ” w, ∂xw, ∂x2w, g 3rdorder : Fh(0, i) = P3

n=0

fh(n)(0, xi)hn ” w, ∂xw, ∂x2w, ∂x3w, g, ∂xg

The right column indicates the quantities being necessary for each specific initial-ization. Usually, the initial valuewand the sourcegare provided in the grid nodes at least. For initializations of first and higher order, additionally spatial derivatives of w and g are needed, which must be supplied numerically (e.g. numeric differ-entiation) in the worst case, if w and g are not prescribed analytically. Moreover, the expressions forf(2) and f(3) contain temporal derivatives of the solution. These can not be computed directly, but they can be procured by taking recourse to the target equation. Solving it for∂tuyields with u(0,·) =w:

tu(0,·) =ν∂x2w−a∂xw−cu+g(0,·)

txu(0,·) =ν∂x3w−a∂x2w−cu+∂xg(0,·)

Thus, the knowledge of w, g is sufficient to compute f(2)(0,·) and f(3)(0,·).

Obviously, the initialization via equilibrium or zeroth order is consistent of order 1; generally the initialization up to order n is consistent of order n+ 1. After

theorem 4.2 our approximated population function is consistent of order 4 to the discrete lattice-Boltzmann equation. In virtue of theorem 4.1, we conclude under the stability assumption, that the inherent deviation is for any fixed, finite time of magnitude h2. Thus it is reasonable to choose the initialization so that the inherited initial deviation is of the same size. Any higher order initialization does not considerably decrease the error, whereas a lower order initialization might spoil the result since the inherited initial deviation is then expected to dominate the inherent deviation. Therefore, the initialization should be preferably done up to first order:

Fh(0, i) =w(xi)w + h θa−τ ∂x

w(xi)Sw. (4.46) Theorem 4.3. Consider the target problem (4.1) with w∈C4(R/LR,R) and g ∈ C2([0, T]×R/LR,R) and assume u∈ C4([0, T]×R/LR,R). If assumption (4.27) is satisfied, then the zeroth moment Uh of the population function converges in the grid nodes to the solution of the target equation:

kUh(Nt,·)−u(Nˆ t,·)kpL≤3p−1p EpJp+EpCpT h2.