81 research outputs found

    Entropy Stable Finite Volume Approximations for Ideal Magnetohydrodynamics

    Full text link
    This article serves as a summary outlining the mathematical entropy analysis of the ideal magnetohydrodynamic (MHD) equations. We select the ideal MHD equations as they are particularly useful for mathematically modeling a wide variety of magnetized fluids. In order to be self-contained we first motivate the physical properties of a magnetic fluid and how it should behave under the laws of thermodynamics. Next, we introduce a mathematical model built from hyperbolic partial differential equations (PDEs) that translate physical laws into mathematical equations. After an overview of the continuous analysis, we thoroughly describe the derivation of a numerical approximation of the ideal MHD system that remains consistent to the continuous thermodynamic principles. The derivation of the method and the theorems contained within serve as the bulk of the review article. We demonstrate that the derived numerical approximation retains the correct entropic properties of the continuous model and show its applicability to a variety of standard numerical test cases for MHD schemes. We close with our conclusions and a brief discussion on future work in the area of entropy consistent numerical methods and the modeling of plasmas

    Entropy Stable Discontinuous Galerkin Methods for Multi-Component Euler and Ideal Magnetohydrodynamics Equations with Chemical Networks in Julia

    Get PDF
    We present a high-order entropy-stable discontinuous Galerkin spectral element method (DGSEM) for multi-component Euler and multi-component ideal magnetohydrodynamics (MHD) equations with chemical reaction terms written in Julia. Instead of using a completely self-made code, we extend the already existing and proven simulation framework Trixi.jl, so that we can make our new introduced features available to the public. For this purpose, we extend the simulation framework Trixi.jl with multi-component Euler and multi-component ideal MHD equations. Since we place value on entropy-stable processes, we add an entropy-conservative flux function for the multi-component Euler equations from the literature and propose an entropy-conservative flux function for the multi-component ideal MHD equations. Trixi.jl contains a very effective shock-capturing method where the high-order DGSEM can be blended with a first-order Finite Volume (FV) scheme for cartesian meshes. To be able to simulate applications with more complex geometries we are going to extend this feature to unstructured and curvilinear meshes and make it work for multi-component equations. Another feature in Trixi.jl is the positivity-preserving limiter, which is able to rescue a solution in difficult situations. In the literature, however, another method has emerged which, based on the shock-capturing method used in Trixi.jl, is able to preserve the positivity of density and pressure for single-component simulations. In this work we add this new positivity-preserving scheme to Trixi.jl and propose slight modifications for the multi-component case. The new multi-component equations give us the opportunity to introduce chemical reactions into Trixi.jl. Since we advocate the use of packages in this work, we will add an external package specialized on the solution of chemical reactions and give an overview and introduction to all important packages in Trixi.jl. Finally, we provide numerical test cases that verify the theoretical properties of the new introduced features and demonstrate the strengths and weaknesses of our method. Additionally, we demonstrate the capabilities of our method with complex numerical examples

    Ideal GLM-MHD - a new mathematical model for simulating astrophysical plasmas

    Get PDF
    Magnetic fields are ubiquitous in space. As there is strong evidence that magnetic fields play an important role in a variety of astrophysical processes, they should not be neglected recklessly. However, analytic models in astrophysical either do often not take magnetic fields into account or can do this after limiting simplifications reducing their overall predictive power. Therefore, computational astrophysics has evolved as a modern field of research using sophisticated computer simulations to gain insight into physical processes. The ideal MHD equations, which are the most often used basis for simulating magnetized plasmas, have two critical drawbacks: Firstly, they do not limit the growth of numerically caused magnetic monopoles, and, secondly, most numerical schemes built from the ideal MHD equations are not conformable with thermodynamics. In my work, at the interplay of math and physics, I developed and presented the first thermodynamically consistent model with effective inbuilt divergence cleaning. My new Galilean-invariant model is suitable for simulating magnetized plasmas under extreme conditions as those typically encountered in astrophysical scenarios. The new model is called the "ideal GLM-MHD" equations and supports nine wave solutions. The accuracy and robustness of my numerical implementation are demonstrated with a number of tests, including comparisons to other schemes available within in the multi-physics, multi-scale adaptive mesh refinement (AMR) simulation code FLASH. A possible astrophysical application scenario is discussed in detail

    Discontinuous Galerkin Spectral Element Methods for Astrophysical Flows in Multi-physics Applications

    Get PDF
    In engineering applications, discontinuous Galerkin methods (DG) have been proven to be a powerful and flexible class of high order methods for problems in computational fluid dynamics. However, the potential benefits of DG for applications in astrophysical contexts is still relatively unexplored in its entirety. To this day, a decent number of studies surveying DG for astrophysical flows have been conducted. But the adoption of DG by the astrophysics community is just beginning to gain traction and integration of DG into established, multi-physics simulation frameworks for comprehensive astrophysical modeling is still lacking. It is our firm believe, that the full potential of novel approaches for numerically solving the fluid equations only shows under the pressure of real-world simulations with all aspects of multi-physics, challenging flow configurations, resolution and runtime constraints, and efficiency metrics on high-performance systems involved. Thus, we see the pressing need to propel DG from the well-trodden path of cataloguing test results under "optimal" laboratory conditions towards the harsh and unforgiving environment of large-scale astrophysics simulations. Consequently, the core of this work is the development and deployment of a robust DG scheme solving the ideal magneto-hydrodynamics equations with multiple species on three-dimensional Cartesian grids with adaptive mesh refinement. We chose to implement DG within the venerable simulation framework FLASH, with a specific focus on multi-physics problems in astrophysics. This entails modifications of the vanilla DG scheme to make it fit seamlessly within FLASH in such a way that all other physics modules can be naturally coupled without additional implementation overhead. A key ingredient is that our DG scheme uses mean value data organized into blocks - the central data structure in FLASH. Having the opportunity to work on mean values, allows us to rely on a rock-solid, monotone Finite Volume (FV) scheme as "backup" whenever the high order DG method fails in cases when the flow gets too harsh. Finding ways to combine the two schemes in a fail-safe manner without loosing primary conservation while still maintaining high order accuracy for smooth, well-resolved flows involves a series of careful considerations, which we document in this thesis. The result of our work is a novel shock capturing scheme - a hybrid between FV and DG - with smooth transitions between low and high order fluxes according to solution smoothness estimators. We present extensive validations and test cases, specifically its interaction with multi-physics modules in FLASH such as (self-)gravity and radiative transfer. We also investigate the benefits and pitfalls of integrating end-to-end entropy stability into our numerical scheme, with special focus on highly compressible turbulent flows and shocks. Our implementation of DG in FLASH allows us to conduct preliminary yet comprehensive astrophysics simulations proving that our new solver is ready for assessments and investigations by the astrophysics community

    Athena: A New Code for Astrophysical MHD

    Full text link
    A new code for astrophysical magnetohydrodynamics (MHD) is described. The code has been designed to be easily extensible for use with static and adaptive mesh refinement. It combines higher-order Godunov methods with the constrained transport (CT) technique to enforce the divergence-free constraint on the magnetic field. Discretization is based on cell-centered volume-averages for mass, momentum, and energy, and face-centered area-averages for the magnetic field. Novel features of the algorithm include (1) a consistent framework for computing the time- and edge-averaged electric fields used by CT to evolve the magnetic field from the time- and area-averaged Godunov fluxes, (2) the extension to MHD of spatial reconstruction schemes that involve a dimensionally-split time advance, and (3) the extension to MHD of two different dimensionally-unsplit integration methods. Implementation of the algorithm in both C and Fortran95 is detailed, including strategies for parallelization using domain decomposition. Results from a test suite which includes problems in one-, two-, and three-dimensions for both hydrodynamics and MHD are given, not only to demonstrate the fidelity of the algorithms, but also to enable comparisons to other methods. The source code is freely available for download on the web.Comment: 61 pages, 36 figures. accepted by ApJ

    The Inertial Range of Turbulence in the Inner Heliosheath and in the Local Interstellar Medium

    Get PDF
    The governing mechanisms of magnetic field annihilation in the outer heliosphere is an intriguing topic. It is currently believed that the turbulent fluctuations pervade the inner heliosheath (IHS) and the Local Interstellar Medium (LISM). Turbulence, magnetic reconnection, or their reciprocal link may be responsible for magnetic energy conversion in the IHS.   As 1-day averaged data are typically used, the present literature mainly concerns large-scale analysis and does not describe inertial-cascade dynamics of turbulence in the IHS. Moreover, lack of spectral analysis make IHS dynamics remain critically understudied. Our group showed that 48-s MAG data from the Voyager mission are appropriate for a power spectral analysis over a frequency range of five decades, from 5e-8 Hz to 1e-2 Hz [Gallana et al., JGR 121 (2016)]. Special spectral estimation techniques are used to deal with the large amount of missing data (70%). We provide the first clear evidence of an inertial-cascade range of turbulence (spectral index is between -2 and -1.5). A spectral break at about 1e-5 Hz is found to separate the inertial range from the enegy-injection range (1/f energy decay). Instrumental noise bounds our investigation to frequencies lower than 5e-4 Hz. By considering several consecutive periods after 2009 at both V1 and V2, we show that the extension and the spectral energy decay of these two regimes may be indicators of IHS regions governed by different physical processes. We describe fluctuations’ regimes in terms of spectral energy density, anisotropy, compressibility, and statistical analysis of intermittency.   In the LISM, it was theorized that pristine interstellar turbulence may coexist with waves from the IHS, however this is still a debated topic. We observe that the fluctuating magnetic energy cascades as a power law with spectral index in the range [-1.35, -1.65] in the whole range of frequencies unaffected by noise. No spectral break is observed, nor decaying turbulence
    • …
    corecore