Fluent Lecture Dr. Thomas J. Barber

Slides:



Advertisements
Similar presentations
Finite Difference Discretization of Hyperbolic Equations: Linear Problems Lectures 8, 9 and 10.
Advertisements

Multidisciplinary Computation and Numerical Simulation V. Selmin.
Lectures on CFD Fundamental Equations
Chapter 1 Introduction to CFD
Introduction to numerical simulation of fluid flows
1 Internal Seminar, November 14 th Effects of non conformal mesh on LES S. Rolfo The University of Manchester, M60 1QD, UK School of Mechanical,
LES of Turbulent Flows: Lecture 3 (ME EN )
Lecture of : the Reynolds equations of turbulent motions JORDANIAN GERMAN WINTER ACCADMEY Prepared by: Eng. Mohammad Hamasha Jordan University of Science.
Types of Governing equations
CHAPTER 8 APPROXIMATE SOLUTIONS THE INTEGRAL METHOD
Numerical methods for PDEs PDEs are mathematical models for –Physical Phenomena Heat transfer Wave motion.
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
FUNDAMENTAL EQUATIONS, CONCEPTS AND IMPLEMENTATION
1 CFD Analysis Process. 2 1.Formulate the Flow Problem 2.Model the Geometry 3.Model the Flow (Computational) Domain 4.Generate the Grid 5.Specify the.
Lecture Objectives: Review discretization methods for advection diffusion equation Accuracy Numerical Stability Unsteady-state CFD Explicit vs. Implicit.
Conservation Laws for Continua
© Ram Ramanan 8/27/2015 CFD 1 ME 5337/7337 Notes Introduction to Computational Fluid Dynamics Lecture 2: CFD Introduction.
Tutorial 5: Numerical methods - buildings Q1. Identify three principal differences between a response function method and a numerical method when both.
© Fluent Inc. 9/5/2015L1 Fluids Review TRN Solution Methods.
Lecture Objectives Review SIMPLE CFD Algorithm SIMPLE Semi-Implicit Method for Pressure-Linked Equations Define Residual and Relaxation.
Dr. R. Nagarajan Professor Dept of Chemical Engineering IIT Madras Advanced Transport Phenomena Module 2 Lecture 4 Conservation Principles: Mass Conservation.
AIAA th AIAA/ISSMO Symposium on MAO, 09/05/2002, Atlanta, GA 0 AIAA OBSERVATIONS ON CFD SIMULATION UNCERTAINITIES Serhat Hosder,
Hybrid WENO-FD and RKDG Method for Hyperbolic Conservation Laws
BsysE595 Lecture Basic modeling approaches for engineering systems – Summary and Review Shulin Chen January 10, 2013.
Chapter 9: Differential Analysis of Fluid Flow SCHOOL OF BIOPROCESS ENGINEERING, UNIVERSITI MALAYSIA PERLIS.
PTT 204/3 APPLIED FLUID MECHANICS SEM 2 (2012/2013)
MAE 3241: AERODYNAMICS AND FLIGHT MECHANICS Compressible Flow Over Airfoils: Linearized Subsonic Flow Mechanical and Aerospace Engineering Department Florida.
Compressible Flow Introduction
1 Discretization of Fluid Models (Navier Stokes) Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal.
A conservative FE-discretisation of the Navier-Stokes equation JASS 2005, St. Petersburg Thomas Satzger.
Mathematical Equations of CFD
1 LES of Turbulent Flows: Lecture 6 (ME EN ) Prof. Rob Stoll Department of Mechanical Engineering University of Utah Spring 2011.
Lecture Objectives: Explicit vs. Implicit Residual, Stability, Relaxation Simple algorithm.
Mass Transfer Coefficient
© Fluent Inc. 11/24/2015J1 Fluids Review TRN Overview of CFD Solution Methodologies.
CFX-10 Introduction Lecture 1.
Lecture Objectives Review Define Residual and Relaxation SIMPLE CFD Algorithm SIMPLE Semi-Implicit Method for Pressure-Linked Equations.
CIS/ME 794Y A Case Study in Computational Science & Engineering 2-D Conservation of Mass uu dx dy vv (x,y)
FREE CONVECTION 7.1 Introduction Solar collectors Pipes Ducts Electronic packages Walls and windows 7.2 Features and Parameters of Free Convection (1)
CIS/ME 794Y A Case Study in Computational Science & Engineering 2-D conservation of momentum (contd.) Or, in cartesian tensor notation, Where repeated.
FALL 2015 Esra Sorgüven Öner
Discretization Methods Chapter 2. Training Manual May 15, 2001 Inventory # Discretization Methods Topics Equations and The Goal Brief overview.
Discretization for PDEs Chunfang Chen,Danny Thorne Adam Zornes, Deng Li CS 521 Feb., 9,2006.
Dr. R. Nagarajan Professor Dept of Chemical Engineering IIT Madras
AMS 691 Special Topics in Applied Mathematics Lecture 3
Lecture Objectives: Define 1) Reynolds stresses and
CAD and Finite Element Analysis Most ME CAD applications require a FEA in one or more areas: –Stress Analysis –Thermal Analysis –Structural Dynamics –Computational.
AIAA th AIAA/ISSMO Symposium on MAO, 09/05/2002, Atlanta, GA 0 AIAA OBSERVATIONS ON CFD SIMULATION UNCERTAINTIES Serhat Hosder, Bernard.
Code verification and mesh uncertainty The goal is to verify that a computer code produces the right solution to the mathematical model underlying it.
Lecture Objectives: - Numerics. Finite Volume Method - Conservation of  for the finite volume w e w e l h n s P E W xx xx xx - Finite volume.
An Introduction to Computational Fluids Dynamics Prapared by: Chudasama Gulambhai H ( ) Azhar Damani ( ) Dave Aman ( )
Computational Fluid Dynamics
Computational Fluid Dynamics Lecture II Numerical Methods and Criteria for CFD Dr. Ugur GUVEN Professor of Aerospace Engineering.
EEE 431 Computational Methods in Electrodynamics
Chapter 4 Fluid Mechanics Frank White
Convection-Dominated Problems
Objective Numerical methods SIMPLE CFD Algorithm Define Relaxation
Lecture Objectives: Review Explicit vs. Implicit
© Fluent Inc. 1/10/2018L1 Fluids Review TRN Solution Methods.
Convergence in Computational Science
ME/AE 339 Computational Fluid Dynamics K. M. Isaac Topic1_ODE
Objective Review Reynolds Navier Stokes Equations (RANS)
Lecture Objectives: Advance discretization methods
AIAA OBSERVATIONS ON CFD SIMULATION UNCERTAINITIES
Convergence in Numerical Science
Objective Numerical methods Finite volume.
AIAA OBSERVATIONS ON CFD SIMULATION UNCERTAINTIES
Objective Reynolds Navier Stokes Equations (RANS) Numerical methods.
Low Order Methods for Simulation of Turbulence in Complex Geometries
Physics 451/551 Theoretical Mechanics
Presentation transcript:

Fluent Lecture Dr. Thomas J. Barber www.engr.uconn.edu/~barbertj

Outline Background Issues Codes, Flow Modeling, and Reduced Equation Forms Numerical Methods: Discretize, Griding, Accuracy, Error Data Structure, Grids Turbulence Fluent

CFD Connection to Other Solution Approaches CFD (numerical) approach is most closely related to experimental approach, i.e. can arbitrarily select physical parameters (tunnel conditions) output is in form of discrete or point data results have to be interpreted (corrected) for errors in simulation.

Background Limiting Factors - I Computer size: Moore’s law: First postulated by Intel CEO George Moore. Observation that logic density of silicon integrated circuits has closely followed curve: Bits per sq. in.(and MIPS) doubles power of computing (speed and reduced size), thereby quadrupling computing power every 24 months. Calculations per second per year for $1000.

Outline Background Issues Codes, Flow Modeling, and Reduced Equation Forms Numerical Methods: Discretize, Griding, Accuracy, Error Data Structure, Grids Turbulence Fluent

What is a CFD code? Converts chosen physics into discretized forms and solves over chosen physical domain Geometry Definition Computational Grid and Domain Definition Boundary Conditions Preprocessing Discretization Approach Solution Approach Computer Usage Strategy Processing Solution Assessment Solution Display Performance Analysis Postprocessing

