## Abstract

The paper presents an overview of benchmarks for non-ideal magnetohydrodynamics. These benchmarks include dissipative processes in the form of heat conduction, magnetic diffusion, and the Hall effect.

### Keywords

- ALE method
- numerical simulation
- magnetohydrodynamics
- benchmark
- verification

## 1. Introduction

Numerical modeling of magnetohydrodynamics (MHD) is an important and challenging problem addressed in numerous publications (e.g., see [1, 2]). This problem is further complicated in case of multi-flux models that account for the relative motion and interaction of particles of different nature (electrons, various species of ions, neutral atoms, and molecules) both with each other and with an external magnetic field.

This class of problems is generally solved using the fractional-step method, when complex operators are represented as a product of operators having a simpler structure. Thus, within the splitting method, the calculation of one-time step consists of a series of simpler procedures. It is obvious that difference schemes for each splitting stage should, where possible, preserve the properties of corresponding difference equations.

Note that the task of constructing reference solutions accounting for the whole range of physical processes is challenging (and often unfeasible). Existing benchmarks enable accuracy assessment of individual splitting stages rather than the simulation as a whole.

Magnetohydrodynamic problems are naturally divided into two groups: problems for an ideal infinitely conducting plasma and problems with dissipative processes in the form of heat conduction and magnetic viscosity.

Numerous publications on the construction of difference methods for ideal magnetohydrodynamics use a standard set of test problems. These include propagation of one-dimensional Alfven waves at various angles to grid lines [3, 4, 5], Riemann problem for MHD equations [6, 7, 8, 9], and various two-dimensional problems accounting for the presence of a uniform magnetic field [3, 5, 10]. In [11], a number of additional ideal MHD benchmarks are presented, which are basically shock-wave problems. A special class of tests includes problems with a weak magnetic field not affecting the medium motion. If there is an exact solution for a given hydrodynamic problem, the magnetic field “freezing-in” principle allows finding components of the field

The representation in publications of the problem of testing the dissipative stage of MHD equations is much the worse. Possibly, this is owing to complexity problems that require accounting the interaction of the shock-wave processes, heat conduction, diffusion of magnetic field, and Joule heating.

Numerical simulations of some of the tests presented here have been done using the Lagrangian-Eulerian code EGIDA developed at VNIIEF [12, 13] for multi-material compressible flow simulations.

The magnetohydrodynamic equation system in one-temperature approximation modified by the Hall effect can be written in the following conservative form [2]:

where *e* and *ne* are charge and density of electrons. When writing Eq. (18), we assume that bias currents and electron inertia are negligibly small [2]. Equation system (1) differs from equation system for ideal MHD owing to diffusion terms present in the equations of energy and inductance of magnetic field.

## 2. A plane diffusion wave with regard to the Hall effect

Let the components of magnetic field depend on coordinate z only, i.e.,

Consider the problem of a diffusion wave propagating in an unbounded medium with the given boundary and initial conditions:

Let

where

Since

**Simulation setup**: the initial data is described by Eq. (3). A bounded computational domain *0 < z < L, L = 1* is considered. For this reason, the magnetic field value taken from the analytical solution *z = L.* On the left boundary *z = 0*, the field components take constant values according to Eq. (3). In simulations with 2D and 3D codes, boundary conditions *ν =* 0*, β =* 1*, Hx0 = Hy0 = Hz0 =* 1. Profiles of magnetic field’s components *Hx, Hy* at time *t =* 0.01, 0.1 are shown in Figures 1 and 2. With the grid refinement, convergence to the reference solution takes place.

## 3. Diffusion of magnetic field in an immovable plane layer of plasma with regard to joule heating and its effect on the diffusion and heat conduction coefficients

The problem of magnetic diffusion in a plane layer of material has many applications in practice [14]. In its detailed formulation, the problem was considered in paper [14] for mega gauss fields. Hydrodynamic motion, magnetic diffusion, heat conduction by electrons, and radiant heat exchange in the “back and forth” approximation were taken into account. Since finding an exact solution to such a problem causes difficulties, the original formulation needs to be simplified. Self-similar solutions to the problem obtained with simplifying assumptions were also presented in [15].

A model problem is considered with the following assumptions:

plasma is immovable, it has a constant heat capacity,

plasma has Coulomb conductivity,

heat conduction is absent.

With such assumptions, the problem is reduced to solving equations

where

Here, *ρ* is the density of plasma, *γ* is the heat capacity ratio (adiabatic index), *T = Ry* (it is expressed via atomic constants), and *Ry* is the Rydberg constant. Energy units have been chosen for temperature.

