CFD-1. Introduction: What is CFD? T. J. Craft. Msc CFD-1. CFD: Computational Fluid Dynamics

Similar documents
Introduction to ANSYS CFX

Modeling External Compressible Flow

High-Lift Aerodynamics: STAR-CCM+ Applied to AIAA HiLiftWS1 D. Snyder

Investigation of cross flow over a circular cylinder at low Re using the Immersed Boundary Method (IBM)

1.2 Numerical Solutions of Flow Problems

Introduction to CFX. Workshop 2. Transonic Flow Over a NACA 0012 Airfoil. WS2-1. ANSYS, Inc. Proprietary 2009 ANSYS, Inc. All rights reserved.

Introduction to C omputational F luid Dynamics. D. Murrin

Introduction to Computational Fluid Dynamics Mech 122 D. Fabris, K. Lynch, D. Rich

Reproducibility of Complex Turbulent Flow Using Commercially-Available CFD Software

Fluent User Services Center

Inviscid Flows. Introduction. T. J. Craft George Begg Building, C41. The Euler Equations. 3rd Year Fluid Mechanics

Backward facing step Homework. Department of Fluid Mechanics. For Personal Use. Budapest University of Technology and Economics. Budapest, 2010 autumn

A COUPLED FINITE VOLUME SOLVER FOR THE SOLUTION OF LAMINAR TURBULENT INCOMPRESSIBLE AND COMPRESSIBLE FLOWS

NUMERICAL MODELING STUDY FOR FLOW PATTERN CHANGES INDUCED BY SINGLE GROYNE

Debojyoti Ghosh. Adviser: Dr. James Baeder Alfred Gessow Rotorcraft Center Department of Aerospace Engineering

Application of a Coordinate Transformation and Discretization Method for Computational Fluid Dynamics

Reproducibility of Complex Turbulent Flow Using Commercially-Available CFD Software

Chapter 1 Introduction

Verification and Validation of Turbulent Flow around a Clark-Y Airfoil

Reproducibility of Complex Turbulent Flow Using Commercially-Available CFD Software

Strömningslära Fluid Dynamics. Computer laboratories using COMSOL v4.4

MASSACHUSETTS INSTITUTE OF TECHNOLOGY. Analyzing wind flow around the square plate using ADINA Project. Ankur Bajoria

NUMERICAL VISCOSITY. Convergent Science White Paper. COPYRIGHT 2017 CONVERGENT SCIENCE. All rights reserved.

Three Dimensional Numerical Simulation of Turbulent Flow Over Spillways

THE EFFECTS OF THE PLANFORM SHAPE ON DRAG POLAR CURVES OF WINGS: FLUID-STRUCTURE INTERACTION ANALYSES RESULTS

The Spalart Allmaras turbulence model

Computational Fluid Dynamics (CFD) Simulation in Air Duct Channels Using STAR CCM+

Numerical Study of Turbulent Flow over Backward-Facing Step with Different Turbulence Models

Lecture 1 GENERAL INTRODUCTION: HISTORICAL BACKGROUND AND SPECTRUM OF APPLICATIONS

Using a Single Rotating Reference Frame

Tutorial 1. Introduction to Using FLUENT: Fluid Flow and Heat Transfer in a Mixing Elbow

Computational Study of Laminar Flowfield around a Square Cylinder using Ansys Fluent

Simulation of Flow Development in a Pipe

Simulation of Laminar Pipe Flows

Tutorial 17. Using the Mixture and Eulerian Multiphase Models

Missile External Aerodynamics Using Star-CCM+ Star European Conference 03/22-23/2011

Express Introductory Training in ANSYS Fluent Workshop 04 Fluid Flow Around the NACA0012 Airfoil

Faculty of Mechanical and Manufacturing Engineering, University Tun Hussein Onn Malaysia (UTHM), Parit Raja, Batu Pahat, Johor, Malaysia

