0
Article ? AI-assigned paper type based on the abstract. Classification may not be perfect — flag errors using the feedback button. Tier 2 ? Original research — experimental, observational, or case-control study. Direct primary evidence. Detection Methods Policy & Risk Sign in to save

Accuracy and performance of the lattice Boltzmann method with 64-bit, 32-bit, and customized 16-bit number formats

Physical review. E 2022 51 citations ? Citation count from OpenAlex, updated daily. May differ slightly from the publisher's own count. Score: 45 ? 0–100 AI score estimating relevance to the microplastics field. Papers below 30 are filtered from public browse.
Moritz Lehmann, Moritz Lehmann, Moritz Lehmann, Moritz Lehmann, Moritz Lehmann, Moritz Lehmann, Moritz Lehmann, Moritz Lehmann, Moritz Lehmann, Stephan Gekle Stephan Gekle Moritz Lehmann, Mathias J. Krause, Stephan Gekle Moritz Lehmann, Jens Harting, Stephan Gekle Stephan Gekle Giorgio Amati, Giorgio Amati, Moritz Lehmann, Jens Harting, Moritz Lehmann, Moritz Lehmann, Stephan Gekle Marcello Sega, Moritz Lehmann, Stephan Gekle Jens Harting, Stephan Gekle Stephan Gekle Stephan Gekle Mathias J. Krause, Stephan Gekle Stephan Gekle Stephan Gekle Stephan Gekle Stephan Gekle Stephan Gekle Stephan Gekle Stephan Gekle Stephan Gekle Stephan Gekle Stephan Gekle Stephan Gekle Stephan Gekle

Summary

Researchers evaluated whether reduced-precision number formats (FP16 and posit16) could replace double-precision (FP64) arithmetic in lattice Boltzmann method fluid dynamics simulations without sacrificing accuracy. By developing a customized 16-bit format matched to the typical number range in LBM, they achieved near-FP32 accuracy with significant memory and computational performance gains.

Fluid dynamics simulations with the lattice Boltzmann method (LBM) are very memory intensive. Alongside reduction in memory footprint, significant performance benefits can be achieved by using FP32 (single) precision compared to FP64 (double) precision, especially on GPUs. Here we evaluate the possibility to use even FP16 and posit16 (half) precision for storing fluid populations, while still carrying arithmetic operations in FP32. For this, we first show that the commonly occurring number range in the LBM is a lot smaller than the FP16 number range. Based on this observation, we develop customized 16-bit formats-based on a modified IEEE-754 and on a modified posit standard-that are specifically tailored to the needs of the LBM. We then carry out an in-depth characterization of LBM accuracy for six different test systems with increasing complexity: Poiseuille flow, Taylor-Green vortices, Karman vortex streets, lid-driven cavity, a microcapsule in shear flow (utilizing the immersed-boundary method), and, finally, the impact of a raindrop (based on a volume-of-fluid approach). We find that the difference in accuracy between FP64 and FP32 is negligible in almost all cases, and that for a large number of cases even 16-bit is sufficient. Finally, we provide a detailed performance analysis of all precision levels on a large number of hardware microarchitectures and show that significant speedup is achieved with mixed FP32/16-bit.

Sign in to start a discussion.

Share this paper