Introduction to Computational Fluid Dynamics

Slides:



Advertisements
Similar presentations
LARGE EDDY SIMULATION Chin-Hoh Moeng NCAR.
Advertisements

Source: A. Mason-Jones, PhD thesis Cardiff University (2010) Moving Mesh ApproachTime-averaged Approach.
School of Mechanical, Aerospace & Civil Engineering Postgraduate Research Conference, PGR-MACE10 Performance of two k T -k L -ω models in a separation-induced.
Instructor: André Bakker
TURBULENCE MODELING A Discussion on Different Techniques used in Turbulence Modeling -Reni Raju.
Conservation Equations
Turbulent Models.  DNS – Direct Numerical Simulation ◦ Solve the equations exactly ◦ Possible with today’s supercomputers ◦ Upside – very accurate if.
Boundary Layer Flow Describes the transport phenomena near the surface for the case of fluid flowing past a solid object.
Advanced CFD Analysis of Aerodynamics Using CFX
LES of Turbulent Flows: Lecture 10 (ME EN )
Computer Aided Thermal Fluid Analysis Lecture 10
Combining the strengths of UMIST and The Victoria University of Manchester Aspects of Transitional flow for External Applications A review presented by.
Flow Over Immersed Bodies
MECH 221 FLUID MECHANICS (Fall 06/07) Chapter 9: FLOWS IN PIPE
Wolfgang Kinzelbach with Marc Wolf and Cornel Beffa
CHE/ME 109 Heat Transfer in Electronics
Atmospheric turbulence Richard Perkins Laboratoire de Mécanique des Fluides et d’Acoustique Université de Lyon CNRS – EC Lyon – INSA Lyon – UCBL 36, avenue.
DETAILED TURBULENCE CALCULATIONS FOR OPEN CHANNEL FLOW
LES of Turbulent Flows: Lecture 3 (ME EN )
Transport Equations for Turbulent Quantities
FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION
AIAA SciTech 2015 Objective The objective of the present study is to model the turbulent air flow around a horizontal axis wind turbine using a modified.
Turbulence Modelling: Large Eddy Simulation
CFD Modeling of Turbulent Flows
Lecture Objectives: -Define turbulence –Solve turbulent flow example –Define average and instantaneous velocities -Define Reynolds Averaged Navier Stokes.
Next Class Final Project and Presentation – Prepare and me the ppt files 5-7 slides Introduce your problem (1-2 slides) – Problem – Why CFD? Methods.
1 LES of Turbulent Flows: Lecture 11 (ME EN ) Prof. Rob Stoll Department of Mechanical Engineering University of Utah Fall 2014.
Chapter 9 Turbulence Introduction to CFX.
Introduction to Fluid Mechanics
Governing equations: Navier-Stokes equations, Two-dimensional shallow-water equations, Saint-Venant equations, compressible water hammer flow equations.
Reynolds-Averaged Navier-Stokes Equations -- RANS
Mathematical Equations of CFD
Daniela Tordella, POLITECNICO DI TORINO. DNS and LES In the past years, DNS and LES become viable tools to treat transitioning and turbulent flows.
Turbulent properties: - vary chaotically in time around a mean value - exhibit a wide, continuous range of scale variations - cascade energy from large.
Chapter 6 Introduction to Forced Convection:
LES of Turbulent Flows: Lecture 2 (ME EN )
Convection in Flat Plate Boundary Layers P M V Subbarao Associate Professor Mechanical Engineering Department IIT Delhi A Universal Similarity Law ……
Quantification of the Infection & its Effect on Mean Fow.... P M V Subbarao Professor Mechanical Engineering Department I I T Delhi Modeling of Turbulent.
INTRODUCTION TO CONVECTION

