Introduction to computational aerodynamics-lecture 1

Attribution Non-Commercial (BY-NC)

8 views

Introduction to computational aerodynamics-lecture 1

Attribution Non-Commercial (BY-NC)

- 427_1
- Aerodynamics and Heat Transfer Predictions in a Highly
- Modeling Extreme Wave Sequences for the Hydrodynamic Analysis of Ships and Offshore Structures
- Bio Reactor Scale-Up SSO
- MODELING TURBULENT FLOW
- Chapter 3
- IPC2012 90225 Computational Fluid Dynamics
- Evaluation Different Modeling Method for Erosion Prediction
- commercial cfd codes
- 39 Numerical
- Italy 2014ugm Heat Transfer Enhancement
- FLUENT - Laminar Pipe Flow
- சுயபுலனாய்வு
- Experimental and Numerical Assessment of Cold Restart Process of Heavy 7 WHOC12_277
- CFD Project
- NPTEL Phase II __ Mechanical Engineering - Computational Fluid Dynamics
- jr endo 2
- Boquilla_4007_
- 10.1007@s11804-012-1137-y
- NKSingh_PARubini-AcousticPropagationLES

You are on page 1of 41

Rimon Arieli

Faculty of Aerospace Engineering TECHNION Israel Institute of Technology Haifa, , Israel 32000

Outline

1. 1 2. 3. 4. 5. What, What why and where of CFD? Modeling Numerical methods Types yp of CFD codes CFD Process

Spring 2009

AE-086376

What is CFD?

CFD is the simulation of fluids engineering systems using modeling (mathematical physical problem formulation) and numerical methods (discretization methods, solvers, numerical parameters and grid generations, parameters, generations etc.) etc ) Historically only Analytical Fluid Dynamics (AFD) and Experimental Fluid Dynamics (EFD). CFD made possible by the advent of digital computer and advancing with improvements of computer resources (500 flops, 194720 teraflops, 2003)

Spring 2009

AE-086376

Analysis and Design

1. Simulation-based design g instead of build & test More cost effective and more rapid than EFD CFD provides high-fidelity database for diagnosing flow field 2. Simulation of physical fluid phenomena that are difficult for experiments Full scale simulations (e.g., ships and airplanes) Environmental effects (wind, weather, etc.) Hazards H d ( (e.g., explosions, l i radiation, di ti pollution) ll ti ) Physics (e.g., planetary boundary layer, stellar evolution)

Spring 2009

AE-086376

Where is CFD used? Aerospace Automotive Biomedical

Chemical Processing HVAC Hydraulics Marine P Power G Generation ti Sports

Automotive Aerospace

Biomedical

F18 Store Separation

Temperature and natural convection ti currents t in i the th eye following laser heating.

Spring 2009

AE-086376

Where is CFD used?

Aerospacee Automotive Biomedical

Polymerization reactor vessel - prediction of flow separation and residence time effects.

Chemical Processing

HVAC

Hydraulics

Spring 2009

AE-086376

Marine (movie) Sports

Aerospace Automotive Biomedical Chemical Processing HVAC Hydraulics y

Spring 2009

AE-086376

Modeling

Modeling is the mathematical physics problem formulation

in terms of a continuous initial boundary value problem (IBVP) IBVP is in the form of Partial Differential Equations (PDEs) with appropriate boundary conditions and initial conditions. Modeling includes: 1. Geometry and domain 2 Coordinates 2. 3. Governing equations 4. Flow conditions 5. Initial and boundary conditions 6. Selection of models for different applications

Spring 2009

AE-086376

Simple geometries can be easily created by few geometric

parameters (e.g. circular pipe) Complex geometries must be created by the partial differential equations or importing the database of the geometry (e.g. airfoil) into commercial software

Geometry approximation CAD/CAE integration: use of industry standards such as Parasolid, ACIS,

, or IGES, , etc. STEP,

