1 Introduction

The standard understanding of eruptive solar flares (e.g., Schmieder and Aulanier, 2012; Priest, 2014; Aulanier, 2014; Janvier, Aulanier, and Démoulin, 2015) is that excess magnetic energy and magnetic helicity build up until a threshold is reached at which point the magnetic configuration either goes unstable or loses equilibrium, either by breakout (Antiochos, DeVore, and Klimchuk, 1999; DeVore and Antiochos, 2008) or magnetic catastrophe (Démoulin and Priest, 1988; Priest and Forbes, 1990; Forbes and Isenberg, 1991; Lin and Forbes, 2000; Wang, Shen, and Lin, 2009) or kink instability (Hood and Priest, 1979) or by torus instability (Lin et al., 1998; Kliem and Török, 2006; Démoulin and Aulanier, 2010; Aulanier et al., 2010; Aulanier, Janvier, and Schmieder, 2012).

Some solar flares (known as eruptive flares) are associated with the eruption of a magnetic structure containing a prominence (observed as a coronal mass ejection) and typically produce a two-ribbon flare, with two separating \(\mbox{H}\upalpha\) ribbons joined by a rising arcade of flare loops. Others are contained and exhibit no eruptive behaviour. While some coronal mass ejections are associated with eruptive solar flares, others occur outside active regions and are associated with the eruption of a quiescent prominence. Coronal mass ejections outside active regions do not produce high-energy products, because their magnetic and electric fields are much smaller than in eruptive solar flares, but their magnetic origin and evolution may well be qualitatively the same.

Magnetic helicity is a measure of the twist and linkage of magnetic fields, and its basic properties were developed by Woltjer (1958), Taylor (1974), Moffatt (1978), Berger and Field (1984), Berger and Ruzmaikin (2000) and Demoulin, Pariat, and Berger (2006). It was first suggested to be important in coronal heating, solar flares and coronal mass ejections by Heyvaerts and Priest (1984), who proposed that, when the stored magnetic helicity is too great, it may be ejected from the Sun in an erupting flux rope (see also Rust and Kumar, 1994; Low and Berger, 2003; Kusano et al., 2002). The flux of magnetic helicity through the photosphere, its buildup in active regions and its relation to sigmoids has been studied by Pevtsov, Canfield, and Metcalf (1995), Canfield and Pevtsov (1998), Canfield, Hudson, and McKenzie (1999), Canfield, Hudson, and Pevtsov (2000), Pevtsov and Latushko (2000), Pevtsov (2002), Green et al. (2002), Pariat et al. (2006), and Poisson et al. (2015).

Indeed, the measurement of magnetic helicity in the corona is now a key topic with regard to general coronal evolution (Chae, 2001; Démoulin et al., 2002; Mandrini et al., 2004; Zhang, Flyer, and Low, 2006; Zhang and Flyer, 2008; Mackay, Green, and van Ballegooijen, 2011; Mackay, DeVore, and Antiochos, 2014; Gibb et al., 2014). Also, since magnetic helicity is well conserved on timescales smaller than the global diffusion time, measuring it in interplanetary structures such as flux ropes and magnetic clouds (Gulisano et al., 2005; Qiu et al., 2007; Hu et al., 2014; Hu, Qiu, and Krucker, 2015) allows us to link the evolution of CMEs in the solar wind with their source at the Sun (Nindos, Zhang, and Zhang, 2003; Luoni et al., 2005).

The common scenario described above for an eruptive solar flare or coronal mass ejection is that, after the slow buildup of magnetic helicity in a magnetic structure, the eruption is triggered and drives three-dimensional reconnection which adds energy to post-flare loops. Originally, it was thought that all of the magnetic energy stored in excess of potential would be released during a flare, and therefore that the final post-flare state would be a potential magnetic field. However, the modern realisation is that magnetic helicity conservation provides an extra constraint, which produces a different final state. It is also observed that flare loops in an eruptive flare do not relax to a potential state, since the low-lying loops remain quite sheared (Asai et al., 2004; Warren, O’Brien, and Sheeley, 2011; Aulanier, Janvier, and Schmieder, 2012). Our aim in this paper is to determine two key observational consequences of the reconnection process, namely, the amount of magnetic helicity, and therefore twist, in the erupting flux rope, and in the shear of the underlying flare loops.

We determine the magnetic helicity in the erupting flux rope and underlying flare loops in two cases. In the first (Figure 1), no flux rope is present in the initial arcade, but a flux rope is created during the process of the reconnection. In the second case (Figure 2), the initial state consists of a magnetic arcade that overlies a flux rope, and the effect of the eruption and reconnection is to enhance the flux and twist of the flux rope. Our aim is to produce the simplest model that preserves the core physics of the process. For example, we neglect the internal structure of the coronal arcade and model it simply as a flux rope whose photospheric footpoints are stretched out in two lines either side of the polarity inversion line. The second case (with the initial flux rope) is much more likely to go unstable and erupt.

Figure 1
figure 1

(a) A simple sheared arcade that reconnects to produce (d) an erupting flux rope plus an underlying less-sheared arcade. In the initial state (a), footpoints \(\mbox{A}_{+}\), \(\mbox{B}_{+}\), \(\mbox{C}_{+}\), \(\mbox{D}_{+}\), \(\mbox{E}_{+}\), \(\mbox{F}_{+}\), are joined to footpoints \(\mbox{A}_{-}\), \(\mbox{B}_{-}\), \(\mbox{C}_{-}\), \(\mbox{D}_{-}\), \(\mbox{E}_{-}\), \(\mbox{F}_{-}\), respectively. In the first stage, shown in (b), loops \(\mbox{A}_{+}\mbox{A}_{-}\) and \(\mbox{F}_{+}\mbox{F}_{-}\) have reconnected to give new loops \(\mbox{A}_{+}\mbox{F}_{-}\) and \(\mbox{F}_{+}\mbox{A}_{-}\). In the second stage, shown in (c), loops \(\mbox{B}_{+}\mbox{B}_{-}\) and \(\mbox{E}_{+}\mbox{E}_{-}\) have reconnected to give new loops \(\mbox{B}_{+}\mbox{E}_{-}\) and \(\mbox{E}_{+}\mbox{B}_{-}\). Then in the final stage, shown in (d), loops \(\mbox{C}_{+}\mbox{C}_{-}\) and \(\mbox{D}_{+}\mbox{D}_{-}\) have reconnected to give a twisted flux rope \(\mbox{C}_{+}\mbox{D}_{-}\) that may erupt and a set of underlying loops \(\mbox{D}_{+}\mbox{C}_{-}\). (e) and (f) show a projection of the field lines onto a vertical section through the configuration, looking from the left, in the initial (left) and final state (right) during the eruption.

Figure 2
figure 2

