Parallelization of a DEM/CFD code for the numerical simulation of particle-laden turbulent flows



Similar documents
LES OF GAS-PARTICLE TURBULENT CHANNEL FLOW (THE EFFECT OF INTER-PARTICLE COLLISION ON STRUCTURE OF PARTICLE DISTRIBUTION)

Abaqus/CFD Sample Problems. Abaqus 6.10

Computational Fluid Dynamics (CFD) and Multiphase Flow Modelling. Associate Professor Britt M. Halvorsen (Dr. Ing) Amaranath S.

ME6130 An introduction to CFD 1-1

Basic Equations, Boundary Conditions and Dimensionless Parameters

4.What is the appropriate dimensionless parameter to use in comparing flow types? YOUR ANSWER: The Reynolds Number, Re.

1. Fluids Mechanics and Fluid Properties. 1.1 Objectives of this section. 1.2 Fluids

Particle size distribution modeling in the object oriented simulation of gas solid flow

Fluids and Solids: Fundamentals

Viscous flow in pipe

Chapter 8: Flow in Pipes

NUMERICAL ANALYSIS OF THE EFFECTS OF WIND ON BUILDING STRUCTURES

EXAMPLE: Water Flow in a Pipe

Adaptation of General Purpose CFD Code for Fusion MHD Applications*

Contents. Microfluidics - Jens Ducrée Physics: Navier-Stokes Equation 1

CFD Simulation of Subcooled Flow Boiling using OpenFOAM

Torque Analyses of a Sliding Ladder

Introduction to COMSOL. The Navier-Stokes Equations

Chapter 2. Derivation of the Equations of Open Channel Flow. 2.1 General Considerations

Lecture 11 Boundary Layers and Separation. Applied Computational Fluid Dynamics

Effect of Aspect Ratio on Laminar Natural Convection in Partially Heated Enclosure

COMPARISON OF SOLUTION ALGORITHM FOR FLOW AROUND A SQUARE CYLINDER

Purdue University - School of Mechanical Engineering. Objective: Study and predict fluid dynamics of a bluff body stabilized flame configuration.

Differential Relations for Fluid Flow. Acceleration field of a fluid. The differential equation of mass conservation

Design and Optimization of OpenFOAM-based CFD Applications for Hybrid and Heterogeneous HPC Platforms

The Viscosity of Fluids

Lecture 8 - Turbulence. Applied Computational Fluid Dynamics

Lecture 6 - Boundary Conditions. Applied Computational Fluid Dynamics

XI / PHYSICS FLUIDS IN MOTION 11/PA

TWO-DIMENSIONAL FINITE ELEMENT ANALYSIS OF FORCED CONVECTION FLOW AND HEAT TRANSFER IN A LAMINAR CHANNEL FLOW

HEAT TRANSFER ANALYSIS IN A 3D SQUARE CHANNEL LAMINAR FLOW WITH USING BAFFLES 1 Vikram Bishnoi

Pre-requisites

Physics 111: Lecture 4: Chapter 4 - Forces and Newton s Laws of Motion. Physics is about forces and how the world around us reacts to these forces.

Lecture 4 Classification of Flows. Applied Computational Fluid Dynamics

1 The basic equations of fluid dynamics

Basic Principles in Microfluidics

Open channel flow Basic principle

APPLIED MATHEMATICS ADVANCED LEVEL

Dimensional analysis is a method for reducing the number and complexity of experimental variables that affect a given physical phenomena.

CFD SIMULATION OF SDHW STORAGE TANK WITH AND WITHOUT HEATER

Part II: Finite Difference/Volume Discretisation for CFD

The Viscosity of Fluids

Ch 2 Properties of Fluids - II. Ideal Fluids. Real Fluids. Viscosity (1) Viscosity (3) Viscosity (2)

Introduction to CFD Analysis

11 Navier-Stokes equations and turbulence

Fundamentals of Fluid Mechanics

Express Introductory Training in ANSYS Fluent Lecture 1 Introduction to the CFD Methodology

Flow Physics Analysis of Three-Bucket Helical Savonius Rotor at Twist Angle Using CFD

