Searcharxiv⌕ Search

arXiv subjects

Christian Klingenberg

Publications and source records attributed to Christian Klingenberg.

At least 73 records · Page 4Linked to original sources

High-order Magnetohydrodynamics for Astrophysics with an Adaptive Mesh Refinement Discontinuous Galerkin Scheme

Modern astrophysical simulations aim to accurately model an ever-growing array of physical processes, including the interaction of fluids with magnetic fields, under increasingly stringent performance and scalability requirements driven by present-day trends in computing architectures. Discontinuous Galerkin methods have recently gained some traction in astrophysics, because of their arbitrarily high order and controllable numerical diffusion, combined with attractive characteristics for high performance computing. In this paper, we describe and test our implementation of a discontinuous Galerkin (DG) scheme for ideal magnetohydrodynamics in the AREPO-DG code. Our DG-MHD scheme relies on a modal expansion of the solution on Legendre polynomials inside the cells of an Eulerian octree-based AMR grid. The divergence-free constraint of the magnetic field is enforced using one out of two distinct cell-centred schemes: either a Powell-type scheme based on nonconservative source terms, or a hyperbolic divergence cleaning method. The Powell scheme relies on a basis of locally divergence-free vector polynomials inside each cell to represent the magnetic field. Limiting prescriptions are implemented to ensure non-oscillatory and positive solutions. We show that the resulting scheme is accurate and robust: it can achieve high-order and low numerical diffusion, as well as accurately capture strong MHD shocks. In addition, we show that our scheme exhibits a number of attractive properties for astrophysical simulations, such as lower advection errors and better Galilean invariance at reduced resolution, together with more accurate capturing of barely resolved flow features. We discuss the prospects of our implementation, and DG methods in general, for scalable astrophysical simulations.

astro-ph.IM↗

Second order finite volume scheme for Euler equations with gravity which is well-balanced for general equations of state and grid systems

We develop a second order well-balanced finite volume scheme for compressible Euler equations with a gravitational source term. The well-balanced property holds for arbitrary hydrostatic solutions of the corresponding Euler equations without any restriction on the equation of state. The hydrostatic solution must be known a priori either as an analytical formula or as a discrete solution at the grid points. The scheme can be applied on curvilinear meshes and in combination with any consistent numerical flux function and time stepping routines. These properties are demonstrated on a range of numerical tests.

math.NA↗

Using a kinetic BGK model to determine transport coefficients of gas mixtures

We consider a non reactive two component gas mixture. In a macroscopic description of a gas mixture we expect four physical coefficients characterizing the physical behaviour of the gases to appear. These are the diffusion coefficient, the viscosity coefficient, the heat conductivity and the thermal diffusion parameter in the Navier-Stokes equations. We present a Chapman-Enskog expansion of a kinetic model for gas mixtures by Klingenberg, Pirner and Puppo, 2017 that has three free parameters in order to capture three of these four physical coefficients. In addition, we propose several possible extensions to an ellipsoidal statistical model for gas mixtures in order to capture the fourth coefficient.

math.AP↗

A consistent kinetic model for a two-component mixture of polyatomic molecules

We consider a multi component gas mixture with translational and internal energy degrees of freedom assuming that the number of particles of each species remains constant. We will illustrate the derived model in the case of two species, but the model can be easily generalized to multiple species. The two species are allowed to have different degrees of freedom in internal energy and are modelled by a system of kinetic ES-BGK equations featuring two interaction terms to account for momentum and energy transfer between the species. We prove consistency of our model: conservation properties, positivity of the temperature, H-theorem and convergence to a global equilibrium in the form of a global Maxwell distribution. Thus, we are able to derive the usual macroscopic conservation laws. For numerical purposes we apply the Chu reduction to the developed model for polyatomic gases and give an application for a gas consisting of a mono atomic and a diatomic species.

math.AP↗

Kinetic ES-BGK models for a multi-component gas mixture

