74 lines
2.6 KiB
TeX
74 lines
2.6 KiB
TeX
\documentclass[12pt,a4paper]{uebungen}
|
|
\usepackage{german}
|
|
\usepackage[utf8]{inputenc}
|
|
\usepackage{epsfig}
|
|
\usepackage[amssymb]{SIunits}
|
|
\usepackage{wrapfig}
|
|
\usepackage{graphics}
|
|
\usepackage{amsfonts}
|
|
\usepackage{amssymb}
|
|
\usepackage{amsmath}
|
|
\usepackage{pgf}
|
|
\usepackage{listings}
|
|
\lstset{language=[ANSI]C++,basicstyle=\ttfamily,commentstyle=\itshape,
|
|
keywordstyle=\bfseries,extendedchars=true,backgroundcolor=\color{gray}}
|
|
|
|
%------------------------------------------------------------------------------
|
|
%\graphicspath{{../../../GALLERY/}}
|
|
%------------------------------------------------------------------------------
|
|
\setlength{\topmargin}{-2.5cm}
|
|
\setlength{\textheight}{26.0cm}
|
|
\setlength{\textwidth}{17cm}
|
|
\setlength{\oddsidemargin}{-0.5cm}
|
|
\setlength{\evensidemargin}{-0.5cm}
|
|
\setlength{\parskip}{0pt}
|
|
\setlength{\parindent}{0pt}
|
|
\pagestyle{empty}
|
|
%------------------------------------------------------------------------------
|
|
\newcommand{\vt}[1]{\vec{#1}}
|
|
\newcommand{\mt}[1]{\underline{\underline{#1}}}
|
|
\newcommand{\dt}[1]{\left\vert\underline{\underline{#1}}\right\vert}
|
|
\newcommand{\mo}{\!\!\!\!\!-1}
|
|
%------------------------------------------------------------------------------
|
|
\def\bbbr{{\rm I\!R}}
|
|
%------------------------------------------------------------------------------
|
|
\begin{document}
|
|
%------------------------------------------------------------------------------
|
|
\thispagestyle{myheadings}
|
|
\begin{center}
|
|
{\bf \underline{\Large Exercises in ``Numerical Methods in Plasma Astrophysics''}}\\
|
|
%\hfill\\
|
|
%{\bf \large }\\
|
|
\hfill\\
|
|
{\bf \large Winter 2022/23 \hfill Exercise 4}\\
|
|
\end{center}
|
|
\noindent
|
|
%
|
|
\section*{\large Exercise 6: Burgers equation revisited}\vspace*{-0.0cm}
|
|
%
|
|
We have taken care of the Burgers' equation on sheet 4 already:
|
|
\begin{equation}
|
|
\frac{\partial u}{\partial t} + u \frac{\partial u}{\partial x} = 0
|
|
\end{equation}
|
|
or in the alternative ``conservation'' form:
|
|
\begin{equation}
|
|
\frac{\partial u}{\partial t} + \frac{1}{2}\frac{\partial u^2}{\partial x} = 0
|
|
\end{equation}
|
|
|
|
Now we have a much larger set of solution strategies at hand to solve this equation numerically. We will come back to the CWENO scheme as it was described in the lecture. The original can (and should be\dots) found at \url{https://arxiv.org/pdf/math/0002133.pdf}.
|
|
|
|
\bigskip
|
|
|
|
\textbf{a)} Use the Kurganov\& Levy paper to implement a simple CWENO scheme for the Burgers' equation.
|
|
|
|
\textbf{b)} Compare the result to your previous simulation.
|
|
|
|
\textbf{c)} Calculate the conservation of $u$.
|
|
|
|
|
|
\vfill
|
|
|
|
Unfortunately rubber ducks cannot be reconstructed by third-order polynomials.
|
|
\end{document}
|
|
%------------------------------------------------------------------------------
|