Comparison of Heat Transfer between a Helical and Straight Tube Heat Exchanger

CHAPTER 4 CFD ANALYSIS OF THE MIXER

Practice Problems on Boundary Layers. Answer(s): D = 107 N D = 152 N. C. Wassgren, Purdue University Page 1 of 17 Last Updated: 2010 Nov 22

Fluid Mechanics: Static s Kinematics Dynamics Fluid

Differential Balance Equations (DBE)

International Journal of Food Engineering

Lab 7: Rotational Motion

CFD Application on Food Industry; Energy Saving on the Bread Oven

Paper Pulp Dewatering

Computational fluid dynamics (CFD) 9 th SIMLAB Course

Particle Tracking in the Circle of Willis

du u U 0 U dy y b 0 b

Lecture 16 - Free Surface Flows. Applied Computational Fluid Dynamics

Experiment 3 Pipe Friction

CBE 6333, R. Levicky 1 Review of Fluid Mechanics Terminology

NUMERICAL STUDY OF FLOW AND TURBULENCE THROUGH SUBMERGED VEGETATION

INTRODUCTION TO FLUID MECHANICS

Lecture 5 Hemodynamics. Description of fluid flow. The equation of continuity

Distinguished Professor George Washington University. Graw Hill

Benchmarking COMSOL Multiphysics 3.5a CFD problems

ME 305 Fluid Mechanics I. Part 8 Viscous Flow in Pipes and Ducts

For Water to Move a driving force is needed

Lecture 3 Fluid Dynamics and Balance Equa6ons for Reac6ng Flows

NUMERICAL SIMULATION OF REGULAR WAVES RUN-UP OVER SLOPPING BEACH BY OPEN FOAM

Contents. Microfluidics - Jens Ducrée Physics: Fluid Dynamics 1

Heat Transfer From A Heated Vertical Plate

Numerical simulations of heat transfer in plane channel

Pressure drop in pipes...

Introduction to CFD Analysis

4 Microscopic dynamics

Simulation of Fluid-Structure Interactions in Aeronautical Applications

How To Model A Horseshoe Vortex

Vatten(byggnad) VVR145 Vatten. 2. Vätskors egenskaper (1.1, 4.1 och 2.8) (Föreläsningsanteckningar)

Implementation of a flexible fiber model in a general purpose CFD code

Performance prediction of a centrifugal pump working in direct and reverse mode using Computational Fluid Dynamics

Solution Derivations for Capa #11

Kyu-Jung Kim Mechanical Engineering Department, California State Polytechnic University, Pomona, U.S.A.

Calculating resistance to flow in open channels

Parallel 3D Image Segmentation of Large Data Sets on a GPU Cluster

CFD Code Validation Against Stratified Air-Water Flow Experimental Data

OUTCOME 3 TUTORIAL 5 DIMENSIONAL ANALYSIS

L r = L m /L p. L r = L p /L m

Lecture L22-2D Rigid Body Dynamics: Work and Energy

Transactions on Engineering Sciences vol 5, 1994 WIT Press, ISSN

Swissmetro travels at high speeds through a tunnel at low pressure. It will therefore undergo friction that can be due to:

CE 204 FLUID MECHANICS

FLUID MECHANICS IM0235 DIFFERENTIAL EQUATIONS - CB _1

MEL 807 Computational Heat Transfer (2-0-4) Dr. Prabal Talukdar Assistant Professor Department of Mechanical Engineering IIT Delhi

A fundamental study of the flow past a circular cylinder using Abaqus/CFD

LIGGGHTS OPEN SOURCE DEM: COUPLING TO DNS OF TURBULENT CHANNEL FLOW

Exergy Analysis of a Water Heat Storage Tank

Dynamic Process Modeling. Process Dynamics and Control

Transcription:

Parallelization of a DEM/CFD code for the numerical simulation of particle-laden turbulent flows H. Zhang,, F.X. Trias, Y.Q. Tan, Y. Sheng and A. Oliva Corresponding author: hao@cttc.edu.edu Heat and Mass Transfer Technological Center, UPC, Terrassa 08222, Spain. School of Mechanical Engineering, Xiangtan University, Hunan 411105, China. School of Civil Engineering, University of Leeds, Leeds LS2 9JT, UK. Abstract: The interaction between a turbulent fluid flow and particle motion is investigated numerically. A complete direct numerical simulation (DNS) is carried out to solve the governing equations of the fluid phase, to investigate the behavior of inter-particle collision and its effects on particle dispersion, the discrete element method (DEM) is employed to calculate the particle motion.the parallelization strategy of the DNS part is based on a domain decomposition method and uses a hybrid MPI+OpenMP approach. On the other hand, the OpenMP is used for the parallelization of DEM: the total number of particles to be tracked are equally distributed among processors. Finally, the method is tested for a turbulent flow through a square duct. Keywords: Parallelization, Direct Numerical Simulation, Discrete Element Method, Particle-laden Turbulence, OpenMP 1 Introduction Turbulent dispersed multiphase flow are common in many engineering and environmental applications. The stochastic nature of both the carrier-phase turbulence and the dispersed multiphase distribution makes the problem of turbulent dispersed multi-phase flow far more complex than its single phase counterpart [1]. Through the literature, it can be found that there have been many experimental and numerical studies of fluid-solid two-phase turbulent flows over the past decades, early work that ignored the interparticle collisions can be found in [2, 3, 4], for instance. While there are some studies [5, 6, 7] showing that the inter-particle collisions may play an important role and the effects cannot be neglected. However, in all the above-mentioned simulations, either a Lagrangian Particle Track (LPT) method or the deterministic hard-sphere model was used to predict the trajectory of the particles. The LPT method is difficult to deal with problems when solid volume loading is high since interaction between particles is neglected, while in deterministic hard-sphere model, the post-collision velocity of the particles were directly obtained by solving the equations of impulsive motion, no interaction force informations can be obtained. In the present study, the particle-particle interaction rules are based on the theoretical contact mechanics described in discrete element method (DEM) proposed by Cundall [8]. DEM simulations can provide dynamic information, such as the trajectories and transient forces acting on individual particles, the force is extremely difficult to obtain by physical experimentation at this stage of development. 1

For the fluid calculation, a direct numerical simulation is performed, where two-way coupling effects between fluid and solid are considered. 2 Governing equations and numerical methods 2.1 Navier-Stokes equations We consider the simulation of turbulent, incompressible flows of Newtonian fluids. Under these assumptions, the governing equations in primitive variables read (εu) t ε + (εu) = 0 (1) t + (εu u) = ν 2 u p F p f /ρ f (2) where u and p are the velocity and pressure fields, respectively. ν is the kinematic viscosity and ρ f is the fluid density. The void fraction, ε, is obtained from the DEM computations and F p f represents the particle-fluid interaction force per unit volume. Notice that once discretized in space, F p f is given by the sum of forces of all particles in a fluid computational cell, F f p = 1 N cell V cell f f pi (3) i=1 where V cell is the volume of the cell, N cell is the number of particles in that cell and f f pi is the fluid force on particle j, detailed description of f f pi was given in Eq. (6). Navier-Stokes equations are discretized on a staggered grid in space by a fourth-order symmetrypreserving scheme by [9]. For the temporal discretization, a fully explicit second-order one-leg scheme [10] has been used. This method allows to increase the time step to a value that is about twice than the standard second-order Adams-Bashforth scheme. The use of the fourth-order symmetry-preserving scheme for the convective and diffusive terms of the equations implies that the Laplacian operator in the Poisson equation must be also fourth-order (otherwise the symmetry-preserving property is lost). This is the most problematic aspect from a parallel computing point-of-view. In the companion work [11], we have focused on the improvement of the parallel Poisson solver by means of a hybrid parallelization strategy. The previous version [12] was conceived for single-core (also dual-core) processors and therefore, the distributed memory model with message-passing interface (MPI) was used. The irruption of multicore architectures motivated the use of a two-level hybrid MPI+OpenMP parallelization with the shared memory model on the second level. Advantages and implementation details for the additional OpenMP parallelization are presented and discussed in the companion paper [11]. 2.2 Modelling of particle-fluid and particle-particle interactions When the particles are not in direct contact among themselves but driven only by the fluid flow and body force, their motion can be determined by Newton s equation of motion: ma = f f pi + mg (4) I 2 θ t 2 = τ (5)