(a) A sheared arcade overlying a flux rope reconnects to produce (b) an erupting flux rope plus an underlying less-sheared arcade.

We calculate the twist in the erupting flux rope from the properties of the initial pre-eruptive state by making three assumptions, namely:

  1. i)

    conservation of magnetic flux;

  2. ii)

    conservation of magnetic helicity;

  3. iii)

    and equipartition of magnetic helicity.

The third assumption implies that the same amount of magnetic helicity is transferred by reconnection to the erupting flux rope and underlying arcade (Wright and Berger, 1989). We have considered an alternative possibility, namely, preferential transfer of magnetic helicity to the flux rope during the reconnection, which would imply the flaring loops have vanishing self-helicity. However, this seems less likely, because, although the flare loops are generally seen as non-twisted structures, they are also observed to be non-potential, since the low-lying loops appearing early in the flare possess more shear than the high-lying loops (Aulanier, Janvier, and Schmieder, 2012).

The reconnection of twisted tubes has been studied in landmark papers by Linton, Dahlburg, and Antiochos (2001), Linton and Antiochos (2002, 2005), Linton and Priest (2003), in which they consider also the extra constraint of energy both numerically and analytically. Straight tubes of a variety of twists and inclinations are brought together by an initial stagnation-point flow and they are allowed to reconnect self-consistently by either bouncing, slingshot, merging or tunnelling reconnection. Although energy is not considered in detail here, we make initial comments about energy considerations in Section 3.3 and hope to develop them further in future numerical treatments.

The structure of the paper is as follows. In Section 2 we summarise the basic properties of magnetic helicity that are needed for our analysis. Then in Section 3 we present our simple model for a sheared magnetic arcade in which no flux rope is present initially but is created during the eruption by the reconnection. This is followed in Section 4 by a different model in which the initial arcade contains a flux rope, which erupts and leaves behind a less-sheared arcade. Finally, suggestions for follow-up are given in Section 5.

2 Magnetic Helicity Preliminaries

Magnetic helicity is a topological quantity that comprises two parts: the self-helicity measures the twisting and kinking of a flux tube, whereas the mutual helicity refers to the linkage between different flux tubes (Berger, 1986, 1999). Their sum, the relative helicity, is a global invariant that is conserved during ideal evolution and that decays extremely slowly (over the global magnetic diffusion time, \(\tau_{d}\)) in a weakly resistive medium – i.e., one for which the global magnetic Reynolds number is large (\(R_{m}\gg1\)). Thus, during magnetic reconnection in the solar atmosphere over a timescale \(t\ll\tau_{d}\), the total magnetic helicity is approximately conserved, but it may be converted from one form to another, say, from mutual to self.

If a magnetic configuration consists of \(N\) flux tubes, its total magnetic helicity may be written in terms of the self-helicity (\(H_{s}\)) of each tube due to its own internal twist and the mutual helicity (\(H_{m}\)) due to the linking of the tubes as

$$\begin{aligned} H=\sum_{i=1}^{N} H_{si}+2\sum_{i< j=1}^{N} H_{mij}. \end{aligned}$$

The basic configurations used in this paper are a single flux rope of magnetic flux \(F\), say, and a pair of flux tubes side by side with fluxes \(F_{A}\) and \(F_{B}\). The twist \(\Phi(F)\) of the flux rope is in general not uniform, but a mean twist \(\bar{\Phi}(F)\) may be defined in an appropriate way (see Section 3.2.2). Then the self-helicity of the flux rope is

$$ H_{s}=\frac{{\bar{\Phi}}}{2\pi}F^{2}, $$
(1)

while the mutual helicity of the two tubes side by side is

$$ H_{m}=\frac{\theta_{2}-\theta_{1}}{2\pi}F_{A}F_{B}, $$
(2)

where the angles \(\theta_{1}\) and \(\theta_{2}\) depend on the geometry shown in Figure 3(a) (Berger, 1998; Demoulin, Pariat, and Berger, 2006). In contrast, a pair of crossing flux tubes, one of which has flux \(F_{R}\) overlying the other underlying tube of flux \(F_{U}\), say, possesses mutual helicity

$$ H_{m}=-\frac{\theta_{3}+\theta_{4}}{2\pi}F_{R}F_{U}, $$
(3)

where the angles \(\theta_{3}\) and \(\theta_{4}\) depend on the geometry of the footpoints in Figure 3(b). In the models that follow, the overlying tube will represent an erupting flux rope, whereas the underlying tube will model an arcade of flare loops, which is why we have used the notations \(F_{R}\) and \(F_{U}\). Also, for simplicity, the footpoints will form a parallelogram shape and so \(\theta_{4}=\theta_{3}\). Note that the sign in Equation (3) is determined by a right-hand rule in the sense that, if the fingers of the right hand are directed along the overlying tube, then the sign is positive if the underlying tube is in the direction of the thumb or, as in the case of Figure 3(b), the sign is negative if the underlying tube is in the opposite direction. Thus, if the direction of flux in either tube is reversed, the helicity is multiplied by −1. If the tube of flux \(F_{R}\) passes under the other tube rather than over it, then \(\theta _{3}+\theta_{4}\) is replaced by \(\theta_{3}+\theta_{4}-2\pi\).

Figure 3
figure 3

The basic configurations seen from above: (a) two flux tubes of flux \(F_{A}\) and \(F_{B}\) side by side and (b) one flux tube of flux \(F_{R}\) crossing over another underlying tube of flux \(F_{U}\).

3 Modelling the Eruption of a Simple Magnetic Arcade with no Flux Rope

Consider a simple sheared arcade (Figure 1(a)), which reconnects and produces an erupting flux rope together with an underlying arcade (Figure 1(b)). Our aim is to deduce the helicity in the flux rope (and so its twist) in terms of the shear and helicity of the initial arcade. In addition, we shall deduce the distribution of twist within the flux rope.

3.1 Overall Process

We first consider the overall process and model the configuration in the simplest way by treating the initial arcade as two untwisted flux tubes side by side. We compare the initial state in Figure 3(a) having two untwisted flux tubes (of equal flux \(F_{A}=F_{B}=F_{a}\)) side by side with the reconnected state in Figure 3(b) having a twisted erupting flux rope (of mean twist \({\bar{\Phi}}\), say) overlying flare loops.

The initial configuration possesses mutual helicity (\(H^{i}\)), which may be calculated from Equation (2) as

$$ H^{i}=\frac{\theta_{2}-\theta_{1}}{\pi}F_{a}^{2}, $$
(4)

where the angles \(\theta_{1}\) and \(\theta_{2}\) can be written in terms of the width (\(w\)), length (\(L\)) and shear (\(s\)) of the arcade as

