Magnetohydrodynamic Equilibria
Magnetohydrodynamic Equilibria
- Thomas WiegelmannThomas WiegelmannMax Planck Institute for Solar System Research
Summary
Magnetohydrodynamic equilibria are time-independent solutions of the full magnetohydrodynamic (MHD) equations. An important class are static equilibria without plasma flow. They are described by the magnetohydrostatic equations
is the magnetic field, the electric current density, the plasma pressure, the mass density, the gravitational potential, and the permeability of free space. Under equilibrium conditions, the Lorentz force is compensated by the plasma pressure gradient force and the gravity force.
Despite the apparent simplicity of these equations, it is extremely difficult to find exact solutions due to their intrinsic nonlinearity. The problem is greatly simplified for effectively two-dimensional configurations with a translational or axial symmetry. The magnetohydrostatic (MHS) equations can then be transformed into a single nonlinear partial differential equation, the Grad–Shafranov equation. This approach is popular as a first approximation to model, for example, planetary magnetospheres, solar and stellar coronae, and astrophysical and fusion plasmas.
For systems without symmetry, one has to solve the full equations in three dimensions, which requires numerically expensive computer programs. Boundary conditions for these systems can often be deduced from measurements. In several astrophysical plasmas (e.g., the solar corona), the magnetic pressure is orders of magnitudes higher than the plasma pressure, which allows a neglect of the plasma pressure in lowest order. If gravity is also negligible, Equation 1 then implies a force-free equilibrium in which the Lorentz force vanishes.
Generalizations of MHS equilibria are stationary equilibria including a stationary plasma flow (e.g., stellar winds in astrophysics). It is also possible to compute MHD equilibria in rotating systems (e.g., rotating magnetospheres, rotating stellar coronae) by incorporating the centrifugal force. MHD equilibrium theory is useful for studying physical systems that slowly evolve in time. In this case, while one has an equilibrium at each time step, the configuration changes, often in response to temporal changes of the measured boundary conditions (e.g., the magnetic field of the Sun for modeling the corona) or of external sources (e.g., mass loading in planetary magnetospheres). Finally, MHD equilibria can be used as initial conditions for time-dependent MHD simulations. This article reviews the various analytical solutions and numerical techniques to compute MHD equilibria, as well as applications to the Sun, planetary magnetospheres, space, and laboratory plasmas.
Keywords
Subjects
- Cosmology and Astrophysics
- Fluid Dynamics
- Plasma Physics
1. Introduction
The evolution of many complex physical systems such as planetary magnetospheres and stellar coronae can be distinguished by their dynamic phases (magnetic storms, solar eruptions, flares) and slowly evolving quasi-static phases. During the slow phases, the plasma and magnetic field are in equilibrium and the time-dependent dynamic terms in full magnetohydrodynamics (MHD) can be neglected. Even during these quiet times, the systems can slowly evolve. One example for a quiet phase is the mass loading of the Earth’s magnetotail: The magnetosphere is formed by interaction of the solar wind with the Earth’s magnetic field. The solar wind compresses the Earth’s magnetic field on the dayside and stretches it to a magnetotail on the nightside. While the magnetic and plasma forces compensate each other in the magnetotail, energy and plasma transport from the solar wind into the magnetotail takes place, a process that can be well described as a sequence of static equilibria. An analysis of these equilibria can tell whether the system can become unstable and transit toward a dynamic phase (e.g., a magnetospheric substorm). A similar distinction of quasi-static and dynamic processes can be applied to coronae of the Sun and other stars. During quiet times, the photosphere and corona are magnetically connected and the coronal plasma is in equilibrium and can be modeled using magnetic field measurements in the photosphere (visible surface) of the Sun and stars as boundary conditions. Plasma convection below the surface causes slow changes in the boundary conditions and thereby coronal models based on these measurements evolve in time. They thus show, for example, the accumulation of magnetic energy and the formation of strong electric currents. Again, an analysis of these coronal equilibria can predict the possibility and likelihood of a transition to a dynamic phase with flares and coronal mass ejections. While equilibrium theory does not allow the investigation of the dynamic phase itself, it is very useful to study the slow evolution of systems and to investigate the physical conditions leading to instabilities, which are, in fact, associated with a fast dynamic evolution.
Plasma equilibria are described by the magnetohydrostatic (MHS) equations (Equations 1–3), where Equation 1 describes an equilibrium between the Lorentz force, the plasma pressure gradient force, and the gravitational force. The electric current density is computed via Ampère’s law (Equation 2). Inserting this expression in the Lorentz force makes the equations nonlinear and, consequently, it is extremely difficult to find analytical solutions in three dimensions (3D). Even fully numerical approaches are difficult to implement because of the nonlinearity. More easily accessible are configurations that are either only two dimensional (2D) (requiring some symmetry assumption) or cases for which the nonlinearity can be transformed away. While it is certainly possible to combine these approaches, there has historically been a clear distinction between problems that can be computed analytically and those where powerful computers are needed. Before powerful computers and complex simulation codes became common tools, many works concentrated on basic physical understanding, the analytical investigation of nonlinear effects, and the development of self-consistent models. One example for physical systems where nonlinear and self-consistent MHD equilibrium models have been studied for about four decades is the Earth’s magnetosphere, which may be modeled by MHS models without gravity. In this case, the MHS equations in 2D can be reduced to a single partial differential equation, the Grad–Shafranov equation. This is a nonlinear partial differential equation. The Grad–Shafranov equation, which is here derived from the MHS equations, is one of the key equations for plasma physics because it is also highly relevant for a kinetic plasma description. A one-dimensional (1D) solution, the so-called Harris sheet, was originally derived from kinetic plasma physics but is a MHS equilibrium as well. An extension of the Grad–Shafranov theory allows additional terms in 2D MHS equilibria (gravity, magnetic shear, or guide field flow). Even investigating time-dependent effects as a sequence of equilibria (under certain constraints) is possible. In some cases, analytical solutions are still possible, but often at least part of the problem has to be treated numerically by, for example, solving an ordinary differential equation, which can be easily done by solvers available in numerical packages. The user of such packages hardly notices any difference from analytical solutions, and these methods are therefore often dubbed semi-analytical. Two-dimensional MHS equilibrium theory with a Grad–Shafranov of how this theory has been used to model the Earth’s magnetosphere is given in section “Earth’s Magnetosphere.”
Nonetheless, since the early era of computers, there has been a demand for solutions in full 3D to model, for example, the solar coronal magnetic field, which is difficult to measure. Historically, a number of solutions have been found using linearized equations such as linear force-free fields, which are still popular. In these models, the Lorentz force vanishes, which means that electric currents either vanish (potential fields) or they are co-aligned with the magnetic field. An advantage of linear equations is that solutions of the equations can be superposed to create new solutions. Well-known examples are solutions in the form of orthogonal function systems like spherical harmonics and Bessel functions. While these classes of solutions are in principle analytical (for each base function), computers are needed to calculate the large number of coefficients (e.g., for the spherical harmonics) in order to match these models to input data (e.g., magnetograms in the solar photosphere). The section “Magnetohydrostatics in 3D” outlines some basic theory of equilibria in 3D, including the theory of Euler potentials as well as methods of how MHS equilibria can be linearized. As an add-on, similarities of MHS and stationary hydrodynamics (SHD) are investigated. Applications of the 3D theory to the Sun are discussed in “Solar Magnetic Fields and Plasma” and to rotating planetary magnetospheres and magnetic stars in “Rotating Planetary Magnetospheres.” Applications to fusion plasmas and, in particular, tokamaks are discussed briefly in the section “Laboratory Plasmas.”
Nowadays it is also possible to compute nonlinear equilibria in full 3D, which require sophisticated numerical methods and considerable computational resources. Often simpler, linear models are used as an initial guess for the computation of complex nonlinear equilibria. These kinds of nonlinear 3D models are not discussed in the form of a general theory, but the specification (e.g., which quantities can be measured?) of particular physical systems needs to be taken into account, which is demonstrated in “Solar Magnetic Fields and Plasma.”
2. Theory
2.1 From Magnetohydrodynamics to Equilibrium Theory
The time-dependent ideal magnetohydrodynamics (MHD) equations are (see any textbook on plasma physics; e.g., Priest, 1982, 2014, 2019; Biskamp, 1993; Goedbloed & Poedts, 2004; Schindler, 2006) as follows:
where is the magnetic field, is the electric field, is the electric current density, is the plasma pressure, is the mass density, is the flow velocity, is the gravitational potential, is the time, and is the permeability of free space.
For a given gravitational potential , seven evolution equations (Equations 4, 5, and 6) for the seven variables have to be solved. The electric current is linked to by Ampère’s law (Equation 7). The MHD equations are closed by an equation of state or an energy equation. A common simplification is the assumption of an isothermal plasma with constant or an isentropic plasma that directly links and . is linked to by ideal Ohm’s law (Equation 9). Finally, is subject to the solenoidal condition (Equation 8). Strictly, this is only a condition for the initial because once , this holds forever. However, ensuring that this also holds numerically is much more demanding.
Usually the time-dependent MHD equations (Equations 4–10) can be solved only numerically. Under certain physical conditions, three kinds of simplification may become acceptable: neglecting physical terms, reducing the dimensions, and linearizing the equations.
For neglecting terms in the MHD equations, in particular, the following ensues:
No time-dependence (i.e., time derivatives are ), which leads to stationary MHD (investigated in “Stationary MHD With Plasma Flow”).
Additional neglect of plasma flow leads to magnetohydrostatics (MHS) (see “Magnetohydrostatics in 2D” and “Magnetohydrostatics in 3D”). Often MHS is considered to be the standard approach for an MHD equilibrium.
All quantities change so slowly in time that the dynamic term in MHD can be neglected and the plasma is always near equilibrium. This leads to sequences of magnetostatic equilibria, which are studied in “Earth’s Magnetosphere.”
The gravity term is neglected. This assumption is well justified, for example, for modeling the Earth’s magnetosphere (see “Magnetohydrostatics in 2D”).
All forces except the Lorentz force are neglected. This approach, called the (nonlinear) force-free field approach, is valid in the solar corona (up to a distance of about 2.5 solar radii). Force-free fields (including the special case of current-free potential or vacuum fields) are also relevant in some laboratory plasmas (e.g., they surround the high plasma area in tokamaks. Applications to the solar corona are studied in “Solar Magnetic Fields and Plasma” and laboratory plasmas in “Laboratory Plasmas.”
If symmetries of the system are exploited, then the number of independent variables are reduced from 3D to 2D, or even 1D. This approach is often used for studying magnetospheres and laboratory devices (axisymmetric).
Linearizing the original nonlinear equations can be done by special assumptions regarding the nature of electric currents and the dominance of a stationary background magnetic field, small v, or density gradients.
A popular assumption is that the electric current density is parallel (with a global constant ) to the magnetic field, which is the linear force-free approach (also called constant- force-free) (see the section “Linear Force-Free Fields”).
Another approach is that the currents are perpendicular to the gravity force, which allows a linearization of the MHS equations and is studied in “Linear MHS.”
The current density is perpendicular to any other external force (e.g., the centrifugal force). This allows under certain circumstances a linearization of the equations and a set of analytical solutions by separation of variables. This kind of equilibrium is studied in “Rotating Planetary Magnetospheres.”
Additionally, reducing the number of dimensions is possible but usually not necessary because linear equations can be solved effectively also in full 3D (e.g., with the help of a fast Fourier transform). These linear approaches are therefore popular due to their easier mathematical treatment, but less realistic, because nonlinear effects are often important to reveal the true nature of complex physical systems like solar and space plasmas.
2.2 Magnetohydrostatics in 2D
In the following, equilibria with one ignorable spatial coordinate are investigated. In this case, all physical quantities depend only on two spatial variables, but the vector fields can have non-vanishing components in all three coordinates. It has been shown by Edenstrasser (1980) that only three classes of symmetric equilibria with one ignorable coordinate exist: straight, helical, and circular symmetries. The MHS equations can be reduced in these cases to a single partial differential equation, the (generalized) Grad–Shafranov equation. The corresponding coordinate systems are orthogonal. Widely used are Cartesian, cylindrical, and spherical coordinates, a formulation in other geometries (e.g., toroidal is possible). In the following, Grad–Shafranov theory is described in Cartesian geometry. Spherical and cylindrical geometries are applied in the sections “Rotating Planetary Magnetospheres and Rotating Magnetic Stars” and “Laboratory Plasmas.” The most general case is a helical symmetry (see Biskamp, 1993, section 3.2). A 2D Cartesian coordinate system where and are the non-invariant coordinates and the configuration is translationally invariant in is used here. The magnetic field is given in terms of a flux function by
where is the unit vector in the direction. This approach automatically fulfills the solenoidal condition (Equation 14). For simplicity, gravity and the magnetic field component in the invariant direction are neglected.
In this approximation, surfaces defined as so-called magnetic surfaces (e.g., L shells in magnetospheres). The plasma pressure is constant along magnetic field lines, which are contours of . If the plasma pressure becomes a function of the flux function, , it is therefore automatically constant along field lines (a sufficient condition). To ensure that is constant along field lines, it is not necessary, however, that is a function of in the strict sense. On topologically distinct field lines with the same value of , the pressure can have different values on the distinct lines, but it is only required to be constant along each field line. By inserting Equation 11 in Equations 12 and 13, the magnetostatic equations reduce to a Grad–Shafranov equation.
2.2.1 Grad–Shafranov Equation
In the following, the Grad–Shafranov equation in Cartesian geometry is discussed. For a formulation in cylindrical geometry, see “Laboratory Plasmas.”
The functional form of or equivalent is still undefined. It is this dependence as well as the boundary conditions which shape the field lines and magnetic surfaces. For any choice, one obtains solutions of the MHS equations. A linear dependence in corresponds to a quadratic form in . More sophisticated than arbitrarily choosing such a functional form is to derive the relation from first principles by using kinetic plasma theory or statistical mechanics. Under the condition of a local thermodynamic equilibrium and a quasi-neutral plasma. one obtains (see Chapter 6.2 in Schindler, 2006):
2.2.2 Liouville Equation
With this approach, the Grad–Shafranov equation (Equation 15) takes the mathematical form of a Liouville equation (Liouville, 1853):
This equation has applications not only in plasma physics, but also in other areas of physics (e.g., hydrodynamics). For examples see Walker (1915) for an application to a self-gravitating gas layer for nebular theory and Schmid-Burgk (1967) for astrophysical applications. As is seen in “Stationary MHD With Plasma Flow,” magnetostatic plasma equilibria and stationary flows of a fluid can be described with a similar mathematical structure. This nonlinear partial differential equation in 2D has the nice property that it may be solved analytically with the help of a generating function. In this approach, the 2D partial differential equation is reduced to an equation with one complex variable in the form
where and for configurations invariant in and where are the Cartesian coordinates. Alternatively used is to model a 2D plane for configurations invariant in . This equation has the general solution
where any analytical function of generates an exact solution of Equation 18 in the form given in Equation 19, and thereby a magnetostatic equilibrium. An analysis of the mathematical procedure, existence, proofs, and so on is outside the scope of this article (but can be found, e.g., in Bandle, 1975).
2.2.3 Harris Sheet
In 1D (with , say, as the independent variable), the Cartesian Grad–Shafranov equation reduces to
which can be integrated directly analytically or by using the generating function in the Liouville approach in Equation 19. It has the Harris sheet (see Harris, 1962) as solution. The Harris sheet is a well-known equilibrium solution in 1D, where plasma and magnetic pressure are in equilibrium and contain a smooth current. This equilibrium is not only a solution of MHS, but remains valid in kinetic theory and has been originally found by Harris for kinetic equilibria. The Harris sheet is often a good local approximation for the plasma sheet in the magnetotail. As presented in “Earth’s Magnetosphere,” even involved sequences of magnetospheric MHS equilibria are based on modifications of the Harris sheet. For the flux function, one derives after integration:

Figure 1. The Harris sheet. All quantities depend only on . Shown is the magnetic field (solid), the plasma pressure (dashed), the magnetic pressure (dash-dotted), and the electric current density (dash-double-dotted). The dotted line shows the sum of magnetic and plasma pressure, which is constant in a Harris sheet.
from which all other quantities [magnetic field , plasma pressure , current density ] can be computed:
Please note that all other components of the magnetic field and current density vanish. Figure 1 shows a plot of the quantities as a function of as well as (dotted) the total pressure , which is constant in the Harris sheet.
2.2.4 Including Magnetic Shear, 2.5D Configurations
A natural extension of the 2D theory is to take into account a magnetic field component in the invariant direction. The magnetic field is represented as
and the Grad–Shafranov equation becomes
This approach is often called 2.5D because the equilibria depend on only two independent coordinates but contain all three components of the magnetic field and electric current. A particular case is the choice , which leads to force-free equilibria in 2.5D. Force-free equilibria are particularly popular to model the solar corona. The magnetic field component in the invariant direction is a function of the flux function. Applications to the solar corona are discussed in “Solar Magnetic Fields and Plasma.”
2.2.5 Including Gravity
For equilibria with an external gravity field, the pressure can be written as
where is the gravitational potential. For a constant gravitational acceleration, one finds:
where is the scale height. Configurations including both the plasma pressure and gravity are important for modeling regions of solar and stellar atmospheres, where the force-free assumption is not valid (e.g., in the chromosphere). Particular 2D solutions with gravity are not discussed here, but configurations with gravity are considered in more detail in the sections “Linear MHS” and “Nonlinear MHS,” where linear and nonlinear magnetostatic equilibria in 3D are addressed.
2.3 Magnetohydrostatics in 3D
To find solutions of MHS equations in full 3D without making any symmetry assumptions is extremely difficult. Some basic theory on how this can be done is outlined here. Numerically computed equilibria with application to the Sun are presented in “Solar Magnetic Fields and Plasma.”
2.3.1 Euler Potentials
A generalization of the flux function to 3D are Euler potentials
which reduce to the flux function representation defined in Equation 11 when and . Euler potentials are not necessarily unique and might not exist globally in a given physical domain (see Chapter 5.1.2 in Schindler, 2006). Euler potentials can also be used to derive a vector potential for in the form . It is obvious that by representing the magnetic field with Euler potentials, the solenoidal condition (Equation 14) is automatically fulfilled. Euler potentials have the useful property that magnetic field lines are defined as intersections of surfaces on which the Euler potentials and are constant. For MHS equilibria without gravity, the plasma pressure is constant on magnetic field lines and . For configurations with gravity, one has , where is the gravitational potential. By inserting the ansatz (Equation 29) into the MHS Equations 1–3, a system of nonlinear coupled partial differential equations can be derived (see, e.g., Zwingmann, 1987):
At first sight, hardly anything is gained by reformulating the MHS equations in this form, because Equations 30–32 look even more complicated than the original MHS equations and they contain higher-order derivatives. Furthermore, the use of the definition (Equation 29) leads intrinsically to nonlinear equations and a linearization, as is explained in “Linear Force-Free Fields,” and “Linear MHS” is unsuitable here. As a consequence, the Euler potential approach for computing 3D equilibria never became as popular as the flux function representation and the associated Grad–Shafranov equation in 2D. Nevertheless, for specific cases, 3D solutions of Equations 30–32 have been found. The non-uniqueness of Euler potentials does have an advantage, however. If an MHS solution in the form of Euler potentials is found, this non-uniqueness can be used to construct solutions of the stationary MHD equations, with field-aligned incompressible plasma flow, with the help of a transformation procedure introduced by Gebhardt and Kiessling (1992). This procedure is briefly discussed in the section “Stationary MHD With Plasma Flow.”
2.3.2 Potentials for the Current Density
It is interesting to note (see Low, 1991) that it is possible to represent also the electric current density with potentials in the form
where and are functions of the coordinates. A representation in spherical and cylindrical geometry is also popular. This representation is in particular helpful when studying a system containing external forces, which can also be computed as the gradient of a potential. Examples are an external gravity field (see the section “Linear MHS”) and rotating systems with a centrifugal force (see “Rotating Planetary Magnetospheres”), or both (in the section “Rotating Magnetic Stars”). Choosing one of the potentials in Equation 33 proportional to the potential of the external force allows, under certain circumstances, a linearization of the force–balance equation with analytical solutions by using separation of variables.
2.4 Stationary MHD With Plasma Flow (SMHD)
The equations for stationary MHD equilibria with incompressible plasma flow are given as:
where is the plasma velocity. Note that gravity has been neglected because it would require also the inclusion of compressibility. For field-aligned flows, Equation 38 is fulfilled automatically. After applying the vector identity to the left-hand side of Equation 34, one can see that the set of Equations 34–39 has two clearly distinguishable subsets: MHS and stationary incompressible hydrodynamics (SHD).
2.4.1.1 MHS as SMHD Subclass
If all terms containing the plasma flow are neglected, Equations 34–39 reduce to MHS:
2.4.1.2 SHD as SMHD Subclass
However, if all terms containing the magnetic field are neglected, Equations 34–39 reduce to the equations of SHD:
2.4.1.3 Mathematical Similarities Between SHD and MHS
It is interesting to note that MHS (Equations 40 and 41) and SHD (Equations 42 and 43) have a similar mathematical structure of the form
where for MHS
and for SHD
This similarity has been pointed out in several publications (e.g., Grad, 1960; Tsinganos, 1981; Tasso & Throumoulopoulos, 1998). Gebhardt and Kiessling (1992) provided a transformation technique to compute stationary MHD equilibria if MHS equilibria in the form of Euler potentials (see the section “Euler Potentials”) have been found. Similarly, the velocity field can also be represented as
which automatically fulfills the incompressibility condition (Equation 39). As the Euler potentials are not unique, a suitable transformation between the Euler potentials of the magnetic field and velocity field may be found. For the theory of these transformations in 3D, see the original publication by Gebhardt and Kiessling (1992). The following section contains the main features of these transformation techniques for systems in 2D, where the Euler functions reduce to a flux function, as shown for MHS in “Magnetohydrostatics in 2D.”
2.4.1 SMHD Equilibria in 2D
Here one aims to solve the stationary MHD equations (34–39) in 2D and assumes that one has already found a solution of the corresponding MHS equations (40 and 41). Equation 38 is solved by assuming that the velocity is parallel (or antiparallel) to the magnetic field. It is convenient to introduce the Alfvén speed
and the Alfvén Mach number
which reduces the stationary MHD equations (34–39) to
For static equilibria without plasma flow , these equations reduce to the well-known MHS equations (40 and 41). Just as in “Magnetohydrostatics in 2D,” the magnetic field in 2D is represented by a flux function,
Since flux functions (like Euler potentials) are not unique, it is possible to transform to another flux function . From Equation 53, is constant on magnetic field lines and therefore is a function of the flux functions . This property is used to simplify Equation 54 by the choice
which eliminates all terms containing the Mach number in Equation 54 and the stationary MHD equations (53–55) become
Equation 58 obviously has the same mathematical form as the Grad–Shafranov Equation 15 derived for MHS equilibria. Equation 59 has been derived by integrating Equation 57. With help of an appropriate Mach number profile , Equation 59 can be used to deduce a stationary MHD equation from the solution of the Grad–Shafranov equation. The transformation procedure can become quite complicated, however, and special care has to be taken if trans-Alfvénic flows are considered because for and the denominator in Equation 59 vanishes. An explicit example of such a transformation (limited to sub-Alfvénic flows) is presented in the section “Magnetotail-like Solutions of the Liouville Equation.”
3. Applications
3.1 Earth’s Magnetosphere
The Earth’s magnetosphere is formed by the interaction of the solar wind with the Earth’s magnetic field. In a vacuum, the field would be roughly dipolar, but due to the interaction with the solar wind, the Earth’s magnetic field is compressed at the dayside and stretched out to a long tail (more than about 100 RE ) at the nightside, known as the “magnetotail.” Locally the current sheet in the tail is often modeled using the Harris sheet model (see section “Harris Sheet”), but it is possible to construct more sophisticated equilibrium models analytically, as is described.
3.2 Magnetotail-Like Solutions of the Liouville Equation
Several authors have applied the Liouville equation (Equation 17) to model magnetospheric plasmas, but the Liouville equation can also be derived from a Maxwell–Vlasov system for kinetic equilibria, as done, for example, in Kan (1973) to model a current sheet in the magnetotail. The true 2D character of the Liouville equations allows a derivation of an analytical magnetospheric configuration, including the transition region from dipolar to stretched configurations, as done in Manankova (2003). The tail approximation (see section “Magnetotail Convection Model”) cannot be applied here because the approximation of stretched configurations is not valid in the dipolar region. Schindler and Birn (2004) found magnetospheric solutions of the Liouville equation (Equation 17) using the generating function

Figure 2. (a) Field lines [contour plot of flux function ] for the magnetotail-like solution equation (Equation 61) of the Liouville equation as found by Schindler and Birn (2004). (b) Corresponding electric current density, , is plotted for better visualization. (c) and (d) Stationary MHD equilibria, created with the help of a transformation procedure.
where is used for normalization and is a free parameter. Inserting Equation 60 in the general solution (Equation 19) leads to the solution:
with , where the coordinates here are normalized with respect to . For , this Ansatz for the generating function produces the Harris sheet solution (see “Harris Sheet”). Figure 2(a) shows the magnetic field lines for this solution and panel (b) the current density.
3.2.1 Including Field-Aligned Plasma Flow
As explained in “Stationary MHD With Plasma Flow,” stationary equilibria with field-aligned incompressible plasma flow can be constructed with the help of a transformation. This was used in Nickeler and Wiegelmann (2010) by adding a plasma flow in the lobe of the magnetotail solution discussed in “Magnetotail-like Solutions of the Liouville Equation.” Figure 2(c) shows the Alfvén Mach number profile (ratio of plasma flow velocity to Alfvén Mach velocity), which was chosen in the form
where and are free parameters (see Nickeler & Wiegelmann, 2010). The variable is an inverse length and controls the spatial scales of the plasma flow (Mach number on field lines). Note that in Equation 62 was limited to sub-Alfvénic flows and the transformation (Equation 59) was used to compute a stationary MHD solution from Equation 61. As a consequence, two additional current sheets form where the gradient of is large [see Figure 2(d)].
3.2.2 Sequences of Magnetostatic Equilibria
Physical processes in the magnetosphere can be separated into the slow evolution loading phase (energy in the magnetotail increases) and a dynamic eruptive phase (magnetospheric substorms), where energy and matter (plasma) are released. The slowly evolving loading phase can be well modeled with a sequence of magnetostatic equilibria (e.g., in the form of the model developed by Schindler & Birn, 1982), which is summarized in section ” Magnetotail Convection Model.”
3.2.3 Magnetotail Convection Model
The magnetotail convection model developed by Schindler and Birn (1982) starts from the time-dependent ideal MHD equations (4–10) without gravity, where the system is closed by an isentropic equation of state:
where is the polytropic index. The original model by Schindler and Birn (1982) used a 2D geometry . as in Figure 3; the theory was extended later to 3D by Birn and Schindler (1983). The physical conditions in the Earth’s magnetotail allowed them to introduce a smallness parameter to distinguish different scales (e.g., the length scale of variation in the coordinate changes much more slowly than in , leading to ). There is a general theory of asymptotic expansions to find approximate solutions for systems with multiple scales (Schindler, 2006). Here specific application to the magnetotail is studied. The ratio of the speed of convection flows to the speed of MHD waves is of the order of and the typical convection time-scale is long compared with the travel-time of MHD waves, leading to . Rewriting Equations 4–10 with variables O(1) times powers of yields a set of equations for every power of The authors solved up to , neglecting higher-order terms. Consequently, the flow and time-dependent terms vanish in the equation of motion (Equation 5), which reduces to the MHS approach where the Lorentz force is compensated by the plasma pressure gradient. In 2D, this equation reduces to the Grad–Shafranov equation (Equation 15). In other equations such as the ideal Ohm’s law (Equation 9), terms of the order of remain. Using the definition of the magnetic flux function (Equation 11), ideal Ohm’s law is written as

Figure 3. A 2D model of the Earth’s magnetosphere. The original model, developed by Schindler and Birn (1982), was restricted to the magnetotail marked here with a rectangular domain. In a subsequent work by Becker et al. (2001), the near-Earth dipolar magnetic field was included into the convection model. The shaded area marked with is the volume between two field lines. In the mathematical limit of a vanishing distance between the two field lines, becomes the differential volume.

Figure 4. A numerical solution of the magnetotail convection model (limited to the rectangular area in Figure 3). (a) A few example field lines [contour plot of flux function ) for the initial state]. (b) The initial smooth current-density profile . (c) and (d) The same quantities at the end of the loading phase. The tail-like magnetic field lines have been compressed and, as a consequence, a thin current sheet has formed.
Just as in MHS theory, the flux function is constant on magnetic field lines. Unlike a static equilibrium, flux function and pressure are time-dependent, with and . While at every time the configuration is in equilibrium (with the Lorentz force compensated by pressure gradient), both quantities change slowly and the temporal evolution has to follow Ohm’s law as well as the entropy equation (Equation 63). In the entropy equation, the mass density (constant on field lines) can be related to the differential volume (see Figure 3) of each field line in the form , where is the particle number density and the average particle mass. Taking the convective derivative into account, Equation 63 expresses entropy conservation for each flux tube:
Using further and neglecting terms of order , the Grad–Shafranov equation becomes, after integration in ,
The integration constant corresponds to the magnetic field in the lobe. This is a quantity that can be deduced from measurements and, consequently, specifies the boundary conditions for the quasi-static model. Under the quasi-static equilibrium conditions defined earlier, the magnetic pressure in the lobe corresponds to the plasma pressure in the center of the magnetotail and Equation 66 describes a local Harris sheet-like equilibrium (see “Harris Sheet”) in . Note that terms of the order of are considered and lead to a parametric dependence of Equation 66 on and via the integration constant . This constant is used to model the flux transfer from the front side of the magnetosphere to the magnetotail and is given by
where and are free parameters. They are deduced from measurements, as specified later. The measurements show and . The equation of state (Equation 63) reduces in this approximation to entropy conservation on each flux tube (Equation 65).
Schindler and Birn (1982) provided analytical solutions of the system (Equations 65–67) under the assumption that the plasma pressure evolves self-similarly in time when and . These analytical solutions are only possible for the choice in Equation 67. For the values deduced from measurements, namely , the system of Equations 65–67 has to be solved numerically (Wiegelmann & Schindler, 1995). The numerical solution is not self-similar but shows a strong increase of the electric current density in the near-Earth magnetotail, as shown in Figure 4. While the formation of current sheets can be modeled by the sequence of MHS equilibria, plasma instabilities on microscopic scales (well below the MHD scale) can occur and lead to dynamic processes (e.g., magnetic substorms), which cannot be modeled by equilibrium theory. In this sense, a sequence of equilibria can explain why the slow loading phase of the magnetotail ends and the eruptive phase is initiated. While the Schindler and Birn (1982) model is limited to 2D configurations in the magnetotail, the theory has been extended to 3D by Birn and Schindler (1983). The approximation is valid in the magnetotail but breaks down in the dipolar region close to Earth. Including this area requires a full numerical approach (Becker et al., 2001). It was found that current sheets form in the transition region between the dipolar and tail-like field at the night-side magnetosphere.
3.3 Solar Magnetic Fields and Plasma
In the solar corona, the magnetic pressure is about two to four orders of magnitude higher than the plasma pressure (the dimensionless number ), non-magnetic forces can be neglected in lowest order (Neukirch, 2005), and the Lorentz force approximately vanishes. Under this assumption, the MHS equations (1–3) reduce to
This approach gives a force-free field model.
3.3.1 Force-Free Magnetic Fields
For a review article dedicated entirely to solar force-free fields, see Wiegelmann and Sakurai (2012). Within this article, only a few basic properties of this approach are addressed. The cross product in Equation 68 vanishes only if the two terms, and , are parallel (or antiparallel) to each other (or if one term vanishes). This leads to
where is a function of space. Taking the divergence of Equation 70 and using the solenoidal condition (Equation 69) gives Equation 71, which constrains to be constant along magnetic field lines. One has to distinguish three cases:
: The electric current density vanishes. This assumption gives rise to a potential field model and is described in the section “Potential Fields.”
is globally constant. Electric currents are parallel or antiparallel to the magnetic field. This approach is called a Linear Force-Free Field model (LFFF) and is discussed in section “Linear Force-Free Fields.”
varies in space, but is constrained by Equation 71. This is the generic case and called a Nonlinear Force-Free Field model (NLFFF). This approach is discussed in “Nonlinear Force-Free Fields for 2D” and in “Nonlinear Force-Free Fields in 3D.”