where m and I are respectively the mass and the moment of inertia of a particle, θ is the angular position, a is the acceleration, g is the gravitational acceleration if considered, τ is the torque, and f f pi is the particle-fluid force given as: f f pi = 0.5ρ g A p C D u f u p (u f u p ) (6) where A p is the cross-sectional area of the particle as A p = 0.25πd 2 p, and C D =(24/Re p ) f is the drag coefficient, f is the modified factor for the Stokes drag force, described as f = 1+0.15Re 0.687 p when Re p 1000 [13], the particle Reynolds number Re p = u f u p d p /ν (d p is the particle diameter, ν is the kinematic viscosity of the fluid), and the particle Stokes number St is defined as St =(ρ p d 2 p /(18µ))/(d/U 0) (ρ is the density of the particle, µ is the fluid dynamic viscosity). When direct contact occurs between the particles and/or between particles and wall, there should be an additional term at the right-hand side of Eq. 4, namely the contact force ma = f f pi + mg+ f c. In this study, the discrete element method (DEM) [8] was adopted to account for the interaction forces. The particles and walls were directly specified by material properties such as density, Young s modulus and friction coefficient. The theory of Hertz [14] was used for modeling the force-displacement relationship while the theory of Mindlin and Deresiewicz [15] was employed for the tangential force-displacement calculations. Figure 1: Square duct schema (left) and instantaneous isosurfaces of Q=2 (right). 3 On the parallelization of particle interactions The incompressible Navier-Stokes equations together with the Newton s second law and the Hertz theory for impacts form an excellent mathematical model of particle-laden turbulent flows. Unfortunately, attempts at performing direct numerical simulations (DNS&DEM) with the available computational resources and numerical methods are limited to relatively low-reynolds numbers. Anyhow, DNS is nowadays an essential tool to provide new insights into the physics of turbulence and indispensable data for the development of better turbulence models. The progress in DNS is closely related with the efficient use of modern High Performance Computing systems that offer a rapidly growing computing power. Since the irruption of multi-core architectures, this trend is mainly based on increasing both the number of nodes and the number of cores per node. The parallelization strategy for the DNS code is based on a domain decomposition method (see the companion papers [11, 16], for details) whereas for the DEM code it is based on dividing the total number of particles to be tracked among the processors. The latter, basically consist on a main loop over all the particles that can be easily parallelized by means of OpenMP directives. However, the shared memory parallelization is limited by the number of available cores per processor. On the other hand, depending on the number of particles being tracked, the computational cost of the DEM part of the

algorithm can even exceed that of the DNS of the fluid flow. In this context, a hybrid OpenMP+MPI parallelization leaves the problem open to further scalability. 18.1 16.9 15.7 14.5 13.2 12.0 10.8 9.6 8.4 7.2 6.0 4.8 3.6 2.4 1.2 2.6 2.4 2.2 2.0 1.8 1.6 1.4 1.2 1.0 0.8 0.6 0.4 0.2 Figure 2: Left: mean secondary velocity vectors and contours for the mean streamwise velocity component, < u>/u τ. Right: contours for u rms /u τ. A direct numerical simulation of a turbulent flow through a square duct has been chosen as a first demonstrative application of the DEM/CFD code. The geometry is displayed in Figure 1 (left). The computational domain is 4πH H H in the streamwise and wall-normal directions. The Reynolds number based on the friction velocity, u τ and the hydraulic diameter, H, is Re τ = 300. Periodic boundary conditions are applied in the streamwise direction. The flow is driven by means of a constant pressure gradient in the streamwise direction, dp/dx=4hu 2 τ. Finally, no-slip boundary condition is imposed at the walls. Since, the pioneering work by [17] in the early 90s, this configuration has been widely used for benchmarking purposes to validate turbulence models. Here, we propose to study the fluid-particle interaction in detail for this case. Figures 1 (right) and 2 show results for a preliminary DNS simulation. In this case, we have used a 512 128 128 staggered grid to cover the computational domain. Results are in very good agreement with those obtained by [17]. Figure 3 shows the instantaneous distribution Figure 3: Instantaneous distribution of the particles. of 150000 particles. Further results will be presented in the final paper and in the conference. Acknowledgments This work has been financially supported by the Ministerio de Ciencia e Innovación, Spain (ENE2010-17801) and a Juan de la Cierva postdoctoral contract (JCI-2009-04910) by the Ministerio de Cien-

