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
DOI: https://doi.org/10.1016/j.compfluid.2018.01.010
2018-02-26
Abstract: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=10^8$ 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.
Fluid Dynamics
What problem does this paper attempt to address?