Development of a Parallel, 3D, Lattice Boltzmann Method CFD Solver for Simulation of Turbulent Reactor Flow

Similar documents
The behaviour of high Reynolds flows in a driven cavity

Determine the Inside Wall Temperature of DSTs using an Infrared Temperature Sensor

PROJECT PROGRESS REPORT (03/lfi?lfibr-~/15/1998):

Inside Wall Temperature Measurements of DSTs Using an Infrared Temperature Sensor

LES of turbulent shear flow and pressure driven flow on shallow continental shelves.

Centrifugal Destabilization and Restabilization of Plane Shear Flows

(4) How do you develop an optimal signal detection technique from the knowledge of

Parametric Instabilities in Laser/Matter Interaction: From Noise Levels to Relativistic Regimes

Determine the Inside Wall Temperature of DSTs using an Infrared Temperature Sensor

August 3,1999. Stiffness and Strength Properties for Basic Sandwich Material Core Types UCRL-JC B. Kim, R.M. Christensen.

LQSAlamos National Laboratory

Plasma Response Control Using Advanced Feedback Techniques

Data Comparisons Y-12 West Tower Data

Modeling Laser and e-beam Generated Plasma-Plume Experiments Using LASNEX

Simulation of Double-Null Divertor Plasmas with the UEDGE Code

PROCEEDINGS THIRD WORKSHOP GEOTHERMAL RESERVOIR ENGINEERING. December 14-15,1977

Lattice Boltzmann Method for Fluid Simulations

GA A27806 TURBULENCE BEHAVIOR AND TRANSPORT RESPONSE APPROACHING BURNING PLASMA RELEVANT PARAMETERS

GA A23736 EFFECTS OF CROSS-SECTION SHAPE ON L MODE AND H MODE ENERGY TRANSPORT

Lattice Boltzmann Method Solver Documentation

NOVEL FINITE DIFFERENCE SCHEME FOR THE NUMERICAL SOLUTION OF TWO-DIMENSIONAL INCOMPRESSIBLE NAVIER-STOKES EQUATIONS

GA A22689 SLOW LINER FUSION

Turbulent Scaling in Fluids. Robert Ecke, MST-10 Ning Li, MST-10 Shi-Yi Li, T-13 Yuanming Liu, MST-10

MAGNETICALLY CONTROLLED DEPOSITION OF METALS USING GAS PLASMA. Quarterly Progress Report April - June 1997

Due Tuesday, November 23 nd, 12:00 midnight

Excitations of the transversely polarized spin density. waves in chromium. E3-r 1s

Study on lattice Boltzmann method/ large eddy simulation and its application at high Reynolds number flow

GA A THERMAL ION ORBIT LOSS AND RADIAL ELECTRIC FIELD IN DIII-D by J.S. degrassie, J.A. BOEDO, B.A. GRIERSON, and R.J.

INTERMOLECULAR POTENTIAL FUNCTIONS AND HIGH RESOLUTION MOLECULAR SPECTROSCOPY OF WEAKLY BOUND COMPLEXES. Final Progress Report

RECXWH2 W/o s3-1

DE '! N0V ?

LATTICE BOLTZMANN SIMULATION OF FLUID FLOW IN A LID DRIVEN CAVITY

External and Internal Incompressible Viscous Flows Computation using Taylor Series Expansion and Least Square based Lattice Boltzmann Method

Alex Dombos Michigan State University Nuclear and Particle Physics

UNIT OPERATIONS AND CHEMICAL PROCESSES. Alan M. Krichinsky

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

GA A26057 DEMONSTRATION OF ITER OPERATIONAL SCENARIOS ON DIII-D

Differential relations for fluid flow

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

Explicit algebraic Reynolds stress models for internal flows

Fine Grid Numerical Solutions of Triangular Cavity Flow

OAK RIDGE NATIONAL LABORATORY

Tell uric prof i 1 es across the Darrough Known Geothermal Resource Area, Nevada. Harold Kaufniann. Open-file Report No.

