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

Similar documents
CHARACTERISTIC OF VORTEX IN A MIXING LAYER FORMED AT NOZZLE PITZDAILY USING OPENFOAM

Reduced-order models for flow control: balanced models and Koopman modes

INVESTIGATION OF THE FLOW OVER AN OSCILLATING CYLINDER WITH THE VERY LARGE EDDY SIMULATION MODEL

Analysis of Proper Orthogonal Decomposition and Dynamic Mode Decomposition on LES of Subsonic Jets

A CONTINUOUS ADJOINT APPROACH FOR VEHICLE INTERIOR NOISE REDUCTION

nek5000 massively parallel spectral element simulations

LARGE EDDY SIMULATION AND FLOW CONTROL OVER A 25 RAMP MODEL

Proper Orthogonal Decomposition

REDUCED ORDER MODELLING OF GUST ANALYSIS USING COMPUTATIONAL FLUID DYNAMICS

CFD Analysis of Vented Lean Hydrogen Deflagrations in an ISO Container

Wall-Functions and Boundary Layer Response to Pulsating and Oscillating Turbulent Channel Flows

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

There are no simple turbulent flows

ASSESSMENT OF RANS AND DES METHODS FOR THE AHMED BODY

fluid mechanics as a prominent discipline of application for numerical

Reduced-Order Modeling of Channel Flow Using Traveling POD and Balanced POD

DMD algorithms for experimental data processing in combustion

A Detached-Eddy-Simulation study

Applications of the dynamic mode decomposition

DIRECT NUMERICAL SIMULATIONS OF HIGH SPEED FLOW OVER CAVITY. Abstract

[N175] Development of Combined CAA-CFD Algorithm for the Efficient Simulation of Aerodynamic Noise Generation and Propagation

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

WAVEPACKETS IN TURBULENT FLOW OVER A NACA 4412 AIRFOIL

Nonlinear shape evolution of immiscible two-phase interface

Preliminary Study of the Turbulence Structure in Supersonic Boundary Layers using DNS Data

(U c. t)/b (U t)/b

Studies on the Transition of the Flow Oscillations over an Axisymmetric Open Cavity Model

An example of the Rvachev function method

Prediction of noise from a wing-in-junction flow using computational fluid dynamics

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

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

Zonal hybrid RANS-LES modeling using a Low-Reynolds-Number k ω approach

Towards Reduced Order Modeling (ROM) for Gust Simulations

LARGE EDDY SIMULATION OF FLOW OVER NOZZLE GUIDE VANE OF A TRANSONIC HIGH PRESSURE TURBINE

DYNAMIC MODE DECOMPOSITION OF PIV MEASUREMENTS FOR CYLINDER WAKE FLOW IN TURBULENT REGIME

Impact of numerical method on auto-ignition in a temporally evolving mixing layer at various initial conditions

Improvement of Reduced Order Modeling based on Proper Orthogonal Decomposition

Direct Numerical Simulations on the Uniform In-plane Flow around an Oscillating Circular Disk

Online Dynamic Mode Decomposition Methods for the Investigation of Unsteady Aerodynamics of the DrivAer Model (Second Report)

Motivation. Coupling of overset grids. Incompressible finite-volume methods. Non-conservative interpolation of field values Mass defect

Turbulence Modeling I!

arxiv: v1 [physics.flu-dyn] 4 Aug 2014

ADVANCED DES SIMULATIONS OF OXY-GAS BURNER LOCATED INTO MODEL OF REAL MELTING CHAMBER

SG Turbulence models for CFD

Multiphase Flow Simulations in Inclined Tubes with Lattice Boltzmann Method on GPU

Turbulence and its modelling. Outline. Department of Fluid Mechanics, Budapest University of Technology and Economics.

Highly-efficient Reduced Order Modelling Techniques for Shallow Water Problems

Obtaining a Stable Galerkin ROM in Presence of Shock-Vortex Interactions

Reduced order model of three-dimensional Euler equations using proper orthogonal decomposition basis

An approach to predict gust effects by means of hybrid ROM/CFD simulations

Least Squares Finite Element Methods for Large Scale Incompressible Flows

Estimation of Turbulent Dissipation Rate Using 2D Data in Channel Flows

Numerical Investigation of the Transonic Base Flow of A Generic Rocket Configuration