z), and spherical system (r, , ) should be appropriately chosen for a geometry y (e.g. ( g cylindrical y for circular pipe). pp ) better resolution of the g

Spring 2009

AE-086376

Modeling (coordinates)

z Cartesian (x,y,z) z Cylindrical (r,,z) z y x x r y x r y z Spherical (r,,)

Spring 2009

Navier-Stokes Navier Stokes equations (3D in Cartesian coordinates)

2u 2u 2u p u u u u + + 2 + = + w + v + u 2 z 2 y x z y x t x 2v 2v 2v v v v v p + u + v + w = + 2 + + 2 2 x y z t x y z y

2w 2w 2w w w w w p + u + v + w = + 2 + 2 + 2 y z z y z t x x

Local acceleration

Convection

Viscous terms

( u ) ( v ) ( w ) + + + = 0 Continuity equation t x y z

p = RT

Equation of state

Spring 2009

AE-086376

11

Initial conditions (ICS, steady/unsteady flows) ICs should not affect final results and only affect

convergence path, i.e. number of iterations (steady) or time steps p (unsteady) ( y) need to reach converged g solutions. More reasonable g guess can speed p up p the convergence ??? For complicated unsteady flow problems, CFD codes are usually run in the steady mode for a few iterations for getting a better initial conditions

Spring 2009

AE-086376

12

Boundary conditions: No-slip or slip-free on walls, periodic,

inlet ( (velocity y inlet, , mass flow rate, , constant pressure, p , etc.), ), outlet (constant pressure, velocity convective, numerical beach, zerogradient), and non-reflecting (for compressible flows, such as ), etc. acoustics),

Periodic boundary condition in spanwise direction of an airfoil

v=0, dp/dr=0,du/dr=0

Axisymmetric

Spring 2009 AE-086376 13

Based on the physics of the fluids, CFD is distinguished into

different categories using different criteria, and designed for solving certain fluid phenomenon by applying different models:

(Re)

Turbulent vs. laminar (Re, Turbulent models) Incompressible vs. compressible (M, equation of state) Single- vs. multi-phase (Ca, cavitation model, two-fluid model) Thermal/density effects and energy equation

(Pr, , Gr, Ec, conservation of energy)

surface tension (We, bubble dynamic model)

Spring 2009 AE-086376 14

Turbulent flows at high Re usually involve both large and small scale

vortical structures and very thin turbulent boundary layer (BL) near the wall

Turbulent models:

DNS: most accurately solve NS equations, but too expensive for turbulent flows RANS: predict mean flow structures, efficient inside BL but excessive diffusion in

the separated p region. g

DES: RANS inside BL, LES in separated regions.

Spring 2009

AE-086376

15

URANS, Re=105, contour of vorticity for turbulent flow

around NACA-0012 with angle of attack 60 degrees

turbulent flow around NACA12 with angle of attack 60 degrees

Spring 2009

AE-086376

16

Numerical methods

The continuous Initial Boundary Value Problems (IBVPs)

are discretized di i d into i algebraic l b i equations i using i numerical i l methods. Assemble the system of algebraic equations and solve the system to get approximate solutions Numerical methods include:

1. 1 2. 3. 4. Discretization methods Solvers and numerical parameters Grid generation and transformation High Performance Computation (HPC) and post-processing

Spring 2009

AE-086376

17

Discretization methods

