Comparison of computational codes for direct numerical simulations of turbulent Rayleigh–Bénard convection

Gijs L. Kooij, Mikhail A. Botchev, Edo M. A. Frederix, Bernard J. Geurts, Susanne Horn, Detlef Lohse, Erwin P. van der Poel, Olga Shishkina, Richard J. A. M. Stevens, Roberto Verzicco

Research output: Contribution to journalArticlepeer-review

66 Citations (Scopus)
157 Downloads (Pure)


Computational codes for direct numerical simulations of Rayleigh–Bénard (RB) convection are compared in terms of computational cost and quality of the solution. As a benchmark case, RB convection at Ra=108 and Pr=1 in a periodic domain, in cubic and cylindrical containers is considered. A dedicated second-order finite-difference code (AFID/RBFLOW) and a specialized fourth-order finite-volume code (GOLDFISH) are compared with a general purpose finite-volume approach (OPENFOAM) and a general purpose spectral-element code (NEK5000). Reassuringly, all codes provide predictions of the average heat transfer that converge to the same values. The computational costs, however, are found to differ considerably. The specialized codes AFID/RBFLOW and GOLDFISH are found to excel in efficiency, outperforming the general purpose flow solvers NEK5000 and OPENFOAM by an order of magnitude with an error on the Nusselt number Nu below 5%. However, we find that Nu alone is not sufficient to assess the quality of the numerical results: in fact, instantaneous snapshots of the temperature field from a near wall region obtained for deliberately under-resolved simulations using NEK5000 clearly indicate inadequate flow resolution even when Nu is converged. Overall, dedicated special purpose codes for RB convection are found to be more efficient than general purpose codes.

Original languageEnglish
Pages (from-to)1-8
Number of pages8
JournalComputers & Fluids
Early online date31 Jan 2018
Publication statusPublished - 30 Apr 2018
Externally publishedYes

Bibliographical note

NOTICE: this is the author’s version of a work that was accepted for publication in Computers & Fluids. Changes resulting from the publishing process, such as peer review, editing, corrections, structural formatting, and other quality control mechanisms may not be reflected in this document. Changes may have been made
to this work since it was submitted for publication. A definitive version was subsequently published in Computers & Fluids, 166, (2018) DOI: 10.1016/j.compfluid.2018.01.010

© 2018, Elsevier. Licensed under the Creative Commons Attribution- NonCommercial-NoDerivatives 4.0 International


  • Direct Numerical Simulations
  • Rayleigh-Bénard convection
  • heat transfer


Dive into the research topics of 'Comparison of computational codes for direct numerical simulations of turbulent Rayleigh–Bénard convection'. Together they form a unique fingerprint.

Cite this