Numerical Solution of Partial Differential Equations governing compressible flows

Similar documents
Finite Volume Method

AE/ME 339. Computational Fluid Dynamics (CFD) K. M. Isaac. Momentum equation. Computational Fluid Dynamics (AE/ME 339) MAEEM Dept.

Getting started: CFD notation

ENGR Heat Transfer II

2. Getting Ready for Computational Aerodynamics: Fluid Mechanics Foundations

Numerical Heat and Mass Transfer

1 PART1: Bratu problem

Module 2: Governing Equations and Hypersonic Relations

Governing Equations of Fluid Dynamics

Chapter 9: Differential Analysis

Chapter 5. The Differential Forms of the Fundamental Laws

A Study on Numerical Solution to the Incompressible Navier-Stokes Equation

Convection Heat Transfer

Chapter 9: Differential Analysis of Fluid Flow

Airfoil shape optimization using adjoint method and automatic differentiation

Computation of NACA0012 Airfoil Transonic Buffet Phenomenon with Unsteady Navier-Stokes Equations

A Study of Transonic Flow and Airfoils. Presented by: Huiliang Lui 30 th April 2007

AE/ME 339. K. M. Isaac Professor of Aerospace Engineering. 12/21/01 topic7_ns_equations 1

Conservation of Mass. Computational Fluid Dynamics. The Equations Governing Fluid Motion

Investigation of Co-Flow Jet Airfoil Mixing Mechanism Using Large Eddy Simulation

AE/ME 339. K. M. Isaac. 9/22/2005 Topic 6 FluidFlowEquations_Introduction. Computational Fluid Dynamics (AE/ME 339) MAEEM Dept.

Follow this and additional works at:

Challenges and Complexity of Aerodynamic Wing Design

PEMP ACD2505. M.S. Ramaiah School of Advanced Studies, Bengaluru

Aerothermodynamics of High Speed Flows

Adjoint code development and optimization using automatic differentiation (AD)

Aalto University School of Science and Technology CFD-group/ Department of Applied Mechanics. MEMO No CFD/MECHA DATE: March 15, 2012

Entropy stable schemes for compressible flows on unstructured meshes

The Shallow Water Equations

Notes 4: Differential Form of the Conservation Equations

Is My CFD Mesh Adequate? A Quantitative Answer

Adjoint approach to optimization

Chapter 2: Fluid Dynamics Review

V (r,t) = i ˆ u( x, y,z,t) + ˆ j v( x, y,z,t) + k ˆ w( x, y, z,t)

Chapter 2: Basic Governing Equations

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

Application of High-Order Summation-by-Parts Operators to the Steady Reynolds-Averaged Navier-Stokes Equations. Xiaoyue Shen

Application of a Non-Linear Frequency Domain Solver to the Euler and Navier-Stokes Equations

An Investigation of the Attainable Efficiency of Flight at Mach One or Just Beyond

High-Order Hyperbolic Navier-Stokes Reconstructed Discontinuous Galerkin Method

Introduction to Physical Acoustics

Detailed Outline, M E 320 Fluid Flow, Spring Semester 2015

Study on Numerical Simulation Method of Gust Response in Time Domain Jun-Li WANG

RANS Equations in Curvilinear Coordinates

Section 26.1: Reporting Conventions. Section 26.2: Fluxes Through Boundaries. Section 26.3: Forces on Boundaries

for what specific application did Henri Pitot develop the Pitot tube? what was the name of NACA s (now NASA) first research laboratory?

Cost target result Temperature

CFD in Industrial Applications and a Mesh Improvement Shock-Filter for Multiple Discontinuities Capturing. Lakhdar Remaki

Introduction to Fluid Mechanics

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

Aerodynamic study of a small horizontal-axis wind turbine

University of Bristol - Explore Bristol Research. Peer reviewed version. Link to published version (if available): /6.

In this section, mathematical description of the motion of fluid elements moving in a flow field is

A DARK GREY P O N T, with a Switch Tail, and a small Star on the Forehead. Any

Chapter 4: Fluid Kinematics

Investigations of Double Surface Co-Flow Jet Transonic Airfoil

EKC314: TRANSPORT PHENOMENA Core Course for B.Eng.(Chemical Engineering) Semester II (2008/2009)

AA210A Fundamentals of Compressible Flow. Chapter 1 - Introduction to fluid flow

COMPUTATIONAL STUDY OF SEPARATION CONTROL MECHANISM WITH THE IMAGINARY BODY FORCE ADDED TO THE FLOWS OVER AN AIRFOIL

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