We consider a multi component mixture of inert gas in the kinetic regime by assuming that the total number of particles of each species remains constant. In this article we shall illustrate our model for the case of two species. To account for thermal effects, we extend a BGK model based on the presence of a collision term for each possible interaction \cite{Pirner} by including ES-BGK effects. We prove consistency of the extended model like conservation properties, positivity of all temperatures, H-theorem and convergence to a global equilibrium in the shape of a global Maxwell distribution.

math.AP↗

A consistent kinetic model for a two-component mixture with an application to plasma

We consider a non reactive multi component gas mixture.We propose a class of models, which can be easily generalized to multiple species. The two species mixture is modelled by a system of kinetic BGK equations featuring two interaction terms to account for momentum and energy transfer between the species. We prove consistency of our model: conservation properties, positivity of the solutions for the space homogeneous case, positivity of all temperatures, H-theorem and convergence to a global equilibrium in the space homogeneous case in the form of a global Maxwell distribution. Thus, we are able to derive the usual macroscopic conservation laws. In particular, by considering a mixture composed of ions and electrons, we derive the macroscopic equations of ideal MHD from our model.

math.AP↗

A second order positivity preserving well-balanced finite volume scheme for Euler equations with gravity for arbitrary hydrostatic equilibria

We present a well-balanced finite volume solver for the compressible Euler equations with gravity where the approximate Riemann solver is derived using a relaxation approach. Besides the well-balanced property, the scheme is robust with respect to the physical admissible states. Another feature of the method is that it can maintain general stationary solutions of the hydrostatic equilibrium up to machine precision. For the first order scheme we present a well-balanced and positivity preserving second order extension using a modified minmod slope limiter. To maintain the well-balanced property, we reconstruct in equilibrium variables. Numerical examples are performed to demonstrate the accuracy, well-balanced and positivity preserving property of the presented scheme for up to 3 space dimensions.

math.NA↗

On the low Mach number limit for the compressible Euler system

In this paper, we propose a new approach to singular limits of inviscid fluid flows based on the concept of dissipative measure-valued solutions. We show that dissipative measure-valued solutions of the compressible Euler equations converge to the smooth solution of the incompressible Euler system when the Mach number tends to zero. This holds both for well-prepared and ill-prepared initial data, where in the latter case the presence of acoustic waves causes difficulties. However this effect is eliminated on unbounded domains thanks to dispersion.

math.AP↗

The 2-d isentropic compressible Euler equations may have infinitely many solutions which conserve energy

We consider the 2-d isentropic compressible Euler equations. It was shown in by E. Chiodaroli, C. De Lellis and O. Kreml that there exist Riemann initial data as well as Lipschitz initial data for which there exist infinitely many weak solutions that fulfill an energy inequality. In this note we will prove that there is Riemann initial data for which there exist infinitely many weak solutions that conserve energy, i.e. they fulfill an energy equality. As in the aforementioned paper we will also show that there even exists Lipschitz initial data with the same property.

math.AP↗

The Riemann problem for the multidimensional isentropic system of gas dynamics is ill-posed if it contains a shock

In this paper we consider the isentropic compressible Euler equations in two space dimensions together with particular initial data. The latter consists only of two constant states, where one state lies on the lower and the other state on the upper half plane. The aim is to investigate if there exists a unique entropy solution or if the convex integration method produces infinitely many entropy solutions. For some initial states this question has been answered by E. Feireisl and O. Kreml, and also G.-Q. Chen and J. Chen, where there exists a unique entropy solution. For other initial states E. Chiodaroli, O. Kreml and C. De Lellis showed that there are infinitely many entropy solutions. For still other initial states the question on uniqueness remained open and this will be the content of this paper. This paper can be seen as a completion of the aforementioned papers by showing that the solution is non-unique in all cases (except if the solution is smooth).

math.AP↗

A numerical scheme for the compressible low-Mach number regime of ideal fluid dynamics