Figure 5. A potential field source-surface model based on a synoptic magnetogram observed with SDO/HMI in March 2015.
3.3.2 Potential Fields
In current-free configurations, the magnetic field can be derived from a scalar potential
And, after inserting in the solenoidal Equation 69,
must be solved together with appropriate boundary conditions. For this model, the inner boundary conditions are the measured magnetic field in the solar photosphere (radial or line-of-sight component of the photospheric magnetic field). These measured photospheric magnetic fields provide the inner boundary conditions (at a radius , which is the radius of the Sun) for the model. At the outer boundary of the model, which is called the source surface (often placed at ), the magnetic field is assumed to become radial. This is a simple way to mimic the effect of the solar wind flow in stretching and opening magnetic field lines. This approach is called the Potential Field Source Surface model; an example is shown in Figure 5. Equation 73 has been solved by a spherical harmonic decomposition, and a synoptic magnetogram observed with the Helioseismic and Magnetic Imager (HMI) on board the Solar Dynamics Observatory (SDO) was used as a photospheric boundary condition. It is also possible to solve Equation 73 in Cartesian geometry with different methods. This is not addressed here [see Priest (2014), section 3.3 for explicit potential field solutions in Cartesian and spherical geometry], but Cartesian potential fields as a special case with are investigated in section “Linear Force-Free Fields.” Potential fields are easy to compute and require as a boundary condition only the line-of-sight (LOS) photospheric field. Thus, they have been used frequently in the past and are computed also nowadays as a lowest order approximation. One reason is that for a given vertical flux distribution on the boundaries, potential fields have a minimum energy [see Priest (2014), section 3.3 for a mathematical proof]. More sophisticated models (e.g., nonlinear force-free fields) have a higher energy. The amount of excess energy in these models is an upper limit for the free magnetic energy of the configuration. Only configurations with free magnetic energy can become unstable (a necessary but not sufficient condition) and power solar eruptions like flares and coronal mass ejections. During these dynamic processes, the free magnetic energy or parts of it are converted to thermal and kinetic energy. Another reason for computing potential fields is that they can be used as initial states for numerical computation of nonlinear models (see “Nonlinear Force-Free Fields in 3D”).
3.3.3 Linear Force-Free Fields
For linear force-free fields, the force-free function in Equations 70 and 71 reduces to a constant. This automatically satisfies Equation 71, leading to
where now is a parameter. Like potential fields, linear force-free fields require only the radial or vertical magnetic field in the photosphere as a photospheric boundary condition. While it is possible to formulate the linear force-free equations in any geometry, this approach never became popular for spherical geometry because a constant value of in the entire global corona is unrealistic. Linear force-free fields are (and have been more in the past) popular for modeling solar active regions for two reasons: First, the equations are much easier (and faster) to solve, and second, they need only the vertical photospheric field as a boundary condition. Such measurements have been available for decades, whereas horizontal fields are more difficult to measure.
For a constant , a Helmholtz equation can be derived by taking the curl of Equation 70 and applying vector identities, leading to
which can be solved by a number of numerical techniques. The fast Fourier transform method (Alissandrakis, 1981) is widely used in the solar community [explicit analytical linear force-free solutions in Cartesian and spherical geometry can be found in Priest (2014), section 3.4]. While it is known that has to be constant, its exact value is a priori unknown. If vector magnetograms are available, the value of can be deduced from the ratio of the vertical components of and on the surface (Hagino & Sakurai, 2004):
where the vertical electric current density is
By applying these formulas, the photospheric magnetic field measurements are used as the boundary condition for the model and also to specify the free model parameter . Before the launch of SDO in 2010, vector magnetograms had been only occasionally available, whereas LOS magnetograms had been available for decades. Consequently, alternative methods to derive the constant have been developed, mainly by computing a number of LFFF models with the same boundary conditions but with several different values of . The magnetic field lines traced from the solutions of the LFFF models have been compared with loops seen in coronal EUV images. A number of quantitative criteria have been developed to optimize the value of which best fits the coronal observations (see, e.g., Carcedo et al., 2003; Conlon & Gallagher, 2010).
A single value of often does not fit well to structures (coronal loops) seen in different parts of an active region. The optimal value of can have a rather large scatter and even change its sign. Variations of , however, contradict the assumption of a linear force-free field, and this discrepancy can only be resolved if nonlinear effects are taken into account, as is done in the section “Nonlinear Force-Free Fields in 2D” and in the section “Nonlinear Force-Free Fields in 3D”. Furthermore, there is another problem with linear force-free fields, namely, that the amount of magnetic energy of these configurations is not bounded if the computations extend in a vertical direction from the photosphere to infinity. In such cases, the computed magnetic energy becomes unrealistic at large distances from the Sun. This property is not a problem, however, for computations of a solar-active region with a vertical extend comparable with the lateral extension of the active region. There are some limitations on the allowed values of (which depend on the size of the region) and non-uniqueness of linear force-free fields. It is well outside the scope of this article to discuss these details (but see Priest, 2014, section 3.4].
3.3.4 Nonlinear Force-Free Fields in 2D
Due to the difficulty of taking nonlinearities into account, they are first investigated in 2D by using again the method of prescribing the magnetic field with the help of a flux function, similar to Cartesian MHS equilibria in the section “Grad–Shafranov Equation.” Using the flux-function approach and deriving a Grad–Shafranov equation is possible also in spherical and cylindrical geometry. For curvilinear coordinate systems, the mathematics can become quite involved. The interested reader can find a derivation of the Grad–Shafranov equation for these cases in Schindler (2006, section 5.2). A class of rotationally symmetric nonlinear force-free equilibria has been developed in Low and Lou (1990). In spherical geometry, the magnetic field is represented as