$$ \tan\theta_{1}=\frac{w}{L+s}=\frac{1}{\bar{L}+\bar{s}}, \qquad \tan \theta_{2}=\frac{w}{L-s}=\frac{1}{\bar{L}-\bar{s}}, $$
(5)

with dimensionless length and shear being defined as

$$\begin{aligned} \bar{L}=\frac{L}{w} \quad\mbox{and}\quad\bar{s}=\frac{s}{w}. \end{aligned}$$

As the shear \(\bar{s}\) increases from zero to infinity, \(\theta_{1}\) decreases from \(\pi/4\) (when \(\bar{L}=1\)) to zero, while \(\theta_{2}\) increases from \(\pi/4\) to \(\pi\).

During the reconnection process we assume flux conservation, so that the total final flux (\(F_{R}+F_{U}\)) equals the total initial flux (\(2F_{a}\)). We also assume that reconnection feeds flux simultaneously and equally into the rope and underlying loops, so that \(F_{R}=F_{U}\). The net result is that in the reconnected configuration (Figure 3(b)) the fluxes of the erupting flux rope and underlying loops are both equal to half the initial total flux (\(F_{R}=F_{U}=F_{a}\)). We also assume helicity equipartition, so that the released mutual helicity is added equally to the erupting flux rope and underlying loops. Then the magnetic helicity in the reconnected state, namely, the sum of the self-helicities and mutual helicity of the flux rope and the underlying sheared loops, may be written for simplicity (assuming \(\theta_{4}=\theta _{3}\)) as

$$ H^{r}=\frac{{\bar{\Phi}}}{\pi}F_{a}^{2}- \frac{2\theta_{3}}{\pi}F_{a}^{2}, $$
(6)

where

$$\begin{aligned} \tan\theta_{3}=\frac{1}{\bar{s}}, \end{aligned}$$

while the self-helicity of the underlying sheared loops is written for simplicity in the same form as that of a twisted structure, namely,

$$\begin{aligned} H_{sU}=\frac{{\bar{\Phi}}}{2\pi}F_{a}^{2}. \end{aligned}$$

As the shear \(\bar{s}\) increases from zero to infinity, \(\theta_{3}\) decreases from \(\frac{1}{2}\pi\) to zero.

Then magnetic helicity conservation (equating \(H^{i}\) from Equation (4) with \(H^{r}\) from Equation (6)) determines the mean flux-rope twist as

$$ {\bar{\Phi}}=\theta_{2}-\theta_{1}+2\theta_{3}, $$
(7)

or, after substituting for the angles and manipulating,

$$ {\tan {\bar{\Phi}}}=-\frac{2\bar{s}\bar{L}^{2}}{(1+\bar{s}^{2})^{2}-(\bar {s}^{2}-1)\bar{L}^{2}}. $$
(8)

If instead the released mutual helicity is added preferentially to the flux rope, then this value of \({\bar{\Phi}}\) is doubled.

The way in which the twist varies with shear (\(\bar{s}\)) and arcade length (\(\bar{L}\)) is shown in Figure 4(a). Thus, for example, when \(s\ll L= w\), then \(\theta_{1}\approx\theta_{2}=\pi/4\) and \(\theta_{3}= \pi/2\) and so \({\bar{\Phi}} = \pi\), whereas, when \(s=w\ll L\), then \(\theta_{1}\approx\theta_{2}\approx\pi/8\) and \(\theta_{3}=\pi/4\) and so \({\bar{\Phi}} \approx \frac{1}{2}\pi\). On the other hand, when \(s\gg w=L\), then \(\theta_{1}\approx\theta_{3}\approx0\) and \(\theta_{2}\approx\pi\) and so \({\bar{\Phi}} \approx\pi\).

Figure 4
figure 4

The mean twist (\({\bar{\Phi}}\)) of the erupting flux rope as a function of dimensionless shear \(\bar{s}=s/w\) for several values of the dimensionless arcade length \(\bar{L}=L/w\) in terms of the arcade width (\(w\)) for (a) the simple overall model and (b) for the evolutionary model (Section 3.2) when a fraction \(F/F_{a}=\frac{1}{2}\) of the initial flux \(F_{a}\) has reconnected.

Note that the initial mutual helicity (Equation (4)) is positive, since \(\theta_{2}>\theta_{1}\), whereas the final mutual helicity (the second term in Equation (6)) is negative. Thus, equating the initial and final helicities to give Equation (7) implies that the self-helicity of the flux rope must be positive and so the twist has to be positive as indicated in Figures 1 and 5(c) (see also Figures 2 and 9(a)). In other words, the effect of the reconnection is to decrease the mutual helicity and increase the self-helicity.

Figure 5
figure 5

The notation for our model of two untwisted flux tubes (A and B, both of flux \(F_{a}\)) side by side that produce an erupting flux rope (R) of flux \(F\) and twist \({\bar{\Phi}}\) together with an underlying arcade of loops (U) of flux \(F\). (a) shows the initial state, (b) an intermediate reconnected state, (c) the final reconnected state and (d) the notation of the geometry.

The shear angles of the initial arcade (\(\theta_{s}\)) and of the underlying flare loops (\(\theta_{U}\)) are given by

$$\begin{aligned} \tan\theta_{s} = \frac{s}{w}\qquad\tan \theta_{U} =\frac{s-L}{w}, \end{aligned}$$

so that the flare loop shear is smaller than the initial loop shear (Figure 3). If this were applied to a sequence of reconnecting arcade loops that are progressively further and further apart, it can be seen that the flare loop shear angle \(\theta_{U}\) decreases as \(w\) increases.

3.2 Evolution of the Process

3.2.1 Using Helicity Conservation to Deduce the Mean Flux Rope Twist

Next, we consider the evolution of the process by again supposing the initial configuration consists of two untwisted flux tubes stretching from fixed photospheric flux sources to sinks (Figure 5(a)). The reconnected state again consists of an erupting twisted flux rope (R) and underlying arcade of loops (U) (Figure 5(c)).

