nek5000 massively parallel spectral element simulations

Similar documents
SG Turbulence models for CFD

CHARACTERIZATION OF THE SECONDARY FLOW IN TURBULENT RECTANGULAR DUCTS WITH VARYING ASPECT RATIO

Spectral Element Simulation of Flow Around a Surface-Mounted Square-Section Cylinder

DIRECT NUMERICAL SIMULATIONS OF VARIABLE-ASPECT-RATIO TURBULENT DUCT FLOWS AT LOW TO MODERATE REYNOLDS NUMBERS

Utilising high-order direct numerical simulation for transient aeronautics problems

There are no simple turbulent flows

DNS STUDY OF TURBULENT HEAT TRANSFER IN A SPANWISE ROTATING SQUARE DUCT

Available online at ScienceDirect. Procedia IUTAM 14 (2015 ) IUTAM ABCM Symposium on Laminar Turbulent Transition

Stochastic excitation of streaky boundary layers. Luca Brandt, Dan Henningson Department of Mechanics, KTH, Sweden

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

HISTORY EFFECTS FOR CAMBERED AND SYMMETRIC

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

Divergence free synthetic eddy method for embedded LES inflow boundary condition

Turbulent boundary layer

LARGE EDDY SIMULATION AND FLOW CONTROL OVER A 25 RAMP MODEL

Available online at ScienceDirect. Procedia Engineering 90 (2014 )

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

De-aliasing on non-uniform grids: algorithms and applications

The JHU Turbulence Databases (JHTDB)

Spectral Element Direct Numerical Simulation of Sodium Flow over a Backward Facing Step

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

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

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

Spectral Vanishing Viscosity Method for Large-Eddy Simulation of Turbulent Flows

Large-Eddy Simulation of the Lid-Driven Cubic Cavity Flow by the Spectral Element Method

A High-Order Discontinuous Galerkin Method for the Unsteady Incompressible Navier-Stokes Equations

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

A dynamic global-coefficient subgrid-scale eddy-viscosity model for large-eddy simulation in complex geometries

Overlapping Schwarz preconditioners for Fekete spectral elements

FLUID MECHANICS. ! Atmosphere, Ocean. ! Aerodynamics. ! Energy conversion. ! Transport of heat/other. ! Numerous industrial processes

Turbulence Modeling I!

LARGE EDDY SIMULATION OF MASS TRANSFER ACROSS AN AIR-WATER INTERFACE AT HIGH SCHMIDT NUMBERS

Analysis of uncertainty sources in DNS of a turbulent mixing layer using Nek5000

FLUID MECHANICS. Atmosphere, Ocean. Aerodynamics. Energy conversion. Transport of heat/other. Numerous industrial processes

Patterns of Turbulence. Dwight Barkley and Laurette Tuckerman

Scalable Spectral Element Methods

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

ASSESSMENT OF TURBULENT BOUNDARY LAYERS ON A NACA4412 WING SECTION AT MODERATE Re

Introduction to Turbulence AEEM Why study turbulent flows?

Reynolds stress analysis of EMHD-controlled wall turbulence. Part I. Streamwise forcing

Direct numerical simulation of interfacial instability in gas-liquid flows

Résonance et contrôle en cavité ouverte

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

Optimal Control of Plane Poiseuille Flow

Publication 97/2. An Introduction to Turbulence Models. Lars Davidson, lada

Simulating Drag Crisis for a Sphere Using Skin Friction Boundary Conditions

The behaviour of high Reynolds flows in a driven cavity

Boundary-Layer Theory

A Scalable, Parallel Implementation of Weighted, Non-Linear Compact Schemes

Feedback Control of Boundary Layer Bypass Transition: Comparison of a numerical study with experiments

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

Implicit Large Eddy Simulation of Transitional Flow over a SD7003 Wing Using High-order Spectral Difference Method

Direct numerical simulation of self-similar turbulent boundary layers in adverse pressure gradients

DRAG REDUCTION IN SPATIALLY DEVELOPING TURBULENT BOUNDARY LAYERS BY BLOWING AT CONSTANT MASS-FLUX

Introduction. Finite and Spectral Element Methods Using MATLAB. Second Edition. C. Pozrikidis. University of Massachusetts Amherst, USA

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

Transition to turbulence in plane Poiseuille flow

Direct Numerical Simulations of converging-diverging channel flow

Chapter 1: Basic Concepts

Optimization and control of a separated boundary-layer flow

SECONDARY MOTION IN TURBULENT FLOWS OVER SUPERHYDROPHOBIC SURFACES

WAVEPACKETS IN TURBULENT FLOW OVER A NACA 4412 AIRFOIL

MASSIVELY-PARALLEL SPECTRAL ELEMENT LARGE EDDY SIMULATION OF A TURBULENT CHANNEL USING WALL MODELS. A Thesis JOSHUA IAN RABAU

Experience with DNS of particulate flow using a variant of the immersed boundary method