Based on the Roe solver a new technique that allows to correctly represent low Mach number flows with a discretization of the compressible Euler equations was proposed in Miczek et al.: New numerical solver for flows at various mach numbers. A&A 576, A50 (2015). We analyze properties of this scheme and demonstrate that its limit yields a discretization of the continuous limit system. Furthermore we perform a linear stability analysis for the case of explicit time integration and study the performance of the scheme under implicit time integration via the evolution of its condition number. A numerical implementation demonstrates the capabilities of the scheme on the example of the Gresho vortex which can be accurately followed down to Mach numbers of ~1e-10 .

math.NA↗

Simulating Turbulence Using the Astrophysical Discontinuous Galerkin Code TENET

In astrophysics, the two main methods traditionally in use for solving the Euler equations of ideal fluid dynamics are smoothed particle hydrodynamics and finite volume discretization on a stationary mesh. However, the goal to efficiently make use of future exascale machines with their ever higher degree of parallel concurrency motivates the search for more efficient and more accurate techniques for computing hydrodynamics. Discontinuous Galerkin (DG) methods represent a promising class of methods in this regard, as they can be straightforwardly extended to arbitrarily high order while requiring only small stencils. Especially for applications involving comparatively smooth problems, higher-order approaches promise significant gains in computational speed for reaching a desired target accuracy. Here, we introduce our new astrophysical DG code TENET designed for applications in cosmology, and discuss our first results for 3D simulations of subsonic turbulence. We show that our new DG implementation provides accurate results for subsonic turbulence, at considerably reduced computational cost compared with traditional finite volume methods. In particular, we find that DG needs about 1.8 times fewer degrees of freedom to achieve the same accuracy and at the same time is more than 1.5 times faster, confirming its substantial promise for astrophysical applications.

astro-ph.IM↗

Astrophysical hydrodynamics with a high-order discontinuous Galerkin scheme and adaptive mesh refinement

Solving the Euler equations of ideal hydrodynamics as accurately and efficiently as possible is a key requirement in many astrophysical simulations. It is therefore important to continuously advance the numerical methods implemented in current astrophysical codes, especially also in light of evolving computer technology, which favours certain computational approaches over others. Here we introduce the new adaptive mesh refinement (AMR) code TENET, which employs a high order discontinuous Galerkin (DG) scheme for hydrodynamics. The Euler equations in this method are solved in a weak formulation with a polynomial basis by means of explicit Runge-Kutta time integration and Gauss-Legendre quadrature. This approach offers significant advantages over commonly employed second order finite volume (FV) solvers. In particular, the higher order capability renders it computationally more efficient, in the sense that the same precision can be obtained at significantly less computational cost. Also, the DG scheme inherently conserves angular momentum in regions where no limiting takes place, and it typically produces much smaller numerical diffusion and advection errors than a FV approach. A further advantage lies in a more natural handling of AMR refinement boundaries, where a fall-back to first order can be avoided. Finally, DG requires no wide stencils at high order, and offers an improved data locality and a focus on local computations, which is favourable for current and upcoming highly parallel supercomputers. We describe the formulation and implementation details of our new code, and demonstrate its performance and accuracy with a set of two- and three-dimensional test problems. The results confirm that DG schemes have a high potential for astrophysical applications.

astro-ph.CO↗

Vertical structure of a supernova-driven turbulent magnetized ISM

