Code verification and mesh uncertainty The goal is to verify that a computer code produces the right solution to the mathematical model underlying it.

Slides:



Advertisements
Similar presentations
Dominic Hudson, Simon Lewis, Stephen Turnock
Advertisements

CFD II w/Dr. Farouk By: Travis Peyton7/18/2015 Modifications to the SIMPLE Method for Non-Orthogonal, Non-Staggered Grids in k- E Turbulence Flow Model.
1 Pressure-based Solver for Incompressible and Compressible Flows with Cavitation Sunho Park 1, Shin Hyung Rhee 1, and Byeong Rog Shin 2 1 Seoul National.
Operating Characteristics of Nozzles P M V Subbarao Professor Mechanical Engineering Department I I T Delhi From Takeoff to cruising …… Realizing New.
Fluent Lecture Dr. Thomas J. Barber
1 “CFD Analysis of Inlet and Outlet Regions of Coolant Channels in an Advanced Hydrocarbon Engine Nozzle” Dr. Kevin R. Anderson Associate Professor California.
Who Wants to Be a CFD Expert? In the ME 566 course title, CFD for Engineering Design, what does the acronym CFD stand for? A.Car Free Day B.Cash Flow Diagram.
Numerical Uncertainty Assessment Reference: P.J. Roache, Verification and Validation in Computational Science and Engineering, Hermosa Press, Albuquerque.
Fundamental concepts and terminology of Verification and Validation Verification is the process that checks whether mathematical model was implemented.
Introduction to numerical simulation of fluid flows
Coupled Fluid-Structural Solver CFD incompressible flow solver has been coupled with a FEA code to analyze dynamic fluid-structure coupling phenomena CFD.
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,
Thermo-fluid Analysis of Helium cooling solutions for the HCCB TBM Presented By: Manmeet Narula Alice Ying, Manmeet Narula, Ryan Hunt and M. Abdou ITER.
Chapter 1 Introduction The solutions of engineering problems can be obtained using analytical methods or numerical methods. Analytical differentiation.
Copyright © 2002J. E. Akin Rice University, MEMS Dept. CAD and Finite Element Analysis Most ME CAD applications require a FEA in one or more areas: –Stress.
Steady Aeroelastic Computations to Predict the Flying Shape of Sails Sriram Antony Jameson Dept. of Aeronautics and Astronautics Stanford University First.
Part 3 Truncation Errors.
Prediction of Fluid Dynamics in The Inertial Confinement Fusion Chamber by Godunov Solver With Adaptive Grid Refinement Zoran Dragojlovic, Farrokh Najmabadi,
Chamber Dynamic Response Modeling Zoran Dragojlovic.
DETAILED TURBULENCE CALCULATIONS FOR OPEN CHANNEL FLOW
Method of manufactured solutions The first stage in code verification is to test for problems for which we have analytical solutions. However, often we.
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.
© Ram Ramanan 8/27/2015 CFD 1 ME 5337/7337 Notes Introduction to Computational Fluid Dynamics Lecture 2: CFD Introduction.
Wind Modeling Studies by Dr. Xu at Tennessee State University
Tutorial 5: Numerical methods - buildings Q1. Identify three principal differences between a response function method and a numerical method when both.
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
ICHS4, San Francisco, September E. Papanikolaou, D. Baraldi Joint Research Centre - Institute for Energy and Transport
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
Characterization and Prediction of CFD Simulation Uncertainties Ph.D Preliminary Oral Exam, Aerospace and Ocean Engineering Department, February 27 th.
CENTRAL AEROHYDRODYNAMIC INSTITUTE named after Prof. N.E. Zhukovsky (TsAGI) Multigrid accelerated numerical methods based on implicit scheme for moving.
1 Conducting & Reporting CFD Analyses. 2 Objective is to achieve a high level of credibility and confidence in the results from CFD performed as part.
Approximate Riemann Solvers for Multi-component flows Ben Thornber Academic Supervisor: D.Drikakis Industrial Mentor: D. Youngs (AWE) Aerospace Sciences.
Discontinuous Galerkin Methods for Solving Euler Equations Andrey Andreyev Advisor: James Baeder Mid.
Target Functional-based Adaptation > Daniel Vollmer > Folie 1 Target Functional-based Adaptation Daniel Vollmer TAU Grid Adaptation Workshop.
© Fluent Inc. 11/24/2015J1 Fluids Review TRN Overview of CFD Solution Methodologies.
© Saab AB Transonic store separation studies on the SAAB Gripen aircraft using CFD Ingemar Persson and Anders Lindberg Stockholm,
1 Chapter 6 Flow Analysis Using Differential Methods ( Differential Analysis of Fluid Flow)
Lecture 21 MA471 Fall 03. Recall Jacobi Smoothing We recall that the relaxed Jacobi scheme: Smooths out the highest frequency modes fastest.
NSF Grant DMI NSF-SNL Grantees Meeting, 09/24/2002, Albuquerque NM 0 PROTECTION AGAINST MODELING AND SIMULATION UNCERTAINTIES IN DESIGN OPTIMIZATION.
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.
IMPACT 3-5th November 20044th IMPACT Project Workshop Zaragoza 1 Investigation of extreme flood Processes and uncertainty IMPACT Investigation of Extreme.
CFD Study of the Development of Vortices on a Ring Wing
1 CASE 2: Modeling of a synthetic jet in a cross flow Williamsburg, Virginia, USA March 29 th -31 th 2004 C. Marongiu 1, G. Iaccarino 2 1 CIRA Italian.
School of Aerospace Engineering MITE Numerical Simulation of Centrifugal Compressor Stall and Surge Saeid NiaziAlex SteinLakshmi N. Sankar School of Aerospace.
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.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 6 - Chapters 22 and 23.
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.
AERODYNAMIC OPTIMIZATION OF REAR AND FRONT FLAPS ON A CAR UNIVERSITY OF GENOVA – POLYTECHNIC SCHOOL ADVANCED FLUID DYNAMICS COURSE 2015/2016 Student: Giannoni.
NSF Grant DMI NSF-SNL Grantees Meeting, 09/24/2002, Albuquerque NM 0 PROTECTION AGAINST MODELING AND SIMULATION UNCERTAINTIES IN DESIGN OPTIMIZATION.
A V&V Overview of the 31st Symposium on Naval Hydrodynamics
“Solve the equations right” Mathematical problem Validation :
Chamber Dynamic Response Modeling
CAD and Finite Element Analysis
Convergence in Computational Science
The application of an atmospheric boundary layer to evaluate truck aerodynamics in CFD “A solution for a real-world engineering problem” Ir. Niek van.
AIAA OBSERVATIONS ON CFD SIMULATION UNCERTAINITIES
AIAA OBSERVATIONS ON CFD SIMULATION UNCERTAINTIES
QUANTIFYING THE UNCERTAINTY IN Wind Power Production Using Meteodyn WT
AIAA OBSERVATIONS ON CFD SIMULATION UNCERTAINTIES
E. Papanikolaou, D. Baraldi
AIAA OBSERVATIONS ON CFD SIMULATION UNCERTAINTIES
Mahnameh TAHERI, Ardeshir MAHDAVI
Presentation transcript:

Code verification and mesh uncertainty The goal is to verify that a computer code produces the right solution to the mathematical model underlying it. Tests detailed by Oberkampf and Roy (Section 5.1) include 1.Simple tests (symmetry, conservation, Gallilean invariance) 2.Code to code comparisons. 3.Discretization error quantification. 4.Convergence tests. 5.Order of accuracy tests. We will focus on 3,4 and 5 using a 2002 paper on comparing CFD simulations to published test results.

Truncation and discretization errors In Taylor series the truncation error is estimated by the last term. We have used this in the integration of the paper helicopter fall velocity to get the distance travelled For a given time increment, the truncation error is The truncation error decreases as the square of the time interval. The discretization error is the error in the final distance h(t f ) However, it decreases approximately linearly with the time interval. Why?

Order of accuracy Order of accuracy p is the power in the relationship between discretization error and interval size h For simple problems like integration of the paper helicopter distance we can estimate the order of accuracy analytically. For most complex problems we have to estimate it from different meshes, say h coarse and h fine If we know the errors (from an exact solution) we can solve for p.

Richardson extrapolation When we do not know what the error is, we can use Richardson extrapolation to estimate what our solution will be with an infinitely fine discretization Now we need f values from three values of h to estimate p and f 0 Unfortunately, the result is exact as h goes to zero, but you often cannot get near enough. In addition there is noise when fine meshes change boundaries compared to coarse mesh. So it is popular to reduce h by a factor of 2.

Top hat question For 4 meshes with h=1,0.5,0.25, and 0.125, the results were, 20, 14.5, 12.5, Estimate the converged value and the order f0=11, p=1.5 f0=10.5, p=1 f0=11, p=1 f0=11.2, p=1.5

AIAA th AIAA/ISSMO Symposium on MAO, 09/05/2002, Atlanta, GA 6 AIAA OBSERVATIONS ON CFD SIMULATION UNCERTAINTIES Serhat Hosder, Bernard Grossman, William H. Mason, and Layne T. Watson Virginia Polytechnic Institute and State University Blacksburg, VA Raphael T. Haftka University of Florida Gainesville, FL 9 th AIAA/ISSMO Symposium on Multidisciplinary Analysis and Optimization 4-6 September 2002 Atlanta, GA Hosder, S. Grossman, B., Haftka, R. T., Mason, W. H., and Watson, L. T. (2006), “Quantitative Relative Comparison of CFD Simulation Uncertainties for a Transonic Diffuser,” Computers and Fluids, 35 (10), , December.

