topic4: Implicit method, Stability, ADI method

Slides:



Advertisements
Similar presentations
Computational Modeling for Engineering MECN 6040
Advertisements

Chapter 8 Elliptic Equation.
Parabolic Partial Differential Equations
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac Professor of Aerospace Engineering.
CHE/ME 109 Heat Transfer in Electronics LECTURE 12 – MULTI- DIMENSIONAL NUMERICAL MODELS.
PARTIAL DIFFERENTIAL EQUATIONS
Numerical Methods for Partial Differential Equations
Types of Governing equations
CISE301: Numerical Methods Topic 9 Partial Differential Equations (PDEs) Lectures KFUPM (Term 101) Section 04 Read & CISE301_Topic9.
SE301: Numerical Methods Topic 9 Partial Differential Equations (PDEs) Lectures KFUPM Read & CISE301_Topic9 KFUPM.
Dr. R. Nagarajan Professor Dept of Chemical Engineering IIT Madras Advanced Transport Phenomena Module 5 Lecture 19 Energy Transport: Steady-State Heat.
ME 231 Thermofluid Mechanics I Navier-Stokes Equations.
CHAPTER 7 NON-LINEAR CONDUCTION PROBLEMS
© Arturo S. Leon, BSU, Spring 2010
Partial Differential Equations Finite Difference Approximation.
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
Elliptic PDEs and the Finite Difference Method
Engineering Analysis – Computational Fluid Dynamics –
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac Professor of Aerospace Engineering Introduction and Scope.
HEAT TRANSFER FINITE ELEMENT FORMULATION
CIS/ME 794Y A Case Study in Computational Science & Engineering 2-D conservation of momentum (contd.) Or, in cartesian tensor notation, Where repeated.
Discretization Methods Chapter 2. Training Manual May 15, 2001 Inventory # Discretization Methods Topics Equations and The Goal Brief overview.
Solving Partial Differential Equation Numerically Pertemuan 13 Matakuliah: S0262-Analisis Numerik Tahun: 2010.
HEAT TRANSFER Problems with FEM solution
Finite Difference Methods
Convection-Dominated Problems
Chapter 30.
INTRODUCTION : Convection: Heat transfer between a solid surface and a moving fluid is governed by the Newton’s cooling law: q = hA(Ts-Tɷ), where Ts is.
ME/AE 339 Computational Fluid Dynamics K. M. Isaac Topic1_ODE
21th Lecture - Advection - Diffusion
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac 11/13/2018
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac 11/15/2018
Partial Differential Equations
Finite Volume Method for Unsteady Flows
ME/AE 339 Computational Fluid Dynamics K. M. Isaac Topic2_PDE
Topic 6 FluidFlowEquations_Introduction
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac 12/3/2018
Thermal-ADI: a Linear-Time Chip-Level Dynamic Thermal Simulation Algorithm Based on Alternating-Direction-Implicit(ADI) Method Good afternoon! The topic.
Topic 3 Discretization of PDE
topic13_grid_generation
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac
topic8_NS_vectorForm_F02
topic13_grid_generation
topic13_grid_generation
topic4: Implicit method, Stability, ADI method
Topic 3 Discretization of PDE
topic16_cylinder_flow_relaxation
Topic 5 NavierStokes Equations
topic11_shocktube_problem
topic4: Implicit method, Stability, ADI method
Topic 6 NavierStokes Equations
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac 2/28/2019
Steady-State Heat Transfer (Initial notes are designed by Dr
Topic9_Pressure_Correction
topic8_NS_vectorForm_F02
topic11_shocktube_problem
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac 4/30/2019
Topic 8 Pressure Correction
topic4: Implicit method, Stability, ADI method
6th Lecture : Numerical Methods
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac 7/24/2019
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac July 25, 2019
topic18_shock_tube_flow
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac
Topic 3 Discretization of PDE
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac
Presentation transcript:

topic4: Implicit method, Stability, ADI method AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac 2/22/2019 topic4: Implicit method, Stability, ADI method

topic4: Implicit method, Stability, ADI method Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Crank-Nicolson method Previous explicit and implicit methods have discretization error 2/22/2019 topic4: Implicit method, Stability, ADI method

topic4: Implicit method, Stability, ADI method Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Define the central difference operators Let us now try the following form for the second derivative 2/22/2019 topic4: Implicit method, Stability, ADI method

topic4: Implicit method, Stability, ADI method Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR The above form involves 6 points to represent And q lies in the range: Depending on the value of q, the method will be explicit (q = 0), implicit (q = 1), or a combination of the two. For the Crank–Nicolson (C-N) method, q = ½. The difference equation now becomes C-N method has the following properties: i) Stable for all values of the ratio, l = Dt/(Dx)2 2/22/2019 topic4: Implicit method, Stability, ADI method

topic4: Implicit method, Stability, ADI method Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR (ii) Has truncation error When written in full, the equation becomes Dufort-Frankel Method (7.13) Method is an unconditionally stable, explicit method 2/22/2019 topic4: Implicit method, Stability, ADI method

topic4: Implicit method, Stability, ADI method Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR 3 time levels are involved More difficult to formulate IC More computer storage is required Error 2/22/2019 topic4: Implicit method, Stability, ADI method

topic4: Implicit method, Stability, ADI method Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Alternating-Direction Implicit (ADI) Method (7.14) The unsteady state heat conduction in a slab is governed by the following equation Top and bottom surfaces are Insulated BC are imposed on the 4 sides Figure 2/22/2019 topic4: Implicit method, Stability, ADI method

