betaFeedback

WorksPhysics and Astronomy

A multi-dimensional, robust, and cell-centered finite-volume scheme for the ideal MHD equations

Abstract

We present a new multi-dimensional, robust, and cell-centered finite-volume scheme for the ideal MHD equations. This scheme relies on relaxation and splitting techniques and can be easily used at high order. A fully conservative version is not entropy satisfying but is observed experimentally to be more robust than standard constrained transport schemes at low plasma beta. At very low plasma beta and high Alfvén number, we have designed an entropy-satisfying version that is not conservative for the magnetic field but preserves admissible states and we switch locally a-priori between the two versions depending on the regime of plasma beta and Alfvén number. This strategy is robust in a wide range of standard MHD test cases, all performed at second order with a classic MUSCL-Hancock scheme.

Introduction

Developing a robust multi-dimensional numerical scheme for the ideal MHD equations remains a challenge that is of great importance for astrophysics and plasma physics applications. A MHD flow is characterized by an exact zero-divergence magnetic field, and by using terms that are proportional to the divergence of the magnetic field, the MHD equations can be put in a fully conservative form, with density, momentum, energy and magnetic field conservation. However this form introduces a source term proportional to the divergence of the magnetic field on the entropy evolution equation, leading to an unstable scheme for multi-dimensional test cases, because of discretization errors on this source term.

A solution to this problem is to remove the divergence errors so that the source term in the entropy evolution equation is as small as possible. Such a solution encompass the divergence-cleaning method (see [1, 2, 3, 4]) and the constrained transport method (see [5, 6, 7, 8]). These methods greatly improve the stability of MHD numerical schemes and has been used in numerous applications in astrophysics and plasma physics. However, they are not entropy satisfying and may fail with negative energies especially in the low plasma beta regime. This problem is mitigated by using a threshold value for the internal energy, effectively breaking the energy conservation of the numerical scheme (ref divB cleaning with threshold). Another solution is to design an entropy satisfying numerical scheme for any value of the divergence of the magnetic field. This solution has been explored using relaxation methods in [9, 10, 11].

Originally, it has been shown that a multi-dimensional solver with the introduction of non-conservative Powell source terms in the momentum, induction and energy evolution equations allows to obtain a symmetric form of the MHD equations [12, 13], but [11] has demonstrated that it is also possible to obtain a symmetric form with a source term only on the induction equation, therefore preserving energy and momentum conservation with an entropy satisfying numerical scheme.

In recent years, significant advancements have been made in splitting strategies for designing numerical solvers for Euler equations. In the works by [14, 15, 16], the approximation algorithm is divided into two steps: an acoustic step and a transport step. For one-dimensional cases, these methods resemble the explicit Lagrange-Projection approach [17, 18, 19]. However, this new splitting technique avoids the use of a moving Lagrangian mesh and is readily adaptable to multi-dimensional problems. On the other hand, significant progresses have also been made on approximate Riemann solvers based on relaxation strategies [20, 21, 22, 23, 24, 25].

In this paper, we build on the proposition of a relaxation approximation for the MHD system [10, 11] by taking advantage of splitting techniques introduced in [14] to design a fully-conservative multi-dimensional MHD solver in regions of high plasma beta / low Alfvén number, and an entropy satisfying version with an entropy correction in regions of low plasma beta / high Alfvén number. The resulting solver, therefore, allies a robust entropy-satisfying and a fully-conservative scheme depending on the regime of the flow. In Sect. 2, we introduce the different systems of equations for MHD (conservative and non-conservative) and the corresponding entropy evolution equation. In Sect. 3, we present the splitting of the equations in a magneto-acoustic and transport subsystems. Sect. 4 and 5 introduce the numerical methods used to solve the evolution of these subsystems and Sect. 6 provides the global fully-conservative scheme for the MHD system of equations. Sect. 7 is devoted to the entropy analysis of the numerical method, showing that the fully-conservative solver is not entropy-satisfying and introduces an entropy correction on the induction equation in order to obtain an entropy-satisfying method at the price of loosing the magnetic field conservation. In Sect. 8, we provide numerical tests in 1D and 2D at second order by leveraging the advantages of the fully-conservative and entropy-satisfying solvers depending on the regime of the flow. We provide our conclusions and a discussion in Sect. 9.

MHD equations

The ideal MHD equations are given by the evolution equations of the fluid density ρ\rho, momentum ρu\rho\mathbf{u}, energy ρ(e+u2/2)\rho(e+\mathbf{u}^{2}/2), and the Faraday’s law of induction describing the evolution of the magnetic field B\mathbf{B}

∂tρ+∇⋅(ρu)=0,∂t(ρu)+∇⋅(ρu⊗u)=−∇p+j×B,∂t(ρ(e+u2/2))+∇⋅(ρ(e+u2/2)u)=−∇⋅(pu)+(j×B)⋅u,∂tB+∇×E=0.(1)\begin{aligned} \partial_t\rho+\nabla\cdot(\rho\mathbf{u})&=0,\\ \partial_t(\rho\mathbf{u})+\nabla\cdot(\rho\mathbf{u}\otimes\mathbf{u})&=-\nabla p+\mathbf{j}\times\mathbf{B},\\ \partial_t(\rho(e+\mathbf{u}^{2}/2))+\nabla\cdot(\rho(e+\mathbf{u}^{2}/2)\mathbf{u})&=-\nabla\cdot(p\mathbf{u})+(\mathbf{j}\times\mathbf{B})\cdot\mathbf{u},\\ \partial_t\mathbf{B}+\nabla\times\mathbf{E}&=0. \tag*{(1)} \end{aligned}

The term j×B\mathbf{j}\times\mathbf{B} is the Lorentz force. This system of equations is closed with the ideal Ohm’s law E=−u×B\mathbf{E}=-\mathbf{u}\times\mathbf{B}, the low frequency Maxwell equation j=∇×B\mathbf{j}=\nabla\times\mathbf{B} assuming a system of units in which the vacuum permeability is one, and an equation of state connecting the pressure pp to the density ρ\rho (or specific volume τ=1/ρ\tau=1/\rho) and internal energy ee. The equation of state also defines the specific physical entropy s(τ,e)s(\tau,e) assuming that −s-s is a convex function of (τ,e)(\tau,e), and satisfies

de+p dτ=T ds.(2)de+p\,d\tau=T\,ds. \tag*{(2)}

This equivalently means that the internal energy is convex with respect to specific volume and entropy, hence the sound speed csc_s defined by

cs2=(∂p∂ρ)s(3)c_s^{2}=\left(\frac{\partial p}{\partial\rho}\right)_{s} \tag*{(3)}

is positive and ensures the hyperbolicity of the system. Assuming smooth solutions of (1), one can show that they satisfy the following equation of conservation for the entropy

∂t(ρs)+∇⋅(ρsu)=0.(4)\partial_t(\rho s)+\nabla\cdot(\rho s\mathbf{u})=0. \tag*{(4)}

For the non-conservative form of the MHD equations, this holds for any value of the divergence of the magnetic field ∇⋅B\nabla\cdot\mathbf{B}. Assuming that the divergence of the magnetic field is zero at an initial time ∇⋅B=0\nabla\cdot\mathbf{B}=0, it remains zero at all time following the divergence of the induction equation,

∂t(∇⋅B)=0.(5)\partial_t(\nabla\cdot\mathbf{B}) = 0. \tag*{(5)}

The free divergence constraint is therefore a consequence of the induction equation and not a dynamical constraint.

Equivalently, by adding terms proportional to ∇⋅B\nabla\cdot\mathbf{B} in the momentum and energy equations (see Appendix A), one can obtain a conservative form for the MHD equations

∂tρ+∇⋅(ρu)=0,∂t(ρu)+∇⋅(ρu⊗u+σ−B⊗B)=0,∂t(ρE)+∇⋅(ρEu+σ⋅u−(B⋅u)B)=0,∂tB+∇⋅(u⊗B−B⊗u)=0.(6)\begin{aligned} \partial_t \rho+ \nabla\cdot(\rho\mathbf{u}) &= 0, \\ \partial_t(\rho\mathbf{u}) + \nabla\cdot(\rho\mathbf{u} \otimes\mathbf{u} + \boldsymbol{\sigma} - \mathbf{B} \otimes\mathbf{B}) &= 0, \\ \partial_t(\rho E) + \nabla\cdot(\rho E \mathbf{u} + \boldsymbol{\sigma} \cdot\mathbf{u} - (\mathbf{B} \cdot\mathbf{u})\mathbf{B}) &= 0, \\ \partial_t \mathbf{B} + \nabla\cdot(\mathbf{u} \otimes\mathbf{B} - \mathbf{B} \otimes\mathbf{u}) &= 0. \tag*{(6)} \end{aligned}

with σ=(p+B2/2)I\boldsymbol{\sigma} = (p + \mathbf{B}^{2}/2)\mathbf{I} and E=e+u2/2+B2/(2ρ)E = e + \mathbf{u}^{2}/2 + \mathbf{B}^{2}/(2\rho). Assuming smooth solutions of (6), one can show that they satisfy the following equation for the evolution of the entropy by subtracting the evolution of the kinetic and magnetic energy from the evolution of the total energy

∂t(ρs)+∇⋅(ρsu)=−u⋅BT∇⋅B,(7)\partial_t(\rho s) + \nabla\cdot(\rho s \mathbf{u}) = -\frac{\mathbf{u} \cdot\mathbf{B}}{T}\nabla\cdot\mathbf{B}, \tag*{(7)}

which is compatible with entropy conservation only when ∇⋅B=0\nabla\cdot\mathbf{B} = 0 in constrast to the non-conservative form presented above [26]. This shows that the entropy balance is closely related to the free divergence constraint for the conservative MHD equations.

In the case of discontinuities such as shocks and in order to ensure dissipation, the second law of thermodynamics must be enforced and implies the entropy inequality

∂t(ρs)+∇⋅(ρsu)≥0,(8)\partial_t(\rho s) + \nabla\cdot(\rho s \mathbf{u}) \ge0, \tag*{(8)}

After discretization, truncation errors on the ∇⋅B\nabla\cdot\mathbf{B} source term in Eq. (7) therefore leads to some issues in order to obtain an entropy satisfying numerical scheme ensuring a discrete version of Eq. (8).

In the next sections (3, 4, 5 and 6), we introduce a new fully-conservative solver relying on a splitting between a magneto-acoustic and a transport subsystem. This solver is entropy satisfying and is not compatible with Eq. (8). We then introduce in Sect. 7 an entropy correction following [11] ensuring that the modified scheme is compatible with Eq. (8) while breaking the magnetic field conservation but maintaining the momentum and energy conservation.

Magneto-acoustic/transport splitting

Similarly to [14], we propose the following splitting of the conservative MHD equations into a magneto-acoustic sub-system

∂tρ+ρ∇⋅u=0,∂t(ρu)+ρu∇⋅u+∇⋅(σ−B⊗B)=0,∂t(ρE)+ρE∇⋅u+∇⋅(σ⋅u−(B⋅u)B)=0,∂tB+B∇⋅u−∇⋅(B⊗u)=0,(9)\begin{aligned} \partial_t \rho+ \rho\nabla\cdot\mathbf{u} &= 0, \\ \partial_t(\rho\mathbf{u}) + \rho\mathbf{u} \nabla\cdot\mathbf{u} + \nabla\cdot(\boldsymbol{\sigma} - \mathbf{B} \otimes\mathbf{B}) &= 0, \\ \partial_t(\rho E) + \rho E \nabla\cdot\mathbf{u} + \nabla\cdot(\boldsymbol{\sigma} \cdot\mathbf{u} - (\mathbf{B} \cdot\mathbf{u})\mathbf{B}) &= 0, \\ \partial_t \mathbf{B} + \mathbf{B} \nabla\cdot\mathbf{u} - \nabla\cdot(\mathbf{B} \otimes\mathbf{u}) &= 0, \tag*{(9)} \end{aligned}

and a transport sub-system

∂tρ+u⋅∇ρ=0,∂t(ρu)+u⋅∇(ρu)=0,∂t(ρE)+u⋅∇(ρE)=0,∂tB+u⋅∇(B)=0.(10)\begin{aligned} \partial_t \rho+ \mathbf{u} \cdot\nabla\rho&= 0, \\ \partial_t(\rho\mathbf{u}) + \mathbf{u} \cdot\nabla(\rho\mathbf{u}) &= 0, \\ \partial_t(\rho E) + \mathbf{u} \cdot\nabla(\rho E) &= 0, \\ \partial_t \mathbf{B} + \mathbf{u} \cdot\nabla(\mathbf{B}) &= 0. \tag*{(10)} \end{aligned}

We emphasize that all the components of the magnetic field are transported at velocity u\mathbf{u} in the transport sub-system. We then propose to approximate the solution of Eq. (6) by approximating the solutions of the two sub-systems (9) and (10), i.e. for a discrete state Uin=(ρ,ρu,ρE,B)in\mathbf{U}_i^n = (\rho, \rho\mathbf{u}, \rho E, \mathbf{B})_i^n in a cell Ωi\Omega_i at time tnt^n, the update to Uin+1\mathbf{U}_i^{n+1} is first an update from Uin\mathbf{U}_i^n to Uin+1−\mathbf{U}_i^{n+1-} by approximating the solution of (9), then an update from Uin+1−\mathbf{U}_i^{n+1-} to Uin+1\mathbf{U}_i^{n+1} by approximating the solution of (10). We present in Sect. 4 and in Sect. 5 the discretization and the entropy analysis for each sub-system respectively.

Relaxation approximation of the magneto-acoustic sub-system