AC dipole based optics measurement and correction at RHIC

EFFECTS OF AXIAL HEAT CONDUCTION AND MATERIAL PROPERTIES ON THE PERFORMANCE CHARACTERISTICS OF A THERMAL TRANSIENT ANEMOMETER PROBE

Colliding Crystalline Beams

GA A26785 GIANT SAWTEETH IN DIII-D AND THE QUASI-INTERCHANGE MODE

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

PROJECT PROGRESS REPORT (06/16/1998-9/15/1998):

Valley-Fill Sandstones in the Kootenai Formation on the Crow Indian Reservation, South-Central Montana

Lattice Boltzmann Method for Fluid Simulations

Optimization of NSLS-II Blade X-ray Beam Position Monitors: from Photoemission type to Diamond Detector. P. Ilinski

MAGNETIC RESONANCE IMAGING OF SOLVENT TRANSPORT IN POLYMER NETWORKS

IMPACT OF EDGE CURRENT DENSITY AND PRESSURE GRADIENT ON THE STABILITY OF DIII-D HIGH PERFORMANCE DISCHARGES

BASAL CAMBRIAN BASELINE GEOLOGICAL CHARACTERIZATION COMPLETED

FUSION TECHNOLOGY INSTITUTE

A NEW TARGET CONCEPT FOR PROTON ACCELERATOR DRIVEN BORON NEUTRON CAPTURE THERAPY APPLICATIONS* Brookhaven National Laboratory. P.O.

Turbulent Boundary Layers & Turbulence Models. Lecture 09

On the validity of the twofluid model for simulations of bubbly flow in nuclear reactors

GA A22677 THERMAL ANALYSIS AND TESTING FOR DIII D OHMIC HEATING COIL

Numerical analysis of fluid flow and heat transfer in 2D sinusoidal wavy channel

Numerical Prediction Of Torque On Guide Vanes In A Reversible Pump-Turbine

GA A26474 SYNERGY IN TWO-FREQUENCY FAST WAVE CYCLOTRON HARMONIC ABSORPTION IN DIII-D

GA A27857 IMPACT OF PLASMA RESPONSE ON RMP ELM SUPPRESSION IN DIII-D

GA A23713 RECENT ECCD EXPERIMENTAL STUDIES ON DIII D

1 GeV CW nonscaling FFAG for ADS, and magnet parameters

Ray M. Stringfield Robert J. Kares J. R. Thomas, Jr.

Assessment of the Accuracy of the Multiple-Relaxation-Time Lattice Boltzmann Method for the Simulation of Circulating Flows

Analysis of Shane Telescope Aberration and After Collimation

GA A27805 EXPANDING THE PHYSICS BASIS OF THE BASELINE Q=10 SCENRAIO TOWARD ITER CONDITIONS

Magnetic Measurements of the Elliptical Multipole Wiggler Prototype

DISCLAIMER. and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or any agency thereof.

Slurry Pump Mixing Effectiveness in Tank 50H

Model Studies on Slag-Metal Entrainment in Gas Stirred Ladles

Abstract of paper proposed for the American Nuclear Society 1997 Winter Meeting Albuquerque, New Mexico November 16-20, 1997

FINITE-DIFFERENCE IMPLEMENTATION OF LATTICE BOLTZMANN METHOD FOR USE WITH NON-UNIFORM GRIDS

Numerical Simulation of Film Flow over an Inclined Plate: Effects of Solvent Properties and Contact Angle

To be published in the Proceedings of ICEC-22, Seoul Korea, July 2008 MICE Note 232 1

Knott, M. May Future t r e n d s

Corresponding Author (Received October 22, 2012; accepted May 1, 2013) ABSTRACT

A Distributed Radiator, Heavy Ion Driven Inertial Confinement Fusion Target with Realistic, Multibeam Illumination Geometry

HEAT TRANSFER AND THERMAL STRESS ANALYSES OF A GLASS BEAM DUMP

Scaling between K+ and proton production in nucleus-nucleus collisions *

