1 Lecture 11: Unsteady Conduction Error Analysis.

Slides:



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

School of something FACULTY OF OTHER School of Computing An Adaptive Numerical Method for Multi- Scale Problems Arising in Phase-field Modelling Peter.
Solve a System Algebraically
Computational Modeling for Engineering MECN 6040
Chapter 8 Elliptic Equation.
Lecture 18 - Numerical Differentiation
ME 595M J.Murthy1 ME 595M: Computational Methods for Nanoscale Thermal Transport Lecture 9: Introduction to the Finite Volume Method for the Gray BTE J.
1 Lecture 24: Flux Limiters 2 Last Time… l Developed a set of limiter functions l Second order accurate.
Influence of (pointwise) Gauss-Seidel relaxation on the error Poisson equation, uniform grid Error of initial guess Error after 5 relaxation Error after.
Computer-Aided Analysis on Energy and Thermofluid Sciences Y.C. Shih Fall 2011 Chapter 6: Basics of Finite Difference Chapter 6 Basics of Finite Difference.
Introduction to Numerical Methods I
Types of Governing equations
Solve an equation with variables on both sides
MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 10. Ordinary differential equations. Initial value problems.
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
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.
Unit 1 Test Review Answers
© Arturo S. Leon, BSU, Spring 2010
Lecture 16: Convection and Diffusion (Cont’d). Last Time … We l Looked at CDS/UDS schemes to unstructured meshes l Look at accuracy of CDS and UDS schemes.
RFP Workshop Oct 2008 – J Scheffel 1 A generalized weighted residual method for RFP plasma simulation Jan Scheffel Fusion Plasma Physics Alfvén Laboratory,
DISCRETIZATION AND GRID BLOCKS NTNU Author: Professor Jon Kleppe Assistant producers: Farrokh Shoaei Khayyam Farzullayev.
1.3 The Intersection Point of Lines System of Equation A system of two equations in two variables looks like: – Notice, these are both lines. Linear Systems.
1 Discretization of Fluid Models (Navier Stokes) Dr. Farzad Ismail School of Aerospace and Mechanical Engineering Universiti Sains Malaysia Nibong Tebal.
Lecture 3.
1 EEE 431 Computational Methods in Electrodynamics Lecture 4 By Dr. Rasime Uyguroglu
Lecture Objectives: Analyze the unsteady-state heat transfer Conduction Introduce numerical calculation methods Explicit – Implicit methods.
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo Performance & Stability Analysis.
Numerical Methods for Partial Differential Equations CAAM 452 Spring 2005 Lecture 5 Summary of convergence checks for LMM and one-step time stepping Instructor:
7. Introduction to the numerical integration of PDE. As an example, we consider the following PDE with one variable; Finite difference method is one of.
Distributed Flow Routing Surface Water Hydrology, Spring 2005 Reading: 9.1, 9.2, 10.1, 10.2 Venkatesh Merwade, Center for Research in Water Resources.
© Fluent Inc. 11/24/2015J1 Fluids Review TRN Overview of CFD Solution Methodologies.
Finite Difference Methods Definitions. Finite Difference Methods Approximate derivatives ** difference between exact derivative and its approximation.
Engineering Analysis – Computational Fluid Dynamics –
Engineering Analysis – Computational Fluid Dynamics –
Using the Segregated and Coupled Solvers
HW2 Due date Next Tuesday (October 14). Lecture Objectives: Unsteady-state heat transfer - conduction Solve unsteady state heat transfer equation for.
MECN 3500 Inter - Bayamon Lecture 9 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
16.920J/SMA 5212 Numerical Methods for PDEs Lecture 5 Finite Differences: Parabolic Problems B. C. Khoo Thanks to Franklin Tan SMA-HPC ©2002 NUS.
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.
Use the substitution method
Solve Linear Systems by Substitution January 28, 2014 Pages
Section 3.5 Solving Systems of Linear Equations in Two Variables by the Addition Method.
3/23/05ME 2591 Numerical Methods in Heat Conduction Reference: Incropera & DeWitt, Chapter 4, sections Chapter 5, section 5.9.
EXAMPLE 1 Solve a system graphically Graph the linear system and estimate the solution. Then check the solution algebraically. 4x + y = 8 2x – 3y = 18.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 32.
The Finite-Difference Method Taylor Series Expansion Suppose we have a continuous function f(x), its value in the vicinity of can be approximately expressed.
Finite Difference Methods
Convection-Dominated Problems
Chapter 30.
Announcement MATHCAD for solving system of equation for HW1b
© Fluent Inc. 1/10/2018L1 Fluids Review TRN Solution Methods.
Distributed Flow Routing
21th Lecture - Advection - Diffusion
3-2: Solving Linear Systems
Objective Numerical methods.
Solve a system of linear equation in two variables
Finite Volume Method for Unsteady Flows
Topic 3 Discretization of PDE
Solve Simultaneous Equations One Linear, one quadratic [Circle]
topic4: Implicit method, Stability, ADI method
Topic 3 Discretization of PDE
3-2: Solving Linear Systems
Numerical Analysis Lecture 2.
3-2: Solving Linear Systems
6th Lecture : Numerical Methods
3-2: Solving Linear Systems
EXAMPLE 4 Solve proportions Solve the proportion. ALGEBRA a x 16
Topic 3 Discretization of PDE
Presentation transcript:

1 Lecture 11: Unsteady Conduction Error Analysis

2 Last Time… l Looked at unsteady 2D conduction problems l Discretization schemes »Explicit »Implicit l Considered the properties of this scheme

3 This Time… l Complete unsteady scheme discussion »Properties of Crank-Nicholson scheme l Truncation error analysis

4 Unsteady Diffusion l Governing equation: l Integrate over control volume and time step

5 Discrete Equation Set l Dropping superscript (1) for compactness l Notice old values in discrete equation l To make sense of this equation, we will look at particular values of time interpolation factor f (f = 0, 1, 0.5)

6 Crank-Nicholson Scheme l Crank-Nicholson scheme uses f=0.5  t t1t1 t0t0 00 11 Linear profile assumption across time step

7 Crank-Nicholson: Discrete Equations l Linear equation set at current time level

8 Properties of Crank-Nicholson Scheme l Linear algebraic set at current time level – need linear solver l When steady state is reached,  P =  0 P. In this limit, steady discrete equations are recovered. »Steady state does not depend on history of time stepping »Will get the same answer in steady state by time marching as solving the original steady state equations directly l Will show later that truncation error is O (  t 2 )

9 Properties (cont’d) l What if l Crank-Nicholson scheme can be shown to be unconditionally stable. But if time step is too large, we can obtain oscillatory solutions

10 Truncation Error: Spatial Approximations l Face mean value of J e represented by face centroid value l Source term represented by centroid value: l Gradient at face represented by linear variation between cell centroid: l What is the truncation error in these approximations?

11 Mean Value Approximation l Consider 1-D approximation and uniform grid. l What is the error in representing the mean value over a face (or a volume) by its centroid value? l Expand in Taylor series about P

12 Mean Value Approximation (cont’d) l Integrate over control volume:

13 Mean Value Approximation (cont’d) l Complete integration to find: l Rearranging: l Thus is a second-order accurate representation

14 Gradient Approximation l To find expand about ‘e’ face l Subtract to find: l Linear profile assumption => second-order approximation

15 Temporal Truncation Error: Implicit Scheme l Cell centroid value (  ) = (  ) P at both time levels »Same as the mean value approximation »Second-order approximation l Value of  P 1 prevails over time step l Source term at (1) prevails over time step l What is the truncation error of these two approximations?

16 Truncation Error in Implicit Scheme (cont’d) l Consider a variable S(t) which we want to integrate over the time step: l Expand in Taylor series about new time level (1):

17 Truncation Error in Implicit Scheme (cont’d) l Integrate over time step: l Thus, representing the mean value over the time step by is a first-order accurate approximation

18 Closure In this lecture, we: l Completed the examination of unsteady schemes: »Crank-Nicholson l Looked at truncation error in various spatial and temporal approximations