Lecture Objectives: Define 1) Reynolds stresses and
Lecture 6 The boundary-layer equations
Pipe flow analysis.
1 LES of Turbulent Flows: Lecture 7 (ME EN ) Prof. Rob Stoll Department of Mechanical Engineering University of Utah Spring 2011.
Viscosità Equazioni di Navier Stokes. Viscous stresses are surface forces per unit area. (Similar to pressure) (Viscous stresses)
Direct numerical simulation has to solve all the turbulence scales from the large eddies down to the smallest Kolmogorov scales. They are based on a three-dimensional.
Heat Transfer Su Yongkang School of Mechanical Engineering # 1 HEAT TRANSFER CHAPTER 6 Introduction to convection.
Turbulent Fluid Flow daVinci [1510].
Computational Fluid Dynamics Lecture II Numerical Methods and Criteria for CFD Dr. Ugur GUVEN Professor of Aerospace Engineering.
Objective Introduce Reynolds Navier Stokes Equations (RANS)
Introduction to the Turbulence Models
Ship Hydrodynamics - Resistance
Numerical Investigation of Turbulent Flows Using k-epsilon
Reynolds-Averaged Navier-Stokes Equations -- RANS
Introduction to Symmetry Analysis
The k-ε model The k-ε model focuses on the mechanisms that affect the turbulent kinetic energy (per unit mass) k. The instantaneous kinetic energy k(t)
Objective Review Reynolds Navier Stokes Equations (RANS)
Street Canyon Modeling
Fluid Flow Regularization of Navier-Stokes Equations
Lecture Objectives LES Multizone modeling.
Lecture Objectives LES Multizone modeling.
AIAA OBSERVATIONS ON CFD SIMULATION UNCERTAINITIES
AIAA OBSERVATIONS ON CFD SIMULATION UNCERTAINTIES
9th Lecture : Turbulence (II)
Characteristics of Turbulence:
Lecture Objectives Review for exam Discuss midterm project
FLUID MECHANICS REVIEW
Objective Reynolds Navier Stokes Equations (RANS) Numerical methods.
Objective Discus Turbulence
Turbulent properties:
Presentation transcript:

Introduction to Computational Fluid Dynamics Course Notes (CFD 4) Karthik Duraisamy Department of Aerospace Engineering University of Glasgow

Contents Introduction (1.5) Classification of PDE, Model equations (1.5) Finite difference methods:  Spatial discretization (3)  Temporal discretization (2)  Convergence, Consistency, Stability (2) Grids/Boundary conditions (1) RANS Equations and Turbulence modeling (2) DNS/LES (1) Best practices in CFD (1) Case studies/Demonstrations (3) Interaction is very important. I’ll take the steering wheel, but let you guys control the throttle. (.) – Approximate number of lectures

Numerical Simulations : Estimates of cost of fixed wing calculation Sample fixed wing of AR=10, Re=5e6

Turbulent flow and the NS Equations http://web.mit.edu/fluids/www/Shapiro/ncfmf.html

Characteristics of turbulent flow Irregularity (Random and chaotic nature of flow) Increased exchange of momentum (Diffusivity - spreading rate of jets, boundary layers etc.) Large Reynolds numbers Dissipation of kinetic energy to internal energy Wide range of time and length scales Almost all practical flows are turbulent.

Scales of turbulence Turbulent flows are characterized by a wide range of length scales Think of turbulent flow as a collection of eddies of different sizes Eddies  time/length/velocity scales The largest “energy containing” eddies are of the order of the length scale of the object that generated turbulence in the first place (vortex shedding from a cylinder, boundary layer thickness) The smallest eddies are the ones where the energy is dissipated Roughly speaking, there is a “cascade” of energy from the large scale to the smallest scales  This happens because the large eddies interact with each other and breakdown into smaller eddies The smallest scales are called the “kolmogorov” scales (η). At these scales, the Reynolds number of the eddies is small enough that viscous effects become dominant and the energy is dissipated.

Scales

MOVIES

Time and length scales Kolmogorov (1941) showed that L/η ~ (Re)3/4 T/τ ~ (Re)1/2 The problem with DNS of turbulent flows is that you have to simulate (or resolve) all these scales and in 3 dimensions Therefore, number of points in each direction ~ (Re)3/4 Therefore, total number of points ~ (Re)9/4 Therefore, total number of time steps ~ (Re)1/2 Therefore, total number of operations ~ (Re)11/4 Remember, on top of this, you have to do hundreds of operations per point