GA A27235 EULERIAN SIMULATIONS OF NEOCLASSICAL FLOWS AND TRANSPORT IN THE TOKAMAK PLASMA EDGE AND OUTER CORE

STP-TS THERMOPHYSICAL PROPERTIES OF WORKING GASES USED IN WORKING GAS TURBINE APPLICATIONS

APPRAISAL OF FLOW SIMULATION BY THE LATTICE BOLTZMANN METHOD

Thomas Pierro, Donald Slinn, Kraig Winters

GA A24016 PHYSICS OF OFF-AXIS ELECTRON CYCLOTRON CURRENT DRIVE

PREDICTIVE MODELING OF PLASMA HALO EVOLUTION IN POST-THERMAL QUENCH DISRUPTING PLASMAS

FINAL REPORT INTEGRATING P-WAVE AND S-WAVE SEISMIC DATA TO IMPROVE CHARACTERIZATION OF OIL RESERVOIRS. Innocent J. Aluka

Direct Determination of the Stacking Order in Gd 2 O 3 Epi-Layers on GaAs

RWM FEEDBACK STABILIZATION IN DIII D: EXPERIMENT-THEORY COMPARISONS AND IMPLICATIONS FOR ITER

VARIATION OF STRESSES AHEAD OF THE INTERNAL CRACKS IN ReNI, POWDERS DURING HYDROGEN CHARGING AND DISCHARGING CYCLES

Beam Dynamics Activities at the Thomas Jefferson National Accelerator Facility (Jefferson Lab)

A Robust Preconditioned Iterative Method for the Navier-Stokes Equations with High Reynolds Numbers

Modeling of MHD Equilibria and Current Profile Evolution during the ERS Mode in TFTR

SciDAC CENTER FOR SIMULATION OF WAVE-PLASMA INTERACTIONS

Bulk Modulus Capacitor Load Cells

Development of a High Intensity EBIT for Basic and Applied Science

Role of Flow Shear in Enhanced Core Confinement

Transcription:

DOE-FIU SCIENCE & TECHNOLOGY WORKFORCE DEVELOPMENT PROGRAM STUDENT SUMMER INTERNSHIP TECHNICAL REPORT June 4, 2012 to August 10, 2012 Development of a Parallel, 3D, Lattice Boltzmann Method CFD Solver for Simulation of Turbulent Reactor Flow Principal Investigators: Jaime Mudrich (DOE Fellow) Florida International University Prashant Jain, Ph.D., Mentor Oak Ridge National Laboratory Acknowledgements: Emilian Popov, Ph.D. Abhijit Joshi, Ph.D. Florida International University Program Director: Leonel Lagos Ph.D., PMP Prepared for: U.S. Department of Energy Office of Environmental Management Under Grant No. DE-EM0000598

DISCLAIMER This report was prepared as an account of work sponsored by an agency of the United States government. Neither the United States government nor any agency thereof, nor any of their employees, nor any of its contractors, subcontractors, nor their employees makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe upon privately owned rights. Reference herein to any specific commercial product, process, or service by trade name, trademark, manufacturer, or otherwise does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States government or any other agency thereof. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States government or any agency thereof.

ABSTRACT The lattice Boltzmann method (LBM) is a relatively young (~20 years) computational fluid dynamics (CFD) algorithm, but has been proven to be a very effective fluid solver. LBM offers advantages over traditional Navier-Stokes equation solvers in the form of exceptional scalability, robust treatment of complex boundaries, and the capacity to take greater time steps. With such advantages in mind, the Thermal Hydraulics and Irradiation Engineering group of the Reactor and Nuclear Systems Division at Oak Ridge National Laboratory is developing a parallel, three-dimensional, LBM, CFD solver called PRATHAM with the intent of simulating fluid flow in a nuclear reactor. Several benchmark cases were examined with the PRATHAM solver to verify various aspects of the program and inspire confidence and acceptance as a CFD tool. Velocity and bounceback boundary conditions were verified using the benchmark case of two-dimensional, lid-driven flow in a cavity. The body-force feature was verified using the case of twodimensional, body-driven Poiseuille flow. The pressure (or density, as they are related by the equation of state in the LBM) was explored using the case of two-dimensional, pressure-driven Poiseuille flow. The benchmark for the pressure boundary condition was acceptable except for some deviant behavior at the boundaries. iii

