Scalability of OpenFOAM Density-Based Solver with Runge–Kutta Temporal Discretization Scheme
Open Access
- 11 March 2020
- journal article
- research article
- Published by Wiley in Scientific Programming
- Vol. 2020, 1-11
Abstract
Compressible density-based solvers are widely used in OpenFOAM, and the parallel scalability of these solvers is crucial for large-scale simulations. In this paper, we report our experiences with the scalability of OpenFOAM’s native rhoCentralFoam solver, and by making a small number of modifications to it, we show the degree to which the scalability of the solver can be improved. The main modification made is to replace the first-order accurate Euler scheme in rhoCentralFoam with a third-order accurate, four-stage Runge-Kutta or RK4 scheme for the time integration. The scaling test we used is the transonic flow over the ONERA M6 wing. This is a common validation test for compressible flows solvers in aerospace and other engineering applications. Numerical experiments show that our modified solver, referred to as rhoCentralRK4Foam, for the same spatial discretization, achieves as much as a 123.2% improvement in scalability over the rhoCentralFoam solver. As expected, the better time resolution of the Runge–Kutta scheme makes it more suitable for unsteady problems such as the Taylor–Green vortex decay where the new solver showed a 50% decrease in the overall time-to-solution compared to rhoCentralFoam to get to the final solution with the same numerical accuracy. Finally, the improved scalability can be traced to the improvement of the computation to communication ratio obtained by substituting the RK4 scheme in place of the Euler scheme. All numerical tests were conducted on a Cray XC40 parallel system, Theta, at Argonne National Laboratory.Keywords
Funding Information
- Argonne National Laboratory (#ANL 4J-30361-0030A)
This publication has 24 references indexed in Scilit:
- reactingFoam-SCI: An open source CFD platform for reacting flow simulationComputers & Fluids, 2019
- Modeling of Ice Accretion over Aircraft Wings Using a Compressible OpenFOAM SolverInternational Journal of Aerospace Engineering, 2019
- Communication Optimization for Multiphase Flow Solver in the Library of OpenFOAMWater, 2018
- A low-dissipative solver for turbulent compressible flows on unstructured meshes, with OpenFOAM implementationComputers & Fluids, 2017
- Scalability of OpenFOAM for bio-medical flow simulationsThe Journal of Supercomputing, 2014
- Implementation of density-based solver for all speeds in the framework of OpenFOAMComputer Physics Communications, 2014
- On the implementation of low-dissipative Runge–Kutta projection methods for time dependent flows using OpenFOAM®Computers & Fluids, 2014
- Implementation of semi‐discrete, non‐staggered central schemes in a colocated, polyhedral, finite volume framework, for high‐speed viscous flowsInternational Journal for Numerical Methods in Fluids, 2009
- New High-Resolution Central Schemes for Nonlinear Conservation Laws and Convection–Diffusion EquationsJournal of Computational Physics, 2000
- A tensorial approach to computational continuum mechanics using object-oriented techniquesComputers in Physics, 1998