Lecture: Wave-induced Momentum Fluxes: Radiation Stresses

Performance. 5. More Aerodynamic Considerations

High Speed Aerodynamics. Copyright 2009 Narayanan Komerath

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

Viscous Fluids. Amanda Meier. December 14th, 2011

Chapter 6: Momentum Analysis

The Phenomena of Fluid Flow

Chapter 9 Flow over Immersed Bodies

Basic Aspects of Discretization

Module 2 : Lecture 1 GOVERNING EQUATIONS OF FLUID MOTION (Fundamental Aspects)

An Introduction to the Discontinuous Galerkin Method

Feedback Control of Aerodynamic Flows

Improvements of Unsteady Simulations for Compressible Navier Stokes Based on a RK/Implicit Smoother Scheme

Computational Astrophysics

Cavitation modeling using compressible Navier Stokes and Korteweg equations

A Multi-Dimensional Limiter for Hybrid Grid

On limiting for higher order discontinuous Galerkin method for 2D Euler equations

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

Flux - definition: (same format for all types of transport, momentum, energy, mass)

Continuity Equation for Compressible Flow

Validation of the Chemistry Module for the Euler Solver in Unified Flow Solver

Compressible Potential Flow: The Full Potential Equation. Copyright 2009 Narayanan Komerath

NDT&E Methods: UT. VJ Technologies CAVITY INSPECTION. Nondestructive Testing & Evaluation TPU Lecture Course 2015/16.

PDE Solvers for Fluid Flow

Overview of Convection Heat Transfer

Y. Abe, N. Iizuka, T. Nonomura, K. Fujii Corresponding author:

n i,j+1/2 q i,j * qi+1,j * S i+1/2,j

Fundamentals of Fluid Dynamics: Ideal Flow Theory & Basic Aerodynamics

Introduction to numerical simulation of fluid flows

Dynamics of Glaciers

5. FVM discretization and Solution Procedure

A parallel Newton-Krylov-Schur flow solver for the Reynolds-Averaged Navier-Stokes equations

LOWELL JOURNAL. MUST APOLOGIZE. such communication with the shore as Is m i Boimhle, noewwary and proper for the comfort

CHAPTER 2 INVISCID FLOW

Differential relations for fluid flow

Mathematical Theory of Non-Newtonian Fluid

Computational Fluid Dynamics Study Of Fluid Flow And Aerodynamic Forces On An Airfoil S.Kandwal 1, Dr. S. Singh 2

Applied Computational Fluid Dynamics. in Marine Engineering

Finite volume method on unstructured grids

PEAT SEISMOLOGY Lecture 2: Continuum mechanics

Transcription:

Numerical Solution of Partial Differential Equations governing compressible flows Praveen. C praveen@math.tifrbng.res.in Tata Institute of Fundamental Research Center for Applicable Mathematics Bangalore 560065 http://math.tifrbng.res.in 31 January 2009 Praveen. C (TIFR-CAM) CFD Jan 31, 2009 1 / 45

Description of flow Gas treated as a continuum At every point of space occupied by gas, define density ρ(x, y, z, t) = lim volume 0 mass volume Velocity vector u(x, y, z, t) v(x, y, z, t) w(x, y, z, t) Pressure p(x, y, z, t) = Force lim area 0 area Praveen. C (TIFR-CAM) CFD Jan 31, 2009 2 / 45

Description of flow Temperature: T (x, y, z, t) Thermodynamics: relates ρ, p, T Five quantities: ρ, u, v, w, p completely specify the state of the fluid Require five equations to describe the evolution of the state Praveen. C (TIFR-CAM) CFD Jan 31, 2009 3 / 45

Divergence theorem In Cartesian coordinates, q = (u, v, w) q = u x + v y + w z Divergence theorem dv n V V qdv = V q ˆndS Praveen. C (TIFR-CAM) CFD Jan 31, 2009 4 / 45

Conservation laws Basic laws of physics are conservation laws: mass, momentum, energy, charge Control volume n Streamlines Rate of change of φ in V = -(net flux across V ) φdv = F ˆndS t V V Praveen. C (TIFR-CAM) CFD Jan 31, 2009 5 / 45

Conservation laws If F is differentiable, use divergence theorem φdv = t F dv or V [ ] φ t + F dv = 0, V V φ t + F = 0 In Cartesian coordinates, F = (f, g, h) φ t + f x + g y + h z = 0 for every control volume V Praveen. C (TIFR-CAM) CFD Jan 31, 2009 6 / 45