Energy Transfer Analysis of Turbulent Plane Couette Flow

LEAST-SQUARES FINITE ELEMENT MODELS

4.2 Concepts of the Boundary Layer Theory

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

Characterizing Long-Time Variations in Fully Developed Wind-Turbine Array Boundary-Layers using Proper Orthogonal Decomposition

The JHU Turbulence Databases (JHTDB)

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

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

Turbulence: Basic Physics and Engineering Modeling

Wake of oblate spheroids and flat cylinders

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

Some remarks on grad-div stabilization of incompressible flow simulations

HISTORY EFFECTS AND NEAR-EQUILIBRIUM IN TURBULENT

Active Control of Turbulence and Fluid- Structure Interactions

Generation of initial fields for channel flow investigation

Turbulent flow over anisotropic porous media

Direct Numerical Simulation of Transitional Flow over a NACA66 Propeller Section

CHAPTER 7 SEVERAL FORMS OF THE EQUATIONS OF MOTION

General introduction to Hydrodynamic Instabilities

Drag Reduction via Transversal Wave Motions of Structured Surfaces

Aerodynamic force analysis in high Reynolds number flows by Lamb vector integration

The hybridized DG methods for WS1, WS2, and CS2 test cases

Modeling Unsteady Flow in Turbomachinery Using a Harmonic Balance Technique

fluid mechanics as a prominent discipline of application for numerical

ÉCOLE DE PHYSIQUE DES HOUCHES. Institut de Mécanique des Fluides Toulouse CNRS Université de Toulouse, also at

NEAR-WALL TURBULENCE-BUBBLES INTERACTIONS IN A CHANNEL FLOW AT Re =400: A DNS/LES INVESTIGATION

Turbulence - Theory and Modelling GROUP-STUDIES:

Method in 1D. Introduction of the Basic Concepts and Comparison to Optimal FD Operators

Tutorial School on Fluid Dynamics: Aspects of Turbulence Session I: Refresher Material Instructor: James Wallace

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

WALL PRESSURE FLUCTUATIONS IN A TURBULENT BOUNDARY LAYER AFTER BLOWING OR SUCTION

Colloquium FLUID DYNAMICS 2013 Institute of Thermomechanics AS CR, v.v.i., Prague, October 23-25, 2013 p.1

Application of wall forcing methods in a turbulent channel flow using Incompact3d

Large Eddy Simulation as a Powerful Engineering Tool for Predicting Complex Turbulent Flows and Related Phenomena

Nek5000 and Spectral Element Tutorial

Computational Fluid Dynamics 2

Transcription:

nek5000 massively parallel spectral element simulations PRACE Scientific Seminar HPC Boosts Science, 22th February 2011 P. Schlatter & D. S. Henningson Linné Flow Centre, KTH Mechanics

Fluid flows Tornado, USA (www.fas.org) Waterfall, Sweden ( 2007) Airplane wing (Wikipedia) 2

Turbulence Laminar flow Transitional flow Re = UL/ Turbulent flow > 10 4 flow likely to be turbulent L=1 m U=1 m/s Re = 1*1/10-6 =10 6 Water: = 10-6 m 2 /s 3

Outline 1. Numerics and large-scale computations Flow simulations and spectral elements Performance 2. Flow application: Turbulent flow in a 3D diffuser Comparison to real experiments 4

1. Numerics and large-scale computations 5

