Chaowei Jiang, Xinkai Bian, Tingting Sun, Xueshang Feng
Apr 15, 2021·astro-ph.SR·PDF It is well known that magnetic fields dominate the dynamics in the solar corona, and new generation of numerical modelling of the evolution of coronal magnetic fields, as featured with boundary conditions driven directly by observation data, are being developed. This paper describes a new approach of data-driven magnetohydrodynamic (MHD) simulation of solar active region (AR) magnetic field evolution, which is for the first time that a data-driven full-MHD model utilizes directly the photospheric velocity field from DAVE4VM. We constructed a well-established MHD equilibrium based on a single vector magnetogram by employing an MHD-relaxation approach with sufficiently small kinetic viscosity, and used this MHD equilibrium as the initial conditions for subsequent data-driven evolution. Then we derived the photospheric surface flows from a time series of observed magentograms based on the DAVE4VM method. The surface flows are finally inputted in time sequence to the bottom boundary of the MHD model to self-consistently update the magnetic field at every time step by solving directly the magnetic induction equation at the bottom boundary. We applied this data-driven model to study the magnetic field evolution of AR 12158 with SDO/HMI vector magnetograms. Our model reproduced a quasi-static stress of the field lines through mainly the rotational flow of the AR's leading sunspot, which makes the core field lines to form a coherent S shape consistent with the sigmoid structure as seen in the SDO/AIA images. The total magnetic energy obtained in the simulation matches closely the accumulated magnetic energy as calculated directly from the original vector magnetogram with the DAVE4VM derived flow field. Such a data-driven model will be used to study how the coronal field, as driven by the slow photospheric motions, reaches a unstable state and runs into eruptions.
Chaowei Jiang, Peng Zou, Xueshang Feng, Qiang Hu, Rui Liu, P. Vemareddy, Aiying Duan, Pingbing Zuo, Yi Wang, Fengsi Wei
Oct 31, 2018·astro-ph.SR·PDF Three-dimensional magnetic topology is crucial to understanding the explosive release of magnetic energy in the corona during solar flares. Much attention has been given to the pre-flare magnetic topology to identify candidate sites of magnetic reconnection, yet it is unclear how the magnetic reconnection and its attendant topological changes shape the eruptive structure and how the topology evolves during the eruption. Here we employed a realistic, data-constrained magnetohydrodynamic simulation to study the evolving magnetic topology for an X9.3 eruptive flare that occurred on 2017 September 6. The simulation successfully reproduces the eruptive features and processes in unprecedented detail. The numerical results reveal that the pre-flare corona contains multiple twisted flux systems with different connections, and during the eruption, these twisted fluxes form a coherent flux rope through tether-cutting-like magnetic reconnection below the rope. Topological analysis shows that the rising flux rope is wrapped by a quasi-separatrix layer, which intersects itself below the rope, forming a topological structure known as hyperbolic flux tube, where a current sheet develops, triggering the reconnection. By mapping footpoints of the newly-reconnected field lines, we are able to reproduce both the spatial location and, for the first time, the temporal separation of the observed flare ribbons, as well as the dynamic boundary of the flux rope's feet. Futhermore, the temporal profile of the total reconnection flux is comparable to the soft X-ray light curve. Such a sophisticated characterization of the evolving magnetic topology provides important insight into the eventual understanding and forecast of solar eruptions.
Peng Zou, Chaowei Jiang, Xueshang Feng, Pingbing Zuo, Yi Wang, Fengsi Wei
Nov 22, 2018·astro-ph.SR·PDF Solar flares are often associated with coronal eruptions, but there are confined ones without eruption, even for some X-class flares. How such large flares occurred and why they are confined are still not well understood. Here we studied a confined X2.2 flare in NOAA 12673 on 2017 September 6. It exhibits two episodes of flare brightening with rather complex, atypical ribbons. Based on topology analysis of extrapolated coronal magnetic field, we revealed that there is a two-step magnetic reconnection process during the flare. Prior to the flare, there is a magnetic flux rope (MFR) with one leg rooted in a rotating sunspot. Neighboring to the leg is a magnetic null-point structure. The sunspot drives the MFR to expand, pushing magnetic flux to the null point, and reconnection is first triggered there. The disturbance from the null-point reconnection triggers the second reconnection, i.e., a tether-cutting reconnection below the rope. However, these two reconnections failed to produce an eruption, because the rope is firmly held by its strapping flux. Furthermore, we compared this flare with an eruptive X9.3 flare in the same region with 2 hours later, which has a similar MFR configuration. The key difference between them is that, for the confined flare, the MFR is fully below the threshold of torus instability, while for the eruptive one, the MFR reaches entirely above the threshold. This study provides a good evidence supporting that reconnection alone may not be able to trigger eruption, rather, MHD instability plays a more important role.
Chaowei Jiang, S. T. Wu, Xueshang Feng, Qiang Hu
Mar 30, 2014·astro-ph.SR·PDF Solar filament are commonly thought to be supported in magnetic dips, in particular, of magnetic flux ropes (FRs). In this Letter, from the observed photospheric vector magnetogram, we implement a nonlinear force-free field (NLFFF) extrapolation of a coronal magnetic FR that supports a large-scale intermediate filament between an active region and a weak polarity region. This result is the first in that current NLFFF extrapolations with presence of FRs are limited to relatively small-scale filaments that are close to sunspots and along main polarity inversion line (PIL) with strong transverse field and magnetic shear, and the existence of a FR is usually predictable. In contrast, the present filament lies along the weak-field region (photospheric field strength $\lesssim 100$ G), where the PIL is very fragmented due to small parasitic polarities on both side of the PIL and the transverse field has a low value of signal-to-noise ratio. Thus it represents a far more difficult challenge to extrapolate a large-scale FR in such case. We demonstrate that our CESE--MHD--NLFFF code is competent for the challenge. The numerically reproduced magnetic dips of the extrapolated FR match observations of the filament and its barbs very well, which supports strongly the FR-dip model for filaments. The filament is stably sustained because the FR is weakly twisted and strongly confined by the overlying closed arcades.
Chaowei Jiang, Xueshang Feng, S. T. Wu, Qiang Hu
Current magnetohydrodynamic (MHD) simulations of the initiation of solar eruptions are still commonly carried out with idealized magnetic field models, whereas the realistic coronal field prior to eruptions can possibly be reconstructed from the observable photospheric field. Using a nonlinear force-free field extrapolation prior to a sigmoid eruption in AR 11283 as the initial condition in a MHD model, we successfully simulate the realistic initiation process of the eruption event, as is confirmed by a remarkable resemblance to the SDO/AIA observations. Analysis of the pre-eruption field reveals that the envelope flux of the sigmoidal core contains a coronal null and furthermore the flux rope is prone to a torus instability. Observations suggest that reconnection at the null cuts overlying tethers and likely triggers the torus instability of the flux rope, which results in the eruption. This kind of simulation demonstrates the capability of modeling the realistic solar eruptions to provide the initiation process.
Qingjun Liu, Chaowei Jiang, Xinkai Bian, Xueshang Feng, Pingbing Zuo, Yi Wang
Feb 17, 2024·astro-ph.SR·PDF There is a heated debate regarding the specific roles played by ideal magnetohydrodynamic (MHD) instability and magnetic reconnection in the causes of solar eruptions. In the context with a pre-existing magnetic flux rope (MFR) before an eruption, it is widely believed that an ideal MHD instability, in particular, the torus instability, is responsible for triggering and driving the eruption, while reconnection, as invoked in the wake of the erupting MFR, plays a secondary role. Here we present a new numerical MHD model in which the eruption of a pre-existing MFR is primarily triggered and driven by reconnection. In this model, a stable MFR embedded in a strapping field is set as the initial condition. A surface converging flow is then applied at the lower boundary, pushing magnetic flux towards to the main polarity inversion line. It drives a quasi-static evolution of the system, during which a current layer is built up below the MFR with decreasing thickness. Once reconnection starts in the current sheet, the eruption commences, which indicates that the reconnection plays a determining role in triggers the eruption. By further analyzing the works done by in the magnetic flux of the pre-existing MFR and the newly reconnected flux during the acceleration stage of the eruption, we find that the latter plays a major role in driving the eruption. Such a model may explain observed eruptions in which the pre-eruption MFR has not reached the conditions for ideal instability.
Chaowei Jiang, Xueshang Feng, Xinkai Bian, Peng Zou, Aiying Duan, Xiaoli Yan, Qiang Hu, Wen He, Xinyi Wang, Pingbing Zuo, Yi Wang
Aug 19, 2023·astro-ph.SR·PDF The rotation of sunspots around their umbral center has long been considered as an important process in leading to solar eruptions, but the underlying mechanism remains unclear. A prevailing physical picture on how sunspot rotation leads to eruption is that, by twisting the coronal magnetic field lines from their footpoints, the rotation can build up a magnetic flux rope and drive it into some kinds of ideal magnetohydrodynamics (MHD) instabilities which initiate eruptions. Here with a data-inspired MHD simulation we studied the rotation of a large sunspot in solar active region NOAA 12158 leading to a major eruption, and found that it is distinct from prevailing theories based on ideal instabilities of twisted flux rope. The simulation suggests that, through successive rotation of the sunspot, the coronal magnetic field is sheared with a central current sheet created progressively within the sheared arcade before the eruption, but without forming a flux rope. Then the eruption is instantly triggered once fast reconnection sets in at the current sheet, while a highly twisted flux rope is created during the eruption. Furthermore, the simulation reveals an intermediate evolution stage between the quasi-static energy-storage phase and the impulsive eruption-acceleration phase. This stage may correspond to the slow-rise phase in observation and it enhances building up of the current sheet.
Chaowei Jiang, Xueshang Feng, Changqing Xiang
Jun 10, 2012·astro-ph.SR·PDF Reliable measurements of the solar magnetic field are still restricted to the photosphere, and our present knowledge of the three-dimensional coronal magnetic field is largely based on extrapolation from photospheric magnetogram using physical models, e.g., the nonlinear force-free field (NLFFF) model as usually adopted. Most of the currently available NLFFF codes have been developed with computational volume like Cartesian box or spherical wedge while a global full-sphere extrapolation is still under developing. A high-performance global extrapolation code is in particular urgently needed considering that Solar Dynamics Observatory (SDO) can provide full-disk magnetogram with resolution up to $4096\times 4096$. In this work, we present a new parallelized code for global NLFFF extrapolation with the photosphere magnetogram as input. The method is based on magnetohydrodynamics relaxation approach, the CESE-MHD numerical scheme and a Yin-Yang spherical grid that is used to overcome the polar problems of the standard spherical grid. The code is validated by two full-sphere force-free solutions from Low & Lou's semi-analytic force-free field model. The code shows high accuracy and fast convergence, and can be ready for future practical application if combined with an adaptive mesh refinement technique.
Aiying Duan, Chaowei Jiang, Wen He, Xueshang Feng, Peng Zou, Jun Cui
Aug 23, 2019·astro-ph.SR·PDF Magnetic flux ropes (MFRs) are thought to be the central structure of solar eruptions, and their ideal MHD instabilities can trigger the eruption. Here we performed a study of all the MFR configurations that lead to major solar flares, either eruptive or confined, from 2011 to 2017 near the solar disk center. The coronal magnetic field is reconstructed from observed magnetograms, and based on magnetic twist distribution, we identified the MFR, which is defined as a coherent group of magnetic field lines winding an axis with more than one turn. It is found that 90% of the events possess pre-flare MFRs, and their three-dimensional structures are much more complex in details than theoretical MFR models. We further constructed a diagram based on two parameters, the magnetic twist number which controls the kink instability (KI), and the decay index which controls the torus instability (TI). It clearly shows lower limits for TI and KI thresholds, which are $n_{\rm crit} = 1.3$ and $|T_w|_{\rm crit} = 2$, respectively, as all the events above $n_{\rm crit}$ and nearly 90% of the events above $|T_w|_{\rm crit}$ erupted. Furthermore, by such criterion, over 70% of the events can be discriminated between eruptive and confined flares, and KI seems to play a nearly equally important role as TI in discriminating between the two types of flare. There are more than half of events with both parameters below the lower limits, and 29% are eruptive. These events might be triggered by magnetic reconnection rather than MHD instabilities.
Peng Zou, Chaowei Jiang, Fengsi Wei, Pingbing Zuo, Yi Wang
Aug 23, 2019·astro-ph.SR·PDF Coronal mass ejections (CMEs) play a decisive role in driving space weather, especially, the fast ones (e.g., with speeds above $800$~km~s$^{-1}$). Understanding the trigger mechanisms of fast CMEs can help us gaining important information in forecasting them. The filament eruptions accompanied with CMEs provide a good tracer in studying the early evolution of CMEs. Here we surveyed 66 filament-accompanied fast CMEs to analyse the correlation between the trigger mechanisms, namely either magnetic reconnection or ideal MHD process, associated flares, and CME speeds. Based on the data gathering from SDO, GONG and STEREO, we find that: (1) Active region (AR) filament and intermediate filaments (IFs) eruptions show a higher probability for producing fast CMEs than quiet Sun (QS) filaments, while the probability of polar crown (PC) filament eruptions is zero in our statistic; (2) AR filament eruptions that produce fast CMEs are more likely triggered by magnetic reconnection, while QS and IFs are more likely triggered by ideal MHD process; (3) For AR filaments and IFs, it seems that the specific trigger mechanism does not have a significant influence on the resulted CME speeds, while for the QS filaments, the ideal MHD mechanism can more likely generate a faster CME; (4) Comparing with previous statistic study, the onset heights of filament eruptions and the decay indexes of the overlying field show some differences: for AR filaments and IFs, the decay indexes are larger and much closer to the theoretical threshold, while for QS filaments, the onset heights are higher than those obtained in previous results.
Chaowei Jiang, Xueshang Feng, Rui Liu, XiaoLi Yan, Qiang Hu, Ronald L. Moore, Aiying Duan, Jun Cui, Pingbing Zuo, Yi Wang, Fengsi Wei
Jul 17, 2021·astro-ph.SR·PDF Solar eruptions are spectacular magnetic explosions in the Sun's corona, and how they are initiated remains unclear. Prevailing theories often rely on special magnetic topologies that may not generally exist in the pre-eruption source region of corona. Here, using fully three-dimensional magnetohydrodynamic simulations with high accuracy, we show that solar eruptions can be initiated in a single bipolar configuration with no additional special topology. Through photospheric shearing motion alone, an electric current sheet forms in the highly sheared core field of the magnetic arcade during its quasi-static evolution. Once magnetic reconnection sets in, the whole arcade is expelled impulsively, forming a fast-expanding twisted flux rope with a highly turbulent reconnecting region underneath. The simplicity and efficacy of this scenario argue strongly for its fundamental importance in the initiation of solar eruptions.
Chaowei Jiang, Xueshang Feng
Apr 10, 2013·astro-ph.SR·PDF Due to the absence of direct measurement, the magnetic field in the solar corona is usually extrapolated from the photosphere in numerical way. At the moment, the nonlinear force-free field (NLFFF) model dominates the physical models for field extrapolation in the low corona. Recently we have developed a new NLFFF model with MHD relaxation to reconstruct the coronal magnetic field. This method is based on CESE--MHD model with the conservation-element/solution-element (CESE) spacetime scheme. In this paper, we report the application of the CESE--MHD--NLFFF code to \SDO/HMI data with magnetograms sampled for two active regions (ARs), NOAA AR 11158 and 11283, both of which were very non-potential, producing X-class flares and eruptions. The raw magnetograms are preprocessed to remove the force and then inputted into the extrapolation code. Qualitative comparison of the results with the \SDO/AIA images shows that our code can reconstruct magnetic field lines resembling the EUV-observed coronal loops. Most important structures of the active regions are reproduced excellently, like the highly-sheared field lines that suspend filaments in AR 11158 and twisted flux rope which corresponds to a sigmoid in AR 11283. Quantitative assess of the results shows that the force-free constraint is fulfilled very well in the strong-field regions but apparently not that well in the weak-field regions because of data noise and numerical errors in the small currents.
Chaowei Jiang, Peng Zou, Xueshang Feng, Qiang Hu, Aiying Duan, Pingbing Zuo, Yi Wang, Fengsi Wei
Three-dimensional magnetic topology of solar flare plays a crucial role in understanding its explosive release of magnetic energy in the corona. However, such three-dimensional coronal magnetic field is still elusive in direct observation. Here we realistically simulate the magnetic evolution during the eruptive process of a great flare, using a numerical magnetohydrodynamic model constrained by observed solar vector magnetogram. The numerical results reveal that the pre-flare corona contains multi-set twisted magnetic flux, which forms a coherent rope during the eruption. The rising flux rope is wrapped by a quasi-separatrix layer, which intersects itself below the rope, forming a hyperbolic flux tube and magnetic reconnection is triggered there. By tracing the footprint of the newly-reconnected field lines, we reproduce both the spatial location and its temporal evolution of flare ribbons with an expected accuracy in comparison of observed images. This scenario strongly confirms the three-dimensional version of standard flare model.
Chaowei Jiang, Xueshang Feng
In the solar corona, magnetic flux rope is believed to be a fundamental structure accounts for magnetic free energy storage and solar eruptions. Up to the present, the extrapolation of magnetic field from boundary data is the primary way to obtain fully three-dimensional magnetic information of the corona. As a result, the ability of reliable recovering coronal magnetic flux rope is important for coronal field extrapolation. In this paper, our coronal field extrapolation code (CESE-MHD-NLFFF, Jiang & Feng 2012) is examined with an analytical magnetic flux rope model proposed by Titov & Demoulin (1999), which consists of a bipolar magnetic configuration holding an semi-circular line-tied flux rope in force-free equilibrium. By using only the vector field in the bottom boundary as input, we test our code with the model in a representative range of parameter space and find that the model field is reconstructed with high accuracy. Especially, the magnetic topological interfaces formed between the flux rope and the surrounding arcade, i.e., the "hyperbolic flux tube" and "bald patch separatrix surface", are also reliably reproduced. By this test, we demonstrate that our CESE-MHD-NLFFF code can be applied to recovering magnetic flux rope in the solar corona as long as the vector magnetogram satisfies the force-free constraints.
Chaowei Jiang, Xueshang Feng, S. T. Wu, Qiang Hu
May 30, 2017·astro-ph.SR·PDF With SDO observations and a data-constrained MHD model, we identify a confined multi-ribbon flare occurred on 2010 October 25 in solar active region 11117 as a magnetic bald patch (BP) flare with strong evidences. From the photospheric magnetic field observed by SDO/HMI, we find there is indeed magnetic BPs on the PILs which match parts of the flare ribbons. From the 3D coronal magnetic field derived from a MHD relaxation model constrained by the vector magnetograms, we find strikingly good agreement of the BP separatrix surface (BPSS) footpoints with the flare ribbons, and the BPSS itself with the hot flaring loop system. Moreover, the triggering of the BP flare can be attributed to a small flux emergence under the lobe of the BPSS, and the relevant change of the coronal magnetic field through the flare is well reproduced by the pre-flare and post-flare MHD solutions, which match the corresponding pre and post-flare AIA observations, respectively. Our work contributes to the study of non-typical flares that constitute the majority of solar flares but cannot be explained by the standard flare model.
Aiying Duan, Chaowei Jiang, Shin Toriumi, Petros Syntelis
May 21, 2020·astro-ph.SR·PDF Magnetic flux generated and intensified by the solar dynamo emerges into the solar atmosphere, forming active regions (ARs) including sunspots. Existing theories of flux emergence suggest that the magnetic flux can rise buoyantly through the convection zone but is trapped at the photosphere, while its further rising into the atmosphere resorts to the Parker buoyancy instability. To trigger such an instability, the Lorentz force in the photosphere needs to be as large as the gas pressure gradient to hold up an extra amount of mass against gravity. This naturally results in a strongly non-force-free photosphere, which is indeed shown in typical idealized numerical simulations of flux tube buoyancy from below the photosphere into the corona. Here we conduct a statistical study of the extents of normalized Lorentz forces and torques in the emerging photospheric magnetic field with a substantially large sample of SDO/HMI vector magnetograms. We found that the photospheric field has a rather small Lorentz force and torque on average, and thus is very close to a force-free state, which is not consistent with theories as well as idealized simulations of flux emergence. Furthermore, the small extents of forces and torques seem not to be influenced by the emerging AR's size, the emergence rate, or the non-potentiality of the field. This result puts an important constraint on future development of theories and simulations of flux emergence.
Peng Zou, Chaowei Jiang, Fengsi Wei, Xueshang Feng, Pingbing Zuo, Yi Wang
Jan 14, 2020·astro-ph.SR·PDF Two X-class solar flares occurred on 2017 September 6 from active region NOAA 12673: the first one is a confined X2.2 flare, and it is followed only $\sim 3$ hours later by the second one, which is the strongest flare in solar cycle 24, reaching X9.3 class and accompanied with a coronal mass ejection. Why these two X-class flares occurred in the same position with similar magnetic configurations, but one is eruptive while the other is not? Here we track the coronal magnetic field evolution via nonlinear force-free field extrapolations from a time sequence of vector magnetograms with high cadence. A detailed analysis of the magnetic field shows that a magnetic flux rope (MFR) forms and grows gradually before the first flare, and shortly afterwards, the MFR's growth is significantly enhanced with a much faster rise in height, from far below the threshold of torus instability to above it, while the magnetic twist only increases mildly. Combining EUV observations and the magnetic field extrapolation, we found that overlying the MFR is a null-point magnetic topology, where recurrent brightening is seen after the first flare. We thus suggest a scenario to interpret the occurrence of the two flares. The first flare occurred since the MFR reached a high enough height to activate the null point, and its continuous expansion forces the null-point reconnection recurrently. Such reconnection weakens the overlying field, allowing the MFR to rise faster, which eventually crosses the threshold of torus instability and triggers the second, eruptive flare.
Juntao Wang, Chaowei Jiang, Ding Yuan, Peng Zou
Feb 13, 2021·astro-ph.SR·PDF The phenomenon of peripheral coronal loop contraction during solar flares and eruptions, recently discovered in observations, gradually intrigues solar physicists. However, its underlying physical mechanism is still uncertain. One is Hudson (2000)'s implosion conjecture which attributes it to magnetic pressure reduction in the magnetic energy liberation core, while other researchers proposed alternative explanations. In previous observational studies we also note the disappearance of peripheral shrinking loops in the late phase, of which there is a lack of investigation and interpretation. In this paper, we exploit a full MHD simulation of solar eruption to study the causes of the two phenomena. It is found that the loop motion in the periphery is well correlated with magnetic energy accumulation and dissipation in the core, and the loop shrinkage is caused by a more significant reduction in magnetic pressure gradient force than in magnetic tension force, consistent with the implosion conjecture. The peripheral contracting loops in the late phase act as inflow to reconnect with central erupting structures, which destroys their identities and naturally explains their disappearance. We also propose a positive feedback between the peripheral magnetic reconnection and the central eruption.
Chaowei Jiang, Xueshang Feng, S. T. Wu, Qiang Hu
Sep 11, 2012·astro-ph.SR·PDF We apply a data-driven MHD model to investigate the three-dimensional (3D) magnetic field of NOAA active region (AR) 11117 around the time of a C-class confined flare occurred on 2010 October 25. The MHD model, based on the spacetime conservation-element and solution-element (CESE) scheme, is designed to focus on the magnetic-field evolution and to consider a simplified solar atomsphere with finite plasma $β$. Magnetic vector-field data derived from the observations at the photoshpere is inputted directly to constrain the model. Assuming that the dynamic evolution of the coronal magnetic field can be approximated by successive equilibria, we solve a time sequence of MHD equilibria basing on a set of vector magnetograms for AR 11117 taken by the Helioseismic and Magnetic Imager (HMI) on board the {\it Solar Dynamic Observatory (SDO)} around the time of flare. The model qualitatively reproduces the basic structures of the 3D magnetic field, as supported by the visual similarity between the field lines and the coronal loops observed by the Atmospheric Imaging Assembly (AIA), which shows that the coronal field can indeed be well characterized by the MHD equilibrium in most time. The magnetic configuration changes very limited during the studied time interval of two hours. A topological analysis reveals that the small flare is correlated with a bald patch (BP, where the magnetic field is tangent to the photoshpere), suggesting that the energy release of the flare can be understood by magnetic reconnection associated with the BP separatrices. The total magnetic flux and energy keep increasing slightly in spite of the flare, while the computed magnetic free energy drops during the flare with an amount of $\sim 10^{30}$ erg, which seems to be adequate to provide the energy budget of the minor C-class confined flare.
Chaowei Jiang, Xueshang Feng, Xinkai Bian, Peng Zou, Aiying Duan, Xiaoli Yan, Qiang Hu, Wen He, Xinyi Wang, Pingbing Zuo, Yi Wang
Aug 14, 2023·astro-ph.SR·PDF Solar eruptions are the leading driver of space weather, and it is vital for space weather forecast to understand in what conditions the solar eruptions can be produced and how they are initiated. The rotation of sunspots around their umbral center has long been considered as an important condition in causing solar eruptions. To unveil the underlying mechanisms, here we carried out a data-driven magnetohydrodynamics simulation for the event of a large sunspot with rotation for days in solar active region NOAA 12158 leading to a major eruption. The photospheric velocity as recovered from the time sequence of vector magnetograms are inputted directly at the bottom boundary of the numerical model as the driving flow. Our simulation successfully follows the long-term quasi-static evolution of the active region until the fast eruption, with magnetic field structure consistent with the observed coronal emission and onset time of simulated eruption matches rather well with the observations. Analysis of the process suggests that through the successive rotation of the sunspot the coronal magnetic field is sheared with a vertical current sheet created progressively, and once fast reconnection sets in at the current sheet, the eruption is instantly triggered, with a highly twisted flux rope originating from the eruption. This data-driven simulation stresses magnetic reconnection as the key mechanism in sunspot rotation leading to eruption.