Computation for the Backward Facing Step Test Case with an Open Source Code

Similar documents
Verification of Calculations: an Overview of the Lisbon Workshop

AN UNCERTAINTY ESTIMATION EXAMPLE FOR BACKWARD FACING STEP CFD SIMULATION. Abstract

Overview of Workshop on CFD Uncertainty Analysis. Patrick J. Roache. Executive Summary

Limitations of Richardson Extrapolation and Some Possible Remedies

Richardson Extrapolation-based Discretization Uncertainty Estimation for Computational Fluid Dynamics

VERIFICATION AND VALIDATION OF RESISTANCE AND PROPULSION COMPUTATION

FACTORS OF SAFETY FOR RICHARDSON EXTRAPOLATION

A Computational Investigation of a Turbulent Flow Over a Backward Facing Step with OpenFOAM

A VERIFICATION AND VALIDATION EXERCISE FOR THE FLOW OVER A BACKWARD FACING STEP. L. Eça, G. Vaz and M. Hoekstra

Discretization error analysis with unfavorable meshes A case study

On the Influence of the Iterative Error in the Numerical Uncertainty of Ship Viscous Flow Calculations

Calculation of the Flow around the KVLCC2M Tanker

ASSESSMENT OF RANS AND DES METHODS FOR THE AHMED BODY

OpenFOAM selected solver

Application of V&V 20 Standard to the Benchmark FDA Nozzle Model

Tutorial for the supercritical pressure pipe with STAR-CCM+

The Effect of the DNS Data Averaging Time on the Accuracy of RANS-DNS Simulations

A Non-Intrusive Polynomial Chaos Method For Uncertainty Propagation in CFD Simulations

Tutorial for the heated pipe with constant fluid properties in STAR-CCM+

OpenFOAM Simulations for MAV Applications

Computational study of flow around a simplified car body

Application of Grid Convergence Index Estimation for Uncertainty Quantification in V&V of Multidimensional Thermal-Hydraulic Simulation

CHAPTER 7 NUMERICAL MODELLING OF A SPIRAL HEAT EXCHANGER USING CFD TECHNIQUE

This chapter focuses on the study of the numerical approximation of threedimensional

Workshop on Iterative Errors in Unsteady Flow Simulations L. Eça, G. Vaz and M. Hoekstra. 3-5 May 2017

Computation of Unsteady Flows With Moving Grids

Simulation and improvement of the ventilation of a welding workshop using a Finite volume scheme code

COMPUTATIONAL SIMULATION OF THE FLOW PAST AN AIRFOIL FOR AN UNMANNED AERIAL VEHICLE

Conjugate Heat Transfer Simulation of Internally Cooled Gas Turbine Vane

INSTITUTTET FOR BYGNINGSTEKNIK DEPT. OF BUILDING TECHNOLOGY AND STRUCTURAL ENGINEERING AALBORG UNIVERSITET AAU AALBORG DANMARK

RECONSTRUCTION OF TURBULENT FLUCTUATIONS FOR HYBRID RANS/LES SIMULATIONS USING A SYNTHETIC-EDDY METHOD

This section develops numerically and analytically the geometric optimisation of

Study of Forced and Free convection in Lid driven cavity problem

On the transient modelling of impinging jets heat transfer. A practical approach

Cranfield University, Cranfield, Bedfordshire, MK43 0AL, United Kingdom. Cranfield University, Cranfield, Bedfordshire, MK43 0AL, United Kingdom

An Overview of ASME V&V 20: Standard for Verification and Validation in Computational Fluid Dynamics and Heat Transfer

On A Comparison of Numerical Solution Methods for General Transport Equation on Cylindrical Coordinates

Non-unique solution for combined-convection assisting flow over vertical flat plate

Computation of Incompressible Flows: SIMPLE and related Algorithms

Pressure-velocity correction method Finite Volume solution of Navier-Stokes equations Exercise: Finish solving the Navier Stokes equations

CHAPTER 4 OPTIMIZATION OF COEFFICIENT OF LIFT, DRAG AND POWER - AN ITERATIVE APPROACH