Figure 6. Several 2D-axisymmetric configurations. The color-coded magnetogram shows the vertical field in the photosphere. The white curves are closed magnetic field lines (also called magnetic loops), which have been traced starting from the negative magnetic polarity area (shown in blue).

Figure 7. The axisymmetric NLFFF solution found by Low and Lou (1990) is very flexible in the sense that by rotation and shifting, 3D-like solutions in 3D-Cartesian geometry can be created. The NLFFF solution shown in Figure 6(e) was rotated by an angle of in Figure 7(a–d), respectively. Figure 7(e) and (f) show 3D views of a potential field and MHS equilibrium, respectively. The black lines are closed magnetic field lines.
where is the flux function, and is related to (but not identical with) the component of the magnetic field . Note that in spherical geometry, the flux function is not a component of the vector potential. With this approach, one obtains a Grad–Shafranov equation with the independent spherical variables and , whereas the configuration is axisymmetric in by construction:
where . Low and Lou (1990) found solutions for
with a separation ansatz
A few example field lines for this kind of nonlinear force-free field (NLFFF) solution are shown in Figure 6(e). This kind of solution is very popular to mimic 3D NLFFF equilibria in Cartesian geometry, as shown in Figure 7. In panel (a), the symmetry in is still obvious. If the whole configuration is rotated by an angle of , as shown in Figure 7(b–d), this symmetry becomes less obvious after a transformation to Cartesian geometry and after cutting off regions that are located below the photosphere after rotation. These equilibria are often used to test the performance of numerical 3D nonlinear force-free extrapolation codes.
3.3.5 Including Plasma Pressure: 2D MHS With Shear
The ansatz (Equation 78) used by Low and Lou (1990) for force-free fields has been extended to magnetostatic equilibria (without gravity) by Wiegelmann and Neukirch (2006):
For the choice , this reduces to the force-free ansatz found by Low and Lou (1990); contains the non-magnetic forces due to a plasma pressure gradient. Self-similar (and thereby separable) solutions are only possible for the choice and the additional constraint that the power of the radial component r has to be the same in all terms (see Wiegelmann & Neukirch, 2006). Figure 6(f) shows an example solution.
3.3.6 Comparison of Different Models
All models have exactly the same vertical photospheric magnetic flux distribution (color-code in Figure 6) and the magnetic field lines have been traced starting from the negative magnetic polarity region. Note that the photospheric horizontal magnetic field components are different for different models. The different model assumptions are related to the electric current density:
The current is strictly parallel to the magnetic field lines. This is the force-free approach because the Lorentz force vanishes. First shown are the effects of currents which are proportional with a global constant . As shown in Figure 6(b), for , the field lines become slightly twisted. If the current is increased to in Figure 6(c), the shearing significantly grows and leads to a large twisting of the field lines. The amount of shearing is the same for currents that are antiparallel to the field [ in Figure 6(d)], but the field lines become sheared and are spiraling in the opposite direction. The structure becomes somewhat more complex for nonlinear force-free configurations (where changes in space), shown in Figure 6(e) and Figure 7(a).
The current is not parallel to the magnetic field and the Lorentz force does not vanish. In this case, the Lorentz force is compensated by the plasma pressure gradient force and the configuration is magnetostatic [MHS, see Figure 6(f) and Figure 7(f)]. The effects are more visible in the 3D view in Figure 7. The Lorentz force leads to more vertical loops in the strong negative footpoint area (compared to potential and force-free fields), but the shearing and horizontal spiraling of the field lines are significantly lower than for the force-free field shown in Figure 7(a). The loops extend significantly higher into the atmosphere and, in the weak positive polarity footpoint area, they bend backward.
3.3.7 Linear MHS
A specific ansatz for the electric current density (see Low, 1991) is
which is a generalization of linear force-free fields in Equation 74 and the term is the same as in linear force-free models. The second term on the right-hand side of Equation 83 is a special form of Equation 33; this part of the electric current density is perpendicular to . A popular choice is
where is a free parameter and an inverse length. As pointed out by Aulanier et al. (1998), the form (Equation 83) causes a nonlinearity in the field-aligned current density because this component is caused by the and additional parts of the horizontal current. Nevertheless, it is preferable to call the ansatz (Equation 74) linear magnetostatic because the corresponding MHS equations can be solved by Fourier transforms, similar to the linear force-free field equations in the section “Linear Force-Free Fields.” The shortcomings of linear models, as outlined in that section, apply here too. Both free parameters and have to be globally constant in the entire computational domain. This excludes strongly localized concentrations of electric current and Lorentz forces. The approach (Equation 83) has been applied also in spherical geometry (Bogdan & Low, 1986). In this case, the electric current density flows on spherical shells. An extension of the theory allows the addition of a field-aligned electric current (see Neukirch, 1995).
3.3.8 Nonlinear Force-Free Fields in 3D
In the generic case, there are no symmetries and nonlinear effects have to be taken into account. The system of equations (Equations 68 and 69 or, equivalently 70 and 71) must be solved. In principle, solutions using Euler potentials are possible but, due to the shortcomings and difficulties of Euler potentials, it is more common to avoid them in practical computations of solar coronal magnetic fields. The boundary conditions are deduced from measurements of the photospheric magnetic field vector in the solar photosphere. Either the three components of this vector are used directly in Equations 68 and 69 or the distribution of the force-free function is computed with the help of the vertical electric-current distribution (see Equation 77), giving
3.3.8.1 Solving a Well-Posed Problem: Grad–Rubin
It has been shown by Bineau (1972) that well-posed boundary conditions for nonlinear force-free fields are provided by the vertical magnetic field and , which is required only on the surface region with either positive or negative magnetic polarity. The distribution of needs to be prescribed only for one polarity because is constant along magnetic field lines. Therefore, a field line connecting positive and negative polarity regions cannot have different values of in both polarities. Existence and uniqueness of solutions based on these conditions have been proved under the condition of small and smoothly distributed . Solving Equations 70 and 71 is called the Grad–Rubin method (Grad & Rubin, 1958). Solving a mathematically well-posed problem is certainly tempting for many mathematicians and mathematical physicists, but the principal problem is that the measured horizontal magnetic field vector provides two distinct well-posed problems, namely the distribution of for the positive and negative polarity regions. For ideal measurements, both well-posed problems should lead to the same solution, but in reality, the horizontal magnetic field measurements contain measurement errors and inconsistencies and the two solutions can differ significantly (see Schrijver et al., 2008). For solar applications, the Grad–Rubin method is implemented as follows:
Compute a potential field with as boundary condition, see the section “Potential Fields.”
Inject a current into the system by distributing along magnetic field lines via Equation 71.
These additional currents change the magnetic field, which is computed via Equation 70.
Naturally the field lines change, too, and the field-aligned currents are redirected in step 2.
Steps 2–4 are repeated until the solution converges. Convergence is not guaranteed, however.
3.3.8.2 Solving Force-Free Equations by Optimization or MHD Relaxation
Another possibility to solve the force-free equations iteratively is to use Equations 68 and 69 and the measured photospheric magnetic field vector as boundary conditions for the model. For this method, it is not necessary to compute the distribution. This is an advantage because can contain large errors, in particular in regions with low vertical field in the denominator of Equation 85. Providing all three components of the photospheric magnetic-field vector as boundary conditions leads to an overdetermined problem, which is a disadvantage of the method. For arbitrary distributions of the horizontal magnetic field vector, a solution of the force-free equations (Equations 68 and 69) is not guaranteed. It is therefore necessary to check if the observed boundary conditions are consistent with the assumption of a force-free field. For inconsistent boundary conditions, a preprocessing procedure can be applied which corrects the boundary field within the measurement errors of the horizontal fields in the photosphere. Codes that use this approach are the MHD relaxation and the optimization methods. They iterate for a force-free field as follows:
Compute a potential field with as boundary condition, see the section “Potential Fields.”
Replace the horizontal fields in the bottom layer of the potential field by the measured (or preprocessed) horizontal field .
Repeat step 4 until the solution converges and vanishes.
Convergence is not guaranteed.
In the MHD relaxation method, is derived from simplified time-dependent MHD equations and in the optimization approach by minimizing a functional (see Wiegelmann, 2008; Wiegelmann & Sakurai, 2012, for review papers).
3.3.9 Application of Nonlinear Force-Free Models in 3D
Several studies use (nonlinear) force-free models to investigate structures on the Sun (e.g., using the 3D magnetic field line structure to guide the interpretation of coronal images). Also popular is to compute time series of force-free equilibria whereby the configuration is in equilibrium at each instance while the measured boundary conditions (photospheric magnetic field vector) change in time. Figure 8(a) shows one example of such a series of equilibria for a solar-active region. In Figure 8(b), the integrated free magnetic energy of the active region in time is compared with the monitored flaring activity. While the dynamic phase of a flare can obviously not be modeled by static equilibria, the free-energy content of these equilibria can tell whether there is energy available to power a flare (Jing et al., 2009). This process of accumulating free magnetic energy can be well modeled from a sequence of equilibria.