TABLE OF CONTENTS ABSTRACT... iii TABLE OF CONTENTS... iv LIST OF FIGURES... v 1. INTRODUCTION... 1 2. EXECUTIVE SUMMARY... 2 3. RESEARCH DESCRIPTIONS... 3 3.1 Velocity Boundary Condition Benchmarking... 3 3.2 Forcing Term Benchmarking... 5 3.3 Pressure/Density Boundary Condition Benchmarking... 5 4. RESULTS AND ANALYSIS... 6 4.1 Velocity Boundary Condition Benchmarking... 6 4.1.1 Case 1: Re = 1,000... 6 4.1.2 Case 2: Re = 5,000... 8 4.1.3 Case 3: Re = 10,000... 10 4.2 Forcing Term Benchmarking... 11 4.3 Pressure/Density Boundary Condition Benchmarking... 12 5. CONCLUSION... 14 6. REFERENCES... 15 APPENDIX A.... 16 A.1 Parameter Calculation for Forcing Term Benchmarking... 16 A.2 Parameter Calculation for Pressure Boundary Condition Benchmark... 17 iv

LIST OF FIGURES Figure 1. Lid-driven cavity boundary conditions.... 3 Figure 2. Steady-state solution for Re = 1000, stream function illustrates flow for lid driven cavity simulation (1).... 4 Figure 3. 2D body-driven Poiseuille flow boundary conditions and velocity profile.... 5 Figure 4. 2D pressure-driven Poiseuille flow boundary conditions and velocity profile... 5 Figure 5. Vertical velocities taken from horizontal slice (left) Horizontal velocities taken from vertical slice (right).... 6 Figure 6. Lid-driven cavity horizontal velocity results for Re = 1000 at 200000 ts.... 7 Figure 7. Lid-driven cavity vertical velocity results for Re = 1000 at 200000 ts.... 7 Figure 9. Lid-driven cavity vertical velocity results for Re = 5000 at 500000 ts.... 9 Figure 10. Lid-driven cavity horizontal velocity results for Re = 10000 at 500000 ts.... 10 Figure 11. Lid-driven cavity horizontal velocity results for Re = 10000 at 500000 ts.... 10 Figure 12. Coordinate system for forcing term benchmark.... 11 Figure 13. Error analysis for forcing term benchmark. (Data compared at 125 points. Not all shown here.)... 12 Figure 14. Error for pressure boundary condition benchmark. (Data compared at 125 points. Not all shown.)... 13 v

