On floating point precision in computational fluid dynamics using OpenFOAM
F. Brogi (1), S. Bn\`a (2), G. Boga (2,3), G. Amati (2), T. Esposti, Ongaro (1), M. Cerminara (1) ((1) Istituto Nazionale di Geofisica e, Vulcanologia, Pisa, Italy,(2) CINECA Supercomputing Centre, Via Magnanelli, 6/3, 40033 Casalecchio di Reno, Italy, (3) DIEF

TL;DR
This paper investigates how reducing floating point precision affects performance and accuracy in computational fluid dynamics simulations using OpenFOAM, highlighting potential speedups and the importance of precision choice.
Contribution
It provides a comprehensive analysis of reduced precision impacts on CFD simulations in OpenFOAM, including a theoretical model for scalability and practical GPU implementation insights.
Findings
Reduced precision can significantly speed up CFD simulations.
Accuracy and convergence depend on the type of fluid and simulation complexity.
Scalability behavior varies with floating point precision and hardware specifics.
Abstract
Thanks to the computational power of modern cluster machines, numerical simulations can provide, with an unprecedented level of details, new insights into fluid mechanics. However, taking full advantage of this hardware remains challenging since data communication remains a significant bottleneck to reaching peak performances. Reducing floating point precision is a simple and effective way to reduce data movement and improve the computational speed of most applications. Nevertheless, special care needs to be taken to ensure the quality and convergence of computed solutions, especially when dealing with complex fluid simulations. In this work, we analyse the impact of reduced (single and mixed compared to double) precision on computational performance and accuracy for computational fluid dynamics. Using the open source library OpenFOAM, we consider incompressible, compressible, and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMeteorological Phenomena and Simulations · Parallel Computing and Optimization Techniques · Advanced Data Storage Technologies