Comparison of Turbulence Models in the Flow over a Backward-Facing Step Priscila Pires Araujo 1, André Luiz Tenório Rezende 2

A Zooming Approach to Investigate Heat Transfer in Liquid Rocket Engines with ESPSS Propulsion Simulation Tool

CRITICAL ISSUES WITH QUNATIFICATION OF DICRETIZATION UNCERTAINTY IN CFD. Ismail B. Celik, Ph.D.

Micro-Scale CFD Modeling of Packed-Beds

Basic Features of the Fluid Dynamics Simulation Software FrontFlow/Blue

Reliability Prediction for a Thermal System Using CFD and FEM Simulations

SYMMETRY BREAKING PHENOMENA OF PURELY VISCOUS SHEAR-THINNING FLUID FLOW IN A LOCALLY CONSTRICTED CHANNEL

Viscous-flow calculations for bare hull DARPA SUBOFF submarine at incidence

5. FVM discretization and Solution Procedure

CFD calculation of convective heat transfer coefficients and validation Laminar and Turbulent flow

Solution Methods. Steady convection-diffusion equation. Lecture 05

Calculation of hydrodynamic manoeuvring coefficients using viscous-flow calculations

Detached Eddy Simulation on Hypersonic Base Flow Structure of Reentry-F Vehicle

Available online at ScienceDirect. Procedia Engineering 90 (2014 )

Draft Tube calculations using OpenFOAM-1.5dev and validation with FLINDT data

GENERALISATION OF THE TWO-SCALE MOMENTUM THEORY FOR COUPLED WIND TURBINE/FARM OPTIMISATION

IMPLEMENTATION OF POD AND DMD METHODS IN APACHE SPARK FRAMEWORK FOR SIMULATION OF UNSTEADY TURBULENT FLOW IN THE MODEL COMBUSTOR

Numerical Methods in Aerodynamics. Turbulence Modeling. Lecture 5: Turbulence modeling

OpenFOAM SIMULATION OF THE FLOW IN THE HÖLLEFORSEN DRAFT TUBE MODEL

Solution Methods. Steady State Diffusion Equation. Lecture 04

C1.2 Ringleb flow. 2nd International Workshop on High-Order CFD Methods. D. C. Del Rey Ferna ndez1, P.D. Boom1, and D. W. Zingg1, and J. E.

Adaptivity, sensitivities and uncertainties in CFD

elements remain in high frequency region and sometimes very large spike-shaped peaks appear. So we corrected the PIV time histories by peak cutting an

MTF071 Computational Fluid Dynamics of Turbulent

Large eddy simulation of turbulent flow over a backward-facing step: effect of inflow conditions

Computers and Mathematics with Applications. Investigation of the LES WALE turbulence model within the lattice Boltzmann framework

studies Maryse Page Hydro-Québec, Research Institute Håkan Nilsson Chalmers University of Technology Omar Bounous Chalmers University of Technology

Two-Dimensional Unsteady Flow in a Lid Driven Cavity with Constant Density and Viscosity ME 412 Project 5

MASTER THESIS PRESENTATION

Numerical studies on natural ventilation flow in an enclosure with both buoyancy and wind effects

Hybrid RANS/LES employing Interface Condition with Turbulent Structure

Computational Fluid Dynamics Uncertainty Analysis For Payload Fairing Spacecraft Environmental Control Systems

Numerical simulation of fluid flow in a monolithic exchanger related to high temperature and high pressure operating conditions

Homework 4 in 5C1212; Part A: Incompressible Navier- Stokes, Finite Volume Methods

The JHU Turbulence Databases (JHTDB)

A finite-volume algorithm for all speed flows

Project 4: Navier-Stokes Solution to Driven Cavity and Channel Flow Conditions

Investigation of reattachment length for a turbulent flow over a backward facing step for different step angle

WALL RESOLUTION STUDY FOR DIRECT NUMERICAL SIMULATION OF TURBULENT CHANNEL FLOW USING A MULTIDOMAIN CHEBYSHEV GRID