During reconnection, in going from Figure 5(a) to Figure 5(c) via intermediate states of the form Figure 5(b), we assume conservation of magnetic flux, so that, if the new flux rope (R) joining \(\mbox{A}_{+}\) to \(\mbox{B}_{-}\) gains flux \(F\), then so does the underlying arcade (U) joining \(\mbox{B}_{+}\) to \(\mbox{A}_{-}\), while both flux tubes (A) and (B) of flux \(F_{a}\) lose flux \(F\) so that their fluxes both become \(F_{a}-F\). We suppose the footpoints form a parallelogram, so that \(\theta_{3}=\theta_{4}\). Initially, the arcade is modelled as consisting of two flux tubes (A and B) side by side, the centres of whose footpoints are indicated by large dots separated by a distance \(L\) (Figure 5(a)). During the course of the reconnection (Figure 5(b)), when a fraction \(\bar{F}=F/F_{a}\) of the flux has been reconnected, there is an overlying flux rope (R) of flux \(F\), the centres of whose footpoints are located at \(\mbox{R}_{+}\) and \(\mbox{R}_{-}\), together with a underlying flux loop (U) with footpoints at \(\mbox{U}_{+}\) and \(\mbox{U}_{-}\) (Figure 5(d)). Also, the remaining unreconnected flux consists of two flux tubes (A and B) whose footpoints are located at \(\mbox{A}_{+}\), \(\mbox{A}_{-}\) and \(\mbox{B}_{+}\), \(\mbox{B}_{-}\), respectively (Figure 5(d)). The centres of the upper ends of the four flux tubes are located at distances \(\frac{1}{2}L(1-\bar{F})\), \(L(1-\frac{1}{2}\bar {F})\), \(L(1+\frac{1}{2}\bar{F})\) and \(\frac{1}{2}L(3+\bar{F})\), respectively, from the right-hand end of the arcade (Figure 5(c)), and so they are separated by distances \(\frac{1}{2}L\), \(L\bar{F}\) and \(\frac{1}{2}L\), as shown in Figure 5(d). The edges of the upper ends of the tubes are located at distances \(L(1-\bar{F})\), \(L\), \(L(1+\bar{F})\) and \(2L\) from the right-hand end of the arcade.

The second assumption is magnetic helicity conservation, so that the total magnetic helicity (i.e., the sum of self and mutual helicity) is conserved during the reconnection process, namely,

$$\begin{aligned} H_{{ARUB}}^{i}=H_{{ARUB}}^{r}, \end{aligned}$$

where \(H_{{ARUB}}^{i}\) and \(H_{{ARUB}}^{r}\) are the initial and reconnected helicities when a fraction \(\bar{F}\) of flux has been reconnected, which are calculated below. Initially, we assume two untwisted flux tubes side by side (or equivalently four untwisted flux tubes A, R, U and B), which possess mutual helicity (given by sums of terms of the form Equation (2)) but no self-helicity. During and after reconnection, the flux rope (R) and underlying loops (U) possess self-helicity (\(H_{{SR}}\) and \(H_{{SU}}\)), but also there are mutual helicities (\(H_{{AB}},H_{{AR}},H_{{AU}}\)) between loop A and loops R and U, (\(H_{{BR}},H_{{BU}}\)) between loop B and loops R and U, and (\(H_{{RU}}\)) between R and U, so that the magnetic helicity after reconnection has the form

$$ H_{{ARUB}}^{r}=H_{{SR}} +H_{{SU}}+2H_{{AB}} + 2H_{{AR}} + 2H_{{AU}} + 2H_{{BR}} + 2H_{{BU}} + 2H_{{RU}}. $$
(9)

The initial helicity is given by assuming the initial situation consists of four flux tubes of fluxes \(F_{a}-F\), \(F\), \(F\) and \(F_{a}-F\) aligned parallel to one another and stretching between \(\mbox{A}_{+}\) and \(\mbox{A}_{-}\), \(\mbox{R}_{+}\) and \(\mbox{U}_{-}\), \(\mbox{U}_{+}\) and \(\mbox{R}_{-}\), \(\mbox{B}_{+}\) and \(\mbox{B}_{-}\) in Figure 5(d). Thus, it consists of the sums of the mutual helicities of these tubes, namely,

$$\begin{aligned} H_{{ARUB}}^{i}=2H^{i}_{{AB}}+2H^{i}_{{AR}}+2H^{i}_{{AU}}+2H^{i}_{{BR}} +2H^{i}_{{BU}}+2H^{i}_{{RU}}. \end{aligned}$$
(10)

The third assumption is magnetic helicity equipartition, so that the effect of reconnection of A and B is to give self-helicity equally to the flux rope (R) and underlying loops (U), i.e.,

$$\begin{aligned} H_{{SU}}=H_{{SR}}=\frac{{\bar{\Phi}}}{2\pi}F^{2}. \end{aligned}$$
(11)

The expressions for the mutual helicities are given in the Appendix. By substituting them into the expressions for initial and post-reconnection helicity, helicity conservation determines the flux rope self-helicity (and therefore its mean twist, \({\bar{\Phi}}\)). It transpires that, although all of the mutual helicities change during the course of the reconnection, the sums \(H_{{AR}}+H_{{AU}}\) and \(H_{{BR}}+H_{{BU}}\) remain the same. In other words, the unreconnected parts of flux tubes A and B are spectators, since they have not taken part in the reconnection, and we just need to take account of the other parts and the way they reconnect to give flux tubes R and U in Figure 5(d). But this process is exactly what we have already considered in Section 3.1 with one difference, namely, that the length \(\bar{L}\) is replaced by \(\bar{L}\bar{F}\) and the angles \(\theta_{1}\) and \(\theta_{2}\) are replaced by \(\theta_{1}^{{RU}}\) and \(\theta _{2}^{{RU}}\), respectively.

By using Equations (5), (7) and (8), the resulting mean twist therefore becomes (see the Appendix)

$$\begin{aligned} {\bar{\Phi}} = \theta_{2}^{{RU}}-\theta_{1}^{{RU}}+2 \theta_{3}, \end{aligned}$$
(12)

where

$$\begin{aligned} \tan\theta_{1}^{{RU}}=\frac{1}{\bar{L}\bar{F}-\bar{s}},\qquad \tan \theta_{2}^{{RU}}=\frac{1}{\bar{L}\bar{F}+\bar{s}}, \qquad\tan\theta _{3}=\frac{1}{\bar{s}}. \end{aligned}$$
(13)

After manipulating this gives

$$\begin{aligned} {\tan{\bar{\Phi}}}=-\frac{2\bar{s}\bar{L}^{2}\bar{F}^{2}}{(1+\bar {s}^{2})^{2}-(\bar{s}^{2}-1)\bar{L}^{2}\bar{F}^{2}}. \end{aligned}$$
(14)

The mean twist is plotted in Figure 4(b). When \(\bar{F}\ll1\) this reduces to

$$\begin{aligned} {\bar{\Phi}}=-\frac{2\bar{s}\bar{L}^{2}\bar{F}^{2}}{(1+\bar{s}^{2})^{2}}, \end{aligned}$$

whose magnitude increases with \(\bar{s}\) from zero to a maximum of \(12\sqrt{3}\bar{L}^{2}\bar{F}^{2}/16\) at \(\bar{s}=1/\sqrt{3}\) (corresponding to a shear angle of \(\pi/3\)) and then declines to zero.

For complete reconnection, the flux tube has eaten its way right through the overlying arcade and so \({\bar{F}}=1\) (\(F=F_{a}\)). The resulting final mean flux rope twist (\({\bar{\Phi}}_{f}\)) is given by