Figure 8. (a) A nonlinear force-free field model for an active region observed on August 25, 2001, where the green lines are magnetic field lines. (b) Free magnetic energy computed from a sequence of nonlinear force-free models. The free energy (black diamonds) has been computed from the difference in energy of a nonlinear force-free model and a potential model for the same vertical magnetic flux in the photosphere. The integrated magnetic flux in the photosphere is shown in orange. The gray curves show the flaring activity, which resulted in an X-class flare (very large flare) at the peak of this curve between 16:23 and 16:45. During flares, free magnetic energy is converted into flaring energy. Interestingly, the energy already dropped about 15 min before the flare was detected (the drop is highlighted by the green line).
3.3.10 Conclusions on Nonlinear Force-Free Models in 3D
Unfortunately, none of the methods (Grad–Rubin, MHD relaxation, optimization) can be guaranteed to converge toward a unique solution. If the codes are fed with consistent and complete boundary conditions, all methods can reconstruct the correct unique solution with rather low errors (as shown in Schrijver et al., 2006). For observational vector magnetograms, which contain measurement errors, inconsistencies, and even missing horizontal fields in some regions, the output of the codes can differ significantly, as seen in another code-comparison paper by De Rosa et al. (2009). Different implementations of these methods have incorporated certain algorithms to deal with noise and inconsistencies in the photospheric magnetic-field measurements. Since the launch of SDO in 2010, high-quality vector magnetograms have been routinely available and the quality of the 3D model fields have significantly improved. Furthermore, nonlinear force-free fields are routinely compared with coronal images. Some algorithms to compute nonlinear force-free fields incorporate information deduced from coronal images; for example, the projection of coronal loops or the 3D structure of stereoscopic reconstructed loops (see, e.g., Malanushenko et al., 2012; Aschwanden, 2013; Chifu et al., 2017). In these models, information from coronal images is already used during the iterative computation toward a force-free configuration. Consequently, nonlinear force-free field models have become a standard tool to guide the analysis of solar coronal observations. Despite the difficulties and challenges in computing nonlinear force-free fields, they provide more powerful and realistic field models than the potential and linear force-free models discussed in the sections “Potential Fields” and “Linear Force-Free Fields.”
3.3.11 Nonlinear MHS
As pointed out in “Nonlinear Force-Free Fields in 3D,” there can be inconsistencies between the measurements in the photosphere and the force-free model in the solar corona. These inconsistencies are not just due to noise, but are also attributed to the fact that in the lowest layers of the solar atmosphere (photosphere and chromosphere), magnetic and non-magnetic forces are equally important. Consequently, at a rather thin (about 2 Mm) layer above the height where the measurements are taken, the Lorentz force does not necessarily vanish and the force-free equations (68 and 69) are not fulfilled. Consequently, a step forward is to take non-magnetic forces such as pressure gradients and gravity into account and solve the full nonlinear MHS equations (Equations 1–3). Corresponding codes (Grad–Rubin, MHD relaxation, optimization) for solar applications are based on the corresponding nonlinear force-free models discussed in “Nonlinear Force-Free Fields in 3D.” These codes iterate self-consistently the 3D magnetic field, plasma pressure, and densities. While the corresponding implementations and first tests for such nonlinear MHS codes have been performed, they are in their infancy and still cannot be used as routinely as the corresponding nonlinear force-free models. Nonlinear MHS codes are an active area of research, and it is expected that they will be further developed and used more frequently beyond the present (2019) and into the future.
3.4 Rotating Planetary Magnetospheres and Rotating Magnetic Stars
3.4.1 Rotating Planetary Magnetospheres
For planetary magnetospheres, the gravitational potential of the planet can often be neglected, giving for such rigidly rotating systems without external gravity
where is the centrifugal potential for a magnetosphere in strict co-rotation. The potential is defined as
A method to solve these equations analytically in cylindrical geometry under special assumptions (see Neukirch, 2009) follows. As in the section “Linear MHS,” the electric current density is assumed to be perpendicular to the external force, namely the centrifugal force:

Figure 9. MHD equilibria in rotating systems. (a) Dipolar solution for a rotating magnetosphere. Adapted from Neukirch (2009), Figure 1. Reproduced with permission from Taylor & Francis. (b) A superposition of dipolar and quadrupolar fields. Adapted from Wilson and Neukirch (2018), part of Figure 12. Reproduced with permission from Taylor & Francis. (c) Coronal magnetic field (displaced dipole) of a rotating star. Adapted from Al-Salti and Neukirch (2010), part of Figure 1. In all panels, the colored curves are magnetic field lines. Reproduced with permission from Quality Control ESO.
This kind of representation is reminiscent of the Euler potential representation (for the magnetic field ) introduced in the section “Euler Potentials” and is an example of the general formulation given in the section Potentials for the current density. Here, one of these potentials coincides with the centrifugal potential , while the potential remains a free function. Inserting Equation 91 into the force–balance Equation 87 gives
The pressure is a function of the potentials and consequently . Because the potentials and are linearly independent, the terms containing and in Equation 92 have to be fulfilled independently, leading to
This set of equations (93 and 94) is still difficult to solve for an arbitrary free potential . It can be linearized using a specific form (as suggested by Low, 1991; Neukirch, 2009),
with a free scalar function . Because of the linearity, new solutions can be created by the superposition of known solutions. Formulas for explicit analytical solutions can be found in Neukirch (2009). Figure 9(a) shows a dipolar solution. Subsequently, Wilson and Neukirch (2018) made use of the linearity of the solution and computed a configuration as the superposition of a dipolar and quadrupolar configuration, which is shown in Figure 9(b).
3.4.2 Rotating Magnetic Stars
Stellar applications usually include the gravitational field of the central body. For rotating configurations, including an external gravity field, one still has to solve Equations 87–89, but the potential as defined in Equation 90 includes now centrifugal and gravitational potentials. In the following, a spherical coordinate system is used and the combined potential (Al-Salti & Neukirch, 2010) is given as