Before we consider two canonical turbulent flows we need a general description of turbulence.

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

ACTUAL PROBLEMS OF THE SUBSONIC AERODYNAMICS (prospect of shear flows control)

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

APPLICATION OF HYBRID CFD/CAA TECHNIQUE FOR MODELING PRESSURE FLUCTUATIONS IN TRANSONIC FLOWS

APPLICATION OF PROPER ORTHOGONAL DECOMPOSITION FOR AVIATION SAFETY

CHAPTER 7 SEVERAL FORMS OF THE EQUATIONS OF MOTION

This is the accepted version of a paper presented at 4th International Conference on Jets, Wakes and Separated Flows, ICJWSF2013.

Introduction to Aerodynamics. Dr. Guven Aerospace Engineer (P.hD)

LES ANALYSIS ON CYLINDER CASCADE FLOW BASED ON ENERGY RATIO COEFFICIENT

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

OpenFOAM selected solver

Introduction to Turbulence AEEM Why study turbulent flows?

Open boundary conditions in numerical simulations of unsteady incompressible flow

Machine Learning Applied to 3-D Reservoir Simulation

Applications of the Proper Orthogonal Decomposition Method

Archimer

Optimization and control of a separated boundary-layer flow

An evaluation of a conservative fourth order DNS code in turbulent channel flow

Aeroacoustics, Launcher Acoustics, Large-Eddy Simulation.

SIMULATION OF THREE-DIMENSIONAL INCOMPRESSIBLE CAVITY FLOWS

AA214B: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS

Low-rank and sparse dynamic mode decomposition

Effects of small noise on the DMD/Koopman spectrum

Contents. Preface... xi. Introduction...

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

A NOVEL VLES MODEL FOR TURBULENT FLOW SIMULATIONS

Detailed Numerical Simulation of Liquid Jet in Cross Flow Atomization: Impact of Nozzle Geometry and Boundary Condition

Dynamics of Large Scale Motions in Bubble-Driven Turbulent Flow

An Introduction to Theories of Turbulence. James Glimm Stony Brook University

TURBINE BURNERS: Engine Performance Improvements; Mixing, Ignition, and Flame-Holding in High Acceleration Flows

Simulation of a lean direct injection combustor for the next high speed civil transport (HSCT) vehicle combustion systems

Numerical and Experimental Study of Effects of Upstream Disturbance on Accuracy of Vortex-Shedding Flow Meter

Reliability of LES in complex applications

CFD STUDY OF MASS TRANSFER IN SPACER FILLED MEMBRANE MODULE

Structures in the turbulent wake of an Ahmed body: LES vs Experiments using POD and some ideas about control

+ = + t x x x x u. The standard Smagorinsky model has been used in the work to provide the closure for the subgridscale eddy viscosity in (2):

PROPER ORTHOGONAL DECOMPOSITION OF DIRECT NUMERICAL SIMULATION DATA: DATA REDUCTION AND OBSERVER CONSTRUCTION

Modeling of turbulence in stirred vessels using large eddy simulation

UNIVERSITY OF CALGARY. Base Region Topology of Turbulent Wake around Finite Wall-Mounted Cylinder with. Application of Low Order Flow Representation

Damage detection using output-only measurement by indirect approach

Elliptic Trailing Edge for a High Subsonic Turbine Cascade

Modal Decomposition Methods on Aerodynamic Flows

The Simulation of Wraparound Fins Aerodynamic Characteristics

Contents. I Introduction 1. Preface. xiii

On the feasibility of merging LES with RANS for the near-wall region of attached turbulent flows

INTRODUCTION OBJECTIVES

Transcription:

ECCOMAS Congress 2016 VII European Congress on Computational Methods in Applied Sciences and Engineering M. Papadrakakis, V. Papadopoulos, G. Stefanou, V. Plevris (eds.) Crete Island, Greece, 5 10 June 2016 IMPLEMENTATION OF POD AND DMD METHODS IN APACHE SPARK FRAMEWORK FOR SIMULATION OF UNSTEADY TURBULENT FLOW IN THE MODEL COMBUSTOR Michael D. Kalugin, Sergei V. Strijhak 1 1 Institute for System Programming of the Russian Academy of Sciences 109004, Russia, Moscow, Alexander Solzhenitsyn st., 25 e-mail: m.kalugin@ispras.ru, strijhak@yandex.ru Keywords: Rearward facing step, Turbulent Flow, Finite volume method, Grid, Computational Fluid Dynamics, Vortices, Apache Spark, POD, DMD, snapshots, modes. Abstract. The paper is devoted to modelling and analysis of unsteady turbulent flow in a model combustor (channel) using LES (Large Eddy Simulation). Simulations were provided for 2D and 3D cases on different grids of a flow in a channel with rearward facing step. The calculation of a flow in a channel was performed on high performance cluster, using the new approach in Apache Spark framework and POD, DMD data processing algorithms. First 4 dynamic modes were defined.