RANS and LES DNS is obviously not feasible for high Reynolds number flows, therefore, LES and RANS to the rescue LES: Simulate (resolve) the large scales of turbulence and model the effect of the smaller scales (smaller scales are universal) by adding a subgrid viscosity RANS: Model all scales of turbulence Problems: LES still impractical for many flows, RANS is inaccurate in many flows But: One can get very useful and sometimes accurate, affordable engineering solutions with a good knowledge of the flow and the pros and cons of RANS and LES.

In Summary DNS : All scales of turbulence are resolved. Therefore, smallest grid size is of the order of the Kolmogorov scale η ~ L/(Re)3/4 LES: Only the “Large” turbulent scales are resolved. The “smaller” scales are modeled RANS : All the turbulent scales are modeled In DNS, you just solve the Navier Stokes Equations In LES, you solve a filtered version of the Navier-Stokes Equations along with another equation to represent the turbulent small scales In RANS, you solve the averaged version of the Navier-Stokes equation along with another equation to represent all the turbulent scales [The extra equations are called turbulence model equations. Typical turbulence models are k-ε, k-ω, Spalart-Allmaras, etc]

RANS Equations – What are they? Decompose Finally (Substituting & averaging) Where,

RANS Therefore, the objective in RANS turbulence modeling is to represent the unknown (Reynolds stress) in terms of the knowns (mean flow) Establishing such a relationship is called the closure model Types of closure models: - Algebraic models (Zero equation) [Mixing length model, Baldwin Lomax,Cebecci Smith] - One equation [K-model, Spalart Allmaras] - Two equation [K-e model, k-w model, SST] - Algebraic Reynolds Stress Models (ASBM) - Full Reynolds stress closures

Eddy viscosity models Therefore, we determine eddy viscosity at each point and add it to the laminar viscosity Closure problem is therefore, to determine eddy viscosity

Zero equation models Lmix is dependant on the problem. Near a wall, it will be a function of distance to the wall and Reynolds number. Models are reasonably accurate in attached flows Very easy to code up Poor correlation in off design conditions No time history effects Fully local.

2 Equation models 5 free constants Simple, can work well in a variety of flows, history effects, more non-local Reasonable results in many flows, but separation is a problem Very diffusive, poor convergence near walls

Reynolds Stress Models Solve directly for Reynolds stresses Therefore, in theory more accurate than other methods – Production term is very important. But still have to model some terms (other equations required for epsilon) Very expensive, convergence is poor near the wall

Discretization Lets now look in little more detail about the mesh spacing required in various types of flows Turbulent flow  Wall bounded flow  Free-shear flow

Wall bounded flows In reality, there exist eddies of a wide range of length scales in a boundary layer. In DNS, we simulate (resolve) all these eddies In LES we simulate some of the “significant” eddies and model the rest  Problem is that some of the “significant” eddies are still small In RANS we model all the eddies

Turbulent Boundary layer Knowledge of boundary layer is essential to understand resolution requirements.

Turbulent Boundary Layer Scaling u+ = u / U*, y+ = U* y / ν U* = Inner layer: u+ = y+ Outer layer u+ = 2.5 ln(y+)+5.5 Only for zero pressure gradient boundary layer on a flat plate Inner layer Outer layer

LES Problem with LES is that the near wall streaks are of size L+ = 1000, W+=20, H+=30. Therefore to resolve this, we need Δx+ = 100 (streamwise) , Δy+ = 1 (wall normal), Δz+ = 5 (spanwise) When you calculate requirements you find out that it is nearly as expensive as DNS!! Note, this is only for wall bounded flows Remember, in LES, you look to simulate those eddies that are significant. It so happens that in near-wall flows, eddies of this size are significant. In free shear flows, the “significant” eddies are not as small – loosely speaking.

RANS In RANS, you are only concerned about the wall-normal direction. In this direction, you need Δy+ = 1 – In the other two directions, grid sizes can be thousands of times larger and hence the savings. Spacing in other two directions is driven by accuracy considerations Remember, in DNS, only numerical error. In LES and RANS, both numerical and turbulence modeling errors