Photospheric vortex flows close to the polarity inversion line of a fully emerged active region

We report on the occurrence of vortexes in flow fields obtained from the evolution of the line-of-sight component of the photospheric magnetic field in a region around the polarity inversion line of a fully emerged active region. Based on a local linear approximation for the flow field, we identify the presence of critical points and classify them according to the eigenvalues of the Jacobian matrix of the linear transformation. Vortexes are associated to the presence of a particular kind of critical point, known as Attracting Focus. Using this method we identified twelve vortexes in the analyzed period and detected the occurrence 5 of other types of critical points, which indicate the complexity of the flow field around the PIL. The detected vortexes show a clockwise preferred sense of rotation with approximately 67% of the cases. A geometrical analysis of the velocity structures produced an average value of D̄ = 1.63± 0.05 for the fractal dimension, which is very close to the one obtained for isotropic homogeneous turbulence (D = 5/3). This suggests that the flow around the polarity inversion line is turbulent in nature. Copyright statement. TEXT 10


Introduction
Horizontal flow fields in the solar photosphere have an important role in the concentration and dispersal of surface magnetic flux.To give some examples, surface flows are responsible for magnetic flux concentration at the border of the convection cells (magnetic network), they disperse the magnetic flux of active regions (turbulent diffusion) and they transport the magnetic flux to the poles (meridional flow).Horizontal flows may also contribute to magnetic energy and helicity injection into the upper atmosphere by twisting and interweaving the foot points of flux tubes, generating fieldaligned currents and magnetohydrodynamic waves, and also may be responsible for the occurrence of magnetic reconnection by bringing together opposite magnetic polarity regions.Therefore, the investigation of photospheric horizontal motion patterns responsible for the evolution of magnetic features in the solar photosphere may give some clues for understanding how the combination of these two quantities, the magnetic field and flow field, influence the solar activity.
In this sense, vortex or rotational-motion patterns are particularly important for solar activity.In the quiet Sun, convective flows concentrate magnetic fields in the downdraft regions of the convective cells.The conservation of angular momentum forces the plasma to rotate around the center of the downdraft, generating small-scale vortexes.These vortexes have been extensively detected in observations of the photosphere (Brandt et al., 1988;Simon and Weiss, 1997;Attie et al., 2009;Bonet et al., 2010;Balmaceda et al., 2010;Vargas Domínguez et al., 2011) and also have been observed in the quiet Sun chromosphere as a signature of plasma moving along curly magnetic field lines in coronal holes (Wedemeyer-Böhm and Rouppe van der Voort, 2009).Simulations indicate that the vortexes occurring in strongly magnetized regions are closely connected with dissipation processes providing localized heating in the lower parts of the solar atmosphere (Moll et al., 2012), and observations usually associate vortex detection with bright points (Bonet et al., 2008).
On larger scales, rotational motions were observed in sunspots, and they are usually associated with energy and helicity buildup and later release by flare and/or coronal mass ejection (Brown et al., 2003;Hiremath and Suryanarayana, 2003;Hiremath et al., 2005;Yan and Qu, 2007;Yan et al., 2008Yan et al., , 2009Yan et al., , 2012;;Min and Chae, 2009;Kazachenko et al., 2010;Zhu et al., 2012;Jiang et al., 2012;Vemareddy et al., 2012Vemareddy et al., , 2016;;Hardersen et al., 2013;Wang et al., 2014Wang et al., , 2016;;Ruan et al., 2014;Gopasyuk, 2015;Li and Liu, 2015;Suryanarayana et al., 2015).The rotation of sunspots is usually very slow; this means that the evolution of the magnetic field in the corona associated with it would be slow as well.However, strong flares (M-or X-class) are sometimes associated with rapid (abnormal) sunspot rotation.At the moment there is not a defined mechanism to explain sunspot rotation.It is suggested that it could be a result of the interaction of the flux tube with photospheric flows, during or after its emergence, or the effect of the emergence of a twisted flux tube.Changes of rotational pattern of the sunspot after the flare occurrence were also observed (Liu et al., 2016;Bi et al., 2016), and they are associated with Lorentz forces.In this work, we investigate the properties of the flow field obtained from the evolution of photospheric magnetic features around the polarity inversion line (PIL) of a fully emerged active region (AR).We targeted the PIL, since it is the place where opposite polarity magnetic fields interact and where sharp changes are usually associated with the onset of flares (Severnyi, 1958;Wang et al., 1994;Kosovichev and Zharkova, 2001;Sudol and Harvey, 2005;Sharykin et al., 2017).We first focus on the detection and classification of critical points.Critical points are points where the velocity vanishes, and their importance resides in the fact that the flow may be directed to and rotate around these points, forcing opposite polarities to meet and annihilate there and contributing to the energetics of the solar atmosphere.The critical points are used to identify the presence of converging vortex flows in the region around the PIL.Finally, we investigate the geometric structure of the flow by calculating its the fractal dimension and use it as an indication that the flow around the PIL presents turbulent nature.