1 INTRODUCTION Solution of Continuum Mechanics problems (hydrodynamics, turbulent combustion, aerodynamics and aeroacoustics) is an important direction for solving fundamental and applied tasks. Usually, numerical simulations are carried out with detailed grids (tens and hundreds of millions of cells) using high performance clusters. Scale turbulence resolution requirements impose certain restrictions on the cells size when using Hybrid RANS/LES and LES methods. As a result, calculation of unsteady flow generates large amounts of data (tens of terabytes), processing of which requires considerable time and computing resources. 2 PROBLEM STATEMENT This paper considers the problem of incompressible subsonic flow simulation in a channel with a rearward facing step. This kind of flows occurs in various technical devices, including combustion chambers of aircraft engines and helicopters. The main feature of such flows is the formation of large-scale structures in the mixing layer behind a step, which is used as a flame stabilizer [1,2]. The extension of the mixing layer is determined by the dynamics of large vortices development, which are formed upstream and increase as the result of neighboring vortices merging and inclusions of viscous gases from the main flow (Fig.1). The mixing process inside of the large scale structures is determined by small-scale turbulence. The Reynolds number in our case is 22000. Figure 1: Schlieren photograph. 3 MATHEMATIC MODEL AND CALCULATION RESULTS In this paper, the authors used open source package OpenFOAM, pisofoam solver [3], for calculation of unsteady incompressible flow in a channel with a rearward facing step (Fig.2). For the simulation of unsteady flow it is recommended to use Large Eddy Simulation (LES) model. Large-scale vortex structures are calculated by integrating the filtered Navier-Stokes equations [2,3]. To obtain the filtered equations the boxed filter is used. Small vortices, sized not exceeding the pitch of the computational grid, are simulated using the Smagorinsky model and model based on one differential equation for sub-grid kinetic energy. Finite volume method is used for discretization of the equations. The calculation time step is dt = 10-5. The velocity at entrance were set at U = 10 m/s taking into account the overlapping of perturba-

tions for the simulation of a turbulent flow. The nonpermeability conditions were set on the walls. Continuation of the flow boundary condition was set at the exit. Calculation scheme has the second order of accuracy. The grid is based on hexahedrons. The block grid with 13 blocks was built-up for 2D and 3D calculations (Fig.3). The number of cells for 2D case ranged from 626 up to 2690 (Fig.4). For 3D case there were 244500 cells. The resulting equation for the relation of velocity and pressure are solved by the iterative PISO algorithm. The system of linear equations was solved by the method of conjugate gradients with preconditioner. Figure 2: Domain of computation Characteristic dimensions. Figure 3: Domain of computation and blocks. Figure 4: Coarse grid

Figure 5: Detailed (Fine) grid. The calculation results analysis by Paraview of the velocity magnitude value had revealed that the large-scale coherent structures, 3D vortex are formed behind a rearward facing step. Animated picture of the flow around the step has a pronounced unsteady flow character. Periodic self-quenching of the large-scale vortices were registered with a frequency of f=200 Hz. Figures 6-9 illustrate the results of the velocity magnitude calculation. The simulation cases were run with 24 cores on high performance cluster of ISP RAS. Figure 1: Field of velocity magnitude at the time t=0.005 s. Figure 7: Field of velocity magnitude at the time t=0.02 s.