Chapter 9: Differential Analysis

CFD in Heat Transfer Equipment Professor Bengt Sunden Division of Heat Transfer Department of Energy Sciences Lund University

Large-eddy simulations for wind turbine blade: rotational augmentation and dynamic stall

Numerical Simulation of Oscillating Fluid Flow in Inertance Tubes

Comparison of two equations closure turbulence models for the prediction of heat and mass transfer in a mechanically ventilated enclosure

DETACHED-EDDY SIMULATION OF FLOW PAST A BACKWARD-FACING STEP WITH A HARMONIC ACTUATION

Chapter 5 HIGH ACCURACY CUBIC SPLINE APPROXIMATION FOR TWO DIMENSIONAL QUASI-LINEAR ELLIPTIC BOUNDARY VALUE PROBLEMS

MODELS FOR FLOW SIMULATIONS PAST UNDERWATER VEHICLE HULL FORMS P.

The effect of geometric parameters on the head loss factor in headers

NUMERICAL SIMULATIONS OF FLOW, HEAT TRANSFER AND CONJUGATE HEAT TRANSFER IN THE BACKWARD-FACING STEP GEOMETRY

VERIFICATION OF MULTIDIMENSIONAL AND TRANSIENT CFD SOLUTIONS

ABSTRACT I. INTRODUCTION

INTEGRATION OF CURRENT METER MEASUREMENTS IN GENERAL FLOW CROSS SECTIONS

The behaviour of high Reynolds flows in a driven cavity

STUDY OF THREE-DIMENSIONAL SYNTHETIC JET FLOWFIELDS USING DIRECT NUMERICAL SIMULATION.

VALIDATION OF TURBULENT NATURAL CONVECTION IN A SQUARE CAVITY FOR APPLICATION OF CFD MODELLING TO HEAT TRANSFER AND FLUID FLOW IN ATRIA GEOMETRIES

CFD ANALYSIS OF CD NOZZLE AND EFFECT OF NOZZLE PRESSURE RATIO ON PRESSURE AND VELOCITY FOR SUDDENLY EXPANDED FLOWS. Kuala Lumpur, Malaysia

CFD Analysis for Thermal Behavior of Turbulent Channel Flow of Different Geometry of Bottom Plate

DIRECT NUMERICAL SIMULATION IN A LID-DRIVEN CAVITY AT HIGH REYNOLDS NUMBER

Computation of turbulent Prandtl number for mixed convection around a heated cylinder

Transcription:

Computation for the Backward Facing Step Test Case with an Open Source Code G.B. Deng Equipe de Modélisation Numérique Laboratoire de Mécanique des Fluides Ecole Centrale de Nantes 1 Rue de la Noë, 44321 Nantes, France e-mail: Ganbo.Deng@ec-nantes.fr 1 Motivation We have proposed a solution qualification procedure that allows to estimate the order of convergence of a numerical solution. While this procedure can give a correct result when it is applied to a manufactured solution, some unexpected results are observed when it is applied to the backward facing step test case. While a second order accuracy is obtained with the Cartesian grid as expected, the order of accuracy obtained with the multi-block structured grid set is about 1.4. As this multi-block grid is nearly orthogonal, and the grid density is fine enough (up to 2 grid nodes), we would also expect a second order convergence. Another unexpected result is that in some region for some quantity, results obtained with these two grid sets do not overlap. We continue the investigation on this issue during the work prepared for this workshop. In order to confirm or infirm these findings, the same exercises are repeated with OpenFoam. 2 Uncertainty Estimation Procedure The solution qualification procedure was proposed by the author in the second Lisbon workshop [1] and was slightly revised later [2]. For completeness, it is repeated here. To evaluate the uncertainty for a local quantity, we first determine the L1 norm error for this quantity using the Grid Convergence Index approach. This can be done as follows. First, we choose a target region which can be a simple rectangular domain inside the computational domain. Then we build a test grid in the target region. A uniform Cartesian grid is sufficient for this purpose. Next, we interpolate the solution from all grids to the test grid. In the present study, a 4 th order accurate interpolation method using a least squares approach is employed. This interpolated solution will be noted as φ k where k is the grid index, grid 1 being the finest one. After that, we evaluate the L1 norm of the solution difference between the grid k and the grid 1 as: Diff k = i φ k i φ 1 i V ol i