cia e Innovación. Calculations have been performed on the IBM MareNostrum supercomputer at the Barcelona Supercomputing Center. The authors thankfully acknowledge these institutions. References [1] S. Balachandar. and K.E. John. Turbulent dispersed multiphase flow. Annual Review of Fluid Mechanics, 42:111 113, 2010. [2] W.K. Meville and K.N.C. Bray. A model of the two-phase tubulent jet. International Journal of Heat Mass Transfer, 22:647 656, 1979. [3] C.T. Crowe, T.N. Chung, and T.R. Troutt. Particle mixing in the free shear flows. Progress in Energy and Combustion Science, 14:171 209, 1988. [4] R.B. Wicker and J.K. Eaton. Structure of a swirling, recirculating coaxial free jet and its effect on particle motion. International Journal of Multiphase Flows, 27:949 970, 2001. [5] T. Tanaka and Y. Tsuji. Numerical simulation of gas-solid two-phase flow in a vertical pipe: on the effect of inter-particle collision. ASME/FED Gas-Solid Flows, 121:123 128, 1991. [6] L.P. Wang, A.S. Welxler, and Y. Zhou. Statistical mechanical description and modelling of turbulent collision of intertial particles. Journal of Fluid Mechanics, 415:117 153, 2000. [7] M. Sommerfeld. Analysis of collisions effects for turbulent gas-particle flow in a horizontal channel: Part I. Particle transport. International Journal of Multiphase Flows, 29:675 699, 2003. [8] P. Cundall. A computer model for simulating progressive large scale movements in blocky system. In: Muller led, ed. Proc Symp Int Soc Rock Mechanics, Rotterdam: Balkama A A, 1:8 12, 1971. [9] R. W. C. P. Verstappen and A. E. P. Veldman. Symmetry-Preserving Discretization of Turbulent Flow. Journal of Computational Physics, 187:343 368, 2003. [10] F. X. Trias and O. Lehmkuhl. A self-adaptive strategy for the time-integration of Navier-Stokes equations. Numerical Heat Transfer, part B, (under revision). [11] A. Gorobets, F.X. Trias, R. Borrell, M. Soria, and A. Oliva. Hybrid MPI+OpenMP parallelization of an FFT-based 3D Poisson solver that can get over 10 5 CPU cores. In Parallel Computational Fluid Dynamics, Barcelona, Spain, May 2011. Elsevier. [12] A. Gorobets, F. X. Trias, M. Soria, and A. Oliva. A scalable parallel Poisson solver for threedimensional problems with one periodic direction. Computers & Fluids, 39:525 538, 2010. [13] R. Clift, J.R. Grace, and T.R. Weber. Bubbles, Drops and Particles. Academic Press, 1978. [14] K.L. Johnson. Contact mechanics. Cambridge: Cambridge University Press, 1985. [15] R.D. Mindlin, R.D. Mindlin, and H. Deresiewicz. Elastic spheres in contact under varying oblique forces. Journal of Applied Mechanics, 20:327 344, 1953. [16] F.X. Trias, A. Gorobets, M. Soria, and A. Oliva. Numerical simulation of turbulence at lower cost: regularization modeling. In Parallel Computational Fluid Dynamics, Barcelona, Spain, May 2011. Elsevier. [17] S. Gavrilakis. Numerical simulation of low-reynolds-number turbulent flow through a straight square duct. Journal of Fluid Mechanics, pages 101 129, 1992.