$$ {\tan{\bar{\Phi}}_{f}}=-\frac{2\bar{s}\bar{L}^{2}}{(1+\bar{s}^{2})^{2}-(\bar {s}^{2}-1)\bar{L}^{2}}, $$
(15)

which is the same as Equation (8) and is plotted as a function of shear for various arcade aspect ratios in Figure 4(a).

Another quantity of interest is the magnetic helicity of the underlying flare loops [\(H_{sU}={\bar{\Phi}} F^{2}/(2\pi)\)] as a fraction of the initial helicity [\(H_{AB}^{i}=( \theta _{2} ^{i}- \theta _{1} ^{i})F_{a}^{2}/(2\pi)\)] given by Equation (4). After using Equation (12) for \({\bar{\Phi}}\), this may be written

$$\begin{aligned} \frac{H_{sU}}{H_{{AB}}^{i}}=\frac{(\theta_{2}^{{RU}}-\theta_{1}^{{RU}}+2\theta _{3}){\bar{F}}^{2}}{(\theta_{2}-\theta_{1})}, \end{aligned}$$

which is plotted in Figure 6(a) as a function of reconnected flux (\(F\)) for a unit shear (\(s=w\)) and several arcade aspect ratios (\(L/w\)), showing how the arcade helicity increases with reconnected flux. An alternative to assuming helicity equipartition would be to suppose the self-helicity is transferred preferentially to the flux rope, so that the self-helicity (\(H_{{SU}}\)) of the underlying loops vanishes. The effect of this would be to double the value of the flux rope twist.

Figure 6
figure 6

The magnetic helicity of the underlying arcade of loops (a) as a function of shear (s) when the reconnection is complete and (b) as a function of reconnected flux for several arcade geometries when \(s=w\).

3.2.2 Deducing the Distribution of Twist Within the Flux Rope

Using the dependence of mean twist \((\bar{\Phi})\) of a flux rope on flux (\(F\)) it is possible to deduce the dependence of the twist itself (\(\Phi\)) on flux. The mean twist is defined in such a way that the self-helicity of the flux rope satisfies Equation (1), namely,

$$\begin{aligned} H_{s}=\frac{\bar{\Phi}}{2\pi} F^{2}. \end{aligned}$$

Suppose the rope consists of a set of nested flux surfaces and \(F\) is the axial flux within a particular flux surface. If the twist is not uniform but varies with flux or with distance from the rope axis, the self-helicity of the flux rope may be written (Berger, 1998)

$$\begin{aligned} H_{s}=\frac{1}{\pi} \int_{0}^{F} \Phi(F) F\,\mathrm{d}F, \end{aligned}$$

which reduces to \(H_{s}=\Phi F^{2}/(2\pi)\) for a uniform twist. Equating these two expressions for \(H_{s}\), we find

$$\begin{aligned} {\bar{\Phi}}=\frac{2}{F^{2}} \int\Phi(F)F\,\mathrm{d}F, \end{aligned}$$
(16)

which gives the definition of average twist. It may be inverted to give the twist as a function of flux in terms of the mean twist, namely,

$$\begin{aligned} \Phi(F)=\frac{1}{2F}\frac{\mathrm{d}}{\mathrm{d}F} \bigl(F^{2} {\bar{\Phi}} \bigr). \end{aligned}$$

In terms of \(\bar{F}\), this becomes

$$\begin{aligned} \Phi({\bar{F}})=\frac{1}{2{\bar{F}}}\frac{\mathrm{d}}{\mathrm{d}{\bar{F}}} \bigl({\bar{F}}^{2} {\bar{\Phi}} \bigr)={\bar{\Phi}}+{\bar{F}}^{2}\frac{\mathrm{d}{\bar{\Phi}}}{\mathrm{d}{\bar{F}}^{2}}. \end{aligned}$$
(17)

By assuming that the average twist and enclosed axial flux obey Equation (14) at every flux surface within the flux rope, we may substitute for \(\Phi({\bar{F}})\) from Equation (14) and deduce the distribution of twist within the erupting flux rope as

$$\begin{aligned} \Phi({\bar{F}}) =&{\tan^{-1}} \biggl[-\frac{2{\bar{s}}{\bar{L}}^{2}{\bar{F}}^{2}}{(1+{\bar{s}}^{2})^{2}-({\bar{s}}^{2}-1){\bar{L}}^{2}{\bar{F}}^{2}} \biggr] \\ &{}-\frac{2{\bar{s}}{\bar{L}}^{2}{\bar{F}}^{2}}{(1+{\bar{s}}^{2})^{2}-2({\bar{s}}^{2}-1){\bar{L}}^{2}{\bar{F}}^{2}+{\bar{L}}^{4}{\bar{F}}^{4}}, \end{aligned}$$
(18)

which is plotted in Figure 7(b). From Figure 7(a) we can see that the mean twist (\(\bar{\Phi}\)) decreases with reconnected flux \(\bar{F}\) from \(\pi\) to a value at \({\bar{F}}=1\) that lies between \(\pi\) and \(\frac{1}{2}\pi\), and that this fully reconnected value decreases with increasing arcade length \(\bar{L}\). Equation (17) and Figure 7(b) show that the twist itself \((\Phi)\) also starts from \(\pi\) at \({\bar{F}}=0\) and lies between \(\pi\) and \(\frac{1}{2}\pi\). Furthermore, since \(\mathrm{d} {\bar{\Phi}}/\mathrm{d}{\bar{F}}^{2}<0\), \(\Phi\) is smaller than \(\bar{\Phi}\) and is roughly constant over most of the flux rope cross-section, especially when \({\bar{L}}>4\).

Figure 7
figure 7

(a) The mean flux rope twist (\({\bar{\Phi}}\)) as a function of reconnected flux (\({\bar{F}}=F/F_{a}\)) and (b) flux rope twist as a function of flux (\({\bar{F}}\)) for a shear value \(s/w=1\) and several values of the ratio (\(L/w\)) of arcade length to width.

3.3 Energy Considerations

If the initial state is driven to reconnect by footpoint motions, then there is no need for the initial magnetic energy to exceed the final energy, since any change in energy could come from the work done by the footpoints. If, however, the reconnection arises from some kind of instability, then an extra constraint, which we have not considered so far, arises from the condition that the magnetic energy of the initial state must exceed that of the final state. This will then rule in some of the changes we have considered and rule out others. We do not here give a definitive answer to which changes are allowed, but only undertake a preliminary investigation. In Section 3.3.1 we first consider a general expression for the free energy and demonstrate that there is indeed energy release during reconnection to start with, which implies that the magnetic helicity transfers we have been considering so far provide an upper limit on what will happen in reality. Then in Section 3.3.2 we describe a simple model for calculating the free energy and again demonstrate that in some cases the free energy is indeed positive. In future, we look to a full numerical solution to provide a more in-depth account of the constraints produced by energy considerations.

