Yang, JianhuiXu, YiYang, Liang2022-08-172022-08-172022-08-08Yang J, Xu Y, Yang L. (2022) Taichi-LBM3D: a single phase and multiphase lattice Boltzmann solver on cross-platform multi-core CPU/GPUs. Fluids, Volume 7, Issue 8, August 2022, Article number 2702311-5521https://doi.org/10.3390/fluids7080270https://dspace.lib.cranfield.ac.uk/handle/1826/18328The success of the lattice Boltzmann method requires efficient parallel programming and computing power. Here, we present a new lattice Boltzmann solver implemented in Taichi programming language, named Taichi-LBM3D. It can be employed on cross-platform shared-memory many-core CPUs or massively parallel GPUs (OpenGL and CUDA). Taichi-LBM3D includes the single- and two-phase porous medium flow simulation with a D3Q19 lattice model, Multi-Relaxation-Time (MRT) collision scheme and sparse data storage. It is open source, intuitive to understand, and easily extensible for scientists and researchers.enAttribution 4.0 InternationalGPU computinglattice Boltzmanntwo-phase flowcapillary pressureTaichi programmingTaichi-LBM3D: a single phase and multiphase lattice Boltzmann solver on cross-platform multi-core CPU/GPUsArticle