diff --git a/nummeth-ws22/fig_chapter5/riemann1.pdf b/nummeth-ws22/fig_chapter5/riemann1.pdf new file mode 100644 index 0000000..f056995 Binary files /dev/null and b/nummeth-ws22/fig_chapter5/riemann1.pdf differ diff --git a/nummeth-ws22/fig_chapter5/riemann2.pdf b/nummeth-ws22/fig_chapter5/riemann2.pdf new file mode 100644 index 0000000..5990cd7 Binary files /dev/null and b/nummeth-ws22/fig_chapter5/riemann2.pdf differ diff --git a/nummeth-ws22/skript.tex b/nummeth-ws22/skript.tex index 536455c..841fbed 100644 --- a/nummeth-ws22/skript.tex +++ b/nummeth-ws22/skript.tex @@ -2805,6 +2805,14 @@ For $u_l> u_r$ we will find the following solution \end{align} with the shock speed $s=1/2(u_l+u_r)$. When viscosity is included, this will result in the traveling wave solution. +\begin{figure} + \begin{center} + \pgfimage[width=.8\textwidth]{fig_chapter5/riemann1} + \end{center} + \caption{The case $u_l>u_r$} + \label{fig:riemann1} +\end{figure} + Fig. \ref{fig:riemann1} shows the solution of a moving shock where the characteristic converge \emph{into} the shock. \subsection{Case 2} @@ -2816,11 +2824,34 @@ The correct solution is a rarefaction wave (shown in the lower part of Fig. \ref u(x,t) = \begin{cases} u_l & x < u_l t\\ x/t & u_l t \leq x \leq u_r t \\ u_r & x> u_r t \end{cases} \end{align} +\begin{figure} + \begin{center} + \pgfimage[width=.8\textwidth]{fig_chapter5/riemann2} + \end{center} + \caption{The case $u_l s t$ +\begin{align} + \diff{}{t} \int_{-M}^{+M}\dd x u(x,t) &= f(u_l) - f(u_r) \\ + &= \frac{1}{2} (u_l+u_r)(u_l-u_r)\\ + \int_{-M}^{+M}\dd x u(x,t) &= (M+st) u_l + (M-st) u_r\\ + \Rightarrow \diff{}{t}\int_{-M}^{+M}\dd x u(x,t) &= s(u_l-u_r) +\end{align} +In the general case the $f(u)$ can be derived from the Rankine-Hugoniot jump conditions +\begin{align} + f(u_l) - f(u_r) = s(u_l-u_r) +\end{align} +In the scalar case +\begin{align} + s = \frac{f(u_l) - f(u_r)}{u_l-u_r} = \frac{[f]}{[u]} +\end{align} +where $[\cdot]$ is the difference over the shock. When $f$ and $u$ are vectors, $s$ is still a scalar. Jumps are, therefore, only allowed for when $f(u_l) - f(u_r)$ and $u_l-u_r$ are linear dependent. + - Finite Differenzen - Finite Volumina - Flux-Limiter