From c96ea7b37c56aced4285cd1a7d6fda4b9e89a6d7 Mon Sep 17 00:00:00 2001 From: Felix Spanier Date: Wed, 14 Dec 2022 10:10:48 +0100 Subject: [PATCH] NumMeth-22: MHD --- nummeth-ws22/skript.tex | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/nummeth-ws22/skript.tex b/nummeth-ws22/skript.tex index 7f27c43..e06a888 100644 --- a/nummeth-ws22/skript.tex +++ b/nummeth-ws22/skript.tex @@ -4177,7 +4177,12 @@ The third step consists of the projection of this interpolant onto the original With these results we find when neglecting terms of order $\mathcal{O}(\dd t^2)$ \begin{align} \frac{\dd}{\dd t}\bar{u}_{i,j}(t) &= \lim_{\Delta t \to 0} \frac{\bar{\vec{u}}^{n+1}_{i,j}-\bar{\vec{u}}^{n}_{i,j}}{\Delta t}\\ - &= \lim_{\Delta t \to 0} \left( \right) + &= \lim_{\Delta t \to 0} \left( \sum_\pm \frac{|D_{i\pm 1/2,j}\cap C_{i,j}|}{\Delta t \Delta x \Delta y} \bar{\omega}^{n+1}_{i\pm 1/2,j} + \sum_\pm \frac{|D_{i,j\pm 1/2}\cap C_{i,j}|}{\Delta t \Delta x \Delta y} \bar{\omega}^{n+1}_{i,j\pm 1/2} + \frac{|D_{i,j}\cap C_{i,j}|}{ \Delta x \Delta y} \bar{\omega}^{n+1}_{i,j} \right) +\end{align} + +The terms on the RHS can be calculated +\begin{align} +\frac{|D_{i\pm 1/2,j}\cap C_{i,j}|}{\Delta t \Delta x \Delta y} \bar{\omega}^{n+1}_{i\pm 1/2,j} &= \frac{a_{i\pm 1/2,j}^\pm}{(a_{i\pm 1/2,j}^+ + a_{i\pm 1/2,j}^-)\Delta x} \left(\left( \pm a_{i\pm 1/2,j}^\pm \vec{u}^{W(E)}_{i+1/2,j} \mp a_{i\pm 1/2,j}^\mp \vec{u}^{E(W)}_{i+1/2,j} \right) \nonumber\\ & - \left(\pm f(\vec{u}_{i\pm 1,j}^{W(E)}) \mp f(\vec{u}_{i,j}^{E(W)}) \right) \right) \end{align} @@ -4369,7 +4374,19 @@ the frozen-in condition. Therefore, any significant violation due to numerical errors can easily invalidate the results from numerical simulations (not only in MHD systems). +\section{CWENO for Numerical MHD} +Even for the two-fluid system using the CWENO scheme we essentially have to solve the hyperbolic part of the equations. The source terms will be taken into account separately. This is sensible insofar as each aspect of the equations is solved with the most appropriate method. Having to solve only the hyperbolic part of the equations with the CWENO solver means that the system of equations is reduced to the MHD equations for the charged particle fluid and to the hydrodynamic equations for the neutral fluid. Here we discuss the explicit implementation of the MHD equations into the CWENO scheme, since the hydrodynamic equations are basically included therein. + +As seen in the discussion of the CWENO scheme it does not need as much adaptation as, e.g., a +Riemann solver. For the former it is not necessary to use different solvers for hydrodynamical or MHD simulations. The only inputs that have to be given are the system of equations to be solved and the formula for the derivation of the maximum of the characteristic speeds at the cell boundaries. + +It is shown that the characteristic speeds correspond to the +eigenvalues of the Jacobian of the system for the individual directions. +The resulting characteristic speeds are +\begin{align} + +\end{align} %- Finite Differenzen %- Finite Volumina