Finite difference methods (straightforward to apply, usually for regular

grid) Finite volumes and finite element methods ( (usually y for irregular g meshes) Each type of methods above yields the same solution if the grid is fine enough. However, some methods are more suitable to some cases than others Finite difference methods for spatial derivatives with different order of accuracies can be derived using Taylor expansions, such as 2nd order upwind scheme, central differences schemes, etc. Higher order numerical methods usually predict higher order of accuracy for CFD, but more likely unstable due to less numerical dissipation Temporal derivatives can be integrated either by the

explicit method (Euler, Runge-Kutta, etc.) or implicit method (e.g. Beam-Warming method)

Spring 2009

AE-086376

18

Explicit methods can be easily applied but yield conditionally stable

Finite Different Equations q (FDEs), ( ), which are restricted by y the time step; p; Implicit methods are unconditionally stable, but need efforts on efficiency. Usually, higher-order temporal discretization is used when the spatial discretization is also of higher order order. Stability: A discretization method is said to be stable if it does not magnify the errors that appear in the course of numerical solution process. Pre-conditioning method is used when the matrix of the linear algebraic system is ill-posed, such as multi-phase flows, flows with a broad range of Mach numbers, etc. Selection of discretization methods should consider efficiency, accuracy and special i l requirements, i t such h as shock h k wave tracking. t ki

Spring 2009 AE-086376 19

2D i incompressible ibl laminar l i flow fl boundary b d layer l

(L,m+1)

y m=MM+1 m=MM m=1 m 1 m=0

u v =0 + x y

(L-1,m)

(L,m)

u u p 2u +v = + 2 u x e x y y

l u um l l 1 u u u = m m x x

(L,m-1)

L-1

2u l l l 2= 2 u u u 2 + m m m + 1 1 y y

l FD Sign( vm )<0

l u vm l l = v u u m +1 m y y l vm l l = u u m m 1 y

BD Sign( v l )>0 m

st

20

3 1 B1 B2 FD l l ul l l 2 l vm vm y l m 2 um + 2 + FD um +1 + 2 BD um + vm 1 1 x y y y y y BD y

l l l l 1 B1um + B u + B u = B u 1 2 m 3 m +1 4 m

B2 B 1 0 0

B3 B2 0 0

0 B3 0 0

0 0 0 0

0 0 0 0

0 0 B1 0

0 0 B2 B1

Spring 2009

l p / e ( )m x

l um l 1 = um ( p / e)lm x x

B4

AE-086376

21

Solvers include: tridiagonal, pentadiagonal solvers, solution-adaptive

solver, multi-grid solvers, etc. Solvers can be either: direct (Cramers rule, Gauss elimination, LU decomposition) or iterative (Jacobi method, Gauss-Seidel method, SOR method) Numerical i l parameters need d to be b specified f d to control l the h calculation. l l Under relaxation factor, convergence limit, etc. Different numerical schemes Monitor residuals (change of results between iterations) Number of iterations for steady flow or number of time steps for unsteady flow Single/double precisions

Spring 2009

AE-086376

22

Grids can either be structured (hexahedral) structured or unstructured (tetrahedral). Depends

upon type of discretization scheme and application Scheme Finite differences: structured Finite Fi it volume l or finite fi it element: l t structured or unstructured Application Thin boundary layers best resolved with highly-stretched structured grids Unstructured grids useful for complex geometries Unstructured grids permit automatic adaptive refinement based on the pressure gradient, or regions interested (FLUENT)

AE-086376

unstructured

Spring 2009

23

y

Transform

o Physical domain

o Computational domain

f f f f f = + = x + x x x x

f f f f f = + = y +y y y y

and computational ( , , ) domains, domains important for body-fitted grids. The partial derivatives at these two domains have the relationship p (2D ( as an example) p )

Spring 2009

AE-086376

24

Commercial CFD code: FLUENT, Star-CD,

CFDRC, CFX/AEA, ESI-Fastran, EZNSS, etc. Research CFD code: Other CFD software includes the Grid generation software (e.g. Gridgen, Gambit) and flow visualization software (e.g. (e g Tecplot, FieldView)

CFDSHIPIOWA

Spring 2009 AE-086376 25

CFD Process

Purposes of CFD codes will be different for different applications:

investigation of bubble-fluid interactions for bubbly flows, study of wave induced massively separated flows for free-surface, free surface, etc. Depend on the specific purpose and flow conditions of the problem, different CFD codes can be chosen for different applications (aerospace, marines, combustion, multi-phase flows, etc.) Once purposes and CFD codes chosen, CFD process is the steps to set up the IBVP problem and run the code: y 1. Geometry 2. Physics 3. Mesh 4 Solve 4. 5. Reports 6. Post processing

Spring 2009

AE-086376

26

CFD Process

Geometry Physics Mesh Solve Reports PostProcessing

Contours Select Geometry Heat Transfer ON/OFF Unstructured (automatic/ manual) Steady/ Unsteady Forces Report

(lift/drag, shear stress, etc)

Geometry Parameters

Compressible ON/OFF

Iterations/ Steps

XY Plot

Vectors

Flow properties

Convergent Limit

Verification

Streamlines

Viscous Model

Validation

Boundary Conditions

Numerical Scheme

Initial Conditions

Spring 2009

AE-086376

27

Geometry

Selection of an appropriate coordinate Determine the domain size and shape Any simplifications needed? What kinds of shapes p needed to be used to best resolve the geometry? (lines, circular, ovals, etc.) For commercial code, geometry is usually created using i commercial i l software ft (either ( ith separated t d from f the commercial code itself, like Gambit, or combined together, like FlowLab) For research code, commercial software (e.g. Gridgen) is used.

Spring 2009 AE-086376 28

Physics

Flow conditions and fluid properties

1. Flow conditions: inviscid, viscous, laminar, or turbulent, etc. 2. Fluid properties: density, viscosity, and thermal conductivity, y, etc. 3. Flow conditions and properties usually presented in dimensional form in industrial commercial CFD software, , whereas in non-dimensional variables for research codes. Selection of models: different models usually fixed by codes, opt options o s for o use user to c choose oose Initial and Boundary Conditions: not fixed by codes, user needs specify them for different applications.

AE-086376 29

Spring 2009

Mesh

Meshes should be well designed to resolve important

flow features which are dependent upon flow condition parameters (e.g., Re), such as the grid refinement inside the wall boundary layer Mesh h can be b generated d by b either h commercial l codes d (Gridgen, Gambit, etc.) or research code (using algebraic vs vs. PDE based based, conformal mapping mapping, etc.) etc ) The mesh, together with the boundary conditions need to be exported p from commercial software in a certain format that can be recognized by the research CFD code or other commercial CFD software software.

Spring 2009 AE-086376 30

Solve

Setup appropriate numerical parameters Choose Ch appropriate i Solvers S l Solution procedure (e.g. incompressible flows) S l the Solve th momentum, t pressure P Poisson i equations and get flow field quantities, such as velocity turbulence intensity velocity, intensity, pressure and integral quantities (lift, drag forces)

Spring 2009

AE-086376

31

Reports

Reports saved the time history of the residuals

of the velocity, pressure and temperature, etc. Report the integral quantities, such as total pressure drop, friction factor (pipe flow), lift and drag coefficients (airfoil flow), flow) etc etc. XY plots could present the centerline velocity/pressure distribution, friction factor distribution (pipe flow), flow) pressure coefficient distribution (airfoil flow). AFD or EFD data can be imported p and put p on top of the XY plots for validation