Grid. Apr 09, 1998 FLUENT 5.0 (2d, segregated, lam) Grid. Jul 31, 1998 FLUENT 5.0 (2d, segregated, lam)

CFD design tool for industrial applications

Simulation of Turbulent Flow in an Asymmetric Diffuser

Estimation of Flow Field & Drag for Aerofoil Wing

Tutorial 2. Modeling Periodic Flow and Heat Transfer

Solver Settings. Introductory FLUENT Training ANSYS, Inc. All rights reserved. ANSYS, Inc. Proprietary

S-ducts and Nozzles: STAR-CCM+ at the Propulsion Aerodynamics Workshop. Peter Burns, CD-adapco

LARGE EDDY SIMULATION OF VORTEX SHEDDING WITH TRIANGULAR CYLINDER AHEAD OF A SQUARE CYLINDER

Lab 9: FLUENT: Transient Natural Convection Between Concentric Cylinders

Verification and Validation in CFD and Heat Transfer: ANSYS Practice and the New ASME Standard

NUMERICAL 3D TRANSONIC FLOW SIMULATION OVER A WING

INVESTIGATION OF HYDRAULIC PERFORMANCE OF A FLAP TYPE CHECK VALVE USING CFD AND EXPERIMENTAL TECHNIQUE

COMPUTATIONAL FLUID DYNAMICS ANALYSIS OF ORIFICE PLATE METERING SITUATIONS UNDER ABNORMAL CONFIGURATIONS

A FULLY COUPLED FINITE VOLUME SOLVER FOR THE SOLUTION OF INCOMPRESSIBLE FLOWS ON LOCALLY REFINED NON-MATCHING BLOCK-STRUCTURED GRIDS

Computational Fluid Dynamics as an advanced module of ESP-r Part 1: The numerical grid - defining resources and accuracy. Jordan A.

Flow and Heat Transfer in a Mixing Elbow

Development of Hybrid Fluid Jet / Float Polishing Process

Estimating Vertical Drag on Helicopter Fuselage during Hovering

A B C D E. Settings Choose height, H, free stream velocity, U, and fluid (dynamic viscosity and density ) so that: Reynolds number

Multigrid Solvers in CFD. David Emerson. Scientific Computing Department STFC Daresbury Laboratory Daresbury, Warrington, WA4 4AD, UK

Computational Simulation of the Wind-force on Metal Meshes

Non-Newtonian Transitional Flow in an Eccentric Annulus

Numerical Simulation Study on Aerodynamic Characteristics of the High Speed Train under Crosswind

NUMERICAL INVESTIGATION OF THE FLOW BEHAVIOR INTO THE INLET GUIDE VANE SYSTEM (IGV)

Numerical calculation of the wind action on buildings using Eurocode 1 atmospheric boundary layer velocity profiles

Numerical and theoretical analysis of shock waves interaction and reflection

RANS COMPUTATION OF RIBBED DUCT FLOW USING FLUENT AND COMPARING TO LES

CFD Methods for Aerodynamic Design

Verification of Laminar and Validation of Turbulent Pipe Flows

A higher-order finite volume method with collocated grid arrangement for incompressible flows

An Overview of Computational Fluid Dynamics

MATERHORN The immersed boundary method for flow over complex terrain

Effect of Position of Wall Mounted Surface Protrusion in Drag Characteristics At Low Reynolds Number

lecture 8 Groundwater Modelling -1

LATTICE-BOLTZMANN METHOD FOR THE SIMULATION OF LAMINAR MIXERS

Computational Fluid Dynamics (CFD) for Built Environment

Program: Advanced Certificate Program

High-Fidelity Simulation of Unsteady Flow Problems using a 3rd Order Hybrid MUSCL/CD scheme. A. West & D. Caraeni

Use of CFD in Design and Development of R404A Reciprocating Compressor

Preliminary Spray Cooling Simulations Using a Full-Cone Water Spray

Simulation and Validation of Turbulent Pipe Flows