The relaxation approximation of the magneto-acoustic sub-system and the associated entropy analysis in Sect. 7 heavily relies on earlier works by [10, 11]. We highlight two main differences in our approach: we keep in the analysis gradients of the magnetic field perpendicular to the interface that appears in the multi-dimensional case and we propose a different choice of relaxation parameters in the 5-wave solver to ensure the strict hyperbolicity of the relaxed system.

The multi-dimensional scheme will be obtained by taking advantage of the rotational invariance of the magneto-acoustic sub-system, following the lines of [18]. We, therefore, rewrite sub-system (9) in 1D, and simplify it by using the density evolution equation

ρ∂tτ−∂xu=0,ρ∂tu+∂x(σex−BxB)=0,ρ∂tE+∂x(σux−(B⋅u)Bx)=0,ρ∂t(τB)−∂x(Bxu)=0.(11)\begin{aligned} \rho\partial_t \tau- \partial_x u &= 0,\\ \rho\partial_t \mathbf{u} + \partial_x(\sigma\mathbf{e}_x - B_x \mathbf{B}) &= 0,\\ \rho\partial_t E + \partial_x(\sigma u_x - (\mathbf{B}\cdot\mathbf{u})B_x) &= 0,\\ \rho\partial_t(\tau\mathbf{B}) - \partial_x(B_x\mathbf{u}) &= 0. \tag*{(11)} \end{aligned}

with ex\mathbf{e}_x, the unit vector normal to the interface, BxB_x, ByB_y, and BzB_z the components of the magnetic field and uxu_x, uyu_y, and uzu_z the components of the velocity field. The eigenvalues of this sub-system are given by

−u,0,±cms,±cma,±cmf(12)-u, 0, \pm c_{ms}, \pm c_{ma}, \pm c_{mf} \tag*{(12)}

with cmac_{ma}, the magnetic Alfvén speed, cmsc_{ms}, the slow magnetosonic speed, cmfc_{mf}, the fast magnetosonic speed defined by

cma=∣Bx∣ρ,c_{ma} = \frac{\lvert B_x\rvert}{\sqrt{\rho}},
cms2=12(cs2+B2ρ−(cs2+B2ρ)2−4cs2cma2),c_{ms}^{2} = \frac{1}{2}\left(c_s^2 + \frac{\mathbf{B}^2}{\rho} - \sqrt{\left(c_s^2 + \frac{\mathbf{B}^2}{\rho}\right)^2 - 4c_s^2c_{ma}^2}\right),
cmf2=12(cs2+B2ρ+(cs2+B2ρ)2−4cs2cma2).(13)c_{mf}^{2} = \frac{1}{2}\left(c_s^2 + \frac{\mathbf{B}^2}{\rho} + \sqrt{\left(c_s^2 + \frac{\mathbf{B}^2}{\rho}\right)^2 - 4c_s^2c_{ma}^2}\right). \tag*{(13)}

We then introduce a relaxation procedure [10, 14] with the relaxation pressures πu\boldsymbol{\pi}_u playing the role of the fluxes in the impulsion equation and the relaxation variable rr playing the role of the density in front of the time derivatives

r∂tτ−∂xu=0,r\partial_t\tau-\partial_xu=0,
r∂tu+∂xπu=0,r\partial_t\mathbf{u}+\partial_x\boldsymbol{\pi}_u=0,
r∂tE+∂x(πu⋅u)=0,r\partial_t E+\partial_x(\boldsymbol{\pi}_u\cdot\mathbf{u})=0,
r∂t(τB)−∂x(Bxu)=0,(14)r\partial_t(\tau\mathbf{B})-\partial_x(B_x\mathbf{u})=0, \tag*{(14)}

with the following equations for the relaxation variables

∂tr=ρ−rϵ,\partial_t r=\frac{\rho-r}{\epsilon},
r∂tπu+(cb2+by2+bz2)∂xu−caby∂xv−cabz∂xw+dx∂xBx=σ−Bx2−πuϵ,r\partial_t\pi_u+(c_b^2+b_y^2+b_z^2)\partial_xu-c_ab_y\partial_xv-c_ab_z\partial_xw+d_x\partial_xB_x=\frac{\sigma-B_x^2-\pi_u}{\epsilon},
r∂tπv−caby∂xu+ca2∂xv+dy∂xBx=−BxBy−πvϵ,r\partial_t\pi_v-c_ab_y\partial_xu+c_a^2\partial_xv+d_y\partial_xB_x=\frac{-B_xB_y-\pi_v}{\epsilon},
r∂tπw−cabz∂xu+ca2∂xw+dz∂xBx=−BxBz−πwϵ.(15)r\partial_t\pi_w-c_ab_z\partial_xu+c_a^2\partial_xw+d_z\partial_xB_x=\frac{-B_xB_z-\pi_w}{\epsilon}. \tag*{(15)}

The parameters cac_a, cbc_b, byb_y, bzb_z play the role of approximations of ρ∣Bx∣\sqrt{\rho}|B_x|, ρcs\rho c_s, sign⁡(Bx)ρBy\operatorname{sign}(B_x)\sqrt{\rho}B_y, sign⁡(Bx)ρBz\operatorname{sign}(B_x)\sqrt{\rho}B_z, respectively, as in [10]. The extra parameters dxd_x, dyd_y, dzd_z are linked to the possibility of a non-constant BxB_x in the magneto-acoustic sub-system and play the role of approximations of 2Bxu/τ+u⋅B(∂ep−1/τ)2B_xu/\tau+\mathbf{u}\cdot\mathbf{B}(\partial_e p-1/\tau), (Bxv+Byu)/τ(B_xv+B_yu)/\tau, and (Bxw+Bzu)/τ(B_xw+B_zu)/\tau, respectively. If these extra parameters are fixed to zero, the relaxation equations for πu\pi_u is the Lagrangian form of the relaxation equations used in [10]. By replacing all these parameters exactly by the quantities they approximate, Eq. (15) reduces to the evolution equation of σ−Bx2\sigma-B_x^2, −BxBy-B_xB_y, and −BxBz-B_xB_z in the limit ϵ→∞\epsilon\to\infty. In order to obtain the same Riemann invariants as [10], we fix dxd_x, dyd_y, and dzd_z to zero and the other constants are evolved with

∂tca=∂tcb=∂tby=∂tbz=0.(16)\partial_t c_a=\partial_t c_b=\partial_t b_y=\partial_t b_z=0. \tag*{(16)}

In the limit ϵ→0\epsilon\to0, the relaxation equations in Eq. (15) ensures that r→ρr\to\rho, πu→σ−Bx2\pi_u\to\sigma-B_x^2, πv→−BxBy\pi_v\to-B_xB_y, and πw→−BxBz\pi_w\to-B_xB_z. In this limit, Eq. (14) is then equivalent to Eq. (11). A classical approach to achieve the limit ϵ→0\epsilon\to0 numerically is to first enforce the equilibrium relations r=ρr=\rho and πu=σex−\pi_u=\sigma e_x- BxBB_x\mathbf{B} at time tnt^n and then solve (14) and (15) without the relaxation source terms. Using L≡r/ρL \equiv r/\rho, the full system without the relaxation source term is

∂tL−∂xu=0,∂t(ρLu)+∂xπu=0,∂t(ρLE)+∂x(πu⋅u)=0,∂t(LB)−∂x(Bxu)=0,∂t(ρL)=0,∂t(ρLπu)+(cb2+by2+bz2)∂xu−caby∂xv−cabz∂xw=0,∂t(ρLπv)−caby∂xu+ca2∂xv=0,∂t(ρLπw)−cabz∂xu+ca2∂xw=0.(17)\begin{aligned} \partial_t L-\partial_x u&=0,\\ \partial_t(\rho L\mathbf{u})+\partial_x\boldsymbol{\pi}_u&=0,\\ \partial_t(\rho L E)+\partial_x(\boldsymbol{\pi}_u\cdot\mathbf{u})&=0,\\ \partial_t(L\mathbf{B})-\partial_x(B_x\mathbf{u})&=0,\\ \partial_t(\rho L)&=0,\\ \partial_t(\rho L\pi_u)+(c_b^2+b_y^2+b_z^2)\partial_xu-c_ab_y\partial_xv-c_ab_z\partial_xw&=0,\\ \partial_t(\rho L\pi_v)-c_ab_y\partial_xu+c_a^2\partial_xv&=0,\\ \partial_t(\rho L\pi_w)-c_ab_z\partial_xu+c_a^2\partial_xw&=0. \tag*{(17)} \end{aligned}

After some tedious algebra, one can compute the eigenvalues of this system of 16 equations (including ∂tca=∂tcb=∂tby=∂tbz=0\partial_t c_a=\partial_t c_b=\partial_t b_y=\partial_t b_z=0),

−u/L,0,±crs/(ρL),±cra/(ρL),±crf/(ρL)(18)-u/L,0,\pm c_{rs}/(\rho L),\pm c_{ra}/(\rho L),\pm c_{rf}/(\rho L) \tag*{(18)}

with

cra=ca,crs2=12(cb2+ca2+by2+bz2−(cb2+ca2+by2+bz2)2−4ca2cb2),crf2=12(cb2+ca2+by2+bz2+(cb2+ca2+by2+bz2)2−4ca2cb2).(19)\begin{aligned} c_{ra}&=c_a,\\ c_{rs}^{2}&=\frac{1}{2}\left(c_b^2+c_a^2+b_y^2+b_z^2-\sqrt{(c_b^2+c_a^2+b_y^2+b_z^2)^2-4c_a^2c_b^2}\right),\\ c_{rf}^{2}&=\frac{1}{2}\left(c_b^2+c_a^2+b_y^2+b_z^2+\sqrt{(c_b^2+c_a^2+b_y^2+b_z^2)^2-4c_a^2c_b^2}\right). \tag*{(19)} \end{aligned}

The central wave at zero velocity has multiplicity 9. All the waves are linearly degenerate. Similarly to [10], crs≤ca≤crfc_{rs}\leq c_a\leq c_{rf}, crs≤cb≤crfc_{rs}\leq c_b\leq c_{rf} and the eigenvalues of (17) match the eigenvalues of (11) for ca=ρ∣Bx∣c_a=\sqrt{\rho}|B_x|, cb=ρcsc_b=\rho c_s, by=sign⁡(Bx)ρByb_y=\operatorname{sign}(B_x)\sqrt{\rho}B_y, bz=sign⁡(Bx)ρBzb_z=\operatorname{sign}(B_x)\sqrt{\rho}B_z. Similarly to [10], a Chapman-Enskog analysis can be performed on the relaxation equations which leads to the following stability conditions

1ρ−Bx2ca2≥0,\frac{1}{\rho}-\frac{B_x^2}{c_a^2}\geq0,
cb2−ρ2cs2≥0,c_b^2-\rho^2c_s^2\geq0,
(cb2−ρ2cs2)(1ρ−Bx2ca2)≥(By−Bxbyca)2+(Bz−Bxbzca)2(20)(c_b^2-\rho^2c_s^2)\left(\frac{1}{\rho}-\frac{B_x^2}{c_a^2}\right)\geq\left(B_y-\frac{B_xb_y}{c_a}\right)^2+\left(B_z-\frac{B_xb_z}{c_a}\right)^2 \tag*{(20)}

in order to ensure positive eigenvalues of the entropy diffusion matrix.

The 3+1 and 5+1 wave solver. The solution of the Riemann problem associated to (17) contain 7+17+1 waves in the general case, 77 waves that are identical to a Lagrangian version of the 1D relaxation solver presented in [10] to which we add a wave at −u/L-u/L associated to BxB_x. Similarly to [11] we can design an approximate Riemann solver with 5+15+1 waves by choosing by=bz=0b_y=b_z=0, or with 3+13+1 waves by choosing in addition ca=cb=cc_a=c_b=c. The 5+15+1 wave solver is a good compromise between accuracy ad computational cost and we will use this approximation for now on.

We now look for strong Riemann invariants for the different waves by finding quantities transported at the corresponding wave speed [18]. BxB_x is a strong Riemann invariant associated to the wave at −u/L-u/L. Note that BxB_x is not constant but advected at velocity −u/L-u/L. BxB_x has to be understood as evaluated locally, upwind relative to the wave −u/L-u/L. cac_a and cbc_b are strong Riemann invariants for the central wave with

1ρ+πucb2Byρ+Bxca2πv,Bzρ+Bxca2πw,e+B22ρ−πu22cb2−πv2+πw22ca2.(21)\frac{1}{\rho}+\frac{\pi_u}{c_b^2}\frac{B_y}{\rho}+\frac{B_x}{c_a^2}\pi_v,\frac{B_z}{\rho}+\frac{B_x}{c_a^2}\pi_w,e+\frac{\mathbf{B}^2}{2\rho}-\frac{\pi_u^2}{2c_b^2}-\frac{\pi_v^2+\pi_w^2}{2c_a^2}. \tag*{(21)}

Similarly to [11], there are six strong Riemann invariants for the left and right waves πu+cuu\boldsymbol{\pi}_u+c_u\mathbf{u} and πu−cuu\boldsymbol{\pi}_u-c_u\mathbf{u}, respectively, in which we have defined cu=(cb,ca,ca)c_u=(c_b,c_a,c_a). Strong Riemann invariants for a given wave are weak Riemann invariants for the other waves. They are, therefore, weak Riemann invariants for the central wave, hence, u\mathbf{u} and πu\boldsymbol{\pi}_u take the same value on the left and right of this wave that we shall define as u∗\mathbf{u}^* and πu∗\boldsymbol{\pi}_u^* respectively. By using the weak Riemann invariants, we get