Spring 2009

AE-086376

32

Post-processing

Analysis and visualization

Vorticity Wall

shear stress Calculation of integral parameters: forces, moments Visualization (usually with commercial software) Simple 2D contours 3D contour isosurface plots Vector plots and streamlines (streamlines are the lines whose tangent direction is the same as the velocity vectors) Animations

Spring 2009

AE-086376

33

Simulation Si l ti error: the difference between a simulation result and the

truth (objective reality), assumed composed of additive modeling and numerical errors:

when hen conditions permit, pe mit estimating the sign and magnitude magnit de of the simulation numerical error itself and the uncertainties in that error estimate

benchmark experimental data and, when conditions permit, estimating the g and magnitude g of the modeling g error itself. sign

Spring 2009

AE-086376

34

Convergence C studies: t di C Convergence studies t di require i a minimum i i of f

m=3 solutions to evaluate convergence with respective to input parameters. Consider the solutions corresponding to fine, fine medium, medium and coarse meshes

(i). Monotonic convergence: (ii). Oscillatory Convergence: (iii). Monotonic divergence: (iv). Oscillatory divergence:

Grid refinement ratio: uniform ratio of grid spacing between meshes meshes.

Spring 2009

AE-086376

35

involve beginning with an initial guess and performing time marching or iteration until a steady state solution is achieved achieved. The number of order magnitude drop and final level of solution residual can be used to determine stopping criteria for iterative solution techniques (1) Oscillatory (2) Convergent (3) Mixed oscillatory/convergent

(b)

(a)

UI =

1 ( SU S L ) 2

Iteration i history: hi (a). ( ) Solution l i change h (b) magnified ifi d view i of f total l resistance i over last l two periods of oscillation (Oscillatory iterative convergence)

Spring 2009 AE-086376 36

Generalized Richardson Extrapolation (RE): For

monotonic convergence, generalized RE is used to estimate the error and order of accuracy due to the selection of the input parameter. The error is expanded in a power series expansion with integer powers of x as a finite sum. The accuracy of the estimates depends on how many terms are retained in the expansion, the magnitude (importance) of the higher-order terms, and the validity of the assumptions made in RE theory

Spring 2009

AE-086376

37

Grid need to be refined near the foil surface f to resolve l the h boundary b d layer l

Spring 2009 AE-086376 38

Residuals vs. iteration

Spring 2009

AE-086376

39

Spring 2009

AE-086376

40

Spring 2009

AE-086376

41

- 427_1Uploaded byTapanVaishnav
- Aerodynamics and Heat Transfer Predictions in a HighlyUploaded byaravindv88
- Modeling Extreme Wave Sequences for the Hydrodynamic Analysis of Ships and Offshore StructuresUploaded bysm8575
- Bio Reactor Scale-Up SSOUploaded byIgnacio Holzer
- MODELING TURBULENT FLOWUploaded byluffydmon
- Chapter 3Uploaded byaprfdyst
- IPC2012 90225 Computational Fluid DynamicsUploaded byfrvdabee
- Evaluation Different Modeling Method for Erosion PredictionUploaded byangelkindly
- commercial cfd codesUploaded byashwinsherief
- Italy 2014ugm Heat Transfer EnhancementUploaded byphisitlai
- FLUENT - Laminar Pipe FlowUploaded byHeRnan AnTonyo Chapid
- Experimental and Numerical Assessment of Cold Restart Process of Heavy 7 WHOC12_277Uploaded byhan.velthuis431
- 39 NumericalUploaded byChethan Gowda
- சுயபுலனாய்வுUploaded byDr. VENKATESH THINGALU GOVINDAN
- CFD ProjectUploaded byPushpa Mohan Raj
- NPTEL Phase II __ Mechanical Engineering - Computational Fluid DynamicsUploaded byMir Mustafa Ali
- jr endo 2Uploaded bysonata_
- Boquilla_4007_Uploaded bymlarakahan
- 10.1007@s11804-012-1137-yUploaded bybinukumar100
- NKSingh_PARubini-AcousticPropagationLESUploaded byNish
- cam04-12.pdfUploaded byPrafitri Kurniawan
- Tajeda MartinezUploaded byGaurav Chopra
- aiaa2002-0737biconicUploaded byNam Le
- JCE_67_2015_8_6_1204_ENUploaded bynicholas_j_vaughan
- Arora 2D ModelUploaded byktjayakumar3878
- ScienceUploaded byRodrigo Gonçalves
- CFD Modelling of Entropy Generation in Turbulent Pipe FlowUploaded byAnonymous mXicTi8hB
- Dianat.pdfUploaded byPatrick Silva Oliveira
- Abstract AlDahhanUploaded byAnonymous y3tPCbVr
- Star Ccm Global Conference 22 PaperUploaded bySruti Smriti

