This commit is contained in:
2022-11-25 22:58:05 +01:00
parent 8914419bba
commit e384ad0fc7
+22 -1
View File
@@ -3407,7 +3407,28 @@ There are examples, however, when the CFL condition is not sufficient for stabil
\subsection{Upwind methods}
For the scalar advection equation with $a > 0$, the one-sided method
\begin{align}
U_j^{n+1} = U_j^n - \frac{a k}{h}\left(U_j^n - U_{j-1}^n \right)
\end{align}
can be applied and is stable provided the CFL condition is satisfied. This method is usually called the first order upwind method, since the one-sided stencil points in the ``upwind'' or
``upstream'' direction, the correct direction from which characteristic information propagates. If we think of the advection equation as modeling the advection of a concentration profile in a
fluid stream, then this is literally the upstream direction.
Similarly, the method (10.51) is the upwind method for the advection equation with
a<0.
For a system of equations, we have seen that a one-sided method can only be used if
all of the eigenvalues of A have the same sign. This is typically not the case in practice.
In the linearized Euler equations, for example, the eigenvalues of f(u) are v, v ± c and
these all have the same sign only if jvj > c. In this case the fluid speed is greater than the
sound speed and the flow is said to be supersonic. If lvi < c then the flow is subsonic
and any one-sided method will he unstable since there are sound waves propagating in
both directions and the CFL condition is violated.
When computing discontinuous solutions, upwind differencing turns out to be an important tool, even for indefinite systems with eigenvalues of mixed sign. The appropriate
application of upwind methods requires some sort of decomposition into characteristic
fields. For example, if we change variables and decouple the linear system into (10.47),
then each of the resulting scalar problems can be solved with an appropriate upwind
method, using the point to the left when .\p > 0 or to the right when Ap < 0.
This method can be written in a compact form if we introduce the notation
%- Finite Differenzen