| Literature DB >> 24688360 |
Keijo Kalervo Mattila1, Luiz Adolfo Hegele Júnior2, Paulo Cesar Philippi1.
Abstract
We propose isotropic finite differences for high-accuracy approximation of high-rank derivatives. These finite differences are based on direct application of lattice-Boltzmann stencils. The presented finite-difference expressions are valid in any dimension, particularly in two and three dimensions, and any lattice-Boltzmann stencil isotropic enough can be utilized. A theoretical basis for the proposed utilization of lattice-Boltzmann stencils in the approximation of high-rank derivatives is established. In particular, the isotropy and accuracy properties of the proposed approximations are derived directly from this basis. Furthermore, in this formal development, we extend the theory of Hermite polynomial tensors in the case of discrete spaces and present expressions for the discrete inner products between monomials and Hermite polynomial tensors. In addition, we prove an equivalency between two approaches for constructing lattice-Boltzmann stencils. For the numerical verification of the presented finite differences, we introduce 5th-, 6th-, and 8th-order two-dimensional lattice-Boltzmann stencils.Entities:
Mesh:
Year: 2014 PMID: 24688360 PMCID: PMC3929286 DOI: 10.1155/2014/142907
Source DB: PubMed Journal: ScientificWorldJournal ISSN: 1537-744X
Specification of a fifth-order lattice-Boltzmann stencil: a = 1.148732248838539. The second column indicates the number of velocity vectors, obtained by permutating the vector components, sharing the given weight.
|
|
|
|
|---|---|---|
| (0, 0) | 1 | 2.1486215695621588 × 10−1 |
| (±1, 0) | 4 | 1.0466324937773665 × 10−1 |
| (±1, ±1) | 4 | 5.9279902836032117 × 10−2 |
| (±2, 0) | 4 | 1.6329411241508002 × 10−2 |
| (±2, ±1) | 8 | 6.6560728515645176 × 10−3 |
| (±2, ±2) | 4 | 1.4236189699711052 × 10−3 |
| (±3, 0) | 4 | 3.8641376938724455 × 10−4 |
| (±3, ±1) | 8 | 4.4284732290059492 × 10−4 |
| (±3, ±3) | 4 | 2.9169039140666429 × 10−6 |
| (±5, 0) | 4 | 8.8685055032561952 × 10−7 |
| (±4, ±4) | 4 | 2.2046291628739507 × 10−7 |
Specification of a sixth-order (D2V81) and eighth-order (D2V141) lattice-Boltzmann stencil: a = 0.970008498739395 and a = 0.8369204054303525, respectively. The second column indicates the number of velocity vectors, obtained by permutating the vector components, sharing the given weight.
|
|
|
|
|
|---|---|---|---|
| (0, 0) | 1 | 1.5381368561993594 × 10−1 | 1.1508949125706189 × 10−1 |
| (±1, 0) | 4 | 9.0384577224028734 × 10−2 | 7.5595334899625166 × 10−2 |
| (±1, ±1) | 4 | 6.0915016936039915 × 10−2 | 5.7734363121950370 × 10−2 |
| (±2, 0) | 4 | 2.4220944974511140 × 10−2 | 2.9033095241565582 × 10−2 |
| (±2, ±1) | 8 | 1.3146486542343966 × 10−2 | 1.8074672747613353 × 10−2 |
| (±2, ±2) | 4 | 3.9625069477690709 × 10−3 | 7.4435479269746455 × 10−3 |
| (±3, 0) | 4 | 1.8542634450574055 × 10−3 | 4.2549928887228462 × 10−3 |
| (±3, ±1) | 8 | 1.6035095499280431 × 10−3 | 3.7759145451527918 × 10−3 |
| (±3, ±2) | 8 | 2.2249142091156890 × 10−4 | 9.5510661516062627 × 10−4 |
| (±4, 0) | 4 | 1.0005397521769796 × 10−4 | 4.9926973701248283 × 10−4 |
| (±4, ±1) | 8 | 3.4398327658312326 × 10−5 | 2.1766901272228135 × 10−4 |
| (±3, ±3) | 4 | 5.4494804327695976 × 10−5 | 2.7427360033189315 × 10−4 |
| (±4, ±2) | 8 | 1.8837067344235765 × 10−5 | 1.3852638332696371 × 10−4 |
| (±5, 0) | 4 | 2.4044498210968849 × 10−6 | 1.2905073342509215 × 10−5 |
| (±4, ±3) | 8 | — | 5.9323648903820310 × 10−6 |
| (±5, ±1) | 8 | — | 1.6161185887309810 × 10−5 |
| (±5, ±2) | 8 | 4.3501093550344725 × 10−7 | 2.4159493337948245 × 10−6 |
| (±4, ±4) | 4 | — | 3.3101853527875648 × 10−6 |
| (±5, ±3) | 8 | — | 1.3086410701892049 × 10−6 |
| (±6, 0) | 4 | — | 1.1118416570950374 × 10−7 |
| (±6, ±1) | 8 | — | 4.6121305137932601 × 10−7 |
| (±6, ±3) | 8 | — | 3.6530518727364592 × 10−8 |
| (±7, 0) | 4 | — | 8.3273853753395782 × 10−9 |
| (±7, ±2) | 8 | — | 2.3109247814347261 × 10−9 |
Figure 1Order of convergence of the numerical error for some derivative approximations. The lattice-Boltzmann stencil D2V141 has been utilized. The dashed lines indicate 2nd-, 4th-, 6th-, and 8th-order convergence.
Comparison of various approximations for low- and moderate-rank derivatives with second- and fourth-order accuracy. The computational times are given in milliseconds and the Empty load refers to the Mehrstellen case where only the actual approximation is skipped: the relative computational times are defined with respect to the empty load. References for the below compared approximations are as follows: Lee and Lin [11], Lee and Fischer [12], Patra and Karttunen [2], and Philippi et al. [13].
| Nodes | Span | C. time | Rel. time | Rel. | |
|---|---|---|---|---|---|
| Empty load | — | — | 7984 | 0.0 | — |
|
| |||||
| ∂ 2 (2nd-order approximation) | |||||
| Mehrstellen | 9 | 1 | 8435 | 0.0565 | 4.124 × 10−5 |
| Equation ( | 17 | 3 | 8813 | 0.1038 | 9.160 × 10−5 |
|
| |||||
| ∂ | |||||
| Lee, E(6) | 24 | 4 | 8978 | 0.1245 | 1.632 × 10−8 |
| Lee, D2V17 | 32 | 6 | 9341 | 0.1699 | 1.678 × 10−8 |
| Equation ( | 36 | 3 | 9547 | 0.1958 | 1.491 × 10−8 |
|
| |||||
| ∂ | |||||
| Patra, | 12 | 2 | 8641 | 0.0823 | 1.237 × 10−4 |
| Patra, | 16 | 2 | 8844 | 0.1077 | 1.237 × 10−4 |
| Equation ( | 36 | 3 | 9688 | 0.2134 | 1.727 × 10−4 |
|
| |||||
| ∂ 2 (4th-order approximation) | |||||
| Patra, | 17 | 2 | 8803 | 0.1026 | 2.721 × 10−9 |
| Patra, | 21 | 2 | 8900 | 0.1147 | 2.721 × 10−9 |
| Philippi, D2V37 | 37 | 3 | 9503 | 0.1903 | 4.969 × 10−9 |
| Equation ( | 49 | 5 | 10109 | 0.2662 | 1.758 × 10−8 |
|
| |||||
| ∂ 2∂ 2 (2nd-order approximation) | |||||
| Patra, | 17 | 2 | 8781 | 0.0998 | 8.247 × 10−5 |
| Patra, | 21 | 2 | 8891 | 0.1136 | 8.248 × 10−5 |
| Equation ( | 49 | 5 | 10294 | 0.2893 | 1.875 × 10−4 |
|
| |||||
| ∂ | |||||
| Patra, | 26 | 3 | 9006 | 0.1281 | 1.428 × 10−8 |
| Patra, | 30 | 3 | 9435 | 0.1817 | 1.428 × 10−8 |
|
| 80 | 5 | 11253 | 0.4095 | 3.456 × 10−8 |
Figure 2The relative computational times of Table 3 in a graphical format. On the right, the relative times are plotted as functions of the number of nodes in the finite-difference stencils; the line indicates a linear fit. References for the above compared approximations are as follows: Lee et al. [11, 12], Patra and Karttunen [2], and Philippi et al. [13].
Figure 3Isocontours of the local relative errors when numerical solutions of the diffusion equation are computed using second-order accurate finite-difference approximations for the Laplacian. The errors are anisotropic for two of the approximations, (a) the standard five-point stencil and (b) (41) with D2Q9, while for the remaining two, (c) the Mehrstellen approximation and (d) (41) with D2V17, the errors are isotropic. The numerical results conform with the theoretical predictions. The colors are not scaled between the approximations.
Figure 4See the caption of Figure 3. The anisotropic error for (a) the standard nine-point stencil and the isotropic errors for (c) (45) with D2V37 and (d) Patra and Karttunen (c 1 = 0) conform with the theoretical predictions. The error for (b) (43) with D2V37 is isotropic: this is not in accordance with the prediction from (37). The colors are not scaled between the approximations.
Figure 5See the caption of Figure 3. The error for the sixth-order approximation for (a) Section 5 with D2V81 is slightly anisotropic while for (b) Section 5 with D2V141 the error is isotropic. The error for the eighth-order approximation for (c) Section 5 with D2V141 also exhibits small anisotropic patterns. The theoretically predicted isotropy properties are hence numerically confirmed. The colors are not scaled between the approximations.