Source Code: A Chemistry Load Balancing Model for OpenFOAM

DOI

Efficient simulation tools are crucial for studying complex systems such as reacting flows where computational costs of computing chemical reaction rates can vastly exceed the costs for the integration of the convective and diffusive transport terms. Load imbalance in parallel computing poses a significant challenge for massively parallel reacting flow simulations. In response, a novel load balancing library has been developed to enhance OpenFOAM’s solver performance in parallel environments. This library seamlessly integrates with OpenFOAM, offering ease of use and applicability to any OpenFOAM reacting solver incorporating finite-chemistry. In addition, it supports the standard and the dynamic adaptive chemistry model (TDAC) of OpenFOAM. The newly developed load-balanced standard and TDAC models address significant load imbalances by exchanging information between processes via MPI calls and tracking ODE solution times on a cell level. The TDAC model introduces dual tables on each core and enables immediate addition of computed solutions, enhancing computational efficiency. Validation on various test cases, including simulations on the HLRS Hawk supercomputer up to 8000 cores, confirm identical results compared to the original unbalanced models, with notable speed-up factors of up to 6 for the standard and 5 for the TDAC model. Despite non-linear scaling at lower cell count per processor, load-balanced models consistently outperform unbalanced counterparts, making them the preferred choice for reacting flow simulations in OpenFOAM.

See more information about the usage of this library in the README.

Identifier
DOI https://doi.org/10.18419/darus-4121
Related Identifier IsCitedBy https://doi.org/10.1016/j.cpc.2024.109322
Metadata Access https://darus.uni-stuttgart.de/oai?verb=GetRecord&metadataPrefix=oai_datacite&identifier=doi:10.18419/darus-4121
Provenance
Creator Gärtner, Jan Wilhelm ORCID logo
Publisher DaRUS
Contributor Gärtner, Jan Wilhelm
Publication Year 2024
Funding Reference DFG 513858356
Rights GPL 3.0 or later; info:eu-repo/semantics/openAccess; https://www.gnu.org/licenses/gpl-3.0-standalone.html
OpenAccess true
Contact Gärtner, Jan Wilhelm (Universität Stuttgart)
Representation
Resource Type Dataset
Format application/gzip; text/markdown
Size 3672753; 2713
Version 1.0
Discipline Construction Engineering and Architecture; Engineering; Engineering Sciences; Fluid Mechanics; Heat Energy Technology, Thermal Machines, Fluid Mechanics; Mechanical and industrial Engineering; Mechanics; Mechanics and Constructive Mechanical Engineering; Thermal Engineering/Process Engineering