Two minor points are worth making first. It may naturally be thought that two parallel untwisted tubes side by side (with flux going from footpoints \(\mbox{A}_{+}\) and \(\mbox{B}_{+}\) to \(\mbox{A}_{-}\) and \(\mbox{B}_{-}\), respectively) will not reconnect. This is indeed true if the initial state is potential and the footpoints form a rectangle, with reflectional symmetry, since the initial field is in a state of minimum possible energy (e.g., Longcope, 1996). In our case, however, the footpoints form a non-rectangular parallelogram lacking this symmetry and the initial state is force-free (Figure 3(a)), so there exists a lower-energy (potential) state with the same footpoints but with flux going from \(\mbox{A}_{+}\) to \(\mbox{B}_{-}\) as well as to \(\mbox{B}_{+}\); some reconnection is therefore likely to occur. However, the minimum-energy state that has given footpoint fluxes and given total magnetic helicity is not the potential state but a piecewise linear force-free field (e.g., Longcope and Malanushenko, 2008). So, provided the initial state is a nonlinear force-free field, there will certainly exist a lower-energy state with the latter connections that preserves magnetic helicity.

The second minor point is that, since the initial states are untwisted and the final states are twisted, it may be thought at first that the final state must have a higher energy than the initial state. But that conclusion is valid only for tubes of a given constant cross-sectional radius, and it will not necessarily hold for tubes that are allowed to expand as they arch up from their footpoints.

3.3.1 General Aspects

The free magnetic energy (i.e., the energy above potential) can be written as a sum over terms involving the total currents, \(I_{i}\), flowing along their paths (Jackson, 1999, §5.17),

$$\begin{aligned} \Delta W = W - W_{0} = \frac{1}{2\mu} \int | {\mathbf{B}} - \mathbf{B}_{0} |^{2}\,\mathrm{d}^{3} x = \frac{1}{2}\sum_{i} L_{i} I_{i}^{2} + \frac{1}{2}\sum_{i}\sum _{j\ne i} M_{ij}I_{i}I_{j}, \end{aligned}$$

where the coefficients \(L_{i}\) and \(M_{ij}\) depend on the current paths and the distribution of current therein. Non-negativity of this energy requires that \(L_{i}\ge0\), for each current system \(i\), and that \(|M_{ij}|\le\sqrt{ L_{i} L_{j} }\) for all pairs \(i\) and \(j\).

In the initial configuration, shown schematically in Figure 3(a), separating domains \(F_{A}\) from \(F_{B}\) is a single current sheet carrying current \(I_{\mathrm{cs}}\). There is, at this time, no current flowing through the domains, which are assumed untwisted. As reconnection proceeds, current does increase in domains \(F_{R}\) and \(F_{U}\), which were also current-free before reconnection. Changes \(\delta I_{\mathrm{cs}}\), \(\delta I_{R}\), and \(\delta I_{U}\), to those currents change the free energy by an amount which is, to leading order,

$$\begin{aligned} \delta(\Delta W) = (L_{\mathrm{cs}}\delta I_{\mathrm{cs}} + M_{\mathrm{cs},U}\delta I_{U} + M_{\mathrm{cs},R} \delta I_{R} )I_{\mathrm{cs}} . \end{aligned}$$

Reconnection will decrease the current in the sheet, so \(\delta I_{\mathrm{cs}} I_{\mathrm{cs}}<0\). At the same time the new domains, U and R, are created with twisted flux, and so they have current. It is because the coefficients \(M_{\mathrm{cs},R}\) and \(M_{\mathrm {cs},U}\) are so much smaller than \(L_{\mathrm{cs}}\) that the process of reconnection at a current sheet is energetically favourable (\(\delta(\Delta W)<0\)). This state of affairs obtains during the initial phase, where contributions from \(L_{R}I_{R}\delta I_{R}\) and \(L_{U}I_{U}\delta I_{U}\) are negligible. After a significant period of reconnection, however, these contributions, both necessarily positive, will eventually balance the negative contribution from the diminishing current sheet. Reconnection will cease at such a point, with some portion of flux unreconnected, and a current sheet remaining. We have not been able to determine this point in our simple model, and so instead have considered the limiting case where reconnection proceeds to completion. This therefore provides an upper bound on helicity transfer.

3.3.2 Simple Model

Consider the two flux tubes in Figure 3(a) stretching from \(\mbox{A}_{+}\) to \(\mbox{A}_{-}\) and \(\mbox{B}_{+}\) to \(\mbox{B}_{-}\), say, and suppose the flux tubes expand into the corona from small sources at these footpoints. A cylindrical tube of uniform twist \(\Phi\), length \(l\), radius \(a\) and central axial field \(B_{0}\), will have an equilibrium field of the Gold–Hoyle form (Priest, 2014). The field components in cylindrical polar coordinates (\(R\), \(\phi\), \(z\)) are

$$ B_{z}=\frac{B_{0}}{1+q^{2}R^{2}}, \qquad B_{\phi}= \frac{B_{0}qR}{1+q^{2}R^{2}}, $$
(19)

where \(q\) is a constant such that the twist is \(\Phi=lq\). The net magnetic flux in such a tube is

$$ F_{0}=\frac{\pi B_{0}}{q^{2}}\log{\bigl(1+q^{2}a^{2} \bigr)}, $$
(20)

while the magnetic energy is

$$ W=\frac{l B_{0} F_{0}}{2\mu}. $$
(21)

We shall suppose for simplicity that our flux tubes expand rapidly up to form relatively uniform tubes in the corona, for which the flux (\(F_{0}\)) and twist (\(\Phi\)) are given. If these are held constant, then, as the radius \(a\) increases and the tube expands more into the corona, so the central axial field \(B_{0}\) decreases and the energy \(W\) decreases.

For the initial state in Figure 3(a), the length of the coronal part of each uniform untwisted flux tube is roughly \(l_{T}=\sqrt {(}s^{2}+w^{2})\) and the central axial field is \(B_{0T}=F_{0}/(\pi a_{T}^{2})\), where the geometry of the situation with its similar triangles implies that the radius of the tube (namely, half the perpendicular distance between the axes of the two tubes) is \(a_{T}=\frac{1}{2}w L/\sqrt{(}s^{2}+w^{2})\). Thus, the central axial field can be written

$$ B_{0T}=\frac{4 F_{0} (w^{2}+s^{2})}{\pi w^{2} L^{2}}. $$
(22)

For the final state in Figure 3(b), we suppose the tubes are twisted, with the value of \(q\) and therefore the twist \(\Phi=lq\) given by helicity conservation, so that in this case the axis field is given from Equation (20) by the form

$$ B_{0}=\frac{F_{0} q^{2}}{\pi\log(1+q^{2}a^{2})}. $$
(23)