u∗=cu,lul+cu,rur+πu,l−πu,rcu,l+cu,r,\mathbf{u}^*=\frac{c_{u,l}\mathbf{u}_l+c_{u,r}\mathbf{u}_r+\boldsymbol{\pi}_{u,l}-\boldsymbol{\pi}_{u,r}}{c_{u,l}+c_{u,r}},
πu∗=cu,rπu,l+cu,lπu,r+cu,lcu,r(ul−ur)cu,l+cu,r.(22)\boldsymbol{\pi}_u^*=\frac{c_{u,r}\boldsymbol{\pi}_{u,l}+c_{u,l}\boldsymbol{\pi}_{u,r}+c_{u,l}c_{u,r}(\mathbf{u}_l-\mathbf{u}_r)}{c_{u,l}+c_{u,r}}. \tag*{(22)}

Then one has

Bx(x,t)={Bx,lif x/t<−u/LBx,rif x/t>−u/L,(23)B_x(x,t)=\begin{cases} B_{x,l} & \text{if } x/t<-u/L\\ B_{x,r} & \text{if } x/t>-u/L, \end{cases} \tag*{(23)}

hence, at the interface, we define Bx−u∗=Bx(0,t)B_x^{-u^*}=B_x(0,t) with

Bx−u∗={Bx,lif u∗<0,Bx,rif u∗>0.(24)B_x^{-u^*}= \begin{cases} B_{x,l} & \text{if } u^*<0,\\ B_{x,r} & \text{if } u^*>0. \end{cases} \tag*{(24)}

The other intermediate states, e.g. τl,r∗\tau_{l,r}^* and el,r∗e_{l,r}^* can be obtained by using (21), but are not needed for deriving the update of the numerical scheme. The discrete numerical scheme for the magneto-acoustic sub-system is then given by

Lin+1−=1+ΔtΔx(ui+1/2∗−ui−1/2∗),ρin+1−Lin+1−=ρin,ρin+1−uin+1−Lin+1−=ρinuin−ΔtΔx(πu,i+1/2∗−πu,i−1/2∗),ρin+1−Ein+1−Lin+1−=ρinEin−ΔtΔx(πu,i+1/2∗⋅ui+1/2∗−πu,i−1/2∗⋅ui−1/2∗),Bin+1−Lin+1−=Bin+ΔtΔx(Bx,i+1/2−u∗ui+1/2∗−Bx,i−1/2−u∗ui−1/2∗).(25)\begin{aligned} L_i^{n+1-} &= 1+\frac{\Delta t}{\Delta x}\left(u_{i+1/2}^*-u_{i-1/2}^*\right),\\ \rho_i^{n+1-}L_i^{n+1-} &= \rho_i^n,\\ \rho_i^{n+1-}\mathbf{u}_i^{n+1-}L_i^{n+1-} &= \rho_i^n\mathbf{u}_i^n-\frac{\Delta t}{\Delta x}\left(\boldsymbol{\pi}_{u,i+1/2}^*-\boldsymbol{\pi}_{u,i-1/2}^*\right),\\ \rho_i^{n+1-}E_i^{n+1-}L_i^{n+1-} &= \rho_i^n E_i^n-\frac{\Delta t}{\Delta x}\left(\boldsymbol{\pi}_{u,i+1/2}^*\cdot\mathbf{u}_{i+1/2}^*-\boldsymbol{\pi}_{u,i-1/2}^*\cdot\mathbf{u}_{i-1/2}^*\right),\\ \mathbf{B}_i^{n+1-}L_i^{n+1-} &= \mathbf{B}_i^n+\frac{\Delta t}{\Delta x}\left(B_{x,i+1/2}^{-u^*}\mathbf{u}_{i+1/2}^*-B_{x,i-1/2}^{-u^*}\mathbf{u}_{i-1/2}^*\right). \tag*{(25)} \end{aligned}

with the CFL condition for this scheme

max⁡i∈Z(crf,iρi)Δt≤Δx2.(26)\max_{i\in\mathbb{Z}}\left(\frac{c_{\mathrm{rf},i}}{\rho_i}\right)\Delta t\leq\frac{\Delta x}{2}. \tag*{(26)}

Transport sub-system

The transport sub-system is a quasi-hyperbolic system that only involves the transport of conservative variables with the velocity uu. We choose to approximate the solution of the 1D version of (10) thanks to a standard upwind Finite-Volume approximation for U=(ρ,ρu,ρE,B)\mathbf{U}=(\rho,\rho\mathbf{u},\rho E,\mathbf{B}) by discretizing

∂U∂t+u∂U∂x=∂U∂t+∂(uU)∂x−U∂u∂x=0.(27)\frac{\partial\mathbf{U}}{\partial t}+u\frac{\partial\mathbf{U}}{\partial x} =\frac{\partial\mathbf{U}}{\partial t}+\frac{\partial(u\mathbf{U})}{\partial x}-\mathbf{U}\frac{\partial u}{\partial x}=0. \tag*{(27)}

with

Uin+1=Uin+1−−ΔtΔx(ui+1/2∗Ui+1/2−ui−1/2∗Ui−1/2)+ΔtΔxUin+1−(ui+1/2∗−ui−1/2∗).(28)\mathbf{U}_i^{n+1}=\mathbf{U}_i^{n+1-}-\frac{\Delta t}{\Delta x}\left(u_{i+1/2}^*\mathbf{U}_{i+1/2}-u_{i-1/2}^*\mathbf{U}_{i-1/2}\right)+\frac{\Delta t}{\Delta x}\mathbf{U}_i^{n+1-}\left(u_{i+1/2}^*-u_{i-1/2}^*\right). \tag*{(28)}

with two possible choices of discretization for the interface states Ui−1/2\mathbf{U}_{i-1/2} and Ui+1/2\mathbf{U}_{i+1/2}. The first choice

Ui+1/2={Uin+1−if ui+1/2∗≥0,Ui+1n+1−if ui+1/2∗≤0.(29)\mathbf{U}_{i+1/2}= \begin{cases} \mathbf{U}_i^{n+1-} & \text{if } u_{i+1/2}^*\geq0,\\ \mathbf{U}_{i+1}^{n+1-} & \text{if } u_{i+1/2}^*\leq0. \end{cases} \tag*{(29)}

leads to a magneto-acoustic+transport scheme of stencil 2 similar to [14]. The second choice

Ui+1/2={Uinif ui+1/2∗≥0,Ui+1nif ui+1/2∗≤0,(30)\mathrm{U}_{i+1/2} = \begin{cases} \mathrm{U}_{i}^{n} & \text{if } u_{i+1/2}^{*} \ge0, \\ \mathrm{U}_{i+1}^{n} & \text{if } u_{i+1/2}^{*} \le0, \end{cases} \tag*{(30)}

leads to a magneto-acoustic+transport scheme of stencil 1 similar to [16]. We will refer to these choices of discretization as “stencil 1” and “stencil 2” in the rest of the paper. In both cases and using the notation u±=u±∣u∣2u^{\pm} = \frac{u \pm\lvert u \rvert}{2}, the CFL condition of the transport sub-system is given by

max⁡i∈Z((ui−1/2∗)+−(ui+1/2∗)−)Δt≤Δx.(31)\max_{i \in\mathbb{Z}}\left((u_{i-1/2}^{*})^{+} - (u_{i+1/2}^{*})^{-}\right)\Delta t \le\Delta x. \tag*{(31)}

The transport can also be written in the form

Uin+1=Uin+1−−ΔtΔx(ui+1/2∗U‾i+1/2−ui−1/2∗U‾i−1/2).(32)\mathrm{U}_{i}^{n+1} = \mathrm{U}_{i}^{n+1-} - \frac{\Delta t}{\Delta x}\left(u_{i+1/2}^{*}\overline{\mathrm{U}}_{i+1/2} - u_{i-1/2}^{*}\overline{\mathrm{U}}_{i-1/2}\right). \tag*{(32)}

Magneto-acoustic+transport scheme

The global scheme is given by

ρin+1=ρin−ΔtΔx(ρi+1/2ui+1/2∗−ρi−1/2ui−1/2∗),\rho_{i}^{n+1} = \rho_{i}^{n} - \frac{\Delta t}{\Delta x}\left(\rho_{i+1/2}u_{i+1/2}^{*} - \rho_{i-1/2}u_{i-1/2}^{*}\right),
(ρu)in+1=(ρu)in−ΔtΔx((ρu)i+1/2ui+1/2∗+πu,i+1/2∗−(ρu)i−1/2ui−1/2∗−πu,i−1/2∗),(\rho u)_{i}^{n+1} = (\rho u)_{i}^{n} - \frac{\Delta t}{\Delta x}\left((\rho u)_{i+1/2}u_{i+1/2}^{*} + \pi_{u,i+1/2}^{*} - (\rho u)_{i-1/2}u_{i-1/2}^{*} - \pi_{u,i-1/2}^{*}\right),
(ρE)in+1=(ρE)in−ΔtΔx((ρE)i+1/2ui+1/2∗+πu,i+1/2∗⋅ui+1/2∗−(ρE)i−1/2ui−1/2∗−πu,i−1/2∗⋅ui−1/2∗),(\rho E)_{i}^{n+1} = (\rho E)_{i}^{n} - \frac{\Delta t}{\Delta x}\left((\rho E)_{i+1/2}u_{i+1/2}^{*} + \pi_{u,i+1/2}^{*} \cdot u_{i+1/2}^{*} - (\rho E)_{i-1/2}u_{i-1/2}^{*} - \pi_{u,i-1/2}^{*} \cdot u_{i-1/2}^{*}\right),
Bin+1=Bin−ΔtΔx(Bi+1/2ui+1/2∗−Bx,i+1/2−u∗ui+1/2∗−Bi−1/2ui−1/2∗+Bx,i−1/2−u∗ui−1/2∗).(33)\mathbf{B}_{i}^{n+1} = \mathbf{B}_{i}^{n} - \frac{\Delta t}{\Delta x}\left(\mathbf{B}_{i+1/2}u_{i+1/2}^{*} - B_{x,i+1/2}^{-u^{*}}u_{i+1/2}^{*} - \mathbf{B}_{i-1/2}u_{i-1/2}^{*} + B_{x,i-1/2}^{-u^{*}}u_{i-1/2}^{*}\right). \tag*{(33)}

The global scheme of stencil 2 is stable under the most restrictive CFL condition between the magneto-acoustic and transport sub-systems. The scheme of stencil 1 is stable under a CFL condition involving the sum of the speeds of the magneto-acoustic and transport subsystem as demonstrated in [16] and in Sect. 7.

Entropy analysis

In this section, we first introduce under which conditions the 1D relaxation solver is entropy-satisfying. For a non-constant BxB_x in a multi-dimensional setup, it is clear that the fully-conservative solver is not entropy-satisfying: on the −u/L-u/L wave, BxB_x is the only quantity that jumps, hence, induces a jump in internal energy because of the last Riemann invariant in (21). Similarly to [11], an entropy satisfying solver will require the introduction of an entropic correction on the induction equation to get a symmetric version of the MHD equations. We will present the multi-dimensional entropy-satisfying solver at the end of the section.

The choice of the relaxation parameter c=ca=cbc=c_a=c_b for the 3+1 wave approximate Riemann solver and cac_a, cbc_b for the 5+1 wave solver is made to ensure that the solver is entropy satisfying for a constant BxB_x in 1D. If for all intermediate states Ul,r∗U^*_{l,r}, one has τl,r∗>0\tau^*_{l,r}>0 and

(ρ2cs2)∗,l,r≤cb2,τl,r∗−Bx2ca2≥0,(By,l,r2+Bz,l,r2)≤(cb2−(ρ2cs2)∗,l,r)(τl,r∗−Bx2ca2),(34)\begin{aligned} (\rho^2 c_s^2)_{*,l,r} &\le c_b^2,\\ \tau^*_{l,r}-\frac{B_x^2}{c_a^2} &\ge0,\\ (B_{y,l,r}^2+B_{z,l,r}^2) &\le\left(c_b^2-(\rho^2c_s^2)_{*,l,r}\right)\left(\tau^*_{l,r}-\frac{B_x^2}{c_a^2}\right), \tag*{(34)} \end{aligned}

with (ρ2cs2)∗,l,r≡sup⁡ρ∈(ρ∗,ρl,ρr)(ρ2cs2(ρ,sl,r))(\rho^2c_s^2)_{*,l,r}\equiv\sup_{\rho\in(\rho_*,\rho_l,\rho_r)}(\rho^2c_s^2(\rho,s_{l,r})), there exists a numerical flux function qi+1/2n=q(Uin,Ui+1n)q^n_{i+1/2}=q(U^n_i,U^n_{i+1}), consistent with zero (see [14]) such that

ρin+1s(Uin+1)−ρins(Uin)+ΔtΔx(qi+1/2n+(ρs)i+1/2ui+1/2∗−qi−1/2n−(ρs)i−1/2ui−1/2∗)≥0.(35)\rho_i^{n+1}s(U_i^{n+1})-\rho_i^n s(U_i^n)+\frac{\Delta t}{\Delta x}\left(q^n_{i+1/2}+(\rho s)_{i+1/2}u^*_{i+1/2}-q^n_{i-1/2}-(\rho s)_{i-1/2}u^*_{i-1/2}\right)\ge0. \tag*{(35)}

Following [11], optimal choices of cac_a and cbc_b for smooth solutions are given by

ca2=ρ(Bx2+∣Bx∣By2+Bz2),cb2=ρ2cs2+ρ(By2+Bz2+∣Bx∣By2+Bz2).(36)\begin{aligned} c_a^2 &= \rho(B_x^2+|B_x|\sqrt{B_y^2+B_z^2}),\\ c_b^2 &= \rho^2c_s^2+\rho(B_y^2+B_z^2+|B_x|\sqrt{B_y^2+B_z^2}). \tag*{(36)} \end{aligned}

for the 5+1 wave solver and c=ρcmfc=\rho c_{mf} for the 3+1 wave solver. Optimal choices for discontinuous solutions are given in [11], however, in all the tests performed in Sect. 8 the smooth version has been sufficient to ensure stability and is therefore preferred for its low computational cost. As noted in [11], the diffusion of the 5+1 solver is zero when Bx=0B_x = 0 or By2+Bz2=0B_y^2 + B_z^2 = 0 which means that the solver is exact in these conditions. We, however, point out that this is exactly where the MHD system is not strictly hyperbolic with cma=0c_{ma} = 0 for Bx=0B_x = 0 and cma=cmsc_{ma} = c_{ms} for By2+Bz2=0B_y^2 + B_z^2 = 0. Therefore, in practice, we employ a more diffusing approximation for the choices of cac_a and cbc_b by using the following inequality

∣Bx∣By2+Bz2≤(Bx2+By2+Bz2)/2.\lvert B_x\rvert\sqrt{B_y^2+B_z^2}\leq\left(B_x^2+B_y^2+B_z^2\right)/2.
ca2=ρ(Bx2+(Bx2+By2+Bz2)/2)cb2=ρ2cs2+ρ(By2+Bz2+(Bx2+By2+Bz2)/2)(37)\begin{aligned} c_a^2 &= \rho\left(B_x^2+\left(B_x^2+B_y^2+B_z^2\right)/2\right) \\ c_b^2 &= \rho^2 c_s^2+\rho\left(B_y^2+B_z^2+\left(B_x^2+B_y^2+B_z^2\right)/2\right) \tag*{(37)} \end{aligned}

to ensure the use of a stable strictly hyperbolic approximation even when BxB_x or By2+Bz2B_y^2+B_z^2 vanishes. It also helps with the isotropy of the numerical diffusion whenever there is a large difference between the normal and transverse magnetic intensity, avoiding the generation of spurious patterns. We decompose the proof of the entropy analysis of the global scheme into an entropy analysis of each subsystem, magneto-acoustic and transport, respectively.

Entropy analysis of the magneto-acoustic sub-system in 1D

Proposition 1: Let sl,r=s(τl,r,el,r)s_{l,r}=s(\tau_{l,r},e_{l,r}). If the inequality

el,r∗≥e(τl,r∗,sl,r)(38)e_{l,r}^{*}\geq e(\tau_{l,r}^{*},s_{l,r}) \tag*{(38)}

is verified, there exists a numerical flux function qi+1/2n=q(Uin,Ui+1n)q_{i+1/2}^n=q(U_i^n,U_{i+1}^n), consistent with zero such that

Lin+1−ρin+1−s(τin+1−,ein+1−)−ρins(τin,ein)+ΔtΔx(qi+1/2n−qi−1/2n)≥0(39)L_i^{n+1-}\rho_i^{n+1-}s(\tau_i^{n+1-},e_i^{n+1-})-\rho_i^n s(\tau_i^n,e_i^n)+\frac{\Delta t}{\Delta x}(q_{i+1/2}^n-q_{i-1/2}^n)\geq0 \tag*{(39)}

Proof. According to Eq. (2), at fixed τ\tau, e(τ,s)e(\tau,s) is an increasing function of ss, hence e(τl,r∗,sl,r∗)≥e(τl,r∗,sl,r)e(\tau_{l,r}^{*},s_{l,r}^{*})\geq e(\tau_{l,r}^{*},s_{l,r}) implies sl,r∗≥sl,rs_{l,r}^{*}\geq s_{l,r}. This inequality then implies that for any c>0c>0

0≥−c(sl∗−sl)+c(sr−sr∗)(40)0\geq-c(s_l^{*}-s_l)+c(s_r-s_r^{*}) \tag*{(40)}

which is consistent with the integral form of the entropy inequality ∂t(s(τ,e))≥0\partial_t(s(\tau,e)) \ge0. As in [14], this implies the existence of qi+1/2n=q(Uin,Ui+1n)q^n_{i+1/2}=q(\mathbf{U}^n_i,\mathbf{U}^n_{i+1}) such that

s(τin+1−,ein+1−)−s(τin,ein)+τinΔtΔx(qi+1/2n−qi−1/2n)≥0(41)s(\tau_i^{n+1-},e_i^{n+1-})-s(\tau_i^n,e_i^n)+\tau_i^n\frac{\Delta t}{\Delta x}(q^n_{i+1/2}-q^n_{i-1/2})\ge0 \tag*{(41)}

The inequality (39) follows from Lin+1−ρin+1−=ρinL_i^{n+1-}\rho_i^{n+1-}=\rho_i^n.

Proposition 2: The 5+1 wave approximate Riemann solver associated to the relaxation (17) of the magneto-acoustic sub-system is positive and satisfies all discrete entropy inequalities whenever for all intermediate states Ul,r∗\mathbf{U}^*_{l,r}, τl,r∗\tau^*_{l,r} are positive and the inequalities (34) are verified.

Proof. According to (21), the 5+1 wave relaxation Riemann problem has the same Riemann invariants as [11] apart from the addition of BxB_x as a strong Riemann invariant of the −u/L-u/L wave. BxB_x has therefore to be understood as evaluated locally according to (23). By introducing the decomposition into elementary dissipation terms similarly as in [27], using the Riemann invariants (21) and defining σ(U)=p(τ,s=sl,r)+B2/2\sigma(\mathbf{U})=p(\tau,s=s_{l,r})+\mathbf{B}^2/2, one can show that

e(τl,r∗,sl,r)−el,r∗=D0(Ul,r∗,Ul,r)−12∣σ(Ul,r∗)n−BxB∗−πu∗cu∣2(42)e(\tau^*_{l,r},s_{l,r})-e^*_{l,r}=D_0(\mathbf{U}^*_{l,r},\mathbf{U}_{l,r})-\frac{1}{2}\left\lvert\frac{\sigma(\mathbf{U}^*_{l,r})\mathbf{n}-B_x\mathbf{B}^*-\boldsymbol{\pi}^*_u}{c_u}\right\rvert^2 \tag*{(42)}

with D0D_0 the dissipation associated to the central wave given by

D0(Ul,r∗,Ul,r)=e(τl,r∗,sl,r)−e(τl,r,sl,r)+p(τl,r∗,sl,r)(τl,r∗−τl,r)+12cb2(σ(Ul,r∗)−σ(Ul,r))2−(τl,r−Bx2ca2)12∣B∗−Bl,r∣2.(43)\begin{aligned} D_0(\mathbf{U}^*_{l,r},\mathbf{U}_{l,r})={}&e(\tau^*_{l,r},s_{l,r})-e(\tau_{l,r},s_{l,r})+p(\tau^*_{l,r},s_{l,r})(\tau^*_{l,r}-\tau_{l,r})\\ &+\frac{1}{2c_b^2}\left(\sigma(\mathbf{U}^*_{l,r})-\sigma(\mathbf{U}_{l,r})\right)^2\\ &-\left(\tau_{l,r}-\frac{B_x^2}{c_a^2}\right)\frac{1}{2}\left\lvert\mathbf{B}^*-\mathbf{B}_{l,r}\right\rvert^2. \tag*{(43)} \end{aligned}

The proof of proposition 2 then follows directly from the entropy analysis of [10] who showed that under (34) and by using 42, the inequality (38) is verified.

The final part of the analysis requires to give the conditions under which the relaxation approximation is positive for the intermediate states of the specific volume τl,r∗>0\tau^*_{l,r}>0. These conditions for the relaxation parameters are provided in proposition 3.3 of [11], however we do not explicitly specify them here because we will use a less restrictive choice with Eq. (37) which seems sufficient in practice in all the numerical tests performed in Sect. 8.

Entropy analysis of the transport sub-system in 1D

By using u±=u±∣u∣2u^{\pm}=\frac{u\pm\lvert u\rvert}{2}, the transport step of the global scheme of stencil 2 can be written in the form

Uin+1=ΔtΔxui−1/2∗,+Ui−1n+1−−ΔtΔxui+1/2∗,−Ui+1n+1−+(1−ΔtΔx(ui−1/2∗,+−ui+1/2∗,−))Uin+1−(44)\mathrm{U}_i^{n+1}=\frac{\Delta t}{\Delta x}u_{i-1/2}^{*,+}\mathrm{U}_{i-1}^{n+1-}-\frac{\Delta t}{\Delta x}u_{i+1/2}^{*,-}\mathrm{U}_{i+1}^{n+1-}+\left(1-\frac{\Delta t}{\Delta x}\left(u_{i-1/2}^{*,+}-u_{i+1/2}^{*,-}\right)\right)\mathrm{U}_i^{n+1-} \tag*{(44)}

hence Uin+1\mathrm{U}_i^{n+1} is a convex combination of Ui−1n+1−\mathrm{U}_{i-1}^{n+1-}, Uin+1−\mathrm{U}_{i}^{n+1-} and Ui+1n+1−\mathrm{U}_{i+1}^{n+1-} as their prefactors are positive and sum to 1. By convexity of the function U↦−ρs(U)\mathrm{U}\mapsto-\rho s(\mathrm{U})

ρin+1s(Uin+1)≥ρin+1−Lin+1−s(Uin+1−)−ΔtΔx((ρs)i+1/2ui+1/2∗,−−(ρs)i−1/2ui−1/2∗,+).(45)\rho_i^{n+1}s(\mathrm{U}_i^{n+1})\geq\rho_i^{n+1-}L_i^{n+1-}s(\mathrm{U}_i^{n+1-})-\frac{\Delta t}{\Delta x}\left((\rho s)_{i+1/2}u_{i+1/2}^{*,-}-(\rho s)_{i-1/2}u_{i-1/2}^{*,+}\right). \tag*{(45)}

By combining, the inequalities (39) and (45) we obtain the inequality (35).

Following [16], the global scheme of stencil 1 can be written in the form

Uin+1=αiUiA+(1−αi)UiT(46)\mathrm{U}_i^{n+1}=\alpha_i\mathrm{U}_i^A+(1-\alpha_i)\mathrm{U}_i^T \tag*{(46)}

for any αi∈]0,1[\alpha_i\in]0,1[ and

UiA=Uin+1αiΔtΔx(Uin+1−Lin+1−−Uin),UiT=Uin−11−αiΔtΔx(ui+1/2∗Ui+1/2−ui−1/2∗Ui−1/2),(47)\begin{aligned} \mathrm{U}_i^A&=\mathrm{U}_i^n+\frac{1}{\alpha_i}\frac{\Delta t}{\Delta x}\left(\mathrm{U}_i^{n+1-}L_i^{n+1-}-\mathrm{U}_i^n\right),\\ \mathrm{U}_i^T&=\mathrm{U}_i^n-\frac{1}{1-\alpha_i}\frac{\Delta t}{\Delta x}\left(u_{i+1/2}^*\mathrm{U}_{i+1/2}-u_{i-1/2}^*\mathrm{U}_{i-1/2}\right), \tag*{(47)} \end{aligned}

with UiA\mathrm{U}_i^A corresponding to a magneto-acoustic update with ΔtA=1αiΔt\Delta t^A=\frac{1}{\alpha_i}\Delta t and UiT\mathrm{U}_i^T corresponding to a conservative transport update also with ΔtT=11−αiΔt\Delta t^T=\frac{1}{1-\alpha_i}\Delta t. Following [16], UiT/ρin+1\mathrm{U}_i^T/\rho_i^{n+1} can be written as a convex combination of Uin/ρin\mathrm{U}_i^n/\rho_i^n. Thus, we can also obtain (35) by using the convexity of (46) under the CFL conditions:

max⁡i∈Z((ui−1/2∗)+−(ui+1/2∗)−)1αiΔt≤Δx.(48)\max_{i\in\mathbb{Z}}\left((u_{i-1/2}^*)^+-(u_{i+1/2}^*)^-\right)\frac{1}{\alpha_i}\Delta t\leq\Delta x. \tag*{(48)}
max⁡i∈Z(crf,iρi)11−αiΔt≤Δx2.(49)\max_{i\in\mathbb{Z}}\left(\frac{c_{\mathrm{rf},i}}{\rho_i}\right)\frac{1}{1-\alpha_i}\Delta t\leq\frac{\Delta x}{2}. \tag*{(49)}

As the local choice of αi\alpha_i is free, we can pick it so that both conditions coincide, giving the following condition for the stencil 1 scheme:

max⁡i∈Z((ui−1/2∗)+−(ui+1/2∗)−+2crf,iρi)Δt≤Δx.(50)\max_{i\in\mathbb{Z}}\left((u_{i-1/2}^*)^+-(u_{i+1/2}^*)^-+2\frac{c_{\mathrm{rf},i}}{\rho_i}\right)\Delta t\leq\Delta x. \tag*{(50)}

Entropic correction for multi-dimensional MHD

Similarly to [11], we introduce an entropic correction on the induction equation proportional to ∇⋅B\nabla\cdot\mathbf{B},

∂tB+∇⋅(u⊗B−B⊗u)+u∇⋅B=0.(51)\partial_t\mathbf{B}+\nabla\cdot\left(\mathbf{u}\otimes\mathbf{B}-\mathbf{B}\otimes\mathbf{u}\right)+\mathbf{u}\nabla\cdot\mathbf{B}=0. \tag*{(51)}

The rest of the MHD system is not changed and, of course, (51) is equivalent to the standard form when ∇⋅B=0\nabla\cdot\mathbf{B}=0. Smooth solutions follow the entropy evolution

∂t(ρs)+∇⋅(ρsu)=0.(52)\partial_t(\rho s)+\nabla\cdot(\rho s\mathbf{u})=0. \tag*{(52)}

We recall the discretization of the source term as [11] which results in two different values of Bxu∗B_x^{u^*} at an interface, Bx,i+1/2,lu∗=Bx,inB_{x,i+1/2,l}^{u^*}=B_{x,i}^{n} and Bx,i+1/2,ru∗=Bx,i+1nB_{x,i+1/2,r}^{u^*}=B_{x,i+1}^{n}, hence giving a non-conservative discretization of the induction equation with

Bin+1=Bin−ΔtΔx(Bi+1/2ui+1/2∗−Bx,inui+1/2∗−Bi−1/2ui−1/2∗+Bx,inui−1/2∗).(53)\mathbf{B}_i^{n+1}=\mathbf{B}_i^n-\frac{\Delta t}{\Delta x}\left(\mathbf{B}_{i+1/2}\mathbf{u}_{i+1/2}^*-B_{x,i}^n\mathbf{u}_{i+1/2}^*-\mathbf{B}_{i-1/2}\mathbf{u}_{i-1/2}^*+B_{x,i}^n\mathbf{u}_{i-1/2}^*\right). \tag*{(53)}

With this non-conservative source term, the evolution equation of BxB_x is simply ∂tBx=0\partial_t B_x=0 and the system becomes symmetric with an additional wave centered at 0 instead of the −u/L-u/L wave [12]. The strong Riemann invariant BxB_x jumps at 0, similarly to the other Riemann invariant (21). As in [11], the 3+1 and 5+1 approximate Riemann solvers with the non-conservative source term are entropy satisfying with the same proof presented above, BxB_x simply needs to be understood as evaluated locally with a jump on the central wave.

We emphasize that the normal component of the magnetic field for Bxu∗B_x^{u^*} in (53) is always the value at cell center Bx,inB_{x,i}^n both at first and second order. As noted by [28], the source term vanishes for smooth solutions at second order if one uses the reconstructed values at interfaces. The proposed discretization in (53) avoids this problem and can be employed for both 1st and 2nd order.

Numerical results

In order to take advantage of the fully conservative and entropy-satisfying solvers, we use an hybrid strategy in our simulations by switching between both depending on the regime of the flow. On cells where the plasma beta number β=pB2/2\beta= \frac{p}{B^{2}/2} is inferior to a tunable threshold βmin\beta_{min} or where the local Alfvén number Al=ρ∣u∣∣B∣Al = \sqrt{\rho}\frac{|\mathbf{u}|}{|\mathbf{B}|} is superior to another tunable threshold AlmaxAl_{max}, we use locally the entropy-satisfying solver instead of the fully conservative solver. In all our experiments, we set βmin=10−3\beta_{min} = 10^{-3} and Almax=10Al_{max} = 10. The entropic correction is only activated in the specifically designed low-plasma-beta blast problem (see Sect. 8.2.4) and the field loop advection test case (See Sect. 8.2.6).

All the simulations performed in this section are using the stencil 1 solver and a MUSCL-Hancock scheme [29], with second order accuracy in space with states reconstructions at interfaces and second order accuracy in time with a predictor-corrector step at half time-step. We perform the extrapolation on the primitive variables (ρ,p,u,B)(\rho, p, \mathbf{u}, \mathbf{B}) and use the classical minmod limiter in order to ensure the admissibility of the Riemann states. The time-step is computed with Δt=CFL×Δx/(cmf+∣u∣)\Delta t = \mathrm{CFL} \times\Delta x/(c_{mf} + |\mathbf{u}|) with cmfc_{mf} the speed of the fast magneto-acoustic waves. With a standard MUSCL-Hancock scheme the CFL condition with CFL<0.5\mathrm{CFL} < 0.5 ensures a positive numerical scheme. In practice, this CFL condition is often observed to be too restrictive and we use in all simulations a fixed CFL number of 0.8. We also use an ideal gas equation of state. All numerical experiments were conducted using the one step 5+15 + 1 waves solver with cac_a and cbc_b given by Eq. (37) to avoid the loss of hyperbolicity of the relaxation whenever BxB_x or ByB_y and BzB_z vanish. We also use the 3+13 + 1 waves solver for the 2D rotated shock tube test to provide a comparison with the 5+15 + 1 waves solver.

1D tests cases

In this section, we reproduce several 1D Riemann problems that were used in [11]. The values of the left and right states, the final time, lenght of the domain and adiabatic indexes are given in Table 8.1. The simulations were all performed with Δx=10−2\Delta x = 10^{-2}. The reference solutions were all generated with the 5 + 1 waves solver using Δx=5×10−4\Delta x = 5 \times10^{-4}.

Test case name, (γ,tend,L)(\gamma,t_{end},L)ρ\rho(u,v,w)(u,v,w)p(Bx,By,Bz)(B_x,B_y,B_z)
Dai & Woodward, (53,0.2,1.1)(\frac{5}{3},0.2,1.1)
L state1.08(1.2, 0.01, 0.5)0.95(44π,3.64π,24π)(\frac{4}{\sqrt{4\pi}},\frac{3.6}{\sqrt{4\pi}},\frac{2}{\sqrt{4\pi}})
R state1.0(0.0, 0.0, 0.0)1.0(−44π,44π,24π)(-\frac{4}{\sqrt{4\pi}},\frac{4}{\sqrt{4\pi}},\frac{2}{\sqrt{4\pi}})
Brio & Wu I, (2.0,0.2,1.0)(2.0,0.2,1.0)
L state1.0(0.0, 0.0, 0.0)1.0(0.65, 1.0, 0.0)
R state0.125(0.0, 0.0, 0.0)0.1(0.65, −1.0-1.0, 0.0)
Brio & Wu II, (2.0,0.012,1.4)(2.0,0.012,1.4)
L state1.0(0.0, 0.0, 0.0)1000.0(0.0, 1.0, 0.0)
R state0.125(0.0, 0.0, 0.0)0.1(0.0, −1.0-1.0, 0.0)
Slow rarefaction, (53,0.2,1.0)(\frac{5}{3},0.2,1.0)
L state1.0(0.0, 0.0, 0.0)2.0(1.0, 0.0, 0.0)
R state0.2(1.186, 2.967, 0.0)0.1368(1.0, 1.6405, 0.0)
Expansion I, (53,0.15,1.4)(\frac{5}{3},0.15,1.4)
L state1.0(−3.1-3.1, 0.0, 0.0)0.45(0.0, 0.5, 0.0)
R state1.0(3.1, 0.0, 0.0)0.45(0.0, 0.5, 0.0)
Expansion II, (53,0.15,1.4)(\frac{5}{3},0.15,1.4)
L state1.0(−3.1-3.1, 0.0, 0.0)0.45(1.0, 0.5, 0.0)
R state1.0(−3.1-3.1, 0.0, 0.0)0.45(1.0, 0.5, 0.0)

Table 8.1.

Dai-Woodward shock tube

This shock tube configuration was introduced in [30]. During the computation, the solution displays the full eigen-structure of the MHD system as it generates shocks and discontinuities on all fields. We observe in Figure 1 that our method captures the density and transverse magnetic field robustly, without spurious oscillations. We observe the effect of numerical diffusion smoothing the various waves. A density undershoot is observed at x≃0.7x \simeq0.7 and is due to the choice of CFL number 0.8, higher than what the 0.5 allowed by the stability analysis of MUSCL methods. These results are very similar to what is obtained in [11].

Figure 1. ρ\rho and ByB_y for the Dai and Woodward shock tube at t=0.2t = 0.2, 5 + 1 waves solver against a reference solution.

Brio-Wu shock tube, configuration I

The Brio-Wu shock tube was first introduced in [31]. The solution of this shock tube is composed of shocks, rarefactions, contact discontinuities and a compound wave, in this case a discontinuity attached to a slow rarefaction. In Figure 2, we can see that our solver captures all features of the solution of this Riemann problem. The effect of diffusion is mainly observed on the x≃0.6x \simeq0.6 shock and the density peak around x≃0.45x \simeq0.45 as it is a very fine feature. At the same location, the low-resolution result does present a smoothed bump. These results are very similar to what is obtained in [11]. Note that as in [11], the slow shock position does not seem to be well captured at low resolution.

Figure 2. ρ\rho and ByB_y for the Brio and Wu -I- shock tube at t=0.2t = 0.2, 5 + 1 waves solver against a reference solution.

Brio-Wu shock tube, configuration II

The second Riemann problem from [31] also involves a complex wave structure but with a high magneto-acoustic Mach number. In figure 3, we observe that our solver captures all features of the shock tube, similarly to the results of [11]. The effect of diffusion is mainly observed at x≃1.05x \simeq1.05 where a discontinuity and an undershoot are observed on the high resolution plot. This corresponds to the smoothed dip observed in the low-resolution solution.

Figure 3. ρ\rho and ByB_y for the Brio and Wu -II- shock tube at t=0.012t = 0.012, 5 + 1 waves solver against a reference solution.

Slow rarefaction tube

This test has been first proposed in [32]. It involves a sonic point, where the slow magneto-acoustic speed equals the fluid velocity. This feature is problematic for linearized method like the Roe solver, but our scheme is stable as we can see in Figure 4, just like the resolution shown in [11]. The x≃0.75x \simeq0.75 dip and x≃0.85x \simeq0.85 bump present on the high-resolution line are smoothed but still present on the low-resolution solution.

Figure 4. ρ\rho and ByB_y for the slow rarefaction tube at t=0.2t = 0.2, 5 + 1 waves solver against a reference solution.

Expansion problem, configuration I

This test is taken from [33]. It consists of two out-going rarefaction separating a low density region that is difficult to tackle in a stable manner. Our solver is able to simulate this region as we can see in Figure 5. The effect of numerical diffusion on the sharpness of the x=0.5x = 0.5 density and magnetic field dip is visually enhanced by the use of the log scale. Similar results are found in [11].

Figure 5. ρ\rho and ByB_y for the expansion -I- tube at t=0.15t = 0.15, 5 + 1 waves solver against a reference solution. logscale on the yy-axis.

Expansion problem, configuration II

This test is a modification of 8.1.5 suggested by [11] where we simply set Bx=1.0B_x = 1.0 instead of 0. Taking BxB_x nonzero causes the thermal pressure to be low in the central region which can be hard to tackle robustly. Nevertheless, we can see in Figure 6 that our method is stable and provides results that are very similar to the ones presented in [11].

Figure 6. ρ\rho and ByB_y for the expansion -II- tube at t=0.15t = 0.15, 5 + 1 waves solver against a reference solution. logscale on the yy-axis.

2D tests cases

All 2D test cases are using Δx=Δy=1256\Delta x = \Delta y = \frac{1}{256}. We also have tested all the resolutions between 64 and 2048 without any issue to report. In all 2D setups, the quantity rr always refers to the distance from the center of the domain.

Orszag-Tang vortex

The Orszag-Tang vortex test case was first introduced by [34] and has become a standard multi-dimensional benchmark case for ideal MHD. The dynamic of this vortex involves the formation of shocks as well as interactions between them which are challenging to simulate robustly. For instance, 1D solvers like HLLD straightforwardly extended to 2D fail at this task. We recall that this problem takes place in the [0:1]2[0 : 1]^2 periodic domain with initial data:

ρ(x,y)=2536π,\rho(x,y) = \frac{25}{36\pi},
p(x,y)=512π,p(x,y) = \frac{5}{12\pi},
u(x,y)=(−sin⁡2πysin⁡2πx),\mathbf{u}(x,y) = \begin{pmatrix} -\sin2\pi y \\ \sin2\pi x \end{pmatrix},
B(x,y)=14π(−sin⁡2πysin⁡4πx),\mathbf{B}(x,y) = \frac{1}{\sqrt{4\pi}} \begin{pmatrix} -\sin2\pi y \\ \sin4\pi x \end{pmatrix},
γ=53.\gamma= \frac{5}{3}.

We show the density map at t=0.5t = 0.5 in Figure 7. We observe that the shocks and discontinuities are well captured without spurious numerical artifacts. We also notice the usual ”eye-shape” high frequency feature at the center of the domain, demonstrating the accuracy of our solver. Note that this test does not show any low β\beta zone. Thus, the solver is fully conservative with respect to B\mathbf{B} as the entropic correction is never activated.

Figure 7. Density map of the Orszag-Tang vortex at t=0.5st = 0.5\mathrm{s}

Rotated shock tube

The rotated shock tube problem has been proposed in [7]. It consists of a 1D shock tube rotated by an angle θ\theta in order to obtain a 2D shock propagation that is not aligned with the grid. The test takes place in the [0:1]2[0:1]^2 square with Neumann boundary conditions. The setup is given by:

θ=arctan⁡(−2),R(θ)=(sin⁡θcos⁡θcos⁡θ−sin⁡θ),u0=(010),\begin{aligned} \theta&= \arctan(-2),\\ \mathbf{R}(\theta) &= \begin{pmatrix} \sin\theta& \cos\theta\\ \cos\theta& -\sin\theta\end{pmatrix},\\ \mathbf{u}_0 &= \begin{pmatrix} 0 \\ 10 \end{pmatrix}, \end{aligned}
B0=54π(11),(xθ,yθ)=(tan⁡θ(x−0.5),y−0.5),ρ(x,y)=1,B(x,y)=R(θ)B0,u(x,y)={R(θ)u0for xθ<yθ,−R(θ)u0elsewhere.p(x,y)={20for xθ<yθ,1elsewhere.\mathbf{B}_0 = \frac{5}{\sqrt{4\pi}}\begin{pmatrix}1\\1\end{pmatrix}, \\ (x_\theta,y_\theta) = (\tan\theta(x-0.5),y-0.5), \\ \rho(x,y) = 1, \\ \mathbf{B}(x,y) = \mathbf{R}(\theta)\mathbf{B}_0, \\ \mathbf{u}(x,y) = \begin{cases} \mathbf{R}(\theta)\mathbf{u}_0 & \text{for } x_\theta<y_\theta,\\ -\mathbf{R}(\theta)\mathbf{u}_0 & \text{elsewhere.} \end{cases} \\ p(x,y) = \begin{cases} 20 & \text{for } x_\theta<y_\theta,\\ 1 & \text{elsewhere.} \end{cases}

Note that the magnetic field is initialized as a constant on the whole domain, hence the condition ∇⋅B=0\nabla\cdot\mathbf{B}=0 is verified at the beginning of the computation.

Our solver is able to robustly and accurately simulate this rotated shock propagation. A quantity of interest in this problem is the component of the magnetic field that is parallel to the shock propagation. Without discretization error, this quantity should remain constant similarly to BxB_x in a purely 1D setup. In Figure 8, we show the component of the magnetic field that is parallel to the shock propagation, with both 3+13+1 and 5+15+1 solvers. Both schemes produces discretization errors at the location of discontinuities, the errors with the 5+15+1 waves solver are larger than the errors with the 3+13+1 waves solver. These errors can be compared with [7] for constrained transport schemes and we point out that the 3+13+1 and 5+15+1 waves solvers produce less oscillations around the discontinuities.

Figure 8. Parallel component of the magnetic field along the rotated shock propagation at t=0.03t=0.03.

MHD Blast - standard configuration

The Blast test case was introduced in [35]. The setup takes place in the periodic [0:1]2[0:1]^2 square. A circular region of radius rc=0.1r_c = 0.1 is initialized with a greater pression than the rest of the domain. As the computation starts, the blast expands outwards in an elliptical shape due to the presence of a magnetic field. We recall the exact setup:

p(x,y)={10for r<rc,0.1for r≥rc,p(x,y) = \begin{cases} 10 & \text{for } r < r_c,\\ 0.1 & \text{for } r \ge r_c, \end{cases}
B(x,y)=(2π2π),\mathbf{B}(x,y) = \begin{pmatrix} \sqrt{2\pi}\\ \sqrt{2\pi} \end{pmatrix},
γ=5/3,\gamma= 5/3,
ρ(x,y)=1,\rho(x,y) = 1,
u(x,y)=0.\mathbf{u}(x,y) = 0.

Our numerical method is able to simulate the expansion of this blast wave accurately and is stable as demonstrated in figure 9 where we show the density map at t=0.2t = 0.2. We can see that the expanding wave is well captured. Note that this test does not show any low β\beta zone. Thus, the solver is fully conservative with respect to B\mathbf{B}.

Figure 9. Density map of the MHD Blast at t=0.2t = 0.2s

MHD blast - Low β\beta configuration

This test case is inspired from [36]. It consists of the same setup as section 8.2.3 with a lower β≃10−6\beta\simeq10^{-6}:

p(x,y)={1000for r<rc,0.1for r≥rc,B(x,y)=(250/2250/2),γ=1.4,ρ(x,y)=1,\begin{aligned} p(x,y) &= \begin{cases} 1000 & \text{for } r < r_c, \\ 0.1 & \text{for } r \ge r_c, \end{cases} \\ \mathbf{B}(x,y) &= \begin{pmatrix} 250/\sqrt{2} \\ 250/\sqrt{2} \end{pmatrix}, \\ \gamma&= 1.4, \\ \rho(x,y) &= 1, \end{aligned}
u(x,y)=0.\mathbf{u}(x,y) = 0.

The dynamic of the low β\beta blast wave is the same as in 8.2.3 but is harder to tackle as the simulation reaches the limit of the admissibility domain (e≃0e \simeq0) and develops strong B\mathbf{B} gradients. Note that the 5+1 wave solver and the constrained transport method [37] fail to produce an admissible result as the computation presents negative internal energies (directly after few iterations). We point out that the 5+1 solver seems, however, more robust than the constrained transport method on such problems: for lower values of the magnetic field 25/225/\sqrt{2}, the relaxation solver is stable while the constrained transport method fails after few iterations. It is possible to still get an admissible result by artificially forcing the internal energy to stay above a small threshold (hence loosing energy conservation), a solution used here with the constrained transport method, or by using an entropic correction on the induction equation (hence loosing the magnetic field conservation), a solution used here with the 5+1 waves relaxation solver. In Figure 10, we show the density map of this test case at t=0.02t = 0.02 with our method and the energy-fixed constrained transport solver from the Heracles code [38]. Both methods are able to capture the low β\beta Blast propagation, however, we point out that the 5 + 1 waves solver is less diffusing as it reaches higher values for the magnetic field up (+18%).

Figure 10. Density map of the low β\beta MHD blast at t=0.2t = 0.2s with our solver and the Heracles code’s constrained transport method [38], [37].

MHD Rotor

The MHD Rotor test case was first introduced in [39]. The setup consists of launching a rapidly spinning cylinder in a light ambient fluid. This rotation sends strong torsional Alfvén waves in the surrounding fluid. We initialize the solution in the [0:1]2[0:1]^2 periodic square as following:

p(x,y)=1.0,ρ(x,y)={10for r<r0,1+9ffor r≥r1 & r≤r0,1elsewhereu(x,y)={u0r0(0.5−y,x−0.5)for r<r0,fu0r0(0.5−y,x−0.5)for r≥r1 & r≤r0,(0,0)elsewhereB(x,y)=(5/4π0),γ=1.4,(r0,r1)=(0.1,0.115),f=(r1−r)/(r1−r0),u0=2.\begin{aligned} p(x,y) &= 1.0,\\ \rho(x,y) &= \begin{cases} 10 & \text{for } r<r_0,\\ 1+9f & \text{for } r\geq r_1\ \&\ r\leq r_0,\\ 1 & \text{elsewhere} \end{cases}\\ \mathbf{u}(x,y) &= \begin{cases} \dfrac{u_0}{r_0}(0.5-y,x-0.5) & \text{for } r<r_0,\\ \dfrac{f u_0}{r_0}(0.5-y,x-0.5) & \text{for } r\geq r_1\ \&\ r\leq r_0,\\ (0,0) & \text{elsewhere} \end{cases}\\ \mathbf{B}(x,y) &= \begin{pmatrix} 5/\sqrt{4\pi}\\ 0 \end{pmatrix},\\ \gamma&= 1.4,\\ (r_0,r_1) &= (0.1,0.115),\\ f &= (r_1-r)/(r_1-r_0),\\ u_0 &= 2. \end{aligned}

We show the result of our simulation in Figure 11. We observe that the central shear ring as well as the torsional waves are well captured by our solver. Note that this simulation does not require the use of entropic correction. Thus, the solver is fully conservative with respect to B\mathbf{B}.

Density map of the MHD Rotor at $t = 0.15\mathrm{s}$

Figure 11. Density map of the MHD Rotor at t=0.15st = 0.15\mathrm{s}

Field loop advection

This test was introduced in [40] and involves advecting a field loop (a cylindrical current distribution) diagonally across the grid. One can choose any arbitrary angle. For the 2D results presented here, the problem domain is defined as −1<x<1-1 < x < 1 and −0.5<y<0.5-0.5 < y < 0.5. The flow has an inclination with Vx=2V_x = 2 and Vy=1V_y = 1. Both the density and pressure are set to 1.0, with the gas constant given by γ=5/3\gamma= 5/3. Periodic boundary conditions are applied across the domain. The magnetic field is initialized using an arbitrary vector potential. We set Az=max⁡([A0(r0−r)],0)A_z = \max([A_0(r_0-r)], 0). This results in (Bx,By)(r)=A0r(−x,y)(B_x, B_y)(r) = \frac{A_0}{r}(-x,y) if r<r0r < r_0, and (0,0)(0,0) otherwise. We chose A0=0.001A_0 = 0.001 and set the radius for the loop as r0=0.3r_0 = 0.3. After a duration of t=2.0st = 2.0\mathrm{s}, the field loop is expected to have been advected and returned to its initial state. The quality of the solution can be assessed by comparing it to the initial solution shown in Figure 12. The magnetic intensity, defined as I=Bx2+By2I = \sqrt{B_x^2 + B_y^2}, obtained with our 5 + 1 waves solver, is illustrated in figure 13. One can observe that the entropic correction helps with preserving the shape of the cylinder and suppresses the spurious patterns observed with the conservative method. The source terms are activated here as the Alfvén number is above Almax⁡=10Al_{\max} = 10 in this test.

Figure 12. Magnetic intensity of the field loop advection at time t=0t = 0.

Figure 13. Magnetic intensity of the field loop advection at time t=2.0t = 2.0. Top: With the entropic correction. Bottom: Without the entropic correction.

Conclusion and discussion

In this paper, we have developed a new multi-dimensional, robust, and cell-centered finite-volume solver for ideal MHD. The solver is based on splitting and relaxation techniques, and can easily be extended to higher orders because of its reduced stencil. A symmetric version of the solver has been developed by introducing an entropic correction on the induction equation, in order to obtain an entropy-satisfying (but non-conservative for the magnetic field) scheme robust in low plasma beta regions and accurate in high Alfvén number regions. An other solution could be to use a floor value for the internal energy as classically done with constrained transport or divergence cleaning schemes that are not entropy satisfying. We, however, point out that the fully conservative relaxation solver is observed to be more robust than constrained transport schemes on low plasma beta test cases.

This cell-centered scheme could be coupled to a divergence cleaning or constrained transport method. We, however, highlight that all the tests we have performed do not seem to require a specific treatment of the divergence of the magnetic field, and a divergence consistent with zero with errors proportional to Δx\Delta x and Δt\Delta t at the power of the order of the spatial and temporal reconstructions seem sufficient. It is a common belief that the stability of MHD numerical schemes is closely tied to errors in magnetic field divergence. However, our research, as presented in this paper, suggests that this may not always be the case. To illustrate, we have successfully designed an entropy-satisfying MHD solver using the symmetric form of MHD equations without specifically addressing divergence issues. Furthermore, we have found that constrained transport schemes, while maintaining zero divergence at machine precision, do not necessarily satisfy entropy conditions and can fail to maintain positive internal energy in areas of low plasma beta.

Additionally, there is a prevalent view that errors in magnetic divergence significantly impact the physical accuracy of simulations, potentially leading to artificial magnetic monopoles. We offer several arguments to challenge this perspective. Even in constrained transport schemes, certain terms involving divergence in the conservative forms of the Lorentz force and the energy evolution equation do not achieve zero at machine precision, despite a zero divergence. These residual terms in the entropy evolution equation are indeed the reason why constrained transport schemes are not entropy satisfying. Moreover, it can be demonstrated that constrained transport schemes are not immune to divergence errors. For example, the rotated shock tube case detailed in [7] shows that at the continuous level, a zero divergence equates to a constant magnetic field parallel to the shock tube. However, constrained transport schemes do not maintain this constant magnetic field at machine precision, thus resulting in “divergence errors” that are significant for the physics at play.

In conclusion, while ensuring zero magnetic divergence at machine precision in simulations is physically relevant, this is only feasible when aligning the grid to a specific magnetic field configuration. This issue is akin to preserving angular momentum in a rotating structure, achievable at machine precision only in a polar grid. Consequently, for simulations with highly dynamic magnetic fields, maintaining zero divergence at machine precision on a Cartesian grid may not be as critical with a solver that is entropy-satisfying.

The MHD relaxation solver presented in this paper is a direct extension of 1D relaxation solvers already used for the Euler equations and can be implemented in a one-step flux-update algorithm, that can easily be extended to higher orders and to non-ideal MHD. Because of its simplicity, this solver should also have improved performances compared to other multi-dimensional MHD solvers (constrained transport and divergence cleaning) and offers interesting possibilities for large-scale physical applications on the next generation of exascale supercomputers.

Deriving the conservative MHD equations

Useful vector identities

Lorentz's force in conservative form

The first identity we derive is

j×B=−(∇⋅B)B−∇⋅(B22I−B⊗B).(54)\mathbf{j} \times\mathbf{B} = -(\nabla\cdot\mathbf{B})\mathbf{B} - \nabla\cdot\left(\frac{\mathbf{B}^{2}}{2}\mathbf{I} - \mathbf{B} \otimes\mathbf{B}\right). \tag*{(54)}

We only verify this equality for the xx component as the relationship for the two other components are checked by rotational invariance. We have j×B=(∇×B)×B\mathbf{j} \times\mathbf{B} = (\nabla\times\mathbf{B}) \times\mathbf{B}. Expanding the first component, we get [(∇×B)×B]x=Bz(∂zBx−∂xBz)−By(∂xBy−∂yBx)[(\nabla\times\mathbf{B}) \times\mathbf{B}]_{x} = B_{z}(\partial_{z}B_{x} - \partial_{x}B_{z}) - B_{y}(\partial_{x}B_{y} - \partial_{y}B_{x}). Moreover, [∇⋅(B22I)]x=Bx∂xBx+By∂xBy+Bz∂xBz\left[\nabla\cdot\left(\frac{\mathbf{B}^{2}}{2}\mathbf{I}\right)\right]_{x} = B_{x}\partial_{x}B_{x} + B_{y}\partial_{x}B_{y} + B_{z}\partial_{x}B_{z}. Lastly, [∇⋅(B⊗B)]x=(∇⋅B)Bx+Bx∂xBx+By∂yBx+Bz∂zBx[\nabla\cdot(\mathbf{B} \otimes\mathbf{B})]_{x} = (\nabla\cdot\mathbf{B})B_{x} + B_{x}\partial_{x}B_{x} + B_{y}\partial_{y}B_{x} + B_{z}\partial_{z}B_{x}. Collecting the right hand side terms, we get −(∇⋅B)Bx−Bx∂xBx−By∂xBy−Bz∂xBz+(∇⋅B)Bx+Bx∂xBx+By∂yBx+Bz∂zBx-(\nabla\cdot\mathbf{B})B_{x} - B_{x}\partial_{x}B_{x} - B_{y}\partial_{x}B_{y} - B_{z}\partial_{x}B_{z} + (\nabla\cdot\mathbf{B})B_{x} + B_{x}\partial_{x}B_{x} + B_{y}\partial_{y}B_{x} + B_{z}\partial_{z}B_{x} where both the terms proportional to the divergence of B\mathbf{B} and Bx∂xBxB_{x}\partial_{x}B_{x} cancel out and provide the desired result.

Fully developed Lorentz force

Using ∇⋅(B⊗B)=B(∇⋅B)+(B⋅∇)B\nabla\cdot(\mathbf{B} \otimes\mathbf{B}) = \mathbf{B}(\nabla\cdot\mathbf{B}) + (\mathbf{B} \cdot\nabla)\mathbf{B}, we get:

j×B=(B⋅∇)B−∇(B22)(55)\mathbf{j} \times\mathbf{B} = (\mathbf{B} \cdot\nabla)\mathbf{B} - \nabla\left(\frac{\mathbf{B}^{2}}{2}\right) \tag*{(55)}

Curl of a cross product

∇×(u×B)=∇⋅(B⊗u−u⊗B).(56)\nabla\times(\mathbf{u} \times\mathbf{B}) = \nabla\cdot(\mathbf{B} \otimes\mathbf{u} - \mathbf{u} \otimes\mathbf{B}). \tag*{(56)}
∇×(u×B)=u(∇⋅B)−B(∇⋅u)+(B⋅∇)u−(u⋅∇)B(57)\nabla\times(\mathbf{u} \times\mathbf{B}) = \mathbf{u}(\nabla\cdot\mathbf{B}) - \mathbf{B}(\nabla\cdot\mathbf{u}) + (\mathbf{B} \cdot\nabla)\mathbf{u} - (\mathbf{u} \cdot\nabla)\mathbf{B} \tag*{(57)}

Transport of a squared quantity

((u⋅∇)A)⋅A=(u⋅∇)A22=∇(A22)⋅u(58)((\mathbf{u} \cdot\nabla)\mathbf{A}) \cdot\mathbf{A} = (\mathbf{u} \cdot\nabla)\frac{\mathbf{A}^{2}}{2} = \nabla\left(\frac{\mathbf{A}^{2}}{2}\right) \cdot\mathbf{u} \tag*{(58)}

Full system

Our goal is now to go from the non conservative MHD system:

∂tρ+∇⋅(ρu)=0,∂t(ρu)+∇⋅(ρu⊗u)=−∇p+j×B,∂t(ρe)+∇⋅(ρeu)=−p∇⋅u,∂tB−∇×(u×B)=0.(59)\begin{aligned} \partial_t \rho+ \nabla\cdot(\rho\mathbf{u}) &= 0,\\ \partial_t(\rho\mathbf{u}) + \nabla\cdot(\rho\mathbf{u} \otimes\mathbf{u}) &= -\nabla p + \mathbf{j} \times\mathbf{B},\\ \partial_t(\rho e) + \nabla\cdot(\rho e \mathbf{u}) &= -p \nabla\cdot\mathbf{u},\\ \partial_t \mathbf{B} - \nabla\times(\mathbf{u} \times\mathbf{B}) &= 0. \tag*{(59)} \end{aligned}

to the conservative MHD system.

∂tρ+∇⋅(ρu)=0,∂t(ρu)+∇⋅(ρu⊗u+σ−B⊗B)=0,∂t(ρE)+∇⋅(ρEu+σu−(B⋅u)B)=0,∂tB+∇⋅(u⊗B−B⊗u)=0.(60)\begin{aligned} \partial_t \rho+ \nabla\cdot(\rho\mathbf{u}) &= 0,\\ \partial_t(\rho\mathbf{u}) + \nabla\cdot(\rho\mathbf{u} \otimes\mathbf{u} + \boldsymbol{\sigma} - \mathbf{B} \otimes\mathbf{B}) &= 0,\\ \partial_t(\rho E) + \nabla\cdot(\rho E \mathbf{u} + \boldsymbol{\sigma}\mathbf{u} - (\mathbf{B} \cdot\mathbf{u})\mathbf{B}) &= 0,\\ \partial_t \mathbf{B} + \nabla\cdot(\mathbf{u} \otimes\mathbf{B} - \mathbf{B} \otimes\mathbf{u}) &= 0. \tag*{(60)} \end{aligned}

Where emag=B22ρe_{mag} = \frac{B^2}{2\rho} and σ=p+B22\boldsymbol{\sigma} = p + \frac{B^2}{2} Obtaining the conservative momentum equation is straightforward using (A.1), substituting for j×B\mathbf{j} \times\mathbf{B} and assuming ∇⋅B=0\nabla\cdot\mathbf{B} = 0. Obtaining the conservative induction equation is also straightforward using (A.3) (note that using the ∇⋅B=0\nabla\cdot\mathbf{B} = 0 hypothesis is not necessary to obtain the induction equation). This leaves us with deriving the total energy equation.

Kinetic energy evolution equation

From the non conservative momentum equation, we can deduce the evolution equation of the velocity ∂tu+(u⋅∇)u+∇p/ρ=j×B/ρ\partial_t \mathbf{u} + (\mathbf{u} \cdot\nabla)\mathbf{u} + \nabla p/\rho= \mathbf{j} \times\mathbf{B}/\rho. Dotting this equation against u\mathbf{u}, we get ∂t(u22)+((u⋅∇)u)⋅u+∇p⋅u/ρ=(j×B)⋅u/ρ\partial_t \left(\frac{u^2}{2}\right) + ((\mathbf{u} \cdot\nabla)\mathbf{u}) \cdot\mathbf{u} + \nabla p \cdot\mathbf{u}/\rho= (\mathbf{j} \times\mathbf{B}) \cdot\mathbf{u}/\rho. Using (A.5), we have that ((u⋅∇)u)⋅u=(u⋅∇)(u22)((\mathbf{u} \cdot\nabla)\mathbf{u}) \cdot\mathbf{u} = (\mathbf{u} \cdot\nabla)\left(\frac{u^2}{2}\right). Substituting this transport term and multiplying by ρ\rho, we get ρ∂t(u22)+ρ(u⋅∇)(u22)+∇p⋅u=(j×B)⋅u\rho\partial_t \left(\frac{u^2}{2}\right) + \rho(\mathbf{u} \cdot\nabla)\left(\frac{u^2}{2}\right) + \nabla p \cdot\mathbf{u} = (\mathbf{j} \times\mathbf{B}) \cdot\mathbf{u}. Adding u22(∂tρ+∇⋅(ρu))=0\frac{u^2}{2}\left(\partial_t \rho+ \nabla\cdot(\rho\mathbf{u})\right) = 0, we get: ∂t(ρu22)+ρ(u⋅∇)(u22)+u22∇⋅(ρu)+∇p⋅u=(j×B)⋅u\partial_t\left(\rho\frac{u^2}{2}\right) + \rho(\mathbf{u} \cdot\nabla)\left(\frac{u^2}{2}\right) + \frac{u^2}{2}\nabla\cdot(\rho\mathbf{u}) + \nabla p \cdot\mathbf{u} = (\mathbf{j} \times\mathbf{B}) \cdot\mathbf{u}. Since ρ(u⋅∇)(u22)+u22∇⋅(ρu)=∇⋅(ρu2u2)\rho(\mathbf{u} \cdot\nabla)\left(\frac{u^2}{2}\right) + \frac{u^2}{2}\nabla\cdot(\rho\mathbf{u}) = \nabla\cdot\left(\frac{\rho u^2 \mathbf{u}}{2}\right), noting ekin=u22e_{kin} = \frac{u^2}{2}, we get:

∂t(ρekin)+∇⋅(ρekinu)+∇p⋅u=(j×B)⋅u.(61)\partial_t(\rho e_{kin}) + \nabla\cdot(\rho e_{kin} \mathbf{u}) + \nabla p \cdot\mathbf{u} = (\mathbf{j} \times\mathbf{B}) \cdot\mathbf{u}. \tag*{(61)}

Summing this with the internal energy evolution equation, we get: ∂t(ρ(e+ekin))+∇⋅(ρ(e+ekin)u+pu)=(j×B)⋅u\partial_t(\rho(e+e_{kin}))+\nabla\cdot(\rho(e+e_{kin})\boldsymbol{u}+p\boldsymbol{u})=(\boldsymbol{j}\times\boldsymbol{B})\cdot\boldsymbol{u}. Replacing the right hand side using (A.2), we get:

∂t(ρ(e+ekin))+∇⋅(ρ(e+ekin)u+pu)=((B⋅∇)B)⋅u−∇(B22)⋅u.(62)\partial_t(\rho(e+e_{kin}))+\nabla\cdot(\rho(e+e_{kin})\boldsymbol{u}+p\boldsymbol{u})=((\boldsymbol{B}\cdot\nabla)\boldsymbol{B})\cdot\boldsymbol{u}-\nabla\left(\frac{B^2}{2}\right)\cdot\boldsymbol{u}. \tag*{(62)}

Magnetic energy evolution equation

Using the identity A.4, we get ∂tB−u(∇⋅B)+B(∇⋅u)−(B⋅∇)u+(u⋅∇)B=0\partial_t\boldsymbol{B}-\boldsymbol{u}(\nabla\cdot\boldsymbol{B})+\boldsymbol{B}(\nabla\cdot\boldsymbol{u})-(\boldsymbol{B}\cdot\nabla)\boldsymbol{u}+(\boldsymbol{u}\cdot\nabla)\boldsymbol{B}=0. Dotting against B\boldsymbol{B}, we get

∂t(ρemag)−(∇⋅B)(u⋅B)+(∇⋅u)B2−((B⋅∇)u)⋅B+((u⋅∇)B)⋅B=0.(63)\partial_t(\rho e_{mag})-(\nabla\cdot\boldsymbol{B})(\boldsymbol{u}\cdot\boldsymbol{B})+(\nabla\cdot\boldsymbol{u})B^2-((\boldsymbol{B}\cdot\nabla)\boldsymbol{u})\cdot\boldsymbol{B}+((\boldsymbol{u}\cdot\nabla)\boldsymbol{B})\cdot\boldsymbol{B}=0. \tag*{(63)}

Total energy evolution equation

Summing (A.9) and (A.10), we get ∂t(ρE)+∇⋅(ρ(e+ekin)u+pu)=((B⋅∇)B)⋅u−∇(B22)⋅u+(∇⋅B)(u⋅B)−(∇⋅u)B2+((B⋅∇)u)⋅B−((u⋅∇)B)⋅B\partial_t(\rho E)+\nabla\cdot(\rho(e+e_{kin})\boldsymbol{u}+p\boldsymbol{u})=((\boldsymbol{B}\cdot\nabla)\boldsymbol{B})\cdot\boldsymbol{u}-\nabla\left(\frac{B^2}{2}\right)\cdot\boldsymbol{u}+(\nabla\cdot\boldsymbol{B})(\boldsymbol{u}\cdot\boldsymbol{B})-(\nabla\cdot\boldsymbol{u})B^2+((\boldsymbol{B}\cdot\nabla)\boldsymbol{u})\cdot\boldsymbol{B}-((\boldsymbol{u}\cdot\nabla)\boldsymbol{B})\cdot\boldsymbol{B}. Using (A.5), we have −((u⋅∇)B)⋅B−∇(B22)⋅u=∇(B2)⋅u-((\boldsymbol{u}\cdot\nabla)\boldsymbol{B})\cdot\boldsymbol{B}-\nabla\left(\frac{B^2}{2}\right)\cdot\boldsymbol{u}=\nabla(B^2)\cdot\boldsymbol{u}. Moreover, Since ∇(B2)⋅u+(∇⋅u)B2=∇⋅(B2u)=∇⋅(ρemagu+B2/2u)\nabla(B^2)\cdot\boldsymbol{u}+(\nabla\cdot\boldsymbol{u})B^2=\nabla\cdot(B^2\boldsymbol{u})=\nabla\cdot(\rho e_{mag}\boldsymbol{u}+B^2/2\boldsymbol{u}), we can show that:

∂t(ρE)+∇⋅(ρEu+σu)=((B⋅∇)B)⋅u+(∇⋅B)(u⋅B)+((B⋅∇)u)⋅B.(64)\partial_t(\rho E)+\nabla\cdot(\rho E\boldsymbol{u}+\boldsymbol{\sigma}\boldsymbol{u})=((\boldsymbol{B}\cdot\nabla)\boldsymbol{B})\cdot\boldsymbol{u}+(\nabla\cdot\boldsymbol{B})(\boldsymbol{u}\cdot\boldsymbol{B})+((\boldsymbol{B}\cdot\nabla)\boldsymbol{u})\cdot\boldsymbol{B}. \tag*{(64)}

As ((B⋅∇)B)⋅u+((B⋅∇)u)⋅B=(B⋅∇)(u⋅B)=∇(B⋅u)⋅B((\boldsymbol{B}\cdot\nabla)\boldsymbol{B})\cdot\boldsymbol{u}+((\boldsymbol{B}\cdot\nabla)\boldsymbol{u})\cdot\boldsymbol{B}=(\boldsymbol{B}\cdot\nabla)(\boldsymbol{u}\cdot\boldsymbol{B})=\nabla(\boldsymbol{B}\cdot\boldsymbol{u})\cdot\boldsymbol{B} and ∇(B⋅u)⋅B+(∇⋅B)(u⋅B)=∇⋅((∇⋅B)⋅B)\nabla(\boldsymbol{B}\cdot\boldsymbol{u})\cdot\boldsymbol{B}+(\nabla\cdot\boldsymbol{B})(\boldsymbol{u}\cdot\boldsymbol{B})=\nabla\cdot((\nabla\cdot\boldsymbol{B})\cdot\boldsymbol{B}), we get the desired result. Note that it is not required to assume ∇⋅B=0\nabla\cdot\boldsymbol{B}=0 to obtain the conservative total energy equation.

Entropy inequality

Entropy inequality of the non conservative MHD system

We start with the classical result of the entropy inequality of the MHD system (A.6), starting from the evolution equation of the internal energy. We note Dt=∂t+u∇D_t=\partial_t+\boldsymbol{u}\nabla. We have Dte=−p(∇⋅u)τD_te=-p(\nabla\cdot\boldsymbol{u})\tau where τ=1/ρ\tau=1/\rho. From the density evolution equation, we have that Dtτ=τ(∇⋅u)D_t\tau=\tau(\nabla\cdot\mathbf{u}). Therefore, Dte+pDtτ=0D_te+pD_t\tau=0. Using the first principle of thermodynamics de+pdτ=Tds\mathrm{d}e+p\mathrm{d}\tau=T\mathrm{d}s, we get

Dts=0.(65)D_ts=0. \tag*{(65)}

Entropy inequality of the conservative MHD system

To go from the non conservative system to the conservative system, we only had to cancel one term in the momentum equation, using the ∇⋅B=0\nabla\cdot\mathbf{B}=0 hypothesis. This means that if we are discretizing the conservative momentum equation and that the numerical value of the divergence is not zero, were are in fact discretizing ∂t(ρu)+∇⋅(ρu⊗u)=−∇p+j×B+(∇⋅B)B\partial_t(\rho\mathbf{u})+\nabla\cdot(\rho\mathbf{u}\otimes\mathbf{u})=-\nabla p+\mathbf{j}\times\mathbf{B}+(\nabla\cdot\mathbf{B})\mathbf{B}. We want to derive the corresponding internal energy equation. We dot the momentum equation against u\mathbf{u} and subtract it to the conservative total energy equation. Doing this, we get ∂t(ρe)+∇⋅(ρeu)=−p∇⋅u−(∇⋅B)(B⋅u)\partial_t(\rho e)+\nabla\cdot(\rho e\mathbf{u})=-p\nabla\cdot\mathbf{u}-(\nabla\cdot\mathbf{B})(\mathbf{B}\cdot\mathbf{u}). Performing the same steps as above, we get Dte+pDtτ=−τ(∇⋅B)(B⋅u)D_te+pD_t\tau=-\tau(\nabla\cdot\mathbf{B})(\mathbf{B}\cdot\mathbf{u}) thus:

Dts=−τT(∇⋅B)(B⋅u)(66)D_ts=-\frac{\tau}{T}(\nabla\cdot\mathbf{B})(\mathbf{B}\cdot\mathbf{u}) \tag*{(66)}

Acknowledgements

P. Tremblin and S. Bulteau would like to acknowledge and thank the ERC for funding this work under the Horizon 2020 program project ATMO (ID: 757858).

References

  1. [1]J. U. Brackbill, D. C. Barnes, The Effect of Nonzero ∇ · B on the numerical solution of the magnetohydrodynamic equations, Journal of Computational Physics 35 (3) (1980) 426–430. doi:10.1016/0021–9991(80)90079–0.DOI
  2. [2]D. Ryu, F. Miniati, T. W. Jones, A. Frank, A Divergence-free Upwind Code for Multidimensional Magnetohydrodynamic Flows, ApJ 509 (1) (1998) 244–255. arXiv:astro-ph/9807228, doi:10.1086/306481.DOI
  3. [3]W. Dai, P. R. Woodward, On the Divergence-free Condition and Conservation Laws in Numerical Simulations for Supersonic Magnetohydrodynamical Flows, ApJ 494 (1) (1998) 317–335. doi:10.1086/305176.DOI
  4. [4]A. Dedner, F. Kemm, D. Kröner, C. Munz, T. Schnitzer, M. Wessenberg, Hyperbolic Divergence Cleaning for the MHD Equations, Journal of Computational Physics 175 (2002) 645–673.DOI
  5. [5]C. R. Evans, J. F. Hawley, Simulation of Magnetohydrodynamic Flows: A Constrained Transport Model, ApJ 332 (1988) 659. doi:10.1086/166684.DOI
  6. [6]D. S. Balsara, D. S. Spicer, A Staggered Mesh Algorithm Using High Order Godunov Fluxes to Ensure Solenoidal Magnetic Fields in Magnetohydrodynamic Simulations, Journal of Computational Physics 149 (2) (1999) 270–292. doi:10.1006/jcph.1998.6153.DOI
  7. [7]G. Tóth, The ∇ · b = 0 constraint in shock-capturing magnetohydrodynamics codes, Journal of Computational Physics 161 (2) (2000) 605–652. doi:https://doi.org/10.1006/jcph.2000.6519. URL https://www.sciencedirect.com/science/article/pii/S0021999100965197
  8. [8]S. Fromang, P. Hennebelle, R. Teyssier, A high order Godunov scheme with constrained transport and adaptive mesh refinement for astrophysical magnetohydrodynamics, A&A 457 (2) (2006) 371–384. arXiv:astro-ph/0607230, doi:10.1051/0004-6361:20065371.DOI
  9. [9]G. Gallice, Positive and Entropy Stable Godunov-Type Schemes for Gas Dynamics and MHD Equations in Lagrangian or Eulerian Coordinates, Numer. Math. 94 (4) (2003) 673–713.DOI
  10. [10]F. Bouchut, C. Klingenberg, K. Waagan, A multiwave approximate riemann solver for ideal MHD based on relaxation. i: theoretical framework, Numerische Mathematik 108 (1) (2007) 7–42.DOI
  11. [11]F. Bouchut, C. Klingenberg, K. Waagan, A multiwave approximate riemann solver for ideal MHD based on relaxation II: numerical implementation with 3 and 5 waves, Numerische Mathematik 115 (4) (2010) 647–679.DOI
  12. [12]S. Godunov, Symmetric form of the magnetohydrodynamic equation, Tech. rep., Computer Center, Novosibirsk, USSR (1972).
  13. [13]S. Busto, M. Dumbser, A new thermodynamically compatible finite volume scheme for magnetohydrodynamics, SIAM Journal on Numerical Analysis 61 (1) (2023) 343–364. arXiv:https://doi.org/10.1137/22M147815X, doi:10.1137/22M147815X. URL https://doi.org/10.1137/22M147815X
  14. [14]C. Chalons, M. Girardin, S. Kokh, An all-regime Lagrange-projection-like scheme for the gas dynamics equations on unstructured meshes, Comm. in Comp. Phys. 20 (1) (2016) pp. 188–233. doi:10.4208/cicp.260614.061115a. URL https://www.cambridge.org/core/product/identifier/S1815240616000748/type/journal_articleDOI
  15. [15]T. Padioleau, P. Tremblin, E. Audit, P. Kestener, S. Kokh, A high-performance and portable all-mach regime flow solver code with well-balanced gravity. application to compressible convection, The Astrophysical Journal 875 (2) (2019) 128. doi:10.3847/1538-4357/ab0f2c. URL https://dx.doi.org/10.3847/1538-4357/ab0f2c
  16. [16]R. Bourgeois, P. Tremblin, S. Kokh, T. Padioleau, Recasting an operator splitting solver into a standard finite volume flux-based algorithm. the case of a lagrange-projection-type method for gas dynamics, Journal of Computational Physics 496 (2024) 112594. doi:https://doi.org/10.1016/j.jcp.2023.112594. URL https://www.sciencedirect.com/science/article/pii/S0021999123006897
  17. [17]C. Hirt, A. Amsden, J. Cook, An arbitrary lagrangian-eulerian computing method for all flow speeds, Journal of Computational Physics 14 (3) (1974) 227–253. doi:https://doi.org/10.1016/0021-9991(74)90051-5. URL https://www.sciencedirect.com/science/article/pii/0021999174900515
  18. [18]E. Godlewski, P. Raviart, Numerical Approximation of Hyperbolic Systems of Conservation Laws, no. 118 in Applied Mathematical Sciences, Springer, 1996. URL https://books.google.fr/books?id=9BwMIDMmTmcC
  19. [19]B. Després, Lois de Conservations Eulériennes, Lagrangiennes et Méthodes Numériques, Mathématiques et Applications, Springer Berlin Heidelberg, 2010. URL https://books.google.sn/books?id=yVbnQbqt1JcCDOI
  20. [20]S. Jin, Z. Xin, The relaxation schemes for systems of conservation laws in arbitrary space dimensions, Communications on Pure and Applied Mathematics 48 (1995) 235–276. URL https://api.semanticscholar.org/CorpusID:13245844DOI
  21. [21]I. Suliciu, On the thermodynamics of rate-type fluids and phase transitions. i. rate-type fluids, International Journal of Engineering Science 36 (1998) 921–947. URL https://api.semanticscholar.org/CorpusID:121171038DOI
  22. [22]F. Coquel, E. Godlewski, B. Perthame, A. In, P. Rascle, Some new godunov and relaxation methods for two-phase flow problems, 2001. URL https://api.semanticscholar.org/CorpusID:115535063DOI
  23. [23]F. Bouchut, Nonlinear stability of finite Volume Methods for hyperbolic conservation laws: And Well-Balanced schemes for sources, Springer Science & Business Media, 2004.
  24. [24]C. Chalons, J.-F. Coulombel, Relaxation approximation of the euler equations, Journal of Mathematical Analysis and Applications 348 (2) (2008) 872–893. doi:https://doi.org/10.1016/j.jmaa.2008.07.034. URL https://www.sciencedirect.com/science/article/pii/S0022247X08007099
  25. [25]F. Coquel, Q. L. Nguyen, M. Postel, Q. H. Tran, Entropy-satisfying relaxation method with large time-steps for euler ibvps, Math. Comp. 79 (2010) 1493–1533.DOI
  26. [26]B. Després, A new lagrangian formulation of ideal magnetohydrodynamics, Journal of Hyperbolic Differential Equations 08 (01) (2011) 21–35. arXiv:https://doi.org/10.1142/S0219891611002329, doi:10.1142/S0219891611002329. URL https://doi.org/10.1142/S0219891611002329
  27. [27]F. Bouchut, Entropy satisfying flux vector splittings and kinetic BGK models, Numerische Mathematik 94 (4) (2002) 623–672.DOI
  28. [28]C. Klingenberg, K. Waagan, Relaxation solvers for ideal mhd equations -a review, Acta Mathematica Scientia 30 (2010) 621–632.
  29. [29]B. van Leer, On the relation between the upwind-differencing schemes of godunov, engquist–osher and roe, SIAM Journal on Scientific and Statistical Computing 5 (1984) 1–20. doi:10.1137/0905001.DOI
  30. [30]W. Dai, P. Woodward, An approximate riemann solver for ideal magnetohydrodynamics, Journal of Computational Physics 111 (2) (1994) 354–372. doi:10.1006/jcph.1994.1069.DOI
  31. [31]M. Brio, C. Wu, An upwind differencing scheme for the equations of ideal magnetohydrodynamics, Journal of Computational Physics 75 (2) (1988) 400–422. doi:https://doi.org/10.1016/0021-9991(88)90120-9. URL https://www.sciencedirect.com/science/article/pii/0021999188901209
  32. [32]S. A. E. G. Falle, S. S. Komissarov, P. Joarder, A multidimensional upwind scheme for magnetohydrodynamics, Monthly Notices of the Royal Astronomical Society 297 (1) (1998) 265–277. arXiv:https://academic.oup.com/mnras/article-pdf/297/1/265/18408420/297-1-265.pdf, doi:10.1046/j.1365-8711.1998.01506.x. URL https://doi.org/10.1046/j.1365-8711.1998.01506.x
  33. [33]T. Miyoshi, K. Kusano, A multi-state hll approximate riemann solver for ideal magnetohydrodynamics, Journal of Computational Physics 208 (2005) 315–344. doi:10.1016/j.jcp.2005.02.017.DOI
  34. [34]S. A. Orszag, C.-M. Tang, Small-scale structure of two-dimensional magnetohydrodynamic turbulence, Journal of Fluid Mechanics 90 (1) (1979) 129–143. doi:10.1017/S002211207900210X.DOI
  35. [35]J. M. Stone, T. Gardiner, A simple unsplit godunov method for multidimensional mhd, New Astronomy 14 (2) (2009) 139–148. doi:https://doi.org/10.1016/j.newast.2008.06.003. URL https://www.sciencedirect.com/science/article/pii/S1384107608000754
  36. [36]D. S. Balsara, Self-adjusting, positivity preserving high order schemes for hydrodynamics and magnetohydrodynamics, Journal of Computational Physics 231 (22) (2012) 7504–7517. doi:https://doi.org/10.1016/j.jcp.2012.01.032. URL https://www.sciencedirect.com/science/article/pii/S0021999112000629
  37. [37]Vides, J., Audit, E., Guillard, H., Nkonga, B., Divergence-free mhd simulations with the heracles code, ESAIM: Proc. 43 (2013) 180–194. doi:10.1051/proc/201343012. URL https://doi.org/10.1051/proc/201343012
  38. [38]M. González, E. Audit, P. Huynh, HERACLES: a three-dimensional radi- ation hydrodynamics code, A&A 464 (2) (2007) 429–435. doi:10.1051/0004–6361:20065486. 0004–6361:20065486.
  39. [39]D. S. Balsara, D. S. Spicer, A staggered mesh algorithm using high order godunov fluxes to ensure solenoidal magnetic fields in magnetohydrodynamic simulations, Journal of Computational Physics 149 (2) (1999) 270–292. doi:https://doi.org/10.1006/jcph.1998.6153. URL https://www.sciencedirect.com/science/article/pii/ S0021999198961538
  40. [40]G. Tóth, D. Odstrčil, Comparison of some flux corrected transport and total variation diminishing numerical schemes for hydrodynamic and magnetohydrodynamic problems, Journal of Computational Physics 128 (1) (1996) 82–100.DOI

Paper details

vlnc:W_pajt9ydy
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents