From c1c66ece85eabef6e3911774b650f498664f7f2e Mon Sep 17 00:00:00 2001 From: Felix Spanier Date: Fri, 2 Dec 2022 21:21:07 +0100 Subject: [PATCH] NumMeth-22: Uebung 6 --- nummeth-ws22/exercises/uebung6.tex | 73 ++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 nummeth-ws22/exercises/uebung6.tex diff --git a/nummeth-ws22/exercises/uebung6.tex b/nummeth-ws22/exercises/uebung6.tex new file mode 100644 index 0000000..b41b628 --- /dev/null +++ b/nummeth-ws22/exercises/uebung6.tex @@ -0,0 +1,73 @@ +\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} +%------------------------------------------------------------------------------