Data and methodology
We selected as our target the AR NOAA 9289, located at the southern solar hemisphere.Figure 1 shows the full-disk lineof-sight (LOS) component of the photospheric magnetic field (Fig. 1a) and a close view of AR NOAA 9289 (Fig. 1b), as measured by the Michelson Doppler Imager (MDI) (Scherrer et al., 1995) on 2 January 2001 at 04:51:01 UT.The MDI instrument obtains images of the full disk of the Sun using a 1024 × 1024 pixel CCD camera, with a spatial resolution of 2 arcsec per pixel and a temporal resolution of 96 min.The noise level of the instrument is about 7.6 G (1 G= 10 −4 T ) in the 96 min full-disk mode.In Fig. 1, the LOS magnetic field (B LOS ) is saturated at ±100 G for a better visualization of the magnetic features.The AR consisted of a large bipolar magnetic field with a leading negative polarity and a following positive polarity region.From 31 December 2000 to 3 January 2001 the region was fully emerged, and its leading sunspot was seen rotating about 50 • clockwise with an average speed of 0.56 • h −1 (Zhu et al., 2012).This clockwise rotation may cause a shear in the polarity inversion line, increasing the energy and relative helicity flow out of the photospheric plane around that region.As shown in Fig. 1  case the AR is far from the disk center, a correction would be necessary to find the perpendicular component, since the LOS component does not correspond to the perpendicular component anymore.Visual inspection shows that initially the magnetic field around the PIL is very fragmented, with very small positive and negative polarity regions being randomly distributed.These fragmented polarities start to coalesce, forming a negative polarity region (N1), connected to the AR main negative polarity, and two smaller positive polarity regions, one north of the negative polarity (P1) and other south (P2).The positive polarities P1 and P2 coalesce with two smaller positive polarity regions that were located around them, indicated by red arrows in the figure.Later, the positive polarity P2 connects to the AR main positive polarity.During this process, it seems that the negative polarity (N1) deforms while the positive polarity (P1) protrudes into it, which could be a triggering mechanism for flare occurrence (Kusano et al., 2012;Toriumi et al., 2013).Finally, the negative polarity N1 starts to rotate clockwise around itself, and the positive polarity P1 starts to rotate in the same sense around N1, moving between N1 and the leading negative polarity.As discussed in Toriumi et al. (2013) for AR NOAA 11156, the evolution of the small-scale magnetic field around the PIL may increase the shear and contribute to the triggering of strong flares.
To determine the velocity field responsible for the changes observed in the B LOS component of the magnetic field, we used the local correlation tracking (LCT) technique (November and Simon, 1988).More specifically, we have used a Fourier-based local correlation tracking (FLCT) implementation described in Welsch et al. (2004).The LCT-FLCT velocity indicates the apparent movement of the foot point of the magnetic field lines.If we assume that the photospheric field is vertical due to the buoyancy of magnetic flux tubes, then a sequence of images will show the horizontal motion of the foot points of the magnetic flux tubes.The velocity is locally determined by cross correlating a small fraction of two subsequent images shifted by variable displacement.The shift having the highest correlation shows the relative displacement, and the tracking velocity is obtained by dividing this displacement by the time interval between two images of a sequence.This velocity is used as a proxy for the tangential plasma velocity.
Unfortunately, there are some issues regarding the LCT-FLCT method.As pointed by Démoulin and Berger (2003), if the flux tube is inclined when it rises through the solar atmosphere, the point where it crosses the photosphere moves horizontally.This apparent motion can be interpreted by the LCT-FLCT method as a proper horizontal motion, and Démoulin and Berger ( 2003) suggested a correction if the tangential component of the magnetic field and the vertical component of the velocity are known.Since in our case the AR does not emerge, i.e. has no vertical motions, this correction is not necessary.Another issue, pointed by Schuck (2005), is that LCT-FLCT does not permit any contraction, dilation or rotation of the magnetic fluid on the scale of the apodizing window.Schuck (2005Schuck ( , 2008) ) suggested combining the LCT-FLCT with the difference affine method, in a method called the difference affine velocity estimator (DAVE), to account for the convergence and divergence in the flow as well as for higher-order parametric profiles.Finally, the LCT-FLCT method considers that the vertical component of the magnetic field evolves according the advection equation, while in fact it evolves according the induction equation.Different methods for obtaining the horizontal velocity from the evolution of the normal component of the magnetic field that obey the induction equation are available (Welsch et al., 2004;Longcope, 2004;Schuck, 2008).However, they usually require extra information about the horizontal component of the magnetic field and the vertical component of the velocity or they impose some restrictions to the velocity field.
For the sake of simplicity, and because we have information only about the temporal evolution of B LOS , we decided to use the LCT-FLCT method even when we knew about the issues that the application of the method imply.We use the time of the sample of the B LOS component (≈ 192 min) and select a full-width half-maximum (FWHM) window of five pixels (≈ 6 arcsec) to perform the localized cross-correlation.In applying the LCT-FLCT method we considered B LOS to be a passive scalar and assumed that all the changes observed in Fig. 2 are due the horizontal displacement of the magnetic features, with no flux emergence or submergence.

