Table 1. Calculation times and calculation speeds for various LBM calculations.
lattice | time steps | code | calculation time | calculation speed (MLUPS) |
---|---|---|---|---|
D2Q9 100x100 | 4000 | Matlab | 20 s | 2 |
D2Q9 100x100 | 4000 | C/C++ | 8 s | 5 |
D2Q9 100x100 | 4000 | Fortran | 6 s | 7 |
D2Q9 96x96 | 4000 | optimized CUDA | 0.09 s | 410 |
D2Q9 1000x1000 | 16 . 104 | Matlab | 32 h | 1.4 |
D2Q9 1000x1000 | 16 . 104 | Matlab parallel | 12 h | 3.7 |
D3Q19 100x100x100 | 4000 | Matlab | 6000 s | 0.7 |
D3Q19 100x100x100 | 4000 | Matlab parallel | 1800 s | 2.2 |
D3Q19 96x96x96 | 4000 | optimized CUDA | 6.3 s | 560 |