topic4: Implicit method, Stability, ADI method

Slides:



Advertisements
Similar presentations
Chapter 8 Elliptic Equation.
Advertisements

Parabolic Partial Differential Equations
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac Professor of Aerospace Engineering.
PARTIAL DIFFERENTIAL EQUATIONS
Introduction to Numerical Methods I
Computational Fluid Dynamics I PIW Numerical Methods for Parabolic Equations Instructor: Hong G. Im University of Michigan Fall 2005.
Ch 8.1 Numerical Methods: The Euler or Tangent Line Method
Scientific Computing Partial Differential Equations Poisson Equation.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 5a.
1 EEE 431 Computational Methods in Electrodynamics Lecture 4 By Dr. Rasime Uyguroglu
Scientific Computing Partial Differential Equations Implicit Solution of Heat Equation.
Elliptic PDEs and the Finite Difference Method
Engineering Analysis – Computational Fluid Dynamics –
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.
Boyce/DiPrima 9 th ed, Ch 11.3: Non- Homogeneous Boundary Value Problems Elementary Differential Equations and Boundary Value Problems, 9 th edition, by.
Topics 1 Specific topics to be covered are: Discrete-time signals Z-transforms Sampling and reconstruction Aliasing and anti-aliasing filters Sampled-data.
Finite Element Method. History Application Consider the two point boundary value problem.
1 LECTURE 6 Stability of Parabolic PDEs. 2 Aim of Lecture Last week we discussed Parabolic PDEs –Looked at Explicit and Implicit Methods –Advantages and.
Transfer Functions Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: The following terminology.
EEE 431 Computational Methods in Electrodynamics
Introduction to Numerical Methods I
Chapter 30.
Gauss-Siedel Method.
Numerical Analysis Lecture12.
Advanced Numerical Methods (S. A. Sahu) Code: AMC 51151
Linearized Block Implicit (LBI) Method applied to Quasi-1D Flow
ME/AE 339 Computational Fluid Dynamics K. M. Isaac Topic1_ODE
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
Numerical Analysis Lecture 45.
Finite Volume Method for Unsteady Flows
ME/AE 339 Computational Fluid Dynamics K. M. Isaac Topic2_PDE
Topic 6 FluidFlowEquations_Introduction
Metode Eliminasi Pertemuan – 4, 5, 6 Mata Kuliah : Analisis Numerik
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac 12/3/2018
Topic 3 Discretization of PDE
Scientific Computing Partial Differential Equations Implicit Solution of Heat Equation.
topic13_grid_generation
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac
topic8_NS_vectorForm_F02
Numerical Analysis Lecture13.
6.5 Taylor Series Linearization
topic13_grid_generation
Numerical Analysis Lecture 37.
topic13_grid_generation
topic4: Implicit method, Stability, ADI method
topic4: Implicit method, Stability, ADI method
Topic 3 Discretization of PDE
topic16_cylinder_flow_relaxation
Topic 5 NavierStokes Equations
topic11_shocktube_problem
Numerical Analysis Lecture 38.
Topic 6 NavierStokes Equations
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac 2/28/2019
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
Numerical Analysis Lecture11.
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
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
Modeling and Simulation: Exploring Dynamic System Behaviour
Presentation transcript:

topic4: Implicit method, Stability, ADI method AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac 2/25/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 Implicit form of difference equation In the previous explicit method, the solution at time level n, u i,n , depended only on the known values of u, u i-1,n-1 , u i,n-1, and u i+1,n-1 , all which are at time level n-1. 2/25/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 Nature of solution in explicit method can be illustrated graphically as shown below. 2/25/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 this formulation, solution at (i,n), ui,n is affected only by the values along and below boundary PQR (region A) in the previous figure.Values in region above PQR (region B) do not influence ui,n. Exact solution u(x,y) at Q depends on the values at all times earlier than tn , a property of parabolic PDE. Is a limitation of the explicit method. 2/25/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 Fully Implicit Method The nodes used in implicit method are illustrated in the figure below 2/25/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 As before, crosses (x) denote grid points used for and circles (o) for The equation now becomes 2/25/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 IC and BC are the same as before. Equations similar to the above should be written for each grid point Note: left boundary has i=0 and right boundary has i=M, thus total of (M+1) grid points (also knows as nodes) are present. Thus we have (M-1) linear simultaneous equations with (M-1) unknowns. Explicit solution is not possible. 2/25/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 Convergence of Implicit form Can show using Taylor series Where utt and uxxxx are evaluated at (i , n+1). 2/25/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 From the leading in the above It can be shown that implicit method converges to the exact solution of the PDE as and for any value of The difference equation is now written for as follows. for i = 1 for 2/25/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 Finally, (show M, N in figure) for i = M = 2/25/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: In the matrix shown above, change in subscript N=M-1 is adopted for simplicity. The RHS terms d1,d2,…dN are known quantities. All matrix elements not shown are zero. The matrix above is called a tridiagonal matrix i.e., only sub-diagonal, diagonal, and super diagonal terms are non–zero. Solution can be obtained by Gauss elimination. Recursion solution Constants bi and gi are to be determined. 2/25/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 Substituting into the ith equation of the set for ui-1 gives Rewrite as 2/25/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 Comparing the two equations we have recursion relations for b and g From the first equation (see matrix in slide 10) Where and 2/25/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 From the last equation (see matrix in slide 10) 2/25/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 Rearranging yields 2/25/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 Algorithm summary: Recursion formulas for and i = 2, 3,…,N i = 1, 2, 3,…,N 2/25/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 Once the coefficients have been calculated, the solution vector u can be calculated starting with uN and going backwards, as follows: i=N-1, N-2,…,1 Note: n denotes time level and N denotes the last but one node in the i-direction. 2/25/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 Recursion formulas for and i = 2, 3,…,N i = 1, 2, 3,…,N Gauss elimination can cause large round-off errors. Implicit schemes usually require more computational steps, but the ratio Dt/(Dx)2 has no restrictions, is a definite advantage. 2/25/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 Stability (7.10) A finite difference form is convergent if the solution tends to the exact solution as (in the absence of round off error). Stability refers to amplification of information present in IC, BC or introduced by errors in the numerical procedure such as round off error. Von-Neumann’s stability analysis: Stability implies only boundedness, not the magnitude of deviation from the true solution. Key features of stability analysis: Assume that: i) At any stage, t=0 here, a Fourier expansion can be made of some initial function f(x), and a typical term in the expansion can be written as ejbx where b is a positive constant and 2/25/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) Separation of time and space dependence can be made. At time t, the term becomes By substituting in the difference equation, the form of y(t) can be determined and stability criterion established. Example Explicit finite difference form Substitute for each u. 2/25/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 Cancel exp (jbx) throughout 2/25/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 Since If we choose y(0) = 1, this has the solution And can be proven by substitution (see next slide). 2/25/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 stability, y(t) must be bounded as This requires An amplification factor x is usually defined as follows: 2/25/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 Which shows for stability. In the Fourier expansion we considered only one term corresponding to 1 value of b. When all possible values of b are considered sin(bDx/2) could become 1. Therefore, the stability condition becomes = 0.5, |x| = 1 l = 1.0, |x| = 3 (unstable) Intuitively it implies that ui,n affects ui,n+1 in a “non-negative” manner. 2/25/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 A similar analysis for the implicit method would give Since for all l, the procedure is unconditionally stable. Consistency means that the procedure may in fact approximate the solution of the PDE under study and not the solution of some other PDE. 2/25/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/25/2019 topic4: Implicit method, Stability, ADI method