Here, V ol i is the volume of the i th element of the test grid. Richardson extrapolation is applied to the data set Diff k to determine the estimated true value Diff which is expected to be negative. The extrapolation procedure employed in the present study to determine Diff will be described later in the paper. Diff can be considered as an approximation to the L1 norm error of the finest grid. For a given grid with index k, a data field is constructed by scaling the data difference with respect to the finest grid as Diff Diff k ( ) φ k i φ 1 i It is evident that the L1 norm of this data field is equal to the estimated L1 norm error on the finest grid. Hence, it can be considered as an approximation to the error on the finest grid. Applying a safety factor F s according to the common practice in a GCI approach and taking into account all available solutions, the numerical uncertainty in the i th element of the test grid for the finest grid solution can be approximated by [ Fs Diff ( ) ] Max φ k Diff k i φ 1 i, k = 2,..., n where n is the number of available solutions employed in the error estimation procedure. The value for the safety factor F s can be 1.25 or 3 depending on the reliability of the extrapolated result for Diff. The L1 norm error for each grid can be approximated by Err k = Diff +Diff k The extrapolation method employed in an error estimation procedure is of crucial importance. Extrapolation with unknown exponent using grid triplets is the simplest procedure. But it can not always provide a reliable estimation. The approach proposed by Stern & al. [8] takes the theoretical order of convergence of the numerical solution as an input. Our experiences show that the asymptotic order of convergence of a numerical solution may depend not only on the numerical discretization scheme, but also on the type of grid employed in the computation. Hence, no theoretical order of convergence exists for a numerical solution. The least squares approach proposed by Eça and Hoekstra [4] improves the reliability of the estimation, although it is not always the best choice. We believe that the best extrapolation procedure is a procedure that adjusts itself to the data. In the extrapolation procedure employed in the present study, more than 4 grids are necessary but 5-6 grids are recommended. The apparent order of convergence for each successive grid triplets is determined by using the Richardson extrapolation with unknown exponent. The choice of the final extrapolation method and the selection of data set used for the extrapolation will depend on the behaviour of the apparent order of convergence thus obtained. To be able to observe the variation of the observed order of convergence, at least 5 grids are required. An abrupt variation of the apparent order of convergence gives evidence of data scattering. In this case, the least squares approach based on one term Taylor series expansion with unknown exponent will be employed. Unless some coarse grid results are too coarse to be included, all available data are used for the extrapolation. When the observed order of convergence is almost the same for all grid triplets, the extrapolated result using the finest grid triplets is considered as the most appropriated estimation. Extrapolation method based on two terms Taylor series expansion with fixed exponent may be employed when the variation of the observed order 2