At initial time *t = 0*, all quantities depend on one space coordinate. It is assumed that the magnetic field has only one component,

For dimensionless variables,

In an infinite region (

with boundary conditions

Note that for a linear case, *α = 0*, the solution of Eqs. (8), (9) can be found in quadratures

Since *ξ2~0* for the linear case *α = 0* has the logarithmic profile

In general, if *α > 0*, one does not manage to establish the asymptotic law for temperature in the vicinity of *ξ2~0*, because of no integral curves of Eq. (8) satisfying the boundary conditions at infinity Eq. (9).

Now, let us build the reference solution to the problem with regard to heat conduction. In this case temperature near the interface takes a finite value. The diffusion equations and energy equation of magnetic field with regard to Joule heating and heat conduction are considered. As it was assumed earlier, all quantities depend on one space coordinate, and the magnetic field has only one component, *hz = Hz/H0* and *τ = T/T0* equations are reduced to the forms

A self-similar solution depending on the variable

with boundary conditions:

To find the reference solution, it is convenient to use the first-order system with an increased number of unknowns instead of the second-order system Eq. (12). The first-order system relative to variables

Consider the numerical solution of Eq. (14) for the right half plane (0 < ξ < ∞). The solution in the left half plane

Consider the numerical solution of Eq. (14) in a bounded domain *ξ → ∞*. Asymptotic laws can be formulated, if we assume *a = 0.5*. In this case boundary conditions have the form:

Constants C_{1}, C_{2} are taken so that the following conditions are satisfied on the left boundary of the computational domain:

Confine oneself to the consideration of case *a = 0.5*. Introduce new variables

with boundary conditions:

The set of Eqs. (16), (17) was solved numerically with the methods of automatically selecting an integration step. The following values of parameters were used in simulations: *ξ*_{1} = 10, *η* = 20/3, *α* = 3/2, *D*_{0} = 1, and *k*_{0} = *aD*_{0} = 1/2. The values of constants satisfying the boundary conditions Eq. (17) were obtained: *C1 =* 0.10231 and *C2 =* 1.79474. Since the behavior of functions near the right boundary corresponds to asymptotic laws Eq. (17), the reduction of parameter *ξ1* from *ξ1 =* 10 to *ξ1 =* 1 does not affect simulation results.

Results of simulations are illustrated in Figures 3 and 4. With the use of such regularity method (with regard to heat conduction), temperature at the central point of the computational domain takes its finite value. Note that with *t = 1/ν0* the space coordinate coincides with the self-similar coordinate, *x = ξ*.

## 4. A point explosion in a perfectly non-conducting atmosphere

Let us consider the problem of a point blast in the presence of a uniform magnetic field (for definiteness) along the z axis (*Hz = Hz0 =* 0.01) in a perfectly non-conducting atmosphere. Initial data are chosen in such a way that the field has no effect on the motion of matter

Here, unknown constant

The solution in the internal domain (*r < rF(t)*) is found from the freezing-in condition of the magnetic field:

The integration of these equations with regard to the solution in external domain Eq. (18) gives us

where

Here, the functions

Unknown constant

Since

Note that in external domain this condition is satisfied automatically. In Cartesian coordinates, the solution of Eq. (19) looks like

It is convenient to compare the numerical and exact solutions using the field components depending on one space coordinate:

The magnetic field lines can be obtained by integrating equations

We consider the process stage, at which the numerical simulation becomes self-similar. In this case, the shock wave is considerably far (compared to the energy release region) from the blast center. For example, at the final time *t =* 3, the wave front is located at a distance of *RF =* 13.467.

The flow parameters in this problem depend on a single spatial variable, *r*, and the field components, on two variables, *r* and *θ*. One can restrict the consideration to any plane passing through the *z* axis. Magnetic field lines in the plane *y =* 0 at *t =* 3 are shown in Figure 5. It follows from this figure that these lines of force stretch along axis z and, thereby, prevent the spread of gas in the direction orthogonal to this axis. This effect is small in the given problem because of the field smallness. With an increased strength of the field, the pressure zone gets out of its spherical shape due to occurrence of the singled out direction.

Profiles of the field components *Hy* and *Hz* along the line *x = z* in this plane are presented in Figure 6. The self-similar functions of fluid parameters and radial and angular field components h_{r} and h_{θ} depend on one spatial variable r. These functions are shown in Figure 7. In testing numerical methods, the values of grid functions for all cells in the domain can be mapped onto the figures. Such a comparison of reference versus numerical solution indicates whether the spherical symmetry is preserved during numerical simulations.

**Simulation setup**: The energy release region is a sphere of radius *r1* = 0.1, in which the initial specific energy per unit mass is set to *ε = ε0 =* 10^{7} and the initial density is set to *ρ = ρ0 =* 1. In the spherical layer *r1 < R < r2 =* 15, the specific energy and the density are equal to *ε = 0*, *ρ = ρ0 =* 1, respectively. The EOS is *P = ρ(γ−1)ε, γ =* 1.4. The problem domain in the three-dimensional setup is a cube *L × L× L*. All boundary faces of the domain are rigid walls.

This problem requires taking into account the magnetic field diffusion in external domain (outside the shock front). It is assumed that behind the shock front, the medium becomes perfectly conducting due to ionization effects. The magnetic viscosity is approximated by the following dependence:

Parameter *(rF(tk)/L))3 < <*1) in comparison with the ideal MHD problems to be able to set boundary conditions corresponding to the initial undisturbed state. Thus, the size of computational domain must be almost five times larger,

