1.1.10.3. Amplification of the Semi-discretised System for Space-Time Discretisation¶
1.1.10.3.1. Summary of Previous Work¶
Recall the semi-discretised system:
Where:
\(\mathbf{S}\) is the matrix representing the spatial discretisation (with BCs)
\(\mathbf{u}\) is the vector of nodal values
\(Q\) is a non-homogenous term related to the boundary conditions
It’s exact solution \(\overline{\mathbf{u}}\) has a “Model Decomposition”:
So the equation for the time-dependent coefficients are:
The homogeneous solution was \(\overline{\mathbf{u}}_{jT} = c_{0k}e^{(\Omega_j t)}\) (the transient)
This transient completely determines the stability of the semi-discretised system (1)
We only look at this homogeneous part - assume \(Q=0\)
1.1.10.3.2. Stability Condition for Time Integration¶
At \(t=n \Delta t\), then
Define an amplification factor of the exact solution of (1) by:
So the amplification factor of the exact solution is:
Stability condition:
As before: \(Re(\Omega_j) \le 0 \quad \forall j \quad \Leftrightarrow \quad \left| \overline{G} \right| \le 1 \quad \forall \phi \in [-\pi, \pi]\)
All the properties of the time integration can be looked at separately
We just need to look at the “Scalar Modal Equation” (dropping subscript j)
\(w\) is an arbitrary component of the Modal Equation
1.1.10.3.3. Analysis Time Integration Schemes¶
Using \({dw \over dt} = \Omega w\) is called the “Canonical Modal Equation”
Stability Regions in the Complex plane (\(\Omega\) - plane)
Define “Time-shift operator”
General Time Integration Method:
\(P\) has the effect of being a numerical amplification factor:
where \(w^0\) is at time=0
Stability requires that \(w^n\) must stay bounded, i.e. \(P^n\) uniformly bounded \(\forall n\) and \(\Delta t\)
In particular \(n \Rightarrow \infty\) and \(\Delta t \Rightarrow 0\) (with \(n \Delta t\) fixed)
i.e. \(\lvert P \rvert \lt k\) (independent of \(n\) and \(\Delta t\)) for \(0 \lt n \Delta t \lt T\) (finite time)
\(z_P\) are the eigenvalues of P (solutions to the characteristic polynomial), i.e. solution of
Neccesary condition (not always sufficient) for stability
For all space discretisation that satisfy \(Re(\Omega_j) \le 0 \quad \forall j\)
The associated numerical discretisation in time will be stable of condition (3) is satisfied
1.1.10.3.4. Analysis of Space-Time Discretisation¶
Compare numerical amplification factor \(z_P\) with the exact amplification factor. We have
\(z_P^n (\Omega \Delta t)\) is the numerical approximation to the exact amplification factor \(\overline{G} = e^{\Omega \Delta t}\)
1.1.10.3.5. Example 1 - Forward Euler¶
Explicit FD in time
Applied to:
Leads to:
Leading to:
Therefore stable for all discretisations associated to an eigenvalue spectrum, such that:
Or:
In a \(\Omega \Delta t\) complex plane, this is a circle of unit radius centred at \(\Omega \Delta t = -1\):
1.1.10.3.5.1. Diffusion Operator¶
We previously obtained the matrix S and found the eigenvalues:
i.e. the eigenvalues are real and negative
The stability condition is:
i.e.
Hence:
i.e. stable
Which is the same as we had from von Neumann (although the method is different - we have separated time and space analysis of the stability)
1.1.10.3.5.2. Convection with CD in Space¶
We previously obtained the matrix S and found the eigenvalues:
So:
Which is purely imaginary, outside the stability circle of the Forward Euler method
This is an unstable combination
1.1.10.3.5.3. Convection with Upwind¶
We previously obtained the matrix S and found the eigenvalues:
Hence:
In the complex plane \(\Omega \Delta t\) is a circle centred at \(-\sigma\) with radius \(\sigma\)
This circle is inside the region of stability of Forward Euler, where \(\sigma \le 1\), i.e. we recover the CFL condition \(0 \le \sigma \le 1\)
1.1.10.3.6. Example 2 - Central Time Differencing (Leapfrog Method)¶
Explicit CD in time, leads to a 3 level 2 step method
Hence:
Eigenvalues \(z_P\) from:
Implies:
Two solutions:
Recall
Space discretisation requires eigenvalues on left hand plane for stability
Time integration method requires \(\left| z_P \right| \lt 1\) for all \(\Omega\) eigenvalues for the space discretisation
Notes:
Every route \(z_P(\Omega \Delta t)\) has to remain inside unit circle
If some roots come outside the unit circle, when \(\Omega \Delta t\) covers its spectrum, the scheme is unstable
A method with two or more time levels will generate more than one solution
When this happens, the consistency of the scheme requires than one of the eigenvalues should represent an approximation to the physical behaviour - the “Principal Solution”
How to recognise the Principal Solution: is should tend to 1 when \(\Omega \Delta t \Rightarrow 0\)
Physical solution:
The other solution is called the “Spurious Solution” - represents a non-physical time behaviour (introduced by the scheme)
Back to Leapfrog:
How do these behave as \(\Delta t \Rightarrow 0\):
(4) is the physical solution (because it tends to 1)
(5) is non-physical (because it tends to -1)
Recall:
Compare with (4), the first three terms are exactly the same, so the scheme is second order in time
Characteristic Polynomial
With a stability limit \(z_P = e^{I \Theta}\)
We obtain \(\Omega \Delta t = I sin \Theta\)
Conclusion
The diffusion operator and upwind convection have real negative eigenvalues
This will lead to unstable scheme when solve by Leapfrog. Leapfrog does not handle dissipative schemes.
Central differencing will be ok with Leapfrog integration
1.1.10.3.7. Example 3 - Backward Euler¶
Implicit backward difference in time:
Or:
Hence:
Leading to:
Eigenvalue \(z_P\):
Or:
Stability limit:
We get:
Representing a circle centred on \(\Omega \Delta t = 1\)
For \(\left| z_P \right| \lt 1\) we need \(\left| 1 - \Omega \Delta t \right| \gt 1\):
ALL spatial schemes seen up to now will be stable, with implicit Euler
Cannot look at space and time separately - can only look at space and time stability together.