Problem Formulation Equations of Motion Conservation of mass (continuity) = particle identity Conservation of linear momentum = Newton’s law Conservation of energy = 1st law of thermo (E) 2nd law of thermo (S) Any others????? Most General Form: Navier-Stokes Equations Written in differential or integral (control volume) form. Dependent variables typically averaged over some time scale, shorter than the mean flow unsteadiness (Reynolds-averaged Navier-Stokes - RANS equations).

Reduced Forms of Governing Equations Critical issue: modeling viscous and turbulent flow behavior

Complex Aircraft Analysis, Circa 1968 B747-100 with space shuttle Enterprise What is different with these aircraft from normal operation?

Reduced Forms of Governing Equations Euler Equations Coupled system of 5 nonlinear first order PDE’s Describes conservation mass, momentum, energy Describes wave propagation (convective) phenomena Full Potential Equation Single nonlinear second order PDE Describes conservation mass, energy Conservation of momentum not fully satisfied in presence of shocks P:otential Flow Equation Single linear second order PDE Describes incompressible flow Navier-Stokes Equations Coupled system of 5 nonlinear second order PDE’s Describes wave propagation phenomena damped by viscosity More Physics (More complex equations) Neglect viscosity & heat conduction Isentropic, irrotational flows Neglect compressibility More Geometry (More complex grid generation) (More grid points)

Outline Background Issues Codes, Flow Modeling, and Reduced Equation Forms Numerical Methods: Discretize, Griding, Accuracy, Error Data Structure, Grids Turbulence Fluent

Finite Volume Finite Element All based on discretization approaches Finite Difference Finite Volume Finite Element All based on discretization approaches P.D.E. Lu=f Discretize System of Linear Algebraic Eqns Up

Breakup Continuous Domain into a Finite Number of Locations Boundary Condition B. C. B. C. Boundary Condition

Discretization & Order of Accuracy x fi fi+1 fi+2 fi+3 xi+1 xi+2 xi+3 xi x Taylor Series Expansion Polynomial Function [Power Series] Accuracy Dependent on Mesh Size and Variable Gradients

Discretization Example Derivative approximation proportional to polynomial order Order of accuracy: mesh spacing, derivative magnitude only reasonable if product is small

Numerical Error Sources - I Truncation error Finite polynomial effect Diffusion: acts like artificial viscosity & damps out disturbances Dispersion: introduces new frequencies to input disturbance Effect is pronounced near shocks Exact Diffusion Dispersion

Numerical Error Sources - II at t=400 at t=0 Traveling linear wave model problem

Numerical Error Sources - III at t=400

Numerical Error Sources - IV at t=400

Time-Accurate vs. Time-Marching Time-marching: steady-state solution from unsteady equations Intermediate solution has no meaning Time-accurate: time-dependent, valid at any time step

Numerical Properties of Method Stability Tendency of error in solution of algebraic equations to decay Implies numerical solution goes to exact solution of discretized equations Convergence Solution of approximate equations approaches exact set of algebraic eqns. Solutions of algebraic eqns. approaches exact solution of P.D.E.’s as x  t  0 Governing P.D.E.’s L(U) Discretization System of Algebraic Equations Consistency Exact Solution U Convergence as x  t  0 Approximate Solution u

How good are the results? Assess the calculation for Grid independence Convergence (mathematical): residuals as measure of how well the finite difference equation is satisfied. Look for location of maximum errors Look for non-monotonicity

How good are the results? Convergence (physical): Check conserved properties: mass (for internal flows), atom balance (for chemistry), total enthalpy, e.g.

Outline Background Issues Codes, Flow Modeling, and Reduced Equation Forms Numerical Methods: Discretize, Griding, Accuracy, Error Data Structure, Grids Turbulence Fluent