topic4: Implicit method, Stability, ADI method Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Explicit Method Stability Criterion: Implicit Method Writing in full with yields 2/22/2019 topic4: Implicit method, Stability, ADI method

topic4: Implicit method, Stability, ADI method Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Scheme is stable for all values of λ There are 5 unknowns per equation Gauss elimination for solution is more complicated System is not tri-diagonal ADI Method Let us now consider a parabolic PDE in two dimensions denoted by x and y i.e., 2/22/2019 topic4: Implicit method, Stability, ADI method

topic4: Implicit method, Stability, ADI method Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR ADI uses two finite difference equations used in turn over successive time steps each of size Dt/2 The first equation is implicit only in the x-direction Second equation is implicit only in the y-direction is an intermediate value at the end of time step Dt/2 Step 1 Note that there is no time subscript for 2/22/2019 topic4: Implicit method, Stability, ADI method

topic4: Implicit method, Stability, ADI method Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Step 2 values are solved for in the first step and values are solved for in the second step Advantage is that the matrices in both steps are still tri-diagonal Exercise: Write the equations in full using and Can be shown that procedure is unconditionally stable Discretization error 2/22/2019 topic4: Implicit method, Stability, ADI method

topic4: Implicit method, Stability, ADI method Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR ADI can also be used for solving elliptic PDE’s ADI is not recommended for 3D problems Square cross section of side 2a IC: Temperature is uniform at T0 BC: side surface temperature T1 Figure Compute temperature distribution T(x,y,t) inside the slab 2/22/2019 topic4: Implicit method, Stability, ADI method

topic4: Implicit method, Stability, ADI method Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Can write Procedure Non-dimensionalize the equations as follows Observe: Problem has symmetry in geometry, IC and BC about both x and y axis 2/22/2019 topic4: Implicit method, Stability, ADI method

topic4: Implicit method, Stability, ADI method Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Need to solve only one quadrant Due to symmetry there is no heat flux across X, Y axes (insulated boundaries) IC: BC: throughout the domain along sides X=1 and Y=1 along X=0 along Y=0 figure 2/22/2019 topic4: Implicit method, Stability, ADI method

topic4: Implicit method, Stability, ADI method Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Types of BC (7.17) Instead of u , boundary , or a combination may be specified at the u=g Dirichlet condition: Neumann condition: Mixed BC: Where α, β, γ are constants and g is a known function. n and s denote, respectively, the normal and tangential derivatives. 2/22/2019 topic4: Implicit method, Stability, ADI method

topic4: Implicit method, Stability, ADI method Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR 2/22/2019 topic4: Implicit method, Stability, ADI method

topic4: Implicit method, Stability, ADI method Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR For heat transfer at the straight boundary, x = 0, (see figure), the following can be written. , 2/22/2019 topic4: Implicit method, Stability, ADI method

topic4: Implicit method, Stability, ADI method Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Consider the earlier parabolic PDE and may be obtained as before For ,use Taylor series as follows Using the BC we get 2/22/2019 topic4: Implicit method, Stability, ADI method

topic4: Implicit method, Stability, ADI method Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Write the corresponding equation for uxx for the heat conduction problem with an insulated boundary. 2/22/2019 topic4: Implicit method, Stability, ADI method

topic4: Implicit method, Stability, ADI method Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Final implicit form of FD approximation (2D parabolic) at point (0,j) Example: 1D heat conduction problem with insulated end BC at insulated end is Therefore from the above equation (set a=g=0) 2/22/2019 topic4: Implicit method, Stability, ADI method

topic4: Implicit method, Stability, ADI method Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR At point (i = 0) equation becomes ………………………(A) From (A) 2/22/2019 topic4: Implicit method, Stability, ADI method

topic4: Implicit method, Stability, ADI method Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Non –linear PDE’s The heat conduction equation of the previous sections is linear Fluid flow equations often have non-linear terms Example: x-Momentum equation of 2D steady, incompressible flow Since u and v are the velocity components in x,y directions respectively the LHS terms are non-linear Previous techniques can be adapted to solve non-linear equations The basic approach is to linearize the equations 2/22/2019 topic4: Implicit method, Stability, ADI method

topic4: Implicit method, Stability, ADI method Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR In , if the coefficient u of is treated as a known quantity, then the equation becomes linear When unsteady equations are solved u at the beginning of the time step can be used as the multiplier For example, the first term can be discretized as Would be the fully implicit form of the first term when we use the forward difference form for 2/22/2019 topic4: Implicit method, Stability, ADI method

topic4: Implicit method, Stability, ADI method Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Note that superscript n denotes quantities at time level tn,, which would be known from the previous solution step Exercise: Write the same for the 2nd term When steady state problems are solved using iterative techniques, values from the previous iteration step would be used as the multiplier u Other non-linear forms Note D( c ), the diffusion coefficient, is a function of the dependent variable, c, the concentration 2/22/2019 topic4: Implicit method, Stability, ADI method

topic4: Implicit method, Stability, ADI method Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR If we use the model the above term becomes The first term on the RHS would be linearized as before using as the multiplier To use the implicit procedure for the 2nd RHS term, it can be split as and treat the first half as a constant. Note α and β are constants in the above discussion 2/22/2019 topic4: Implicit method, Stability, ADI method

topic4: Implicit method, Stability, ADI method Program Completed University of Missouri-Rolla Copyright 2002 Curators of University of Missouri 2/22/2019 topic4: Implicit method, Stability, ADI method