For the overlying flux rope the length is given by roughly \(l_{R} = \sqrt{\{}(L+s)^{2}+w^{2}\} \), while the geometry of the configuration implies that the radius of the tube (namely, roughly the perpendicular distance between the tube axis and the footpoint of the underlying tube) has increased to \(a_{R}=L w / \sqrt{\{}(L+s)^{2}+w^{2}\}\). The central axial field then becomes

$$ B_{0R}=\frac{F_{0} q_{R}^{2}}{\pi\log\{1+q_{R}^{2}L^{2}w^{2}/[(L+s)^{2}+w^{2}]\}}. $$
(24)

The underlying flux loop has a rough length of \(l_{U} = \sqrt{\{} (L-s)^{2}+w^{2}\} \) and a radius (namely, roughly half the perpendicular distance between the tube axis and the footpoint of the overlying tube) that has increased to \(a_{U}= L w / \sqrt{\{}(L-s)^{2}+w^{2}\}\), so that its central axial field becomes

$$ B_{0U}=\frac{F_{0} q_{U}^{2}}{\pi\log\{1+q_{U}^{2}L^{2}w^{2}/[(L-s)^{2}+w^{2}]\}}. $$
(25)

Thus, using Equation (21), the initial energy becomes

$$ W_{T}=\frac{4F_{0}^{2}(w^{2}+s^{2})^{3/2}}{\pi\mu w^{2} L^{2}}, $$
(26)

while the final energy is the sum of the energies of the overlying flux rope and underlying loops, namely,

$$\begin{aligned} W_{F} \equiv& W_{R}+W_{U}=\frac{\{(L+s)^{2}+w^{2}\}^{1/2}F_{0}^{2}q_{R}^{2}}{2\pi\mu\log\{ 1+q_{R}^{2}L^{2}w^{2}/[(s+L)^{2}+w^{2}]\}} \\ &{}+\frac{\{(L-s)^{2}+w^{2}\}^{1/2}F_{0}^{2}q_{U}^{2}}{2\pi\mu\log\{ 1+q_{U}^{2}L^{2}w^{2}/[(s-L)^{2}+w^{2}]\}}. \end{aligned}$$
(27)

The ratio (\(W_{F}/W_{T}\)) of final to initial energy is plotted as a function of \(s/w\) for varying \(L/w\) in Figure 8, which shows that, when \(s/w\) is large enough, \(W_{F}/W_{T}<1\), so that the initial magnetic energy does indeed exceed the final energy, as required for an accessible state. In particular case when \(sL\ll w\) and \(qL\ll1\), the initial and final energies are

$$ W_{T}= \frac{4F_{0}^{2}w}{\pi\mu L^{2}} \quad\mbox{and}\quad W_{F}= \frac{F_{0}^{2}w}{\pi\mu L^{2}}, $$
(28)

so that \(W_{F}/W_{T}=1/4\). In the future we plan to improve upon this energy calculation by considering partial reconnection and also taking account of the current sheet that is likely to be present, but both of those are outside the scope of the present paper.

Figure 8
figure 8

The ratio (\(W_{F}/W_{T}\)) of the final to the initial energy for the loops shown in Figure 3 as a function of \(s/w\) for varying \(L/w\), where \(s\) is the shear, while \(w\) and \(L\) are the separations shown in Figure 3 between sources of opposite and like polarity, respectively.

4 Modelling the Eruption of a Magnetic Arcade Containing a Flux Rope

Consider next a twisted magnetic flux rope of initial twist \(\Phi_{Ri}\) and flux \(F_{I}\) situated under a coronal arcade of flux \(2F_{a}\), and suppose that it reconnects with the arcade to produce an erupting flux rope whose core is the original flux rope, but which is now enveloped by a sheath of extra flux \(F_{a}\) and twist \(\Phi_{R}\), as sketched in Figure 2. We here develop a simple model to determine \(\Phi_{R}\) in terms of the geometry of the initial state.

Suppose the magnetic flux (\(F_{13}=F_{I}\)) of the flux rope stretches from a positive source \(\mbox{P}_{1}\) to a negative source \(\mbox{N}_{3}\), while the overlying arcade has two parts of flux \(F_{21}=F_{a}\) and \(F_{32}=F_{a}\) linking positive sources \(\mbox{P}_{2}\) and \(\mbox{P}_{3}\) to negative sources \(\mbox{N}_{1}\) and \(\mbox{N}_{2}\), respectively (Figure 9(a)). The arcade sources lie at the vertices of a parallelogram, with angles \(\theta_{1}\), \(\theta_{2}\), \(\theta_{3}\) (equal to the angles \(\mbox{N}_{2}\mbox{P}_{2}\mbox{P}_{3}\), \(\mbox{N}_{2}\mbox{N}_{1}\mbox{P}_{3}\), \(\mbox{N}_{1}\mbox{P}_{2}\mbox{P}_{3}\), respectively), while the flux-rope source \(\mbox{P}_{1}\) subtends angles \(\theta_{5}\) and \(\theta_{6}\), as indicated in Figure 9. After reconnection, the original flux rope still links \(\mbox{P}_{1}\) and \(\mbox{N}_{3}\), while the initial arcade has now reconnected, so that \(\mbox{P}_{2}\) now joins to \(\mbox{N}_{2}\) to give flux that winds round (with twist \(\Phi_{R}\)) and enhances the original flux rope, while \(\mbox{P}_{3}\) now joins to \(\mbox{N}_{1}\) to give an underlying set of loops with self-helicity \(\Phi_{U}F_{31}^{2}/(2\pi )\), say (Figure 9(b)).

Figure 9
figure 9

A simple model for the eruption and reconnection of a flux rope (of flux \(F_{12}\) and mean twist \({\bar{\Phi}}_{Ri}\)) through an overlying coronal arcade (of flux \(F_{21}\)), showing (a) the pre-reconnection and (b) the post-reconnection configuration.

The initial self-helicity of the flux rope is \({\Phi}_{Ri}F_{13}^{2}/(2\pi)\) and is preserved as the self-helicity of the core of the erupting flux rope after reconnection. The final self-helicity of the new part \(\mbox{P}_{2}\mbox{N}_{2}\) of the erupting flux rope is \({\Phi}_{R}F_{22}^{2}/(2\pi)\), while the final self-helicity of the underlying loops \(\mbox{P}_{3}\mbox{N}_{1}\) is \({\Phi}_{U}F_{31}^{2}/(2\pi)\).

