What is the method for checking stability of finite differencing schemes?

Click For Summary

Discussion Overview

The discussion revolves around methods for checking the stability of finite differencing schemes used in solving partial differential equations (PDEs). Participants explore the concept of amplification factors and their role in determining stability, as well as related terms and methods for further research.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification

Main Points Raised

  • One participant describes a method for checking stability by analyzing how Fourier modes evolve over time and finding an amplification factor.
  • Another participant suggests that the amplification factor is similar to those used in numerical time integration methods, indicating its importance in determining stability and suggesting a search for "time-integration" for further resources.
  • A third participant provides a detailed mathematical derivation involving a specific PDE and its discretized form, illustrating how the amplification factor can indicate stability based on its value.
  • Some participants mention the term "Von Neumann Stability Analysis" as a relevant concept in this context.

Areas of Agreement / Disagreement

There is a general agreement on the relevance of amplification factors and the connection to stability analysis, but the discussion includes multiple viewpoints on terminology and methods, indicating that no single consensus exists on the best approach or terminology.

Contextual Notes

Participants reference various methods and terms related to stability analysis, but there are no explicit definitions or consensus on the best resources or approaches to study further.

eckiller
Messages
41
Reaction score
0
Hi,

I am in an undergrad numerical analysis course. Our instructor lectured on some material not found in the book. Specifically, he talked about a way to check stability of finite differencing schemes (for PDE) by studying how each Fourier mode evolves in time. Then you can find an "amplification factor" which can tell you when the method is stable.
Sorry if this is vague, but does it sound familiar to anyone? I would like to know the technical name for this process so I can do further research about it because I do not really understand at present. Also, if anyone knows of any books that cover it, I'd like to know their titles.

Thanks in advance.
 
Physics news on Phys.org
Most likely the "amplification factor" in question is at least similar to the ones applied in most numerical time integration methods. The amplification factor/matrix etc. is the 'deciding' factor in determining the stability of the solution during incrementation, its unconditional / conditional stability etc. depending on the PDE formulation ... different PDE solution methods have typically similar time integration schemes in this respect so no real matter whether its extracted from finite element, finite difference or some other form of iterative solution process (well, basically it's a finite difference application "in time").

I'd suggest searching for "time-integration", you've the correct term ... all books on numerical methods that deal with areas requiring time - integration are possible sources (==lots). 'Basic' finite element volumes, whatever you might have at your disposal, have usually this pretty well covered. (If you want we can consider the specific application in more detail.)
 
I think I know what you're talking about.

Say you're working with the equation

[tex]\frac{\partial u}{\partial t} = C* \frac{\partial^2 u}{\partial x^2}[/tex]

which has a discretized form like so (superscripts are time steps and subscripts are spatial steps)

[tex]\frac{u^{n+1}-u^n}{\Delta t} = \frac{C}{\Delta x^2} (u^n_{i+1} - 2u^n_i + <br /> u^n_{i-1})[/tex]

Then assume a solution of the form

[tex]\hat{U}(t) = e^{ikx}[/tex]

Plug it into the discretized equation.


[tex]\frac{\hat{U}^{n+1}-\hat{U}^n}{\Delta t} e^{ikx} = \frac{C}{\Delta x^2} \hat{U}^n ( e^{ik(x+\Delta x)} - 2e^{ikx} + e^{ik(x-\Delta x)})[/tex]

Pull out exp(ikx) on the right and move some stuff from the left to the right to get

[tex]\hat{U}^{n+1} e^{ikx}= \hat{U}^n e^{ikx}+ \frac{C \Delta t}{\Delta x^2}\hat{U}^n e^{ikx} (e^{ik\Delta x} -2 + e^{-ik\Delta x})[/tex]

Now cancel the exponential and group the rest into a constant alpha and you have.

[tex]\hat{U}^{n+1} = \alpha \hat{U}^n[/tex]

So you see that the solution at the next timestep is the solution from the previous timestep multiplied by some constant, or amplification factor. If alpha is larger than one, as time evolves the solution with grow and grow. Hence it is unstable.

You can see that alpha depends on dt/dx^2 in this case, so if you're looking for a rough first guess of timestep size to make it stable, set dt equal to half of your largest spatial derivative, dx^2/2 in this case.

I think I remember this being referred to as semi-discrete Fourier analysis. You can try searching for that if this is what you're talking about.
 
I think this stuff is called the "Von Neumman Stability Analysis".
 
Clausius2 said:
I think this stuff is called the "Von Neumman Stability Analysis".
Yes, that's definitely it.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
22K
  • · Replies 1 ·
Replies
1
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
7K