Mass conservation equation φ = ρ, F = ρ q F ˆndS = amount of mass flowing across ds per unit time Using divergence theorem ρdv + t or ρdv + ρ q ˆndS = 0 t V V V V V (ρ q)ds = 0 [ ] ρ t + (ρ q) dv = 0 Praveen. C (TIFR-CAM) CFD Jan 31, 2009 7 / 45

Mass conservation equation Differential form ρ t + (ρ q) = 0 In Cartesian coordinates, q = (u, v, w) ρ t + x (ρu) + y (ρv) + z (ρw) = 0 Non-conservative form ρ t + u ρ x + v ρ y + w ρ ( u z + ρ x + v y + w ) = 0 z or in vector notation ρ + q ρ + ρ q = 0 t Praveen. C (TIFR-CAM) CFD Jan 31, 2009 8 / 45

Momentum conservation Newton s law of motion Rate of change of = Total body force + Total surface force momentum Body forces like gravity Surface forces: pressure and viscous shearing x, y, z momentum equations t (ρu)+ x (p+ρu2 )+ y (ρuv)+ z (ρuw) = x τ xx+ y τ xy+ z τ xz t (ρv)+ x (ρvu)+ y (p+ρv2 )+ z (ρvw) = x τ yx+ y τ yy+ z τ yz t (ρw)+ x (ρwu)+ y (ρwv)+ z (p+ρw2 ) = x τ zx+ y τ zy+ z τ zz Praveen. C (TIFR-CAM) CFD Jan 31, 2009 9 / 45

Energy conservation Energy E = internal + kinetic + etc. Rate of Flux of Work done by Transfer of change = energy due + surface and + heat by of energy to flow body forces conduction Energy equation E t + x [(E + p)u] + y [(E + p)v] + [(E + p)w] = etc. z Praveen. C (TIFR-CAM) CFD Jan 31, 2009 10 / 45

Navier-Stokes equations Mass: Momentum: Energy: t ρ t + (ρ q) = 0 (ρ q) + (ρ q q) + p = τ E t + (E + p) q = ( q τ) + Q Praveen. C (TIFR-CAM) CFD Jan 31, 2009 11 / 45

Convection and diffusion Mass: Momentum: Energy: t ρ t + (ρ q) = 0 (ρ q) + (ρ q q) + p = τ E t + (E + p) q = ( q τ) + Q Praveen. C (TIFR-CAM) CFD Jan 31, 2009 12 / 45

Convection and diffusion Continuity equation in non-conservative form ρ t + u ρ x + v ρ y + w ρ ( u z + ρ x + v y + w ) z = Linear convection equation x momentum equation u t + u u x +... = µ 2 u x 2 +... = Non-linear convection and diffusion phenomena = 0 Praveen. C (TIFR-CAM) CFD Jan 31, 2009 13 / 45

Differential and integral form Differential form φ t + F = 0 This is the basis of Finite Difference Methods (conserved quantity) + divergence(flux) = 0 t Integral form φdv = F ˆndS t V V This is the basis of Finite Volume Methods Praveen. C (TIFR-CAM) CFD Jan 31, 2009 14 / 45

Flow with shocks Praveen. C (TIFR-CAM) CFD Jan 31, 2009 15 / 45

Flow with shocks X-15 model at mach = 3.5 Praveen. C (TIFR-CAM) CFD Jan 31, 2009 16 / 45

Computational domain (Josy P. P., CTFD, NAL) Praveen. C (TIFR-CAM) CFD Jan 31, 2009 17 / 45

Grids and finite volumes Praveen. C (TIFR-CAM) CFD Jan 31, 2009 18 / 45

Structured grid Praveen. C (TIFR-CAM) CFD Jan 31, 2009 19 / 45

Unstructured grid Praveen. C (TIFR-CAM) CFD Jan 31, 2009 20 / 45

Unstructured hybrid grid Praveen. C (TIFR-CAM) CFD Jan 31, 2009 21 / 45

Unstructured hybrid grid Praveen. C (TIFR-CAM) CFD Jan 31, 2009 22 / 45

Cartesian grid Saras (Josy) Praveen. C (TIFR-CAM) CFD Jan 31, 2009 23 / 45

Block-structured grid Fighter aircraft (Nair) Praveen. C (TIFR-CAM) CFD Jan 31, 2009 24 / 45

Forces on an airplane http://www.aviation-history.com Lif t = W eight Drag = T hrust Praveen. C (TIFR-CAM) CFD Jan 31, 2009 25 / 45

