Benchmark Computations of 3D Laminar Flow around a Cylinder
by E. Bayraktar, O. Mierka and S. Turek
Abstract
Numerically challenging, comprehensive benchmark cases are of great importance for researchers in the field of CFD. Numerical benchmark cases offer researchers frameworks to quantitatively explore limits of the computational tools and to validate them. Therefore, we focus on simulation of numerically challenging benchmark tests, laminar and transient 3D flows around a cylinder, and aim to establish a new comprehensive benchmark case by doing direct numerical simulations with three distinct CFD software packages. Although the underlying benchmark problems have been defined firstly in 1996, the first case which was a steady simulation of flow around a cylinder at Re=20 could be accurately solved first in 2002 by John. Moreover, there is no precisely determined results for non-stationary case, the simulation of transient flow with time varying Reynolds number. The benchmark problems are studied with three CFD software packages, OpenFOAM, Ansys-CFX and FeatFlow which employ different numerical approaches to the discretization of the incompressible Navier-Stokes equations, namely finite volume method, element based finite volume method and finite element method respectively. The first benchmark test is considered as the "necessary condition" for the software tools, then they are compared according to their accuracy and performance in the second benchmark test. All the software tools successfully pass the first test and show well agreeing results for the second case such that the benchmark result was precisely determined. As a main result, the CFD software package with high order finite element approximation has been found to be computationally more efficient and accurate than the ones adopting low order space discretization methods.
Introduction
Despite all the developments in computer technology and in the field of numerics, the numerical solution of incompressible Navier-Stokes equations is still very challenging. Efficient and accurate simulation of incompressible flows is very important and prerequisite for the simulation of more complex applications, for instance, polymerization, crystallization or mixing phenomena. Numerous open-source or commercial CFD software packages are available to study these complex applications. Nonetheless, it is often observed that some of these software tools which produce colorful pictures as results of the simulations, fail in some benchmark tests subject to laminar flow around obstacles. Therefore, we are motivated to quantitatively compare performances of well known software packages by studying benchmark problems for laminar flow in 3D.
A set of benchmark problems had been defined within a DFG High-Priority Research Program by Schäfer and Turek and these test cases have been studied by many researchers. One of the most studied 3D cases from the mentioned study is the flow around a cylinder with Reynolds number being 20. Although it is a low Reynolds number with steady solution problem and it had been formulated many years ago, the exact solutions could have been determined first by John in 2002 and later by Braak and Richter. Regarding existence of the very precise results for this benchmark test, we expect the employed software tools to accurately reproduce the results, which is considered as necessary condition for the software packages to continue with solving a second benchmark test for higher Reynolds numbers.
The second benchmark problem is unsteady and corresponds to a time-varying Reynolds number. There are not many studies on this benchmark test, one of the most recent studies is from 2005 by John. However, in John's study the benchmark computation is performed to verify the developed methodology and software rather than improving the benchmark results, and his study is focused on the numerical approaches to the solution of incompressible Navier-Stokes equations. In this study, we aim to establish a new comprehensive benchmark case by doing direct numerical simulations with three distinct CFD software packages.
The benchmark problems are studied with the open-source software package OpenFOAM, the widely used commercial code ANSYS-CFX (CFX) and our in-house code FeatFlow. OpenFOAM (version 1.6) is a C++ library used primarily to crate executables, known as applications. The applications fall into two categories: solvers that are each designed to solve a specific problem in continuum mechanics; and utilities that are designed to perform tasks that involve data manipulation (see OpenFOAM homepage). From the available solvers, icoFoam which is designed to solve the incompressible Navier-Stokes equations with a Finite Volume approach, is employed. CFX (version 12.0 Service Pack 1) is a commercial general purpose fluid dynamics program that has been applied to solve wide-ranging fluid flow problems with the element based Finite Volume Method. The transient solver of CFX is employed for the benchmark computations. FeatFlow is an open source, multipurpose CFD software package which was firstly developed as a part of the FEAT project by Stefan Turek at the University of Heidelberg in beginning of the 1990s based on the Fortran77 finite element packages FEAT2D and FEAT3D (see FeatFlow homepage). FeatFlow is both a user oriented as well as general purpose subroutine system which uses the finite element method (FEM) to treat generalized unstructured quadrilateral (in 2-D) and hexahedral (in 3-D) meshes.
Studying benchmark problem with these three different software packages which employ different numerical techniques also give an insight to answer of the following questions:
- Can one construct an efficient solver for incompressible flow without employing multigrid components, at least for the pressure Poisson equation?
- What is the "best" strategy for time stepping: fully coupled iteration or operator splitting (pressure correction scheme)?
- Does it pay to use higher order discretization in space or time?
These questions are considered to be crucial in the construction of efficient and reliable solvers, particularly in 3D. Every researcher who is involved in developing fast, accurate and efficient flow solvers should be interested. The authors had put their honest effort to obtain the most accurate results with the most optimal settings for all the codes; nevertheless, this benchmark study is especially meant to motivate future works by other research groups and the presented results are opened to discussion.
The paper continues with the benchmark configuration and the definition of comparison criteria. In Section 3, the software packages and the employed numerical approaches are described. The results are presented within the subsequent section and the paper is concluded with a discussion of the results.