Flow simulations Smoke visualization (http://www.flickr.com/photos/ weeping-willow/2728907738/) Measurements Computer simulation (Stefan Kerkemeier, ETH) Navier-Stokes equations 6

Flow simulations Nonlinear, chaotic, singularly perturbed, mixed hyperbolicparabolic... Direct numerical simulation (DNS) Challenge I: n ~ O(Re 3/4 ) in each spatial direction, O(Re 1/2 ) in time resolution ~ O(Re 11/4 ) Challenge II: Incompressibility Elliptic problem for pressure (global coupling in every time step) Choose a high order method! 7

Spectral elements (Patera 84) Finite element (FE) Spectral Spectral element (SE) + (Zhang et al. 2004) 8

Spectral elements Similarities to FEM: Variational formulation. Strong form Weak form Galerkin approx. Matrix form Departure from FEM: Orthogonal Legendre polynomials, Gauss- Lobatto quadrature. Domain partitioned into E high-order quadrilateral (or hexahedral) elements. Nodal basis: Solution represented as N th-order Lagrange interpolants based on Gauss-Lobatto-Legendre points (N ~ 4 15). Converges exponentially fast with N for smooth solutions. Part of diffuser geometry with E = 127750, N = 11 9

Spectral elements Local tensor-product form (2D), h i (r) allows derivatives to be evaluated as matrixmatrix products: 90% of ops, 40% of time is in the form of small matrix-matrix products mxm-routines written in assembly by IBM 10

nek5000 SEM code by Paul F. Fischer, Argonne National Laboratory 80,000 lines of f77 (some C for I/O), MPI (no hybrid MPI-OMP) Keep it simple world s most powerful computers have very weak operating systems Much effort spent on the coarse grid solvers (AMG and XX T ) Argonne National Lab, 2008 11

nek5000 Turbulent diffuser 65 536 cores 1. Real case 2. Strong scaling 32 768 cores 12

2. Flow application: Turbulent flow in a 3D diffuser 13

Diffuser experiment at Stanford Cherry et al. (2008) Turbulent water u b = 1 m/s, h = 1cm Re b = 10,000 Fully 3D Complex separation 14

Setup in Ohlsson et al. (2010) First DNS Re b = 10,000 High order SEM code 220 million grid points 15

Complex flow 16

Complex flow 17

Observed Instantaneous large-scale visualization oscillations 18

Instantaneous visualization x=12 19

Mean flow Skin-friction Pressure Reynolds recovery number Ohlsson et al., JFM 2010 20

Mean flow <u> in streamwise planes at 2, 5, 8 cm from the diffuser throat Numerical simulation by nek5000 (left) Experiment by Cherry et al. (right) Ohlsson et al., JFM 2010 21

Observed large-scale oscillations 22

Thank you! 23

Time probes x=12 Powerspectrum T ~ 80 T ~ 20 24

Proper Orthogonal Decomposition (POD) Principal component analysis (Pearson 1901, Lumley 1967) Finds the directions of most variance in random dataset Eigenvectors of the covariance matrix N 25

POD (structures) log(e) mean Modes 26

POD (frequencies) T ~ 80 a 1,a 2,a 3 Powerspectrum Time series 27

Phase-portraits Signs of a quasi-periodic motion 28

Why dominant frequencies? Friday evening... Villermaux & Hopfinger (1994) Lawson & Davidson (2001) Confinement!

Low-order reconstruction log(e) mean Modes 30

Low-order reconstruction Fluctuations from POD modes 1,2 Fluctuations from real snapshots Fluctuations from experiments 31

Conclusions, part 1 Fluid flows nonlinear, chaotic, sensitive calls for correct numerical treatment. Resolution ~ O(Re 11/4 ) Parallel computations unavoidable Incompressibility introduces heavy communication. Spectral elements offer accuracy, scalability and flexibility. Stabilization needed for turbulence simulations 32

Conclusions, part 2 Dynamics in diffuser governed by jet- flapping, due to the confinement of the flow Most energetic POD modes are pairs of streamwise streaks shedding. Typical frequencies found through time probes & POD: Large-scale motion with T ~ 80. Large-scale motion give explanation for double peak r.m.s. 33

Navier-Stokes Eq. (3D) K-type Transition Ohlsson et al. LNCSE 76 34

Navier-Stokes Eq. (3D) K-type Transition No overintegration blow up just before skin-friction peak Resolution 1: 91 3 Resolution 2: 127 3 Overintegration M=N+1 M=N+2 M=N+3 M=N+4! Ohlsson et al. LNCSE 76 35

Stabilization of SEM Proposed methods: Overintegration [Kirby et al., Maday et al., Canuto et al.] N M M = 3/2 N N M N N Filtering [Fischer & Mullen] Spectral Vanishing Viscosity (SVV) [Pasquetti et al.] 36

Navier-Stokes Eq. (3D) Turbulent Channel Flow at Re = 590 M = N+4 M = 3/2 N Ohlsson et al. LNCSE 76 37

Setup in Ohlsson et al. (2010) laminar inflow development section straight + converging section trip-forcing region diffuser fully turbulent flow outflow with damping region Re b = 10,000 Re_tau = 320 (970) 38

Flow simulations High-order discretization in space + Small dispersion errors (grow linearly with time) + Less grid points for given accuracy Complex geometries cumbersome Time discretization Nonlinear terms explicitly, viscous terms implicitly (3rd order) 39

Time probes x=-13 Powerspectrum T=33 T + =3100 x + ~1000 t + = x + / u c 3300 40

Mean flow Green: U/u b = 0 Red: U/u b = -0.1 41

Why this bump? (Hypothesis 2) Present at all times! 42

Motivation 2D (Kuwahara et al., icfd, Tokyo) Steady point of separation Unsteady reattachment point 3D Pressure induced separation Unsteady separation point (Ohlsson et al. 2008) (Ohlsson et al. 2010) No homogeneous direction except time Increased unsteadiness Influence of walls and secondary flows..? 43

Conclusions Indications that dynamics in diffuser governed by jet instabilities. Walls contribute to complex secondary flow in diffuser. Largest pancake structures of found right after diffuser opening, due to spanwise vorticity and dw/dz dominating. 44

Results fluctuations (u rms /u b )x100 in streamwise planes at 2, 5, 12 cm from the diffuser throat Numerical simulation by nek5000 (left) Experiment by Cherry et al. (right) 45

Diffuser experiment at Stanford 46