of convergence is regular but not nearly constant, or if the value is too far from the expected one. An example given in the following section will better illustrate how this self-adaptive approach is applied. 3 Numerical setup in OpenFoam The steady incompressible solver SimpleFoam (version 1.4-1) has been used for the computation. Gradient is computed with the Gauss linear scheme. Laplacian operator is discretized with the Gauss linear corrected scheme, while the convection operator is handled with a Self-Filtered Central Differencing scheme. Surface normal gradient contains an explicit non-orthogonal correction. Linear scheme is employed for interpolation. The global convergence criterion is set to 1e-1 for all quantities. At each iteration, we try to reduce the residual of each linear system by a factor of 1 unless the global convergence criterion is satisfied. Bi-conjugate gradient solver is used to solve the transport equation (PBiCG) and the pressure equation (PCG). An under-relaxation factor of.25 is applied to all quantities. Non-orthogonal correction in SIMPLE algorithm is not applied since one mesh is orthogonal, and the other is nearly orthogonal. However, one should stress that fully converged solution can not be obtained for all test cases. 4 Application to a backward facing step test case The procedure described above is applied to a backward facing step test case. It is the configuration investigated experimentally by Driver and Seegmiller [3] with zero top-wall angle. The Reynolds number based on the step height, noted h hereafter, and the maximum velocity at the inlet is 5. The channel height at the inlet is 8h. This test case has been chosen for the two workshops devoted to CFD uncertainty analysis held in Lisbon in 24 and 26 [5] [6]. The computational domain started at 4h before the step where inlet profiles for the streamwise velocity component and the turbulent quantities are prescribed by using an initialization program provided by the Lisbon workshop organizers. The Spalart-Allmaras model [7] is employed for turbulence modelization. The computational domain is extended to 4h after the step where zero value is imposed to the pressure, while Neumann boundary conditions are applied to other quantities. 4.1 Mesh for different test cases Two different grid sets are employed. The first one (test case A) is a Cartesian grid (Figure 1). A block-structured grid is employed for the test case B. With such a block-structured topology, grid resolution in the region around the upper corner of the step is clearly not sufficient. 4.2 Uncertainty estimation The target region is a rectangular domain defined by (.5 x 8,.5 y 1.5). It is covered by a 2 1 uniform test grid. Uncertainty estimation is performed with the procedure described in the previous section. 3

3 Case A: Cartesian grid 2 1 2 4 6 3 Case B: Multi blocs structured grid 2 1 2 4 6 Figure 1: Mesh for different test cases. Test case A, Cartesian grid Cartesian grid is employed for this test case. Five grids have been employed for the computation. Number of grid points as well as the solution difference for each grid is displayed in table 1. Results of Richardson extrapolation are shown in table 2. Convergence is observed only for the finest grid triplet. Other results shown in this table are the results obtained with a polynomial approach using a first and a second order term. We retain the result obtained with the finest grid triplet. The estimated L1 norm error for the finest grid is Err 1 =.232. A safety factor F s =1.25 is applied. Uncertainty level may be under-estimated with this choice, since using the result of polynomial approach will increase the uncertainty by about a factor of 1.7. Grid ID Case A Case B Grid 1 /28512 /121582 Grid 2 3.7E-3/22528 8.57E-3/77118 Grid 3 6.888E-3/17248 2.41E-2/47838 Grid 4 1.58E-2/12672 3.565E-2/32 Grid 5 1.397E-2/ 88 5.61E-2/1911 Table 1: Solution difference and number of grid cells for different test cases 4

Grid set Case A Case B 5-4-3 -.373/ - -.188/ 1.4 4-3-2 -.51/ - -.382/ 1. 3-2-1 -.232/ 1. -.18/ 1.6 5 to 1 -.42/ - -.252 1.3 4 to 1 -.394/ - -.259/ 1.2 Table 2: Richardson extrapolation results for different test cases Test case B, block-structured grid Five block-structured grids are used for the computation. Due to data scattering, a least squares approach is the only choice since there is no particular reason to exclude any data. All available solutions are employed for the extrapolation. The estimated L1 norm error for the finest grid is Err 1 =.252. The observed order of convergence is 1.3, which is much lower than the expected second order accuracy. In spite of a low observed order of convergence, we consider that the extrapolation is reliable. Hence a safety factor F s =1.25 is applied. Comparison between different test cases The estimated L1 norm error and the apparent order of convergence for the two cases are shown in figure 2. It can be observed that the two coarsest grids of the Cartesian grid set containing 88 and 12672 cells, respectively, are too coarse to be included in the uncertainty estimation. The convergence behavior of the multi-block structured grid is good with an order convergence similar to what we obtained with our code using the same grid set, much lower than the expected theoretical second order convergence. As the present approach can give correct estimation to the order of convergence only when a monotonic variation of the solution on different grid is observed, such a low observed order of convergence may due to non-monotonic variation of the solution on different grid in some region. By retaining the points on which monotonic variation is observed in the evaluation, the observed order of convergence with the finest grid triplet is 1.6 and 1.75, respectively, for the Cartesian grid and the multi-block structured grid. These values are closer to the expected second order convergence. 4.3 Uncertainty self consistency check In this section, the uncertainty estimation is compared for the two test cases to see if the error bars overlap. The solution differences with respect to the test case A together with the uncertainty level are compared at three different locations x=1h, 4h and 7h in figures 3, 4 and 5 respectively. In general, both solutions overlap very well at all locations. The level of numerical uncertainty is about.5%, which is acceptable for engineering application. This observation suggests that the use of the finest grid triplet and a safety factor of 1.25 is an appropriate choice. 5

.8.7 Cartesian Multi blocs structured.6 L1 norm error.5.4 p=1.3.3 p=1 Number of cells 5 1 15 Figure 2: Estimated L1 norm error and order of convergence.1 Cartesian Multi blocs Solution difference.1.2.4.6.8 1 1.2 1.4 y/h 5 Conclusion Figure 3: Uncertainty self consistency check at x=1. Results obtained with OpenFoam for the backward facing step test case using two different grid sets are analyzed in this paper. Two results agree well within the uncertainty range. In another paper presented in this workshop [9], the author demonstrates that 6

.5 Cartesian Multi blocs Solution difference.5.1.2.4.6.8 1 1.2 1.4 y/h Figure 4: Uncertainty self consistency check at x=4..4.2 Cartesian Multi blocs Solution difference.2.4.6.2.4.6.8 1 1.2 1.4 y/h Figure 5: Uncertainty self consistency check at x=7. the non-overlapping results obtained with the two grid sets employed in this study using our in house code were related to the wall normal distance computation rather than discretization error or coding error. With OpenFoam, the expected second order convergence cannot be obtained, even with the Cartesian grid set, which is very surprising. This observation, which has to be confirmed by other expertised users, suggests that second order convergence with OpenFoam computation is difficult to achieve for engineering application, even in a computation for demonstration purpose. Such kind of convergence is unlikely possible to obtain without a carefully designed grid with appropriate refinement. However, numerical uncertainty on the velocity field can be reduced to about.5% with reasonably refined grid, which is satisfactory for engineering application. References [1] G.B. Deng. Solution Qualification and Uncertainty Estimation for Local Quantities. In L. Eça and M. Hoekstra, editors, 2nd Workshop on CFD Uncertainty Analysis. Lisbon, 26. 7

[2] G.B. Deng. A Solution Qualification Procedure Applied to a Backward Facing Step Test Case. In AVT-147 Symposium on Computational Uncertainty in Military Vehicle Design. Athen, Greece, 3-7 December, 27. [3] David M. Driver and H. Lee Seegmiller. Features of a reattaching turbulent shear layer in divergent channel flow. AIAA Journal, 23(2):163 171, 1985. [4] L. Eça and M. Hoekstra. An evaluation of verification procedures for cfd applications. In 24th Symposium on Naval Hydrodynamics. Fukuoka, Japan, 22. [5] L. Eça and M. Hoekstra, editors. Workshop on CFD Uncertainty Analysis. Lisbon, 24. [6] L. Eça and M. Hoekstra, editors. 2nd Workshop on CFD Uncertainty Analysis. Lisbon, 26. [7] P.R. Spalart and S.R. Allmaras. A one-equation turbulence model for aerodynamic flows. In AIAA 3th Aerospace Sciences Meeting, AIAA Paper 92-439, Reno, NV, 1992. [8] F. Stern, R. V. Wilsonand H. W. Coleman, and E. G. Paterson. Verification and Validation of CFD Simulations. IIHR Report No. 47, Iowa Institute of Hydraulic Research, The University of Iowa, 1999. [9] G.B. Deng & M. Visonneau. Validation of an Uncertainty Estimation Approach with the Backward Facing Step Test Case. In L. Eça and M. Hoekstra, editors, 3rd Workshop on CFD Uncertainty Analysis. Lisbon, 28. 8