Presentation is loading. Please wait.

Presentation is loading. Please wait.

topic4: Implicit method, Stability, ADI method

Similar presentations


Presentation on theme: "topic4: Implicit method, Stability, ADI method"— Presentation transcript:

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

2 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. 5/7/2019 topic4: Implicit method, Stability, ADI method

3 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. 5/7/2019 topic4: Implicit method, Stability, ADI method

4 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. 5/7/2019 topic4: Implicit method, Stability, ADI method

5 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 5/7/2019 topic4: Implicit method, Stability, ADI method

6 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 5/7/2019 topic4: Implicit method, Stability, ADI method

7 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. 5/7/2019 topic4: Implicit method, Stability, ADI method

8 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). 5/7/2019 topic4: Implicit method, Stability, ADI method

9 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 5/7/2019 topic4: Implicit method, Stability, ADI method

10 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 = 5/7/2019 topic4: Implicit method, Stability, ADI method

11 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. 5/7/2019 topic4: Implicit method, Stability, ADI method

12 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 5/7/2019 topic4: Implicit method, Stability, ADI method

13 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 5/7/2019 topic4: Implicit method, Stability, ADI method

14 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) 5/7/2019 topic4: Implicit method, Stability, ADI method

15 topic4: Implicit method, Stability, ADI method
Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Rearranging yields 5/7/2019 topic4: Implicit method, Stability, ADI method

16 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 5/7/2019 topic4: Implicit method, Stability, ADI method

17 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. 5/7/2019 topic4: Implicit method, Stability, ADI method

18 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. 5/7/2019 topic4: Implicit method, Stability, ADI method

19 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 5/7/2019 topic4: Implicit method, Stability, ADI method

20 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. 5/7/2019 topic4: Implicit method, Stability, ADI method

21 topic4: Implicit method, Stability, ADI method
Computational Fluid Dynamics (AE/ME 339) K. M. Isaac MAEEM Dept., UMR Cancel exp (jbx) throughout 5/7/2019 topic4: Implicit method, Stability, ADI method

22 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). 5/7/2019 topic4: Implicit method, Stability, ADI method

23 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: 5/7/2019 topic4: Implicit method, Stability, ADI method

24 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. 5/7/2019 topic4: Implicit method, Stability, ADI method

25 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. 5/7/2019 topic4: Implicit method, Stability, ADI method

26 topic4: Implicit method, Stability, ADI method
Program Completed University of Missouri-Rolla Copyright 2002 Curators of University of Missouri 5/7/2019 topic4: Implicit method, Stability, ADI method


Download ppt "topic4: Implicit method, Stability, ADI method"

Similar presentations


Ads by Google