Critical point detection and classification
Photospheric vortexes are important, since they can form twisted flux tubes, transporting magnetic energy and helicity to upper layers of the solar atmosphere in the process.They are usually detected by visual inspections and, since this may cause a bias in the analysis of vortexes, efforts in developing automated detection methods have been recently performed (Kato and Wedemeyer, 2017;Rempel et al., 2017;Giagkiozis et al., 2018).In this work, we intend to contribute to the development of automated methods of vortex detection by using a well-known method of detection and classification of critical points (Helman and Hesselink, 1989) to identify converging vortexes by associating them with a specific kind of critical point.
In a 2-D flow field the velocity vector is given at any point as v(x, y) = v x (x, y) î + v y (x, y) ĵ .If we consider a linear vector field approximation, the velocity vector components can be written in terms of the (x, y) coordinate components as and where the following equation, is the Jacobian matrix of the transformation.So, to represent the velocity vector in a linear approximation, we need to know the values of the constants a, b, c, d, e and f .To find the values of the constants, it is necessary to consider the velocity vector in at least three points around the region of interest (ROI) in order to solve the following linear system of equations: for a, b and c, and the linear system of equations for d, e and f .We solve the set of simultaneous linear equations of the form Ax = b by back-substitution using the IDL functions SVDC and SVSOL.
Once the linear representation of the field is available, we can use Eq.(1) to check if there is a critical point inside the ROI.Critical points may be interpreted as the fixed points of a map.Given the location of such a points and their types, the behavior of the orbit of the particles can be predicted around them.Also, critical points are the only points where the flow field lines are allowed to intersect.A critical point is characterized by a flow velocity given by v(x, y) = (0, 0) ij .Then, in a linear vector field approximation, to find the coordinates of the critical point, we have to solve a matrix equation like for x and y.The solution of this equation gives the (x, y) coordinates of the critical point if it exists.
From the eigenvalues of the Jacobian matrix, given by the solution of Table 1.Classification of critical points according to the values of the real (R) and imaginary (I ) parts of the eigenvalues.