Stellar feedback drives the circulation of matter from the disk to the halo of galaxies. We perform three-dimensional magnetohydrodynamic simulations of a vertical column of the interstellar medium with initial conditions typical of the solar circle in which supernovae drive turbulence and determine the vertical stratification of the medium. The simulations were run using a stable, positivity-preserving scheme for ideal MHD implemented in the FLASH code. We find that the majority (\approx 90 %) of the mass is contained in thermally-stable temperature regimes of cold molecular and atomic gas at T < 200 K or warm atomic and ionized gas at 5000 K < T < 10^{4.2} K, with strong peaks in probability distribution functions of temperature in both the cold and warm regimes. The 200 - 10^{4.2} K gas fills 50-60 % of the volume near the plane, with hotter gas associated with supernova remnants (30-40 %) and cold clouds (< 10 %) embedded within. At |z| ~ 1-2 kpc, transition-temperature (10^5 K) gas accounts for most of the mass and volume, while hot gas dominates at |z| > 3 kpc. The magnetic field in our models has no significant impact on the scale heights of gas in each temperature regime; the magnetic tension force is approximately equal to and opposite the magnetic pressure, so the addition of the field does not significantly affect the vertical support of the gas. The addition of a magnetic field does reduce the fraction of gas in the cold (< 200 K) regime with a corresponding increase in the fraction of warm (~ 10^4 K) gas. However, our models lack rotational shear and thus have no large-scale dynamo, which reduces the role of the field in the models compared to reality. The supernovae drive oscillations in the vertical distribution of halo gas, with the period of the oscillations ranging from ~ 30 Myr in the T < 200 K gas to ~ 100 Myr in the 10^6 K gas, in line with predictions by Walters & Cox.

astro-ph.GA↗

MHD simulations of a supernova-driven ISM and the warm ionized medium using a positivity preserving ideal MHD scheme

We present new 3D magnetohydrodynamic (MHD) simulations of a supernova-driven, stratified interstellar medium. These simulations were run using the Waagan (2009) positivity preserving scheme for ideal MHD implemented in the Flash code. The scheme is stable even for the Mach numbers approaching 100 found in this problem. We have previously shown that the density distribution arising from hydrodynamical versions of these simulations creates low-density pathways through which Lyman continuum photons can travel to heights |z| > 1 kpc. This naturally produces the warm ionized medium through photoionization due primarily to O stars near the plane. However, our earlier models reproduce the peak but not the width of the observed emission measure distribution. Here, we examine whether inclusion of magnetic fields and a greater vertical extent to the simulation domain produce a gas distribution that better matches the observations. We further study the change of magnetic energy over time in our models, showing that it appears to reach a steady state after a few hundred megayears, presumably supported by a turbulent dynamo driven by the supernova explosions.

astro-ph.GA↗

A robust numerical scheme for highly compressible magnetohydrodynamics: Nonlinear stability, implementation and tests

The ideal MHD equations are a central model in astrophysics, and their solution relies upon stable numerical schemes. We present an implementation of a new method, which possesses excellent stability properties. Numerical tests demonstrate that the theoretical stability properties are valid in practice with negligible compromises to accuracy. The result is a highly robust scheme with state-of-the-art efficiency. The scheme's robustness is due to entropy stability, positivity and properly discretised Powell terms. The implementation takes the form of a modification of the MHD module in the FLASH code, an adaptive mesh refinement code. We compare the new scheme with the standard FLASH implementation for MHD. Results show comparable accuracy to standard FLASH with the Roe solver, but highly improved efficiency and stability, particularly for high Mach number flows and low plasma beta. The tests include 1D shock tubes, 2D instabilities and highly supersonic, 3D turbulence. We consider turbulent flows with RMS sonic Mach numbers up to 10, typical of gas flows in the interstellar medium. We investigate both strong initial magnetic fields and magnetic field amplification by the turbulent dynamo from extremely high plasma beta. The energy spectra show a reasonable decrease in dissipation with grid refinement, and at a resolution of 512^3 grid cells we identify a narrow inertial range with the expected power-law scaling. The turbulent dynamo exhibits exponential growth of magnetic pressure, with the growth rate twice as high from solenoidal forcing than from compressive forcing. Two versions of the new scheme are presented, using relaxation-based 3-wave and 5-wave approximate Riemann solvers, respectively. The 5-wave solver is more accurate in some cases, and its computational cost is close to the 3-wave solver.

astro-ph.IM↗