Objective Numerical methods.

Slides:



Advertisements
Similar presentations
2ª aula Evolution Equation. The Finite Volume Method.
Advertisements

Chapter 8 Elliptic Equation.
Lecture Objectives: Simple algorithm Boundary conditions.
Parabolic Partial Differential Equations
Lecture Objectives -Finish with modeling of PM -Discuss -Advance discretization -Specific class of problems -Discuss the CFD software.
Introduction to numerical simulation of fluid flows
Chapter 3 Steady-State Conduction Multiple Dimensions
CHE/ME 109 Heat Transfer in Electronics LECTURE 12 – MULTI- DIMENSIONAL NUMERICAL MODELS.
1 Lecture 11: Unsteady Conduction Error Analysis.
Systems of Non-Linear Equations
Partial differential equations Function depends on two or more independent variables This is a very simple one - there are many more complicated ones.
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
Lecture Objectives: Review discretization methods for advection diffusion equation Accuracy Numerical Stability Unsteady-state CFD Explicit vs. Implicit.
Taylor Series.
Lecture Objectives Review SIMPLE CFD Algorithm SIMPLE Semi-Implicit Method for Pressure-Linked Equations Define Residual and Relaxation.
Start Presentation October 4, 2012 Solution of Non-linear Equation Systems In this lecture, we shall look at the mixed symbolic and numerical solution.
Inverse Matrices and Systems
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.
Module :MA0001NP Foundation Mathematics Lecture Week 6.
Two-Dimensional Conduction: Finite-Difference Equations and Solutions
© Fluent Inc. 10/26/ Introductory FLUENT Notes FLUENT v6.0 Jan 2002 Fluent User Services Center Solver Settings.
Lecture Objectives: Explicit vs. Implicit Residual, Stability, Relaxation Simple algorithm.
Elliptic PDEs and the Finite Difference Method
Transient Conduction: Finite-Difference Equations and Solutions Chapter 5 Section 5.9  
© Fluent Inc. 11/24/2015J1 Fluids Review TRN Overview of CFD Solution Methodologies.
Lecture Objectives Review Define Residual and Relaxation SIMPLE CFD Algorithm SIMPLE Semi-Implicit Method for Pressure-Linked Equations.
Implicit Differentiation. Implicitly vs. Explicitly Defined Functions y is given explicitly as a function of x (y is solved in terms of x) y is given.
Circuits Theory Examples Newton-Raphson Method. Formula for one-dimensional case: Series of successive solutions: If the iteration process is converged,
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.
CSE 2813 Discrete Structures Solving Recurrence Relations Section 6.2.
Lecture Objectives: Continue with linearization of radiation and convection Example problem Modeling steps.
Differential Equations Linear Equations with Variable Coefficients.
Finding Definite Integrals by Substitution and Solving Separable Differential Equations.
Lecture Objectives: Review discretization methods for advection diffusion equation –Accuracy –Numerical Stability Unsteady-state CFD –Explicit vs. Implicit.
Lecture Objectives: Define 1) Reynolds stresses and
Notes 6.5, Date__________ (Substitution). To solve using Substitution: 1.Solve one equation for one variable (choose the variable with a coefficient of.
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.
Model Anything. Quantity Conserved c  advect  diffuse S ConservationConstitutiveGoverning Mass, M  q -- M Momentum fluid, Mv -- F Momentum fluid.
Objective: Use factoring to solve quadratic equations. Standard(s) being met: 2.8 Algebra and Functions.
FINITE DIFFERENCE In numerical analysis, two different approaches are commonly used: The finite difference and the finite element methods. In heat transfer.
Objective Introduce Reynolds Navier Stokes Equations (RANS)
Equations Quadratic in form factorable equations
Convection-Dominated Problems
Objective Numerical methods SIMPLE CFD Algorithm Define Relaxation
Gauss-Siedel Method.
Lecture Objectives: Review Explicit vs. Implicit
Steady convection-diffusion equation
Convergence in Computational Science
Autar Kaw Benjamin Rigsby
Objective Review Reynolds Navier Stokes Equations (RANS)
Partial Differential Equations
Lecture Objectives Finish with boundary conditions Unsteady State Flow.
Lecture Objectives: Advance discretization methods
Objective Unsteady state Numerical methods Discretization
Solving Linear Systems Algebraically
Finite Volume Method for Unsteady Flows
Lesson 13-3: Determinants & Cramer’s Rule
Convergence in Numerical Science
topic13_grid_generation
Objective Numerical methods Finite volume.
Linear Algebra Lecture 3.
Lecture Objectives: Simple Algorithm vs. Direct Solvers Discuss HW 3
Objective Reynolds Navier Stokes Equations (RANS) Numerical methods.
topic13_grid_generation
Objective Define Reynolds Navier Stokes Equations (RANS)
Equations Quadratic in form factorable equations
6th Lecture : Numerical Methods
Variables.
Presentation transcript:

Objective Numerical methods

Convection term dxw P dxe W E Dx – Central difference scheme: - Upwind-scheme: If Vx>0 and If Vx<0 and

Diffusion term W dxw P dxe E Dx w e

Summary: Steady–state 1D I) X direction If Vx > 0, If Vx < 0, Convection term - Upwind-scheme: W P dxw dxe E and a) and Dx w e Diffusion term: b) When mesh is uniform: DX = dxe = dxw Assumption: Source is constant over the control volume c) Source term:

1D example - uniform mesh After substitution a), b) and c) into I): We started with partial differential equation: same and developed algebraic equation: We can write this equation in general format: Unknowns Equation coefficients

1D example multiple (N) volumes N unknowns 1 2 3 i N-1 N Equation for volume 1 N equations Equation for volume 2 …………………………… Equation matrix: For 1D problem 3-diagonal matrix

3D problem Equation in the general format: H N W P E S L Wright this equation for each discretization volume of your discretization domain A F 60,000 elements 60,000 cells (nodes) N=60,000 x = 60,000 elements 7-diagonal matrix This is the system for only one variable ( ) When we need to solve p, u, v, w, T, k, e, C system of equation is larger

Higher order differencing scheme for advection W Dx P Dx E Upwind scheme: Vx<0 Dx Vx>0 Central differencing scheme: Higher order differencing scheme: Quadratic upwind differencing Scheme (QUICK) N-2 N-1 N N+1 N+2 WW P W E EE We need to find coefficients aP, aW, aE, aWW, aEE,

Quadratic upwind differencing Scheme (QUICK) Coefficients: Advection coefficient: Source: Diffusion coefficients : For advection only:

Matrix for QUICK method Use Spars Matrix Solver

Iteration method Alternative to use matrix solver tool is to use iterations You can use excel if you are not familiar with matrix solver tools General Iteration Procedure: 1) Express equation in explicit form 2) Guess initial values 3) Substitute initial values and calculate new values 4) Substitute new values and calculate newer values 6) Repeat step 4) until convergence is achieved example Iterations -residual Value: T1 Residual initial guess 22 iteration 1 23 1.00000 iteration 2 23.25 0.25000 iteration 3 23.390625 0.14063 iteration 4 23.483459 0.09283 iteration 5 …… --- 23.96441 Iteration 98 23.96444 0.00003 2 2 2 Difference of value between two iteration 2 2

Numerical instability divergency divergence variable solution convergence iteration

General Transport Equation unsteady-state H N Equation in the algebraic format: W P E S L We have to solve the system matrix for each time step ! Transient term: Are these values for step  or + ? Unsteady-state 1-D If: -  - explicit method - + - implicit method

General Transport Equation unsteady-state Fully explicit method: Or different notation: Implicit method For Vx>0 For Vx<0

Steady state vs. Unsteady state We use iterative solver to get solution Unsteady state We use iterative solver to get solution and We iterate for each time step Make the difference between - Calculation for different time step - Calculation in iteration step