The initial mutual helicity has three parts, namely: \([1-\frac{1}{2}(\theta _{6}+\theta_{7})/\pi]F_{13}F_{21}\) due to \(\mbox{P}_{1}\mbox{N}_{3}\) lying under \(\mbox{P}_{2}\mbox{N}_{1}\), where \(\theta_{6}\) is the angle \(\mbox{N}_{1}\mbox{P}_{1}\mbox{P}_{2}\) and \(\theta _{7}\) is the angle \(\mbox{P}_{2}\mbox{N}_{3}\mbox{N}_{1}\); \([1- \frac{1}{2}(\theta_{5}+ \theta_{8})/\pi ]F_{13}F_{32}\) due to \(\mbox{P}_{1}\mbox{N}_{3}\) lying under \(\mbox{P}_{3}\mbox{N}_{2}\), where \(\theta _{5}\) is the angle \(\mbox{N}_{2}\mbox{P}_{1}\mbox{P}_{3}\) and \(\theta_{8}\) is the angle \(\mbox{P}_{3}\mbox{N}_{3}\mbox{N}_{2}\); and \([(\theta_{2}-\theta_{1})/\pi] F_{21}F_{32}\) due to \(\mbox{P}_{3}\mbox{N}_{2}\) lying alongside \(\mbox{P}_{2}\mbox{N}_{1}\), where \(\theta_{1}\) is the angle \(\mbox{P}_{3}\mbox{P}_{2}\mbox{N}_{2}\) and \(\theta_{2}\) is the angle \(\mbox{P}_{3}\mbox{N}_{1}\mbox{N}_{2}\).

After reconnection, the mutual helicity decreases to the sum of three parts, namely: \(-[\frac{1}{2}(\theta_{6}+\theta_{7})/\pi]F_{13}F_{31}\) due to the initial flux rope \(\mbox{P}_{1}\mbox{N}_{3}\) now lying over the underlying arcade of loops \(\mbox{P}_{3}\mbox{N}_{1}\); \(-[\frac{1}{2}(\theta_{5}+\theta_{8})/\pi]F_{13}F_{22}\) due to the initial flux rope \(\mbox{P}_{1}\mbox{N}_{3}\) lying under the new part \(\mbox{P}_{2}\mbox{N}_{2}\) of the erupting flux rope; and \(-(\theta_{3}/\pi)F_{31}F_{22}\) due to the underlying arcade of loops \(\mbox{P}_{3}\mbox{N}_{1}\) lying under the new part \(\mbox{P}_{2}\mbox{N}_{2}\) of the erupting flux rope.

We first assume magnetic helicity equipartition, so that the self-helicities added to the underlying arcade and flux rope are equal and the released mutual helicity is shared equally between the two flux tubes, i.e.,

$$\begin{aligned} \frac{{\Phi}_{U}}{2\pi}F_{31}^{2} = \frac{{\Phi}_{R}}{2\pi}F_{22}^{2} . \end{aligned}$$
(29)

We also assume magnetic helicity conservation so that the initial and final helicities (self plus mutual) are the same, namely

$$\begin{aligned} &\frac{{\Phi}_{Ri}}{2\pi}F_{13}^{2} + \biggl(1-\frac{\theta_{6}+\theta_{7}}{2\pi } \biggr)F_{13}F_{21}+ \biggl(1-\frac{\theta_{5}+\theta_{8}}{2\pi} \biggr)F_{13}F_{32}+\frac{\theta_{2}-\theta_{1}}{\pi}F_{21}F_{32} \\ &\quad=\frac{{\Phi}_{Ri}}{2\pi}F_{13}^{2} + \frac{{\Phi}_{R}}{2\pi }F_{22}^{2}+ \frac{{\Phi}_{U}}{2\pi}F_{31}^{2} -\frac{\theta_{6}+\theta_{7}}{2\pi}F_{13}F_{21}- \frac{\theta_{5}+\theta _{8}}{2\pi}F_{13}F_{32}-\frac{2\theta_{3}}{\pi}F_{21}F_{32}. \end{aligned}$$

After substituting for \(\Phi_{U}\) from Equation (29) and putting \(F_{32}=F_{21}=F_{31}=F_{22}=F_{a}\), \(F_{13}=F_{I}\), this reduces to

$$\begin{aligned} {\Phi}_{R}=2\pi{\frac{F_{I}}{F_{a}}}+ \theta_{2}- \theta_{1}+2\theta_{3}. \end{aligned}$$
(30)

Thus, by comparison with the case where there is no initial flux rope, the reconnection enhances the new flux rope twist by \(2\pi F_{I}/F_{a}\).

5 Discussion

We have set up a simple model for estimating the twist in erupting prominences, in association with eruptive two-ribbon flares and/or with coronal mass ejections. It is based on three simple assumptions, namely, conservation of magnetic flux, conservation of magnetic helicity and equipartition of magnetic helicity. While the first and second are well established, the third is more of a reasonable conjecture. In future, it would be interesting to test the model and the conjecture with both observations and computational experiments.

During the main phase of a flare, the shear of the flare loops is observed to decrease in time, so that they become oriented more perpendicular to the polarity inversion line. This is a natural consequence of our model, where flux is added to the flux rope first from the innermost parts of the arcade (i.e., closest to the polarity inversion line), so that, as can be seen in Figures 1(b), 2(b) and 9(b), the final shear of the arcade is smaller than the initial shear. In other words, the change in shear is a consequence of the geometry of the three-dimensional reconnection process.

The cause of the eruption is a separate topic that has been discussed extensively elsewhere (e.g., Priest, 2014), and it includes either nonequilibrium, kink instability, torus instability or breakout. One puzzle is what happens with confined flares, where the flare loops and \(\mbox{H}\upalpha\) ribbons form but there is no eruption. A distinct possibility is that the overlying magnetic field and flux are too strong to allow the eruption, but this needs to be tested by comparing nonlinear force-free extrapolations with observations (e.g., Wiegelmann, 2008; Mackay, Green, and van Ballegooijen, 2011; Mackay and Yeates, 2012). Another puzzle is the cause of preflare heating. One possibility is the slow initiation of reconnection before a fast phase (Yuhong Fan, private communication), but another is that the flux rope goes unstable to kink instability which spreads the heating nonlinearly throughout the flux rope in a multitude of secondary current sheets (Hood, Browning, and van der Linden, 2009); if the surrounding field is stable enough, such an instability can possibly occur without an accompanying eruption.

The present simple model can be developed in several ways, which we hope to pursue in the future. One is to conduct computational experiments, in which the energies before and after reconnection will be calculated in order to check which states are energetically accessible. A second way is to extend the model to more realistic initial configurations with more elements, in which the reconfiguration is by quasi-separator or separator reconnection (Priest and Titov, 1996; Longcope, 1996; Longcope et al., 2005; Longcope and Malanushenko, 2008; Parnell, Maclean, and Haynes, 2010) and the internal structure of the flux rope and arcade are taken into account. In particular, the distribution of magnetic flux within the arcade will be included, both normal to and parallel to the polarity inversion line.