Critical point type Real part of the eigenvalues Imaginary part of the eigenvalues
Saddle point R1 < 0, R2 > 0 we can classify the critical point according to Helman and Hesselink (1989), as presented in Table 1.We find the eigenvalues by first reducing the Jacobian matrix to the upper Hessenberg form using the ELMHES function in IDL and then returning the eigenvalues by applying the HQR function.
To automatically search for critical points, we scan the 2-D LCT-FLCT vector field using a rectangle of size ( x, y). Figure 3a shows an illustration of the process for the vector field obtained at t = 768 min.Using the information of the flow and the coordinates at three corners of the rectangle, we perform the calculations described previously to search for critical points and classify them.By choosing different corners we cover the whole area inside the rectangle, and after the calculation is finished we move the rectangle in the x direction by x and start the calculations again until the end of the line is reached.We then go to the next line by moving the rectangle y in the vertical direction until the complete 2-D flow field is covered.Figure 3b shows the result of this calculation, where the circles indicate the position of the suggested critical points.The different colors indicate the classification of the critical points: blue is the saddle point, red is attracting node or focus, and yellow is the repelling node or focus.The solid (dashed) contour line indicates the regions where B LOS equals the value of +100 G (−100 G).
The results are sensitive to the size of the rectangle and should be cross-checked by visual inspection, since the calculations may produce false positive cases or even miss some critical points.This cross-check may be performed with the original 2-D flow field, a renormalized one or any visualization that could facilitate the identification of the critical points like the line integral convolution (LIC) technique, for example.

Fractal dimension and the box-counting method
A fractal is defined as a set for which the Hausdorff-Besicovitch dimension (fractal dimension) exceeds the topological dimension (Mandelbrot, 1982).To calculate the fractal dimension of an image, we use the box-counting method.In this method, an image is covered by a sequence of grids of decreasing sizes, and for each of the grids we compute the number of square boxes intersected by the image, N (s), and the side length of the squares, s.The regression slope D of the straight line formed by plotting log(N (s)) against www.ann-geophys.net/37/603/2019/Ann.Geophys., 37, 603-612, 2019 log(1/s) indicates the degree of complexity, or fractal dimension, between 1 and 2 (1 ≤ D ≤ 2): Mandelbrot (1975) suggested that turbulent shapes require a proper geometrical description.For isoscalar surfaces in 3-D homogeneous turbulence, he argued for a fractal dimension D = 8/3, which corresponds to D = 5/3 in two dimensions, if turbulence could be described as possessing Kolmogorov-Gauss scaling (Mandelbrot, 1975(Mandelbrot, , 1982)).

Results
We apply the method described in Sect. 2 to identify and classify the critical points in the data cube containing the 2-D LCT-FLCT flow fields for the 3.6 d period starting on 31 De-  cember 2000 at 01:34:43 UT.Before we apply the method, each flow field is resampled to have 128 × 128 data points.We use a rectangle of 2 × 2 to scan the flow field, since this is the resolution necessary to detect the smallest structures in the flow field.We select only the critical points classified as an attracting focus and cross-check the results with a flow field normalized in a way that all the flow vectors have the same size.These critical points are associated with vortex flows converging to them.
Figure 4 shows the 2-D flow fields and the positions (red circles) where the presence of converging vortex flows were confirmed.We identified the occurrence of 12 converging vortexes in the LCT-FLCT flow field obtained from the evolution of the LOS photospheric magnetic field around the PIL for a period of 3.6 d.The arrows in Fig. 4 show the direc-tion of rotation, with about 67 % (eight) of the cases rotating clockwise and 33 % (four) counterclockwise.This shows a preference for clockwise rotation in the set of converging vortexes detected around the PIL.
Our investigation also shows that critical points are always present in the LCT-FLCT flow fields for the period analyzed.Their total number varies with time, and saddle points are the most commonly detected type of critical point, with a total of 213 detected in the period of 3.6 d. Figure 5 shows a rough estimation of the noncumulative number of critical points computed for each time instant analyzed.This result probably reflects the complexity of the flow field around the PIL, since the lines connecting the critical points (separatrices) separate different flow regions.The detection method produced an accuracy of approximately 70 % in finding the crit- ical points in the complex velocity fields obtained by LCT-FLCT.
We also investigate the geometric aspect of the flow by calculating its fractal dimension.It describes how detail in a pattern changes with the scale at which it is measured and provides a measure of geometrical complexity (Mandelbrot, 1982).To perform this calculation we apply a mask to the flow field, selecting only the regions where the velocity amplitude is larger than v = 23.6 m s −1 .Figure 6 shows the time evolution of the distribution of the regions where the velocity amplitude is above the threshold, shown in black.We want to measure the fractal dimension of those structures.The selected threshold corresponds to the average of the velocities presented Fig. 7a.
The fractal dimension is calculated using the box-counting method described in Sect. 2. Figure 7b shows the results obtained for each time instant.They result in an average fractal dimension of D = 1.63 ± 0.05.This fractal dimension is very close to the one obtained for homogeneous turbulence (D = 5/3), suggesting the occurrence of a turbulent flow around the PIL.Since fully developed turbulence consists of a hierarchy of eddies, we expect that vortex flows will be a common feature of the flow field around the PIL.

