MA471 Fall 2003 - PowerPoint PPT Presentation

1 / 19
About This Presentation
Title:

MA471 Fall 2003

Description:

Special Cases. The alpha=0 mode decays by a factor of. every iteration. ... Matlab Script To Display g(alpha) Decay Rate As a. Function of alpha (w=1) Fast. decaying ... – PowerPoint PPT presentation

Number of Views:30
Avg rating:3.0/5.0
Slides: 20
Provided by: timwar1
Category:
Tags: cases | display | fall | ma471

less

Transcript and Presenter's Notes

Title: MA471 Fall 2003


1
Lecture 20
  • MA471 Fall 2003

2
Relaxed Jacobi Iteration
  • Instead of the usual Jacobi iteration
  • We will instead make a partial step in the
    direction of the residual
  • Where w is a relaxation parameter to be chosen.

i.e. a linear combination of the previous x and
the residual
3
Stability Analysis
  • Does the relaxed Jacobi iteration converge?
  • The new error iteration matrix is
  • Compared with the unrelaxed Jacobi iterator

4
Eigenvalues of The Relaxed Jacobi Iterator Matrix
  • Given the two matrices
  • We instantly realize that their eigenvalues are
    related
  • Since the new iterator only involves a scaling
    and terms added to the diagonal..

5
cont
  • Because the eigenvalues of the relaxed scheme are
    a linear combination of (1-w) and the
    weigenvalues of the Jacobi iterator we are
    guaranteed convergence as long as 0ltwlt1

6
Example System
  • We will now use a 1D heat equation to demonstrate
    how fast the relaxed Jacobi scheme converges.

7
Revisit 1-D Diffusion With Finite Difference and
Jacobi Iteration
  • Recall the 1-D finite difference system
  • From which we obtain a system to be solved at
    every time step (i.e. each n)

8
Linear System
  • So consider
  • A relaxed Jacobi scheme for solving this is
  • i.e.

9
Error Equation For Relaxed Jacobi Iterate
  • First define the error at the ith node at the
    mth Jacobi iterate as
  • Then the error satisfies

10
Error Analysis cont
  • Now we wish to investigate how fast the error
    decays with iteration.
  • Suppose the error is of the form
  • Then the error equation
  • Becomes

11
Error Analysis cont
  • So we can simplify
  • To
  • From which we deduce

12
Restrictions on Theta
  • Assume now that a finite interval is chosen and
    divided into N subintervals.
  • In addition assume that the intervals is set to
    be periodic (i.e. uN u0)
  • Since u is periodic, then the error will be
    periodic so

13
Rate of Convergence
  • We now see that the error decreases as
  • Where
  • What does this mean?

14
Rates of Decay Depending on Alpha
  • We now see that the the rate of decay of the
    Fourier components of the error depends on the
    alpha parameter.
  • The error was assumed to take the form
  • And we found that the g multiplier had the form

15
Special Cases
  • The alpha0 mode decays by a factor of
    every iteration.
  • The alpha1 mode decays by a factor of
  • i.e. the decay rate depends of an error mode
    dependson its mode number alpha.

16
Matlab Script To Display g(alpha)
17
Decay Rate As a Function of alpha (w1)
Slowdecaying
Fastdecaying
Fastoscillating
18
Decay Rate For Range of w
19
Interpretation
  • If we think of the error as a function of
    iteration and space, and expand this in terms of
    a discrete Fourier expansion then it appears that
    the longer wavelength components of the error
    decay the slowest.
  • We will use this information as the basis of a
    new iterative scheme, namely the multigrid method.
Write a Comment
User Comments (0)
About PowerShow.com