Wing and Airfoil http://www.centennialofflight.gov Praveen. C (TIFR-CAM) CFD Jan 31, 2009 26 / 45

Effect of Mach number: M = fluid speed/sound speed http://www.centennialofflight.gov Praveen. C (TIFR-CAM) CFD Jan 31, 2009 27 / 45

CFD process Given PDE, initial condition, boundary condition Define computational domain Divide computational domain into a grid Solve using a numerical scheme Compute quantities of interest lift force and drag force Praveen. C (TIFR-CAM) CFD Jan 31, 2009 28 / 45

Flow over NACA0012 airfoil: M = 0.63, α = 2 Pressure Praveen. C (TIFR-CAM) CFD Jan 31, 2009 29 / 45

Flow over NACA0012 airfoil: M = 0.85, α = 1 Pressure 5 Praveen. C (TIFR-CAM) CFD Jan 31, 2009 30 / 45

Flow over Suddhoo-Hall airfoil Pressure contours Praveen. C (TIFR-CAM) CFD Jan 31, 2009 31 / 45

Flow over Suddhoo-Hall airfoil Pressure on airfoil 5 KMM Exact 4 3 2 -Cp 1 0-1 -2-3 -2-1 0 1 2 3 4 x Praveen. C (TIFR-CAM) CFD Jan 31, 2009 32 / 45

Flow through scramjet intake Density Praveen. C (TIFR-CAM) CFD Jan 31, 2009 33 / 45

CFD example: Falcon Mach = 0.85 Grid: 455160 nodes, Solver: Num3sis Praveen. C (TIFR-CAM) CFD Jan 31, 2009 34 / 45

Applications of numerical simulation Forward problem Given initial and boundary conditions, shape of computational domain solve for the flow Inverse problem Given the flow solution compute initial and/or boundary condition, and/or shape of computational domain Optimization problem Given some measure of system performance compute initial and/or boundary condition, and/or shape of computational domain to maximize the performance measure = Optimization of systems governed by PDE Praveen. C (TIFR-CAM) CFD Jan 31, 2009 35 / 45

Example of optimization: RAE2822 Initial shape Solver: euler2d Praveen. C (TIFR-CAM) CFD Jan 31, 2009 36 / 45

Example of optimization: RAE2822 Optimized shape Optimizer: Torczon Simplex, 20 Hicks-Henne parameters Praveen. C (TIFR-CAM) CFD Jan 31, 2009 37 / 45

Example of optimization: RAE2822 Praveen. C (TIFR-CAM) CFD Jan 31, 2009 38 / 45

Shape optimization Very small shape modifications: cannot be obtained using trial and error methods Transonic wings: possible to obtain shock-free flow with small shape changes 1% - 3% reduction in drag = significant fuel savings Many other applications Turbomachinery Ship hull design Automobiles Chemical industry Praveen. C (TIFR-CAM) CFD Jan 31, 2009 39 / 45

Wing optimization Initial shape Praveen. C (TIFR-CAM) CFD Jan 31, 2009 40 / 45

Wing optimization Optimized shape Praveen. C (TIFR-CAM) CFD Jan 31, 2009 41 / 45

Shape optimization problem Cost function J = J(S, u) u satisfies the flow equations (Euler or Navier-Stokes) N(S, u) = 0 u depends on shape S Minimization problem min S S ad J(S, u), s.t. N(S, u) = 0 S ad = Set of admissible shapes Praveen. C (TIFR-CAM) CFD Jan 31, 2009 42 / 45

Classical method Let the shape S be given by a function F (x). Variation in cost function: F F + δf δj = G(x)δF (x)dx G: Shape gradient Steepest descent: choose δf = λg, λ > 0 δj = λ G 2 (x)dx 0 Praveen. C (TIFR-CAM) CFD Jan 31, 2009 43 / 45

Steepest descent method 1 Choose an initial shape S o = S(F o ) 2 Set n = 0 3 Solve the flow equations N(S n, u n ) = 0 4 Compute shape gradient G n 5 Change the shape S n+1 = S(F n + δf n ), δf n = λg n 6 If G n < TOL, then STOP, else n = n + 1, go to step 3 Praveen. C (TIFR-CAM) CFD Jan 31, 2009 44 / 45

The End Theory + Experiment + Simulation John D. Anderson: Introduction to Computational Fluid Dynamics Thank You You can download these slides from http://pc.freeshell.org Praveen. C (TIFR-CAM) CFD Jan 31, 2009 45 / 45