Conclusions
We have investigated the LCT-FLCT flow fields obtained from the evolution of B LOS in a region around the PIL for the presence of converging vortex flows.To perform this, we first look for the presence of critical points, using a linear approximation of the flow field, and classify them according to the eigenvalues of the Jacobian matrix of the linear transformation.Then, we sort a particular type of critical point called the attracting focus, which is associated with converging vortex flows.This procedure facilitates the visual identification of vortexes in the 2-D photospheric flow fields, and in our results we have identified a total of 12 converging vortexes in a period of 3.6 d.These converging vortexes show a clockwise preferred sense of rotation with approximately 67 % of the cases.The attracting focus is not the only kind of critical point detected, with the most common type being saddle points, with 213 detected in a 3.6 d period.These results reveal the complexity of the flow field around the PIL and suggest, together with previous results, that vortex flows are indeed a relatively common feature in the solar photosphere.By calculating the fractal dimension of the regions where the velocity is larger than a threshold value of v = 23.6 m s −1 , we obtain an average value of D = 1.62±0.05,which is very close to the values obtained for a homogeneous turbulence (D = 5/3).This reinforces the complexity of the flow around the PIL, suggesting that it presents a turbulent nature.
Financial support.This research has been supported by the CNPq (grant no.307653/2017-0).
Review statement.This paper was edited by Marcos D. Silveira and reviewed by three anonymous referees.

Figure 1 .
Figure 1.Full-disk LOS magnetic field (a) and close view of AR NOAA 9289 (b) as measured by the MDI-SoHO (SoHO -Solar and Heliospheric Observatory) instrument on 2 January 2001 at 04:51:01 UT.
around the PIL and follow the evolution of B LOS for a period of 3.6 d starting on 31 December 2000 at 01:34:43 UT. Figure 2 displays the B LOS measurements with a cadence of 192 min.The x and y axes show the spatial coordinates in pixel values, where each pixel corresponds approximately to 1.2 arcsec.During this period, AR NOAA 9289 crossed the center of the solar disk, and the LOS component of the photospheric magnetic field is considered identical to component perpendicular to the photosphere.In

Figure 2 .
Figure 2. Evolution of the LOS component of the magnetic field around the PIL for the period of 3.6 d starting on 31 December 2000 at 01:34:43 UT.The x and y axes show the spatial coordinates in pixel values, where each pixel corresponds approximately to 1.2 arcsec.

Figure 3 .
Figure 3. (a) Illustration of the method for automatic search of critical points in a 2-D flow field.(b) Results obtained using the automatic search for the LCT flow field at t = 768 min.The circles show the location of the suggested critical points, and the colors show their classification (blue is saddle point, red is attracting node or focus, and yellow is repelling node or focus).

Figure 4 .
Figure 4. Location of the detected vortex flows in the 2-D LCT flow fields obtained from the evolution of the magnetic structures around the PIL of a fully developed active region.The red circles indicate their location, and the arrows indicate the direction of rotation.

Figure 5 .
Figure 5. Noncumulative counts of critical points detected on the 2-D LCT flows obtained from the evolution of the magnetic field around the PIL for the period of 3.6 d.The colors show their classification: blue is saddle point (SP), red is attracting node or focus (AN/AF), and yellow is repelling node or focus (RN/RF).

Figure 6 .
Figure 6.Time evolution of the regions where the velocity is above the threshold value of v = 23.6 m s −1 , shown in black, for a period of 3.6 d starting on 31 December 2000 at 01:34:43 UT.The x and y axes show the spatial coordinates in pixel values, where each pixel corresponds approximately to 1.2 arcsec.

Figure 7 .
Figure 7. Temporal evolution of the average velocity (a) and fractal dimension (b) for the flow around the PIL.