- 87575503 Fundamentals of Aerodynamics by AndersonUploaded byLev Dun
- BesselUploaded byLev Dun
- Improper Integral1Uploaded byLev Dun
- CoVUploaded byAhmed Roman
- Low-profile Vortex GeneratorsUploaded byLev Dun
- DSP Digital Signal Processing TEXTUploaded byARAVIND
- Methods of Longitudinal Weight DistributionUploaded byWafaà Wafa
- 00b4951bf9dd3a5df5000000Uploaded byLev Dun
- Fox Fluid MechanicsUploaded byRahul Chauhan
- Post stall Control Using Flexible Fin onAir FoilUploaded byLev Dun
- Dockmaster Training ManualUploaded byDilmer Vegas Fernández
- Rankine Panel MethodUploaded byLev Dun
- 6 day war-news coverageUploaded byLev Dun
- HW1-solUploaded byLev Dun
- 1095Uploaded byLev Dun
- ST04 Diffuser 12531jos1Uploaded byLev Dun
- error analysis lecturesUploaded byLev Dun
- Pre-Buckled Shape in Nonlinear BucklingUploaded byJianbei Zhu
- The Aerodynamic CenterUploaded byAnantha Krishnan

- Viscometer Falling BallUploaded byining
- Routsis Injection Molding ReferenceUploaded byxxxpression
- Brašno - RheologyUploaded byjelena
- CHL331-TUTSHEET2Uploaded byRedel Erap Mantes
- M455 Lectures 20 - 21 HAHUploaded byzimbapdf
- SCC PumpingUploaded byraeggaeman
- Royco 756 and 756A DatasheetUploaded bycarlos
- Previous Papers I YearUploaded bySai Harish
- bingham yield slurryUploaded byAnonymous K3FaYFl
- HYSYS-mat Energy 2 81C 1000kpaUploaded bySiran Marayo
- multiple choice questions on open channel flowUploaded byMohammed Sobhi
- viking pumps.pdfUploaded bylavascudo
- 0912f50f99cb429104000000Uploaded byJack Taylor
- Ls-11 Tribology in Marine Applications & BearinsUploaded byvirtualboyz
- CERN Basic Vacuum 2012 LectureUploaded bychipulino
- Transport Phenomena Fluid Mechanics Problem Solution BSL _ Newtonian Fluid Flow in a Circular TubeUploaded byyudhaputra
- Elastic and Viscoelastic Properties of MetalsUploaded bygunapalshetty
- Exam2010 SolutionsUploaded bymirshoaib01
- SCA2015-006Uploaded byeri dian ismaya
- GPCDOC Local TDS United States Shell Naturelle HF-E 46 (en-US) TDS v1Uploaded byXom Li
- Developement of Cure CastUploaded byjohnny_cashed
- Advection - Diffusion numerical model of air pollutants emitted from an urban area source with removal mechanisms by considering point source on the boundaryUploaded byAnonymous vQrJlEN
- OAJS-02-00054 (1)Uploaded byPrince
- Vestibular MechanicsUploaded byManuel Pulido
- Centrifugal PumpUploaded byvenkeeku
- JMST_Hydraulic Conveyances of Mud SlurryUploaded byKURNIAWAN
- Duplex Filters Lube-fuel OilUploaded byv_emme
- Settling velocityUploaded bysarkawt hamarahim muhammad
- 3. Transmission - Accurate Calculation of Pipeline Transport CapacityUploaded byfarshidian
- r050212102 Mechanics of FluidsUploaded bySrinivasa Rao G

## Much more than documents.

Discover everything Scribd has to offer, including books and audiobooks from major publishers.

Cancel anytime.