Figure 10. The cylindrical coordinate system () used for computing tokamak equilibria. is the invariant direction. The curves indicate a torus, which traps the plasma (indicated with dots).
where is the gravitational constant and is the mass of the star.
Like Equation 91, the electric current density is described by two potentials. The equations are more complicated because is a function of and and contains the gravitational potential (see Equation 96). Nevertheless, the same linearization as in Equation 95 is possible. It is not possible, however, to find analytical solutions by separation of variables, and a numerical approach is necessary. Figure 9(c) shows a configuration based on a displaced dipole found by Al-Salti and Neukirch (2010).
3.5 Laboratory Plasmas
An important application of MHD equilibrium theory for laboratory plasmas is the modeling of fusion devices, in particular of tokamaks and stellarators. Here only some basic fusion-relevant MHD equilibrium theory is reviewed.

Figure 11. Different classes of topology for tokamak MHD equilibria. (a) Separatrix surface is outside the plasma. (b) Separatrix surface and surface of plasma coincide. (c) Separatrix surface is inside the plasma. The shaded areas indicate regions containing plasma and the thick black lines are the separatrix surfaces.
For more details on MHD theory for a tokamak plasma, see Freidberg (1982). An overview of analytical and numerical approaches to compute MHD equilibria in 2D and 3D is given in Biskamp (1993, Chapter 3). The equilibrium state of fusion plasmas is modeled by the equations of magnetostatics (Equations 1–3). Fusion-relevant computations of MHD equilibria also have engineering applications. A realistic model of a fusion device can help in the design of the corresponding machines (e.g., tokamaks or stellarators) before they are built. Moreover, in fusion theory the gravitational term can be neglected and
must be solved. For a tokamak equilibrium, it is sufficient to solve the magnetostatic equations (Equations 97–99) in 2D due to its toroidal symmetry. This is not the case for the complex geometry of stellarators, which require the magnetostatic equations in 3D to be solved. The aim of this research is to trap plasma in the device. Therefore fusion devices with stable plasma equilibria are of interest. Stable means that plasma instabilities should not occur. The operation of tokamaks in a pulsed mode is not considered here.
3.5.1 2D Grad–Shafranov Equilibria With Application to Tokamaks
In a toroidally symmetric cylindrical geometry (see Figure 10), the magnetostatic equations (Equations 97–99) can be reduced to a Grad–Shafranov equation (see, e.g., McCarthy, 1999):
where the configuration is 2D and invariant in . Here is the flux function and is the electric current density in the invariant toroidal direction . and are a priori unknown free source functions. Equation (100) is the cylindrical version of Equation 26, which contains both plasma pressure and a magnetic field component in the invariant direction. An overview of simple and sophisticated analytical solutions for computing tokamak-relevant MHD equilibria can be found in McCarthy (1999).
Key quantities to characterize the tokamak geometry are the inverse aspect ratio and the safety factor , which are defined as follows:
where and are the major and minor radius of the tokamak torus. The safety factor depends on the toroidal current or equivalently on the magnetic field. In the earliest tokamak designs, the safety factor was defined as the ratio of the numbers of times a (helical) field line travels around the (long) toroidal to the (short) poloidal direction. For a circular cross section, the Kruskal–Shafranov limit,
has to be fulfilled to ensure stability of the plasma configuration, but fusion machines are usually operated at higher values of . Here explicit expressions for are not given because they depend on the particular tokamak design (e.g., often D-shaped cross sections are used (see Takeda & Tokuda, 1991, section 2). An example of a modern tokamak currently under construction is ITER with the specification , , and .1
3.5.2 Analytical Solutions
3.5.2.1 Solov’ev Solution
Quite a simple analytical solution of Equation 100 has been found by Solov’ev (1968) using the assumption that the source functions and are linear in . Here are constants, which can be used to specify . With this approach, the right-hand side of Equation 100 does not depend explicitly on and the equation can be integrated:
where is any current-free or vacuum solution, which can be superposed due to the linearity of the Grad–Shafranov equation under this assumption.
3.5.2.2 Quadratic and Dissimilar Source Functions
Analytical solutions of Equation 100 have also been found for the linear Grad–Shafranov equation. In this case, the source functions and are quadratic in (see McCarthy, 1999, section IIB). A wide and flexible class of analytical solutions can be constructed by choosing dissimilar source functions (e.g., with linear and a second-order polynomial in ). The corresponding solutions can be expressed in the form of Bessel functions and have free parameters that can be used to fit to experiments. This is usually achieved numerically by least-square fitting algorithms (see McCarthy, 1999, sections II and III).
3.6 Numerical Computations in 2D
For solving the cylindrical Grad–Shafranov Equation 100 in the generic nonlinear case (when the source functions are neither linear nor quadratic, nor a combination of both), one has to apply numerical methods. For details, see the review paper by Takeda and Tokuda (1991), “Computation of MHD equilibrium of tokamak plasma.” The paper also addresses briefly the computation of non-axisymmetric 3D equilibria, which are relevant for stellarators. The description of a numerical code for solving the Grad–Shafranov equation in toroidal (tokamak) geometry, with the help of a variational algorithm, can be found in Lütjens et al. (1996). The code was dubbed CHEASE (Cubic Hermite Element Axisymmetric Static Equilibrium) and is frequently used by several laboratories to model their tokamak devices.
In 2D configurations, magnetic field lines (magnetic surfaces in 3D) can be visualized as contours of the flux function, as shown in Figure 11. The three panels show different topologies of the magnetic surfaces, which are used for classifying the equilibria. In Figure 11(a), the separatrix surface is located outside the plasma region (gray). In Figure 11(b), the boundary of the plasma and the separatrix surface coincide, and in Figure 11(c), the separatrix surfaces lies inside the plasma region. For a tokamak equilibrium, one usually aims for equilibria of type (a), whereas cases (b) and (c) occur in specific devices (e.g., in divertor tokamaks and doublet tokamaks, respectively) (see Takeda & Tokuda, 1991, section 2, and references therein).
3.7 3D Numerical Solutions With Application to Stellarators
Due to its complex geometry, it is not possible to model stellarators in 2D and consequently one cannot reduce the magnetostatic equations (Equations 97–99) to a single partial differential equation. Suggestions on how fusion-relevant equilibria can be computed numerically have already been made by Grad and Rubin (1958). The suggested method, dubbed the Grad–Rubin method, has become popular to compute nonlinear force-free equilibria for astrophysical applications (see “Solar Magnetic Fields and Plasma”).
Chodura and Schlueter (1981) developed a code for computing 3D equilibria with the help of an energy principle in the form
where is the adiabatic index. As pointed out by Chodura and Schlueter (1981), minimizing the energy functional (Equation 104) should in principle lead to a stable equilibrium. Hirshman and Whitson (1983) developed a code using a steepest decent algorithm to minimize the functional (Equation 104) and thereby solved the magnetostatic equations (Equations 97–99) in 3D. The code VMEC (Variational Moments Equilibrium Code) has become a standard tool for computing stellarator equilibria and has also been applied to tokamaks. An overview of the VMEC code and a list of fusion devices for which it has been applied can be found in a fusion-wiki.2
4. Conclusion
This article has given an overview of the theory and application of magnetohydrodynamic (MHD) systems in equilibrium. Exact solutions are usually only possible if the number of dimensions is reduced to 2D or for special cases in 3D, where these special cases often include a linearization. While both approaches have been successful in studying physical systems such as magnetospheres and stellar atmospheres, they are not fully satisfying. The real world is three-dimensional and nonlinear. Within the past two decades, since the 1990s, the study of these generic cases (nonlinear and 3D) has become possible due to powerful computers and the development of sophisticated numerical techniques. In certain areas such as the solar corona, subsets of equilibrium theory (e.g., nonlinear force-free field models) are applicable because in the solar corona magnetic forces dominate over plasma forces. Despite a further simplification compared with magnetohydrostatic (MHS) models, developing optimal numerical codes to solve these equations is very challenging. Major problems have been and still are noise and inconsistencies of the measured boundary conditions (the magnetic field vector in the photosphere of the Sun and stars) and the additional complication that the Lorentz force vanishes only in the corona, but not necessarily in the lower solar (stellar) atmosphere (photosphere and chromosphere) and also not in the heliosphere and astrospheres (interaction regions of stellar winds with the interstellar medium), where the pressure gradient force, the external gravitational force, and the inertial forces caused by plasma flows (stellar winds) become important. For rapidly rotating stars and planetary magnetospheres, it is furthermore necessary to include the centrifugal force as an additional inertial force. Taking all these additional physical effects into account is a challenge. Popular approaches in 3D include a special class of solutions where the electric currents are restricted to flow perpendicular to external forces (like gravity, centrifugal force, or both). Such assumptions about the currents are mathematically convenient because they often allow a linearization of the system of equations, but unfortunately, this approach is often not physically justified. Furthermore, it has been demonstrated that this approach does not allow the inclusion of the centrifugal force and plasma flow on open field lines. To do so (without any assumptions on the currents), one has to use nonlinear, fully numerical approaches. Computer codes for nonlinear MHS equilibria in 3D are under development. The difficulties are the more complex physics in these approaches, but also the problem that additional measurements are needed to prescribe the boundary conditions. Challenges in the near future are also the inclusion of plasma flows (stellar winds) and centrifugal forces within a consistent model. Certainly, MHD equilibrium theory is not an isolated research topic, but embedded in the larger area of time-dependent MHD and non-MHD processes in plasma physics. Taking equilibrium solutions as initial states for time-dependent MHD simulations has been a standard approach in magnetospheric as well as in solar physics. The first approaches were in 2D, whereas now 3D simulations are state of the art. Care has to be taken that the initial MHD equilibria are not too simple because that can lead to misleading results. This can happen, for example, if finding numerical stability, when using a linear equilibrium as input, does not exclude instabilities (eruptions, dynamics) for nonlinear equilibria. Even more involved are sequences of MHD equilibria that form strong current concentrations and strongly localized Lorentz forces, because the assumptions of MHD are not satisfied within these structures and more sophisticated plasma models (e.g., kinetic theory) may need to be adopted.
Further Reading
- Biskamp, D. (1993). Nonlinear magnetohydrodynamics. Cambridge, U.K.: Cambridge University Press.
- Goedbloed, J. P. H., & Poedts, S. (2004). Principles of magnetohydrodynamics. Cambridge, U.K.: Cambridge University Press.
- Priest, E. (1982). Solar magnetohydrodynamics. Basel, Switzerland: Springer Nature.
- Priest, E. (2014). Magnetohydrodynamics of the Sun. Cambridge, U. K.: Cambridge University Press.
- Schindler, K. (2006). Physics of space plasma activity. Cambridge, U. K.: Cambridge University Press.
- Wiegelmann, T., & Sakurai, T. (2012). Solar force-free magnetic fields. Living Reviews in Solar Physics, 9(5).
References
- Alissandrakis, C. E. (1981). On the computation of constant alpha force-free magnetic field. Astronomy & Astrophysics, 100, 197–200.
- Al-Salti, N., & Neukirch, T. (2010). Three-dimensional solutions of the magnetohydrostatic equations: Rigidly rotating magnetized coronae in spherical geometry. Astronomy & Astrophysics, 520, A75.
- Aschwanden, M. J. (2013). Nonlinear force-free magnetic field fitting to coronal loops with and without stereoscopy. Astrophysical Journal, 763, 115.
- Aulanier, G., Démoulin, P., Schmieder, B., Fang, C., & Tang, Y. H. (1998). Magnetohydrostatic model of a bald-patch flare. Solar Physics, 183, 369–388.
- Bandle, C. (1975). Existence theorems, qualitative results and a priori bounds for a class of nonlinear Dirichlet problems. Archive for Rational Mechanics and Analysis, 58, 219–238.
- Becker, U., Neukirch, T., & Schindler, K. (2001). On the quasistatic development of thin current sheets in magnetotail-like magnetic fields. Journal of Geophysical Research, 106, 3811–3826.
- Bogdan, T. J., & Low, B. C. (1986). The three-dimensional structure of magnetostatic atmospheres. II—Modeling the large-scale corona. Astrophysical Journal, 306, 271–283.
- Bineau, M. (1972). Existence of force-free magnetic-fields. Communications on Pure and Applied Mathematics, 25, 77.
- Birn, J., & Schindler, K. (1983). Self-consistent theory of three-dimensional convection in the geomagnetic tail. Journal of Geophysical Research, 88, 6969–6980.
- Biskamp, D. (1993). Nonlinear magnetohydrodynamics. Cambridge, U.K.: Cambridge University Press.
- Carcedo, L., Brown, D. S., Hood, A. W., Neukirch, T., & Wiegelmann, T. (2003). A quantitative method to optimise magnetic field line fitting of observed coronal loops. Solar Physics, 218, 29–40.
- Chifu, I., Wiegelmann, T., & Inhester, B. (2017). Nonlinear force-free coronal magnetic stereoscopy. Astrophysical Journal, 837, 10.
- Chodura, R., & Schlueter, A. (1981). A 3D code for MHD equilibrium and stability. Journal of Computational Physics, 41, 68–88.
- Conlon, P. A., & Gallagher, P. T. (2010). Constraining three-dimensional magnetic field extrapolations using the twin perspectives of STEREO. Astrophysical Journal, 715, 59–65.
- De Rosa, M. L., Schrijver, C. J., Barnes, G., Leka, K. D., Lites, B. W., Aschwanden, M. J., . . . Tadesse, T. (2009). A critical assessment of nonlinear force-free field modeling of the solar corona for active region 10953. Astrophysical Journal, 696, 1780–1791.
- Edenstrasser, J. W. (1980). The only three classes of symmetric MHD equilibria. Journal of Plasma Physics, 24, 515–518.
- Freidberg, J. P. (1982). Ideal magnetohydrodynamic theory of magnetic fusion systems. Reviews of Modern Physics, 54, 801–902.
- Gebhardt, U., & Kiessling, M. (1992). The structure of ideal magnetohydrodynamics with incompressible steady flow. Physics of Fluids B, 4, 1689–1701.
- Goedbloed, J. P. H., & Poedts, S. (2004). Principles of magnetohydrodynamics. Cambridge, U.K.: Cambridge University Press.
- Grad, H. (1960). Reducible problems in magneto-fluid dynamic steady flows. Reviews of Modern Physics, 32, 830–847.
- Grad, H., & Rubin, H. (1958). Hydromagnetic equilibria and force-free fields. In J. H. Martens, L. Ourom, W. M. Barss, L. G. Bassett, K. R. E. Smith, M. Gerrard, . . . D. Finkelstein (Eds.), Peaceful uses of atomic energy: Vol. 31. Theoretical and experimental aspects of controlled nuclear fusion (pp. 190–197). Geneva, Switzerland: United Nations.
- Hagino, M., & Sakurai, T. (2004). Latitude variation of helicity in solar active regions. Publications of the Astronomical Society of Japan, 56, 831–843.
- Harris, E.G. (1962). On a plasma sheath separating regions of oppositely directed magnetic fields. Nuovo Cimento, 23, 115.
- Hirshman, S. P., & Whitson, J. C. (1983). Steepest-descent moment method for three-dimensional magnetohydrodynamic equilibria. Physics of Fluids, 26, 3553–3568.
- Jing, J., Chen, P. F., Wiegelmann, T., Xu, Y., Park, S.-H., & Wang, H. (2009). Temporal evolution of free magnetic energy associated with four X-class flares. Astrophysical Journal, 696, 84–90.
- Kan, J. R. (1973). On the structure of the magnetotail current sheet. Journal of Geophysical Research, 78, 3773.
- Liouville, C. (1853). Sur l’equation aux derivee partilles. Journal de Mathematiques Pures et Appliquées, 18, 71–72.
- Low, B. C. (1991). Three-dimensional structures of magnetostatic atmospheres. III—A general formulation. Astrophysical Journal, 370, 427–434.
- Low, B. C., & Lou, Y. Q. (1990). Modeling solar force-free magnetic fields. Astrophysical Journal, 352, 343–352.
- Lütjens, H., Bondeson, A., & Sauter, O. (1996). The CHEASE code for toroidal MHD equilibria. Computer Physics Communications, 97, 219–260.
- Malanushenko, A., Schrijver, C. J., DeRosa, M. L., Wheatland, M. S., & Gilchrist, S. A. (2012). Guiding nonlinear force-free modeling using coronal observations: First results using a qquasi-Grad–Rubin scheme. Astrophysical Journal, 756, 153.
- Manankova, A. V. (2003). Two-dimensional current-carrying plasma sheet in the near-Earth geomagnetic tail region: A quasi-stationary evolution. Annales Geophysicae, 21, 2259–2269.
- McCarthy, P. J. (1999). Analytical solutions to the Grad–Shafranov equation for tokamak equilibrium with dissimilar source functions. Physics of Plasmas, 6, 3554–3560.
- Neukirch, T. (1995). On self-consistent three-dimensional analytic solutions of the magnetohydrostatic equations. Astronomy & Astrophysics, 301, 628.
- Neukirch, T. (2005). Magnetic field extrapolation. In D. E. Innes, A. Lagg, & S A. Solanki (Eds.), Proceedings of the international scientific conference on chromospheric and coronal magnetic fields (p. 12.1). Paris, France: European Space Agency.
- Neukirch. T. (2009). Three-dimensional analytical magnetohydrostatic equilibria of rigidly rotating magnetospheres in cylindrical geometry. Geophysical and Astrophysical Fluid Dynamics, 103, 535–547.
- Nickeler, D. H., & Wiegelmann, T. (2010). Thin current sheets caused by plasma flow gradients in space and astrophysical plasma. Annales Geophysicae, 28, 1523–1532.
- Priest, E. (2014). Magnetohydrodynamics of the Sun. Cambridge, U.K.: Cambridge University Press.
- Priest, E. R. (1982). Solar magnetohydrodynamics. Basel, Switzerland: Springer Nature.
- Priest, E. R. (2019). Magnetohydrodynamics: Overview. In B. Foster (Ed.), Oxford research encyclopedia of physics. Oxford, U.K.: Oxford University Press.
- Schindler, K. (2006). Physics of space plasma activity. Cambridge, U. K.: Cambridge University Press.
- Schindler, K., & Birn, J. (1982). Self-consistent theory of time-dependent convection in the Earth’s magnetotail. Journal of Geophysical Research, 87, 2263–2275.
- Schindler, K., & Birn, J. (2004). MHD stability of magnetotail equilibria including a background pressure. Journal of Geophysical Research (Space Physics), 109(A18), 10208.
- Schmid-Burgk, J. (1967). Finite amplitude density variations in a self-gravitating isothermal gas layer. Astrophysical Journal, 149, 727.
- Schrijver, C. J., DeRosa, M. L., Metcalf, T., Barnes, G., Lites, B., Tarbell, T., . . . Thalmann, J. K. (2008). Nonlinear force-free field modeling of a solar active region around the time of a major flare and coronal mass ejection. Astrophysical Journal, 675, 1637–1644.
- Schrijver, C. J., De Rosa, M. L., Metcalf, T. R., Liu, Y., McTiernan, J., Régnier, S., . . . Wiegelmann, T. (2006). Nonlinear force-free modeling of coronal magnetic fields. Part I: A quantitative comparison of methods. Solar Physics, 235, 161–190.
- Solov’ev, L. S. (1968). The theory of hydromagnetic stability of toroidal plasma configurations. Soviet Journal of Experimental and Theoretical Physics, 26, 400.
- Takeda, T., & Tokuda, S. (1991). Computation of MHD equilibrium of tokamak plasma. Journal of Computational Physics, 93, 1–107.
- Tasso, H., & Throumoulopoulos, G. N. (1998). Axisymmetric ideal magnetohydrodynamic equilibria with incompressible flows. Physics of Plasmas, 5, 2378–2383.
- Tsinganos, L. S. (1981). Magnetohydrodynamic equilibrium. I: Exact solutions of the equations. Astrophysical Journal, 245, 764–782.
- Walker, L. S. (1915). Some problems illustrating the forms of nebulae. Proceedings of the Royal Society of London Series A, 91, 410–420.
- Wiegelmann, T. (2008). Nonlinear force-free modeling of the solar coronal magnetic field. Journal of Geophysical Research (Space Physics), 113, A03S02.
- Wiegelmann, T., & Neukirch, T. (2006). An optimization principle for the computation of MHD equilibria in the solar corona. Astronomy & Astrophysics, 457, 1053–1058.
- Wiegelmann, T., & Sakurai, T. (2012). Solar force-free magnetic fields. Living Reviews in Solar Physics, 9(5).
- Wiegelmann, T., & Schindler, K. (1995). Formation of thin current sheets in a quasi-static magnetotail model. Geophysical Research Letters, 22, 2057–2060.
- Wilson, F., & Neukirch, T. (2018). Three-dimensional solutions of the magneto-hydrostatic equations for rigidly rotating magnetospheres in cylindrical coordinates. Geophysical and Astrophysical Fluid Dynamics, 112, 74–95.
- Zwingmann, W. (1987). Theoretical study of onset conditions for solar eruptive processes. Solar Physics, 111, 309–331.