1. INTRODUCTION Most of the leading three-dimensional (3D) computational fluid dynamics (CFD) software for turbulent flow simulations in geometries of practical interest solves the Reynolds-averaged Navier-Stokes (RANS) equation with closure turbulence models (e.g., k-ε, k-ω, low Reynolds number turbulence model). Though RANS-based turbulence models can provide a reasonably accurate time-averaged behavior for steady state flows, they usually fail to deliver the details and accuracy needed to follow a flow instability transient, model thermal striping physics or capture transient forcing terms in flow-induced structural vibrations in a nuclear reactor. Several persisting issues in other approaches for turbulent flow simulation [e.g., those related to parallel scalability and very fine grid requirements in large eddy simulation (LES) for incompressible flows] can be resolved by a new kinetic method called the lattice Boltzmann method (LBM), which has better algorithmic parallel scalability and can use a longer time step than Navier- Stokes equation (NSE)-based explicit solvers, resulting in a significant speedup and reduced wall-clock time for large simulations of practical interest. At the Oak Ridge National Laboratory, efforts are under way to develop a 3D, parallel LBM code called PRATHAM (PaRAllel Thermal Hydraulic simulations using Advanced Mesoscopic Methods) to demonstrate the accuracy and scalability of LBM for turbulent flow simulations in nuclear applications. The code has been developed using FORTRAN-90, and parallelized using the message passing interface MPI library. Silo library is used to compact and write the data files, and VisIt visualization software is used to post-process the simulation data in parallel. Both the single relaxation time (SRT) and multi relaxation time (MRT) LBM schemes have been implemented in PRATHAM. To capture turbulence without prohibitively increasing the grid resolution requirements, an LES approach is adopted, allowing large scale eddies to be numerically resolved while modeling the smaller (subgrid) eddies. In this work, a Smagorinsky model has been used, which modifies the fluid viscosity by an additional eddy viscosity depending on the magnitude of the rate-of-strain tensor. In LBM, this is achieved by locally varying the relaxation time of the fluid. To gain support and acceptance for PRATHAM, it not only needs to illustrate the aforementioned advantages over traditional RANS-based turbulence models, but must also be competitive with respect to accuracy. To achieve this proof of accuracy, and so verify the algorithm, PRATHAM was used to simulate a series of widely accepted benchmark problems. The results from PRATHAM were compared with data from literature (1, 2) as well as analytical solutions. 1

2. EXECUTIVE SUMMARY This research work has been supported by the DOE-FIU Science & Technology Workforce Initiative, an innovative program developed by the US Department of Energy s Office of Environmental Management (DOE-EM) and Florida International University s Applied Research Center (FIU-ARC). During the summer of 2012, a DOE Fellow intern (Jaime Mudrich) spent 10 weeks participating in a summer internship at Oak Ridge National Laboratory (ORNL) under the supervision and guidance of Dr. Prashant Jain. The intern s project was initiated on June 4, 2012, and continued through August 10, 2012 with the objective of assisting in the ongoing efforts in the development of the parallel, 3D, lattice Boltzmann method CFD fluid solver, PRATHAM, to be used for simulation of reactor flow. 2

3. RESEARCH DESCRIPTION 3.1 Velocity Boundary Condition Benchmarking To verify the velocity boundary conditions, simulations of a two-dimensional, sheardriven cavity were performed. For the case of Re = 1000, the results were compared to the collected data from Bruneau and Saad (1) that includes, among others, the traditionally referenced data of Ghia, Ghia and Shin (2). The cases of Re = 5000 and Re = 10000 were also simulated, but compared exclusively against the second reference (2). The two-dimensional, shear-driven cavity case is illustrated in Figure 1. The domain is square. Three sides of the domain are walls with the no-slip boundary condition such that u = v = 0. The fourth side of the square has a specified velocity parallel to that side (hence shear-driven) and zero velocity in the orthogonal direction. Figure 1 illustrates the system configuration. Figure 2 illustrates the stream function for the steady solution of the lid-driven cavity simulation when Re = 1,000. The flow exhibits one large, central vortex and two secondary vortices in the corners opposite the velocity boundary. Figure 1. Lid-driven cavity boundary conditions. 3

Figure 2. Steady-state solution for Re = 1000, stream function illustrates flow for lid driven cavity simulation (1). 4

3.2 Forcing Term Benchmarking To verify the forcing term used to represent body forces such as gravity or the effects found in magneto hydrodynamics, the case of body-driven Poiseuille flow was simulated. This case is ideal because an analytical solution is available for comparison. In this simulation, the fluid flows through a rectangular domain. The boundaries orthogonal to the direction of flow are periodic. The boundaries that are parallel to and confine the flow are no-slip, bounce-back boundaries. Figure 3, below, illustrates the system configuration and the steady-state velocity profile. Figure 3. 2D body-driven Poiseuille flow boundary conditions and velocity profile. 3.3 Pressure/Density Boundary Condition Benchmarking To verify the pressure/density boundary conditions, the case of pressure-driven Poiseuille flow was simulated. This case is ideal because an analytical solution is available for comparison. In this simulation, the fluid flows through a rectangular domain. The boundaries orthogonal to the direction of flow are periodic. The boundaries that are parallel to and confine the flow are no-slip, bounce-back boundaries. Figure 4, below, illustrates the system configuration and the steady-state velocity profile. ρ x = 0 = ρ 1 ρ x = L = ρ 2 ρ 1 > ρ 2 Figure 4. 2D pressure-driven Poiseuille flow boundary conditions and velocity profile. 5

4. RESULTS AND ANALYSIS 4.1 Velocity Boundary Condition Benchmarking The data used to form the comparison between literature data and the PRATHAM simulation results was the velocity profile along two bisectors of the domain. The horizontal velocity, u, is taken across a vertical slice through the domain. The vertical velocity, v, is taken across a horizontal slice through the domain. Figure 5 below illustrates the method in which data was collected for comparison. Figure 5. Vertical velocities taken from horizontal slice (left) Horizontal velocities taken from vertical slice (right). 4.1.1 Case 1: Re = 1,000 First, the input parameters were calculated to give the correct Reynolds number, sufficient resolution and a physical relaxation time. The following illustrates the procedure. = 000 = 00 0 1 = 0 0 2 1 is the length of the cavity and represents the resolution of the simulation. The value of 200 was selected initially for the length because it would provide good resolution and conserve computation time. Results show it is a suitable selection for this particular case. is the horizontal velocity of the lid and is set to 0.1 1. is the kinematic viscosity of the fluid and is defined by the other two specified parameters as wells as the Reynolds number defining the particular case. Figure 6 and Figure 7 below provide a comparison of the results from PRATHAM and those found in the first reference (1). 6

uz (ND) ux (ND) FIU-ARC-2012-800000394-04c-065 0.60 Horizontal Velocity Along Vertical Center Line at Re = 1000 0.40 0.20 0.00 0.00-0.20 0.20 0.40 0.60 0.80 1.00-0.40-0.60 PRATHAM Bruneau, Saad Botella O, Peyret R Ghia, Ghia, Shin -0.80-1.00-1.20 Z (ND) Figure 6. Lid-driven cavity horizontal velocity results for Re = 1000 at 200000 ts. 0.50 0.40 0.30 0.20 0.10 0.00-0.10 0.00 0.20 0.40 0.60 0.80 1.00-0.20-0.30-0.40-0.50-0.60 Vertical Velocity Along Horizontal Center Line at Re = 1000 x (ND) Bruneau, Saad Botella O, Peyret R Ghia, Ghia, Shin PRATHAM Figure 7. Lid-driven cavity vertical velocity results for Re = 1000 at 200000 ts. 7

ux (ND) FIU-ARC-2012-800000394-04c-065 From Figure 6 and Figure 7, it is qualitatively clear that the results from PRATHAM are in good agreement with data from literature (1, 2). Quantitatively speaking, there is a maximum difference of three percent in the horizontal velocities and a maximum difference of two percent in the vertical velocities. These differences are acceptable on the basis that the PRATHAM simulation used only one fifth of the resolution of that in the first reference (1). These errors can be lessened by refining the mesh size and adjusting the kinematic viscosity accordingly. 4.1.2 Case 2: Re = 5,000 = 000 = 00 0 1 = 0 00 2 1 Figure 8 and Figure 9 below provide a comparison of the results from PRATHAM and those found in the second reference (2) at a Reynolds number of five thousand. 0.6 Horizontal Velocity Along Vertical Center Line at Re = 5000 0.4 0.2 0.0-0.2-0.4-0.6-0.8-1.0-1.2 0 0.2 0.4 0.6 0.8 1 z (ND) PRATHAM Ghia, Ghia, Shin Figure 8. Lid-driven cavity horizontal velocity results for Re = 5000 at 500000 ts. 8