AIAA th AIAA/ISSMO Symposium on MAO, 09/05/2002, Atlanta, GA 7 Introduction Computational fluid dynamics (CFD) as an aero/hydrodynamic analysis and design tool CFD being used increasingly in multidisciplinary design and optimization (MDO) problems Different levels of fidelity from linear potential solvers to RANS codes CFD results have an associated uncertainty, originating from different sources Sources and magnitudes of the uncertainty important to assess the accuracy of the results

AIAA th AIAA/ISSMO Symposium on MAO, 09/05/2002, Atlanta, GA 8 Drag polar results from 1 st AIAA Drag Prediction Workshop (Hemsch, 2001)

AIAA th AIAA/ISSMO Symposium on MAO, 09/05/2002, Atlanta, GA 9 Objective of the Paper Finding the magnitude of CFD simulation uncertainties that a well informed user may encounter and analyzing their sources We study 2-D, turbulent, transonic flow in a converging-diverging channel complex fluid dynamics problem affordable for making multiple runs

AIAA th AIAA/ISSMO Symposium on MAO, 09/05/2002, Atlanta, GA 10 Transonic Diffuser Problem Pe/P0i Strong shock case (Pe/P0i=0.72) Weak shock case (Pe/P0i=0.82) Separation bubble experiment CFD Contour variable: velocity magnitude streamlines

AIAA th AIAA/ISSMO Symposium on MAO, 09/05/2002, Atlanta, GA 11 Uncertainty Sources (following Oberkampf and Blottner) Physical Modeling Uncertainty PDEs describing the flow Euler, Thin-Layer N-S, Full N-S, etc. boundary conditions and initial conditions geometry representation auxiliary physical models turbulence models, thermodynamic models, etc. Discretization Error Iterative Convergence Error Programming Errors We show that uncertainties from different sources interact

AIAA th AIAA/ISSMO Symposium on MAO, 09/05/2002, Atlanta, GA 12 Computational Modeling General Aerodynamic Simulation Program (GASP) A commercial, Reynolds-averaged, 3-D, finite volume Navier-Stokes (N-S) code Has different solution and modeling options. An informed CFD user still “ uncertain ” about which one to choose For inviscid fluxes (most commonly used options in CFD) Upwind-biased 3 rd order accurate Roe-Flux scheme Flux-limiters: Min-Mod and Van Albada Turbulence models (typical for turbulent flows) Spalart-Allmaras (Sp-Al) k-  (Wilcox, 1998 version) with Sarkar’s compressibility correction

AIAA th AIAA/ISSMO Symposium on MAO, 09/05/2002, Atlanta, GA 13 Grids Used in the Computations Grid levelMesh Size (number of cells) 140 x x x x x 400 A single solution on grid 5 requires approximately 1170 hours of total node CPU time on a SGI Origin2000 with six processors (10000 cycles) y/h t Grid 2 Grid 2 is the typical grid level used in CFD applications

AIAA th AIAA/ISSMO Symposium on MAO, 09/05/2002, Atlanta, GA 14 Nozzle efficiency Nozzle efficiency (n eff ), a global indicator of CFD results: H 0i : Total enthalpy at the inlet H e : Enthalpy at the exit H es : Exit enthalpy at the state that would be reached by isentropic expansion to the actual pressure at the exit

AIAA th AIAA/ISSMO Symposium on MAO, 09/05/2002, Atlanta, GA 15 Uncertainty in Nozzle Efficiency

AIAA th AIAA/ISSMO Symposium on MAO, 09/05/2002, Atlanta, GA 16 the total variation in nozzle efficiency10%4% the discretization error 6% (Sp-Al) 3.5% (Sp-Al) the relative uncertainty due to the selection of turbulence model 9% (grid 4) 2% (grid 2) Uncertainty in Nozzle Efficiency Strong Shock Weak Shock Maximum value of

AIAA th AIAA/ISSMO Symposium on MAO, 09/05/2002, Atlanta, GA 17 Discretization Error by Richardson’s Extrapolation Turbulence model Pe/P0iestimate of p (observed order of accuracy) estimate of (n eff ) exact Grid level Discretization error (%) Sp-Al 0.72 (strong shock) Sp-Al 0.82 (weak shock) k-  0.82 (weak shock) order of the method a measure of grid spacing grid level error coefficient

AIAA th AIAA/ISSMO Symposium on MAO, 09/05/2002, Atlanta, GA 18 Major Observations on the Discretization Errors Grid convergence is not achieved with grid levels that have moderate mesh sizes. For the strong shock case, even with the finest mesh level we can afford, asymptotic convergence is not certain As a consequence of above result, it is difficult to separate physical modeling uncertainties from numerical errors Shock-induced flow separation, thus the flow structure, has a significant effect on grid convergence Discretization error magnitudes are different for different turbulence models. The magnitudes of numerical errors are affected by the physical models chosen.

Discussion What are the key ingredients of the Richardson extrapolation? Why do we get non-integer orders? Why do we reduce mesh sizes by factors of 2?