NumMeth 22: Riemann problem

This commit is contained in:
2022-11-10 09:06:37 +01:00
parent 6f8966cafd
commit f7c9a9fdea
3 changed files with 32 additions and 1 deletions
Binary file not shown.
Binary file not shown.
+32 -1
View File
@@ -2805,6 +2805,14 @@ For $u_l> u_r$ we will find the following solution
\end{align} \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. 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. Fig. \ref{fig:riemann1} shows the solution of a moving shock where the characteristic converge \emph{into} the shock.
\subsection{Case 2} \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} 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} \end{align}
\begin{figure}
\begin{center}
\pgfimage[width=.8\textwidth]{fig_chapter5/riemann2}
\end{center}
\caption{The case $u_l<u_r$}
\label{fig:riemann1}
\end{figure}
\subsection{Shock speed} \subsection{Shock speed}
The shock solution is only a weak solution, when $s=1/2(u_l+u_r)$. For any other speed the solution is not a weak solution. The shock solution is only a weak solution, when $s=1/2(u_l+u_r)$. For any other speed the solution is not a weak solution. For $M > 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 Differenzen
- Finite Volumina - Finite Volumina
- Flux-Limiter - Flux-Limiter