Computational Fluid Dynamics (CFD) using Graphics Processing Units

A Study of the Development of an Analytical Wall Function for Large Eddy Simulation of Turbulent Channel and Rectangular Duct Flow

This tutorial illustrates how to set up and solve a problem involving solidification. This tutorial will demonstrate how to do the following:

Free Surface Flow Simulations

NUMERICAL SIMULATIONS OF FLOW THROUGH AN S-DUCT

Numerical Analysis of Shock Tube Problem by using TVD and ACM Schemes

CFD Best Practice Guidelines: A process to understand CFD results and establish Simulation versus Reality

Analysis of an airfoil

ANSYS FLUENT. Lecture 3. Basic Overview of Using the FLUENT User Interface L3-1. Customer Training Material

Simulation of Turbulent Flow over the Ahmed Body

Possibility of Implicit LES for Two-Dimensional Incompressible Lid-Driven Cavity Flow Based on COMSOL Multiphysics

STAR-CCM+: Ventilation SPRING Notes on the software 2. Assigned exercise (submission via Blackboard; deadline: Thursday Week 9, 11 pm)

Application of Wray-Agarwal Turbulence Model for Accurate Numerical Simulation of Flow Past a Three-Dimensional Wing-body

Turbulent Premixed Combustion with Flamelet Generated Manifolds in COMSOL Multiphysics

Partial Differential Equations

QNET-CFD WIKI KNOWLEDGE BASE UNDERLYING FLOW REGIME DOCUMENT TEMPLATE

Hydro-elastic analysis of a propeller using CFD and FEM co-simulation

Challenges in Boundary- Layer Stability Analysis Based On Unstructured Grid Solutions

CFD MODELING FOR PNEUMATIC CONVEYING

Pressure Correction Scheme for Incompressible Fluid Flow

DrivAer-Aerodynamic Investigations for a New Realistic Generic Car Model using ANSYS CFD

Transcription:

School of Mechanical Aerospace and Civil Engineering CFD-1 T. J. Craft George Begg Building, C41 Msc CFD-1 Reading: J. Ferziger, M. Peric, Computational Methods for Fluid Dynamics H.K. Versteeg, W. Malalasekara, An Introduction to Computational Fluid Dynamics: The Finite Volume Method S.V. Patankar, Numerical Heat Transfer and Fluid Flow Notes: http://cfd.mace.manchester.ac.uk/tmcfd - People - T. Craft - Online Teaching Material Introduction: What is CFD? CFD: Computational Fluid Dynamics Many modern engineering systems require a detailed knowledge of fluid flow behaviour. Experiments provide useful data, but are often costly and time-consuming. It can also be difficult to measure the details required: Measurement probes may disturb the flow excessively, and/or optical access may not be convenient. Obtaining the correct parameter scaling may be difficult. Reproducing some flow conditions safely (eg. explosions) may be difficult. Empirical correlations can be useful for simple problems or first estimates but are usually not available or applicable for complex problems. CFD-1 2010/11 2 / 21 The equations governing fluid flows are a set of coupled, non-linear partial differential equations: Continuity: Momentum: ρui t ρ t + ρu i x i = 0 + ρu iu j = P + ( ) µ Ui x j x i x j x j Many real problems include additional terms and/or equations, governing heat-transfer, chemical species, turbulence models, etc. Analytic solutions are known only for a few very simple laminar flow cases. An alternative is to solve the governing equations numerically, on a computer. Computational Fluid Dynamics (CFD) is this process of obtaining numerical approximations to the solution of the governing fluid flow equations. CFD-1 2010/11 3 / 21 Note the use of the word approximations : all CFD solutions have some error associated with them. CFD does not remove the need for experiments: numerical models need to be validated to ensure they produce reliable and accurate results. With the growth of available computing power it has become possible to apply CFD even to very complex flowfields, giving detailed information about the velocity field, pressure, temperature, etc. The key to successful use of CFD is an understanding of where the errors come from; their implications, and how to ensure they are small enough to be acceptable in a particular application. The main aims of this course are thus to: Give an understanding of the processes involved in approximating differential equations by a set of algebraic (discretized) equations. Allow an appreciation of the accuracy and stability issues associated with different approximations. Provide an understanding of how the resulting set of equations are solved, and how coupled sets of equations are handled. CFD-1 2010/11 4 / 21

A number of commercial CFD codes are available (Fluent, Star-CD, CFX,... ). These may appear easy -to-use, but to do so reliably requires a good understanding of the above issues and of the numerical methods employed by the programs. Only with this can one select appropriate options for particular problems. For example, the default numerical approximations in such codes are often rather diffusive (a term that will be explained later). This makes the solution more stable, so an inexperienced user is more likely to get a converged result, but the errors in it may be large, so the result may not correspond closely to the true flow. Informed use of CFD codes also requires a good understanding of basic fluid mechanics so one can choose appropriate physical models for a particular problem and recognise whether solutions coming from simulations make sense or not. The CFD Process Grid Generation Structured, unstructured,... Depending on the numerical scheme, values of variables may be stored at cell centres, cell vertices, or a combination. CFD-1 2010/11 5 / 21 CFD-1 2010/11 6 / 21 Discretization Approximating the differential equations by a set of algebraic ones linking the variable nodal values. For example, a central difference scheme might use: 2 U x 2 (U E U P)/ x (U P U W)/ x x U U W U P E This process involves approximating derivatives, and often entails interpolating variable values. The methods employed for these approximations can affect both the accuracy and stability of the numerical scheme. The result is a (large) set of algebraic equations. Solution of Discretized Equations The discretized equations can be written in matrix form Ax = b x is the vector of unknowns (the nodal variable values). The values in A and b depend on the discretization method adopted. Different methods can be employed to solve this set of equations (usually in an iterative fashion). The choice of method depends on the particular type of problem, form of the matrix A, etc. Post-Processing CFD-1 2010/11 7 / 21 CFD-1 2010/11 8 / 21

Flow Over 2-D Hills Flow Over 3-D Hill Well-resolved LES by Temmerman & Leschziner (2001) Re U bh/ν = 10590 Separation from curved surface, followed by reattachment. Experiments by Simpson et al (2002). Complex separation and vortex pattern downstream of hill. Re = UH/ν = 130000 Few models return the correct separation and reattachment points. CFD-1 2010/11 9 / 21 CFD-1 2010/11 10 / 21 Flow Around Simplified Car Hatchback Experiments by Lienhart et al (2000). A rear slope angle of 25 o. Wing-Tip Vortex Development 1 Near-field development of the wing-tip vortex off a NACA 0012 aerofoil at 10 o incidence. Experiments by Chow et al (1994) show an accelerated core region. Linear and non-linear EVM s, and stress transport schemes have been tested (all with wall-functions over the wing surface). Adequate resolution of the downstream vortex requires grids of 5-6M cells (even with wall-functions on all walls). Strong vortices roll up off the corners of the upper roof. CFD-1 2010/11 11 / 21 CFD-1 2010/11 12 / 21