2-D Problem Setup Structured Grid / Data i,j+1 i-1,j i,j i,j-1 i+1,j X , i Y, j Ui,j Structured Grid / Data Unstructured Data / Structured Grid 61 35 36 11 37 X Y U36 60 10 12 62

2-D Problem Setup Semi -Structured Grid / Unstructured Data 61 35 36 11 37 X Y U36 60 10 12 62 Semi -Structured Grid / Unstructured Data Unstructured Data / Unstructured Grid 61 35 36 11 37 X Y U36 60 10 12 62

Grid Generation Transformation to a new coordinate system Transformation to a stretched grid

Grid Generation - Generic Topologies More complicated grids can be constructed by combining the basic grid topologies - cylinder in a duct Block-structured O + H Overset or Chimera Cartesian + Polar Both take advantage of natural symmetries of the geometry

Grid Generation - Generic Topologies More complicated grids can be constructed taking advantage of simple elements Cartesian-stepwise Unstructured-hybrid Dimension Unstructured Structured 2D triangular quadrilateral 3D tetrahedra hexahedra

Outline Background Issues Codes, Flow Modeling, and Reduced Equation Forms Numerical Methods: Discretize, Griding, Accuracy, Error Data Structure, Grids Turbulence Fluent

Viscosity and Turbulence

Viscosity and Turbulence Laminar Steady Unsteady Turbulent Steady Unsteady

Viscosity and Turbulence Properties Averaged Over Time Scale Much Smaller Than Global Unsteadiness

Viscosity and Turbulence Laminar viscosity modeled by algebraic law: Sutherland Turbulent viscosity modeled by 1 or 2 Eqn. Models Realizable k- model is most reliable k=turbulence kinetic energy  = turbulence dissipation Model near wall behavior by: Wall integration; more mesh near wall, y+  1-2 Wall functions: less mesh, algebraic wall model, y+  30-50

Outline Background Issues Codes, Flow Modeling, and Reduced Equation Forms Numerical Methods: Discretize, Griding, Accuracy, Error Data Structure, Grids Turbulence Fluent

Finite Volume Cell centered Corner centered Basic conservation laws of fluid dynamics are expressed in terms of mass, momentum and energy in control volume form. F.V. method: on each cell, conservation laws are applied at a discrete point of the cell [node]. Cell centered Corner centered Piecewise constant interpolation Piecewise linear Interpolation

2D Steady Flux Equation Finite-difference: centered in space scheme W E N S  X i,j+1 i-1,j i,j-1

Steady Governing Equations  = transport coeff.  /  = diffusivity Start with generalized RANS equations

Fluent Solution Method Simple Scheme SIMPLE: Semi-Implicit Method for Pressure Linked Equations

Fluent Solution Method Simple Scheme Solution algorithm: Staggered grid; convected on different grid from pressure. Avoids wavy velocity solutions

Fluent Solution Method Simple Scheme CV for u-eqn. Two sets of indices or one and one staggered at half-cell

Fluent Solution Method Simple Scheme CV for v-eqn.

Fluent Solution Method Simple Scheme CV for p-eqn.

Fluent Solution Method Simple Scheme 5-point computational molecules for linearized system using geographical not index notation

Fluent Solution Method Simple Scheme – Multidimensional Model 2-D and 3-D computational molecules using geographical not index notation

Fluent Operational Procedures Generate Geometry Generate Computational Grid Set Boundary Conditions Set Flow Models: Equation of State, Laminar or Turbulent, etc. Set Convergence Criteria or Number of Iterations Set Solver Method and Solve Check Solution Quality Parameters: Residuals, etc. Post-process: Line Plots, Contour Plots Export Data for Further Post-processing

Suggested Fluent Development Path Read FlowLab FAQ notes [Barber Web site] Run FlowLab to familiarize yourself with GUI, solution process and post-processing Read Cornell University training notes [Handout] Develop a relevant validation-qualification process, i.e. compare with known analyses or data Developing laminar flow in straight pipe Developing turbulent flow in a straight pipe [if appropriate] Convection process Convergent-divergent nozzle flow ….