uz (ND) FIU-ARC-2012-800000394-04c-065 0.8 Vertical Velocity Along Horizontal Center Line at Re = 5000 0.6 0.4 0.2 0.0-0.2 0 0.2 0.4 0.6 0.8 1 PRATHAM Ghia, Ghia, Shin -0.4-0.6 x (ND) Figure 9. Lid-driven cavity vertical velocity results for Re = 5000 at 500000 ts. From Figure 8 and Figure 9, it is qualitatively clear that the results from PRATHAM are in good agreement with data from literature (2). Quantitatively speaking, there is an average difference of five percent in the horizontal velocities and an average difference of four percent in the vertical velocities. These differences are acceptable on the basis that the PRATHAM simulation used only one fifth of the resolution of that in the second reference (2). These errors can be lessened by refining the mesh size and adjusting the kinematic viscosity accordingly. 9

uz (ND) ux (ND) FIU-ARC-2012-800000394-04c-065 4.1.3 Case 3: Re = 10,000 = 0 000 = 00 0 1 = 0 00 2 1 Figure 10 and Figure 11 below provide a comparison of the results from PRATHAM and those found in the second reference (2) at a Reynolds number of ten thousand. 0.60 0.40 0.20 0.00-0.20-0.40-0.60-0.80-1.00-1.20 0 0.2 0.4 0.6 0.8 1 Figure 10. Lid-driven cavity horizontal velocity results for Re = 10000 at 500000 ts. 0.60 0.40 0.20 Horizontal Velocity Along Vertical Center Line at Re = 10000 z (ND) PRATHAM Ghia, Ghia, Shin Vertical Velocity Along Horizontal Center Line at Re = 10000 0.00-0.20 0 0.2 0.4 0.6 0.8 1 PRATHAM Ghia, Ghia, Shin -0.40-0.60 x (ND) Figure 11. Lid-driven cavity horizontal velocity results for Re = 10000 at 500000 ts. 10

Unlike the cases for Re = 1,000 and Re = 5,000, the PRATHAM results for the twodimensional lid-driven cavity benchmark at Re = 10,000 is considerably out of agreement with the reference data in (2). It is suggested that the simulations be repeated with a finer mesh, closer to that described in the second reference (2). In the second reference (2), the mesh size is 1024 by 1024 non-dimensional units, but the PRATHAM simulation was performed on a mesh of only 400 by 400 non-dimensional units. The mesh discrepancy could be overlooked at lower Reynolds numbers, but Figure 10 and Figure 11 clearly show that the PRATHAM mesh must be refined and should more closely match the resolution of the second reference (2). 4.2 Forcing Term Benchmarking To benchmark the forcing term, the case of two-dimensional Poiseuille flow was considered. This type of flow has an analytical solution that was used to calculate the error in the PRATHAM simulation. The equation below describes the velocity in the flow direction. = 2 2 Where G represents the hydraulic gradient, a represents the channel radius, represents density, u represents the velocity in the x-direction and represents kinematic viscosity. The calculations required to define the parameters a,,, and G are included in the appendix. Figure 12 below illustrates the coordinate system for the benchmark. Figure 12. Coordinate system for forcing term benchmark. The data used to form the comparison between analytical solution and the PRATHAM simulation results was the velocity profile along a vertical slice of the domain. The horizontal velocity, u, is taken across the channel at any position, x, throughout the domain (fully-developed flow, = 0). Figure 13 below presents the results. 11

Figure 13. Error analysis for forcing term benchmark. (Data compared at 125 points. Not all shown here.) From Figure 13, it is qualitatively clear that the results from PRATHAM are in good agreement with the analytical solution. Quantitatively speaking, there is an average relative error of three hundredths of a percent in the velocity profile. Such a minimal error serves to verify PRATHAM s incorporation of the body force term. 4.3 Pressure/Density Boundary Condition Benchmarking To benchmark the density/pressure (related by equation of state) boundary condition, the case of two-dimensional Poiseuille flow was considered. This type of flow has an analytical solution that was used to calculate the error in the PRATHAM simulation. The equation below describes the velocity in the flow direction. = 2 2 Where represents the inlet and outlet pressure respectively, a represents the channel radius, L represents the channel length, represents a reference density, u represents the velocity in the x-direction and represents kinematic viscosity. The calculations required to define the parameters a, L,,, and are included in the appendix. The coordinate system used for this benchmark is the same as for the problem in section 4.2 Forcing Term Benchmarking and can be seen in Figure 12. The results for this simulation are shown below in Figure 14. 12