5 25 c 75 5 25 5 25 y/c 75 5 25 5 5 5 5 5 5 5 5 5 25 75 5 25 5 25 75 5 25 5 25 y/c 75 5 25 5 25 y/c 75 5 25 5 5 5 5 5 5 5 5 5 25 75 5 25 5 25 75 5 25 Wing-Tip Vortex Development 2 Transonic Afterbody Flows Streamwise Velocity at x/c = 0.678 Exptl Meas. Linear k Vortex Centre Development Measurements reported by Berrier (1988). Freestream M = 0.944 with nozzle pressure ratio 1.98. Surface Pressure coefficients θ=0 ο θ=45 ο θ=180 ο 0.6 0.4 Exp. MCL Computed with 1.4M nodes. 0.2 Non linear k TCL Cp 0.2 0.4 0 0.6 0.6 0.8 1.0 0.8 1.0 0.6 0.8 1.0 x/l x/l x/l Fine downstream grid required to resolve vortex development. Advanced stress transport scheme (TCL) does capture the flow development. CFD-1 2010/11 13 / 21 TCL scheme shows good agreement with the limited available data. CFD-1 2010/11 14 / 21 3-D Duct with Staggered Ribs Local heat transfer measurements taken on ribbed wall. Non-orthogonal grid of 76 64 30 cells. Important Concepts in CFD Accuracy This can be thought of as three issues: Modelling accuracy. How well do the differential equations represent the physical system. For single phase laminar flow this is not usually an issue, but may be once models are introduced for turbulence, etc. Discretization accuracy: How well does the discretized solution (the collection of velocity, pressure, temperature,... values at grid nodes) represent the true solution of the original differential equations. Solver Accuracy: How close does the matrix solver get to the true solution of the discretized system. The second is the accuracy question that will addressed in most detail in this course. Different approximation schemes and grid arrangements can have a significant effect on the accuracy of the solution. CFD-1 2010/11 15 / 21 CFD-1 2010/11 16 / 21

Stability Most CFD schemes employ an iterative solution procedure to solve the resulting system of discretized algebraic equations. Stability in this context refers to the convergence (or otherwise) of this process. In time-dependent problems stability refers to whether the method produces a bounded solution (assuming the exact solution should remain bounded). A stable scheme thus ensures that small errors (which inevitably appear in a numerical solution) do not get magnified. Stability of a scheme can be analysed analytically for very simple equations, but there are few such results for non-linear coupled systems. In practise, stability often places a restriction on the time step that can be used, or the level of under-relaxation applied. Stability vs. Accuracy In general, there is often a trade-off between accuracy and stability. A numerical scheme that is very diffusive, for example, can be very stable because it is effectively adding too much viscosity to the problem. However, by doing so it may be smoothing out steep gradients, and will not, therefore, be very accurate. Understanding these effects, and how to get the right balance between the two, is a crucial aspect of CFD. Consistency If the discretization scheme is consistent, then it should formally become exact as the grid spacing/time step tends to zero. Truncation errors (see later lectures) are generally proportional to ( x) n or ( t) n for some n (which depends on the discretization scheme); a consistent scheme will have n > 0. CFD-1 2010/11 17 / 21 CFD-1 2010/11 18 / 21 Conservation The equations being solved arise from physical conservation laws. A conservative numerical scheme will retain this property on both a local (cell) and global (domain) level. For example, in a steady state problem there should be a balance between mass inflow and outflow over each cell, and over the entire domain. Boundedness Ensures that the numerical solution lies within physical bounds. For example, in a heat conduction problem the minimum and maximum temperatures should occur on the domain boundaries. A bounded scheme would not produce spurious maxima/minima within the domain. Higher order discretization schemes can often produce unbounded solutions in the form of undershoots and overshoots, which can sometimes lead to stability and convergence problems. CFD-1 2010/11 19 / 21 Course Structure Content: Basic numerical solution techniques Finite difference methods Finite volume methods Solving sets of linear equations Handling coupled sets of equations Time dependent problems Body-fitted grids for complex geometries Considerations in turbulent flows Two laboratory exercises. Suggested Reading: J. Ferziger, M. Peric, Computational Methods for Fluid Dynamics H.K. Versteeg, W. Malalasekara, An Introduction to Computational Fluid Dynamics: The Finite Volume Method S.V. Patankar, Numerical Heat Transfer and Fluid Flow CFD-1 2010/11 20 / 21

Course Delivery and Assessment Lectures given by Dr Tim Craft and Prof Dominique Laurence. Monday 11:00-13:00 SSB/G41 Thursday 11:00-12:00 R/F1 Two lab sessions to be arranged. Assessment: Three hour examination in January (80%) Reports on lab exercises (20%) CFD-1 2010/11 21 / 21