## 5. Diffusion of magnetic field into a spherical plasma cloud

The problem formulation and its analytical solution have been taken from [16]. In contrast to this paper, consider the diffusion problem (the plasma cloud motion is neglected):

It is assumed that the magnetic field at infinity is uniform and directed along axis z:

### 5.1. Diffusion of magnetic field in the absence of the Hall effect

Assume that the Hall effect contribution is small,

This is an axially symmetric problem, and, therefore, it is convenient to use the polar coordinate system

The solution of Eq. (24) with initial data Eq. (25) is reduced to solving Eq. (27) with initial data Eq. (26) and boundary conditions Eq. (28):

The solution has the form

Paper [16] considers the plasma cloud interaction with the magnetic field of vacuum, and, therefore,

For finite values of conductivity in external domain

Components of magnetic field

In Cartesian coordinates the field components have the forms

Since the problem is axially symmetric, any plane coming across axis z can be taken to calculate the magnetic field lines. For example, for plane

The magnetic field lines for the reference solution at time *t =* 0.01 are shown in Figure 9.

Results of Eq. (32) are the formulas for the radial and angular components of the field depending on a single space coordinate:

Figures 10 and 11 show profiles of field components for different magnetic viscosity values in external domain *(r > r0).* Note that there is a small difference between the profiles obtained with *ν2 =* 50 and ν_{2} → ∞ corresponding to the simulation of the plasma cloud interaction with the magnetic field of vacuum ν_{2} → ∞. For the problem with ν_{2} → ∞, profiles of the non-dimensionalized field components for the initial phase of diffusion, *t < r03/ν1*, are given (see Figure 12).

**Simulation setup**: A computational domain *L =* 10. Boundary conditions corresponding to the initial undisturbed state are imposed on its lateral faces for the components of field

The EGIDA code uses a scheme preserving the field divergence at one step because difference operators *DIV* and *ROT* (*div* and *rot*) [18] determined at nodes and in cells of a grid, respectively, satisfy the vector analysis identities: *DIVrot = 0* and *ROTdiv = 0*.

It has been found that for the first set of initial data the divergence norm depends on errors induced by the initial distribution of the *r = r0*. Though the difference scheme does not change the magnetic field divergence, initial errors lead to a significantly distorted numerical solution (see Figure 13).

In the second case, the magnetic field components are determined using the operator numerically differentiating the vector potential, and, hence, the magnetic field divergence norm equals zero at initial time and at all later times. For this case, a good agreement between the calculated results and the exact solution has been achieved even on the coarsest grid (see Figure 14).

### 5.2. Diffusion of magnetic field with a low Hall effect

Assume that the Hall effect contribution is small,

The Hall effect leads to the occurrence of the azimuthal component,

In view of the smallness of parameter

Figure 15 shows profiles of the non-dimensionalized azimuthal field component

The changeover to Cartesian coordinates is performed using formulas

**Simulation setup**: The initial data is given in the previous section. This problem requires accounting the Hall effect. A local exchange parameter is *b* = 0.01. Figure 15 shows profiles of the azimuthal component of non-dimensionalized field.

## 6. Conclusion

An important property of difference schemes in multidimensional flow simulations is that they keep the magnetic field divergence-free in difference solutions. An adverse aspect of this defect is the unphysical transport of matter orthogonal to the field

Note that the zero-divergence requirements to difference schemes get more stringent as applied to the solution of diffusion problems. A violation of this requirement results in the accumulation of errors and loss of solution structure, especially in problems with high conductivity gradients.

## Acknowledgments

Some EGIDA calculations have been performed under contract no. 1239349 between Sandia National Laboratories and RFNC-VNIIEF. The authors thank sincerely M. Pokoleva for her assistance in simulations and J. Kamm and A. Robinson for their assistance in formulating some benchmarks and references.