Author
Listed:
- Thorsten Zirwes
(Steinbuch Centre for Computing, Karlsruhe Institute of Technology)
- Feichi Zhang
(Engler-Bunte-Institute, Karlsruhe Institute of Technology)
- Jordan A. Denev
(Steinbuch Centre for Computing, Karlsruhe Institute of Technology)
- Peter Habisreuther
(Engler-Bunte-Institute, Karlsruhe Institute of Technology)
- Henning Bockhorn
(Engler-Bunte-Institute, Karlsruhe Institute of Technology)
- Dimosthenis Trimis
(Engler-Bunte-Institute, Karlsruhe Institute of Technology)
Abstract
OpenFOAM is one of the most popular open source tools for CFD simulations of engineering applications. It is therefore also often used on supercomputers to perform large eddy simulations or even direct numerical simulations of complex cases. In this work, general guidelines for improving OpenFOAM’s performance on HPC clusters are given. A comparison of the serial performance for different compilers shows that the Intel compiler generally generates the fastest executables for different standard applications. More aggressive compiler optimization options beyond O3 yield performance increases of about 5 % for simple cases and can lead to improvements of up to 25 % for reactive flow cases. Link-time optimization does not lead to a performance gain. The parallel scaling behavior of reactive flow solvers shows an optimum at 5000 cells per MPI rank in the tested cases, where caching effects counterbalance communication overhead, leading to super linear scaling. In addition, two self-developed means of improving performance are presented: the first one targets OpenFOAM’s most accurate discretization scheme “cubic”. In this scheme, some polynomials are unnecessarily reevaluated during the simulation. A simple change in the code can reuse the results and achieve performance gains of about 5 %. Secondly, the performance of reactive flow solvers is investigated with Score-P/Vampir and load imbalances due to the computation of the chemical reaction rates are identified. A dynamic-adaptive load balancing approach has been implemented for OpenFOAM’s reacting flow solvers which can decrease computation times by 40 % and increases the utilization of the HPC hardware. This load balancing approach utilizes the special feature of the reaction rate computation, that no information of neighboring cells are required, allowing to implement the load balancing efficiently.
Suggested Citation
Thorsten Zirwes & Feichi Zhang & Jordan A. Denev & Peter Habisreuther & Henning Bockhorn & Dimosthenis Trimis, 2021.
"Enhancing OpenFOAM’s Performance on HPC Systems,"
Springer Books, in: Wolfgang E. Nagel & Dietmar H. Kröner & Michael M. Resch (ed.), High Performance Computing in Science and Engineering '19, pages 225-239,
Springer.
Handle:
RePEc:spr:sprchp:978-3-030-66792-4_16
DOI: 10.1007/978-3-030-66792-4_16
Download full text from publisher
To our knowledge, this item is not available for
download. To find whether it is available, there are three
options:
1. Check below whether another version of this item is available online.
2. Check on the provider's
web page
whether it is in fact available.
3. Perform a
for a similarly titled item that would be
available.
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:sprchp:978-3-030-66792-4_16. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.