Figure 8: Field of velocity magnitude at the time t=0.05 s. Figure 9: Field of velocity magnitude at the time t=0.1 s. 4 APACHE SPARK TECHNOLOGY AND POD AND DMD METHODS Apache Spark technology allows to process large amounts of data in ram memory by distributing the load between the compute nodes, ensuring high fault tolerance (Fig. 10). When calculating the flow process, considerable amount of data in the form of separate time snapshots of the flow was obtained. The POD and DMD algorithms allow to obtain new data on turbulence and coherent structures. Authors of this paper have applied POD and DMD algorithms using Apache Spark framework and LAPACK mathematical library. The POD was first introduced by Lumley in the field of Computational Fluid Dynamics [4]. The present day analysis uses method of snapshots introduced by Sirovich [5]. To compute the POD using the Eq. 1 requires solving n n eigenvalue problem. Where, 1 2 T Rt1, t2 t2 dt2 t1 (1) 0 R t t is the auto-covariance of the fluid variable. The main problem is the calculation of auto-covariance matrix Rt1, t 2 proposes that auto-covariance matrix, R t t can be approximated by a summation of snapshots. 1 2. Snapshots method R 1 M n n ij xi x j M n 1 (2) The snapshots are assumed to be distanced by a time or a special distance greater than the correlation time or distance.

The input data for DMD [6-8] have to be presented in the form of sequence of snapshorts and are set by a matrix V with the size n m, where A linear mapping from one snapshort to another is assumed V1 1, 2, 3,... n 1 (3) N N1 1 1 1 1 V v, Av,..., A v (4) By the linear combination of available data fields, we have a standard Arnoldi iteration problem. n1 n1 Av v S (5) Utility written in C++, allowed transferring the data obtained during the hydrodynamic calculation from the OpenFOAM format into the library format, written in Scala. Figure 10: Architecture of Apache Spark technology. To highlight the characteristic structures, authors propose to use POD (Proper Orthogonal Decomposition) method. For the data processing, 26 snapshots and calculation results of velocity magnitude field were used. As a result of POD and DMD algorithms implementation, the basic dynamic modes, characterizing the large-scale structure in the channel have been revealed. 4 most characteristic modes were selected (Fig.11-14). The arrows on figures display the velocity field taken at t = 0.25 s. Contribution of the other modes to the total turbulence energy is insignificant.

Figure 11: 1-st POD mode. Figure 12: 2-nd POD mode. Figure 13: 3-rd POD mode. Figure 14: 4-th POD mode. As a rule, the different modes correspond to the position of different vortices in channel. The four most significant singular values are shown in table 1. This values capture 87% of the kinetic energy.

Number of value Absolute value % of captured energy 1 24,14653 80,23% 2 0,897377 83,21% 3 0,716828 85,59% 4 0,690438 87,89% 5 CONCLUSIONS Table 1: First 4 modes. The calculation of the flow in the channel was performed, using the new approach in Apache Spark and POD, DMD algorithms, first 4 dynamic modes are selected. Application of this technology allows to solve more complex problems for investigation of turbulence flows and obtaining data on characteristics of coherent structures. ACKNOWLEDGMENTS This research is funded by The Ministry of Education and Science of Russia (RFMEFI60714X0090, grant number 14.607.21.0090). REFERENCES [1] R.W. Pitz, J.W. Daily. Experimental study of combustion in a turbulent free shear layer formed at a rearward facing step. AIAA Journal, 21, 1565-1570, 1983. [2] C. Fureby. Homogenization Based LES for Turbulent Combustion. Flow, Turbulence and Combustion, 84, 459-480, 2010. [3] H.G. Weller, G. Tabor, H. Jasak, C. Fureby. A tensorial approach to computational continuum mechanics using object oriented techniques, Computers in Physics, 12, 6, 620-631, 1998. [4] G. Berkooz, P. Holmes, and J. Lumley. The proper orthogonal decomposition in the analysis of turbulent flows, Annual review of fluid mechanics, 25, no. 1, pp. 539 575, 1993. [5] L. Sirovich. Turbulence and the Dynamics of Coherent Structures: Parts I, II, and III. Quarterly of Applied Mathematics, 45, 561 590, 1987. [6] P.J. Schmid. Dynamic mode decomposition of numerical and experimental data. Journal of Fluid Mechanics, 656, 5-28, 2010. [7] P. J. Schmid, L. Li, M. P. Juniper, O. Pust. Applications of the dynamic mode decomposition. Theor. Comp. Fluid Dyn., 25, 249-259, 2011. [8] C. Rowley, I. Mezic, S. Bagheri, P. Schlatter, D. Henningson. Spectral analysis of nonlinear flows. Journal of Fluid Mechanics, 641, 115 127, 2009.