Figure 14. Error for pressure boundary condition benchmark. (Data compared at 125 points. Not all shown.) From Figure 14 above, it can be seen that the shape of the velocity profile is correct, but that there is a significant discrepancy between the analytical and simulated solutions. It should be noticed that the velocity, u, becomes negative near the boundaries of the channel ( = ) which is not physical behavior for this system. From these observations, it seems that the pressure/density boundary conditions have been applied and are operating correctly, but the zero velocity boundaries at the walls are performing poorly. It should be noted that in this simulation, velocity boundaries were used on the walls instead of bounce-back boundaries as in the benchmark case of section 4.2 Forcing Term Benchmarking 13

5. CONCLUSION The research at ORNL consisted of benchmarking efforts for the PRATHAM code. The features benchmarked include velocity boundary conditions, pressure/density boundary conditions and the forcing term. The velocity boundary conditions were benchmarked accurately up to Re = 5,000 and the case of Re = 10,000 seems to only be in significant error because of discrepancy in mesh size between the literature values (2) and the PRATHAM simulation. It is recommended that the simulation for Re = 10,000 be performed again with a finer mesh that more closely resembles the literature case. The pressure/density boundary conditions were successfully benchmarked using the case of two-dimensional, pressure-driven Poiseuille flow. It was noted previously that there seems to be an issue with the velocity boundary conditions on the channel walls in this simulation which are causing a non-physical backward flow at the walls. The backward flow discrepancy should be examined further and identified as critical or negligible. The forcing term was successfully benchmarked using the case of two-dimensional, body-driven Poiseuille flow. Minimal error throughout the entire velocity profile of the simulation results indicate that the forcing term is working correctly, the bounceback boundary condition is working correctly, and the periodic boundary condition is working correctly. 14

6. REFERENCES 1. The 2D lid-driven cavity problem revisited. Charles-Henri Bruneau, Mazen Saad. 2006, Elsevier, pp. 326-348. 2. High-resolutions for incompressible flows using Navier-Stokes equations and a multigrid method. Ghia U, Ghia KN, Shin CT. s.l. : J Comput Phys, 1982, Vol. 48. 3. Pressure boundary condition of the lattice Boltzmann method for fully developed periodic flows. Junfeng Zhang, Daniel Y. Kwok. s.l. : Physical Review E, 2006, Vol. 73. 15

Solver for Simulation of Turbulent Reactor Flow APPENDIX A. A.1 Parameter Calculation for Forcing Term Benchmarking Symbol Description Units Maximum Poiseuille flow velocity 1 Average Poiseuille flow velocity 1 Dynamic viscosity 1 1 Kinematic viscosity 2 1 Reference density 3 Relaxation time Reynolds number Dimensionless Channel width G Hydraulic gradient 2 2 = 0 1 = = 0 0 1 = ( ) = = 2 1 = 0 = 0 0 1 0 2 1 = = 2 2 = = 3 = 2 1 = 0 = 2 = 1 1 2 = = = 1 2 0 1 = 1 2 16

Solver for Simulation of Turbulent Reactor Flow = 0 6 2 2 A.2 Parameter Calculation for Pressure Boundary Condition Benchmark = 0 1 = = 0 0 1 = ( ) = = 2 1 = 0 = 0 0 1 0 2 1 = = 2 2 2 2 2 2 = 3 = 2 1 = 0 = 2 2 2 = 3 2 = = = 0 1 = 1 3 1 2 0 1 = 1 3 1 2 = 0 5 4 = 00 = 0 0 3 = 00 3 = 000000 3 17