Introduction

Mars has always been an important target in planetary science due to its divergent evolution from Earth. Ancient Mars is believed to have had a global dipole magnetic field, a thick atmosphere, and surface liquid water, similar to present-day Earth1,2,3. However, modern Mars lacks both a global dipole magnetic field and surface liquid water, possessing only a tenuous, CO2 (carbon dioxide)-dominated atmosphere. This suggests that Mars has undergone significant atmospheric loss. An important factor contributing to this loss is the absence of a global dipole magnetic field, which allows the solar wind (a high-speed stream of charged particles emitted from the Sun) to directly strip away the upper Martian atmosphere and facilitate the escape of atmospheric ions into space4,5,6,7,8,9,10,11,12,13,14,15,16. Consequently, understanding how the solar wind energizes planetary ions and drives their escape is essential for comprehending the long-term atmospheric evolution of Mars, its climate change, and its potential habitability.

When the solar wind encounters Mars, the solar wind plasma and “frozen-in” interplanetary magnetic field (IMF) generate a motional electric field (ESW) in the Mars rest frame. This electric field initially accelerates the ionospheric ions, primarily O+ (oxygen ions) and O2+ (molecular oxygen ions), along its direction and subsequently deflects the ions anti-sunward. As a result, in the hemisphere where ESW points away from the planet, called +E hemisphere, the ions gradually gain energy as they ascend from the ionosphere17. Thus, the ions have a high probability of becoming highly energized and escaping into space18,19. These escaping and energized ions form a plume extending from the low-altitude ionosphere beyond the bow shock, contributing about 20%–30% to the total escape rate of ions20,21,22,23,24. Conversely, in the -E hemisphere where ESW points toward the planet, the dayside ionospheric ions are accelerated back toward the planet, causing many of these ions to return to the atmosphere instead of escaping to space19.

However, the current understanding of ion escape at Mars has primarily relied on single-point measurements, which fall short in distinguishing the spatial and temporal variations. Previous studies have demonstrated that ion escape at Mars can exhibit a bursty signature, marked by considerable transient enhancements in escaping ion flux13,25,26. It has been suggested that such bursty escape of ionospheric ions may be triggered by crustal field reconnection25 or the snowplow effect at the boundary27. Nonetheless, the actual solar wind conditions during these bursty escape events were unknown. Consequently, it remains uncertain whether these events are triggered by the temporal variations of external solar wind or by other sources. Additionally, it is uncertain whether these events are global or localized phenomena. Notably, even under conditions of constant solar wind, its interaction with the bow shock can naturally introduce various waves and coherent, spatially localized structures in the foreshock region28,29. These structures, which introduce additional inhomogeneities in the solar wind, could also directly interact with the ionosphere, potentially introducing further temporal-spatial variabilities to the escaping of ions. However, the specific impacts of these inhomogeneities remain poorly understood. Addressing these gaps is crucial for advancing our understanding of planetary ion escape, necessitating the deployment of multi-point spacecraft missions. To this end, multi-point spacecraft missions such as NASA’s ESCAPADE30, and ESA’s M-MATISSE mission31 have been proposed. Fortunately, NASA’s MAVEN (Mars Atmosphere and Volatile EvolutioN)32 and China’s Tianwen-133 are contemporaneously measuring the magnetic fields and ion properties at Mars. This situation offers two-point measurements and provides a unique opportunity to explore the temporal and spatial variability of ion escape, of particular interest to future multi-point spacecraft missions.

Here, we show that ion escape at Mars exhibits anomalous temporal and spatial variability under steady external conditions, based on concurrent observations from MAVEN and Tianwen-1. This finding underscores that the interaction between the solar wind and Mars, as well as ion escape, are far more complex and dynamic than previously thought, highlighting the need for further multi-point observations.

Results

Event overview

During 13:24–13:29 UTC, September 23, 2022, both the MAVEN and Tianwen-1 were located in the terminator region of Mars (see Fig. 1a). The average location of MAVEN was ~(0.191, −1.415, 1.817) RM (radius of Mars, RM = 3390 km) in the Mars Solar Orbital (MSO, see Methods subsection MSO and MSE Coordinates) coordinates, placing it near the location of nominal bow shock (refer to Fig. 1a). Tianwen-1’s average location was roughly (0.057, −1.473, −0.242) RM, indicating its proximity to the nominal magnetic pile-up boundary (see Methods subsection Magnetic Pile-up Boundary) (refer to Fig. 1a, b).

Fig. 1: Overview of the case occurred on September 23, 2022.
figure 1

a Shows the positions of MAVEN and Tianwen-1 in the \({X}_{{MSO}}-{R}_{{MSO}}\) plane, where \(R=\sqrt{{Y}_{{MSO}}^{2}+{Z}_{{MSO}}^{2}}\). The black dashed curves represent the nominal bow shock and magnetic pile-up boundary (MPB)67. b Shows the locations of the MAVEN and Tianwen-1 in the \({Y}_{{MSO}}-{Z}_{{MSO}}\) plane. (c, d, e) depict the H+ (hydrogen ions), O+, and O2+ energy spectrum measured by Suprathermal and Thermal Ion Composition (STATIC)53. f Shows the number density of H+, O+, and O2+. g Display the tailward speed of O+ and O2+. h Displays the time series of magnetic field vectors in MSO coordinates measured by magnetometer (MAG)54. The gray shaded area highlights the interval of the analyzed event (13:26:00–13:27:30).

Figure 1c–h shows the overview of this event. During this time interval, MAVEN consistently detected shocked solar wind H+ with energies ranging from approximately 50 eV to 2 keV (see Fig. 1c), indicating that MAVEN was in the magnetosheath. Between 13:26:00 and 13:27:30 marked by the grey shaded interval in Fig. 1c–h, MAVEN recorded the depletion of H+, and sudden appearance of a group of energetic O+ (see Fig. 1d) and O2+ (see Fig. 1e) with energy spanning from 1 keV to 5 keV. Figure 1f reveals that the number density of O2+ and O+ surged to approximately 6 cm−3 and 3 cm−3, respectively, while the density of H+ fell below 1 cm−3. Supplementary Fig. 1 further demonstrates that these heavy ions are primarily composed of O2+ and O+. The presence of such a dense O2+ indicates that these oxygen ions originate from the ionosphere rather than the exosphere23. These ionospheric ions exhibit a significant tailward escape velocity (see Fig. 1g), with O+ traveling at approximately 149.3 km/s and O2+ at around 118.3 km/s. Based on the observed density and tailward speed, we estimate the average escaping flux of O+ and O2+ to be about 1.23 × 107 cm−2 s−1 and 2.38 × 107 cm−2 s−1, respectively. In comparison, the average escape flux in the magnetotail is around 1.2 × 106 cm−2s−14,10,34, while the average escape flux in the dayside plume in the +E hemisphere is about 3.6 × 105 cm−2 s−120. Thus, the observed transient ions represent a bursty enhancement of ionospheric ion escape, with fluxes one or two orders of magnitude higher than those in the nightside magnetotail or dayside plume.

During this event, STATIC’s field of view did not vary during this interval, effectively ruling out instrumental artifacts (see Supplementary Fig. 2). In the orbit preceding this event, MAVEN recorded similar magnetosheath characteristics as in the orbit during the event (refer to Supplementary Fig. 3). This consistency suggests that the external solar wind conditions remained relatively unchanged between these orbits. Additionally, the absence of high-energy ionospheric ions in the earlier orbit indicates their transient nature. For both orbits, MAVEN’s trajectory extended beyond the nominal bow shock position, yet it did not cross the bow shock in either case (see Supplementary Fig. 4). This suggests that the external solar wind was weaker than typically observed under normal conditions.

Analysis of the magnetic field

Alongside the presence of ionospheric ions, the magnetic fields exhibited notable fluctuations (see Fig. 1h), clearly distinguishable from the steady magnetic fields in the background magnetosheath. However, upon examining Fig. 2a, b, which compare the magnetic fields observed by MAVEN and Tianwen-1, we observe that Tianwen-1 detected no disturbances in the magnetic fields throughout the entire duration, suggesting that the magnetic field fluctuation is spatially localized, rather than being a global phenomenon. Furthermore, the long-lasting, steady magnetic fields observed by Tianwen-1 also indicate that the solar wind conditions were relatively stable during this event. Otherwise, the global configuration of the induced magnetosphere would rapidly alter in response to changes in solar wind conditions13,35,36,37. Therefore, we conclude that MAVEN detected transient, burst-like enhancements in the escape of high-energy ionospheric ions under conditions of relatively stable solar wind.

Fig. 2: Magnetic field measurements during September 23, 2022.
figure 2

a Display the magnetic fields in MSO coordinates as observed by MAVEN. b shows the magnetic fields measured by the Mars Orbiter Magnetometer (MOMAG) onboard Tianwen-155,56,57,58, respectively. c Compares the clock angle of the magnetic field between observations from MAVEN and Tianwen-1, and the upstream IMF as derived from an artificial neural network (ANN). The yellow shaded area in (ac) highlights the interval of the fluctuating magnetic field with significant deviations in clock angle. d, e present a zoomed-in view of the magnetic field observations by MAVEN in MSO and MSE coordinates from 13:25:58 to 13:26:06. f, g Display the \(B{y}_{{MSE}}\) clock angle measured by MAVEN. The red (blue) area denotes the \(+B{y}_{{MSE}}\) (−ByMSE). The four dashed lines highlight the four reversals of \(B{y}_{{MSE}}\) components and significant changes in clock angle. h Illustrates the projection of MAVEN and Tianwen-1’s averaged locations on the \({Y}_{{MSE}}-{Z}_{{MSE}}\) plane. i Provides a sketch of the classical induced magnetic field configuration.

Generally, these energetic ionospheric ions with significant escaping velocity and flux are observed in the +E hemisphere, since the solar wind electric fields point away from the planet20. To check this, we construct the Mars Solar Electric coordinates (MSE, see “Methods” subsection “MSO and MSE Coordinates”). Although neither MAVEN nor Tianwen-1 provide direct measurements of the upstream IMF, the clock angle of magnetic fields measured in the downstream region can serve as a proxy for the clock angle of the upstream IMF38,39. The clock angle, ϕ, is defined as the angle between the projected magnetic fields and ZMSO in the \({Y}_{{MSO}}-{Z}_{{MSO}}\) plane, with the angle rotationally increasing from +ZMSO toward +YMSO. Hence, ϕ = 90° (or 270°) indicates that the projected magnetic field points toward +YMSO (or −YMSO). From Fig. 2c, we see that, except for a brief period during 13:25:58–13:26:06 (see the yellow shaded interval in Fig. 2a–c), the clock angles of the magnetic fields recorded by both MAVEN and Tianwen-1 were comparable, with MAVEN registering a clock angle of 233° and Tianwen-1 at 212°. Consequently, we consider the average clock angle of the magnetic fields measured by MAVEN and Tianwen-1, ~228.5°, as representative of the clock angle of upstream IMF. We also referenced upstream IMF values determined through the artificial neural network (ANN) approach40, which are (1.82, −1.81, −1.03) nT, with a clock angle of 240°. This is also close to the clock angles measured by MAVEN and Tianwen-1, lending confidence to this method.

Under the condition where the upstream IMF has a clock angle of 228.5° and assuming that the solar wind velocity is purely along the tailward direction, the \({{{\bf{X}}}}_{{{\bf{MSE}}}}=(1,0,0)\), \({{{\bf{Y}}}}_{{{\bf{MSE}}}}=(0,-0.75,-0.66)\), \({{{\bf{Z}}}}_{{{\bf{MSE}}}}=(0,0.66,-0.75)\). Thus, the orientations of the YMSE and ZMSE represent a 138.6° counterclockwise rotation relative to the YMSO and ZMSO. Figure 2h shows the projection of the locations of MAVEN and Tianwen-1 in the \({Y}_{{MSE}}-{Z}_{{MSE}}\) plane, revealing Tianwen-1’s placement on the +YMSE flank side, whereas MAVEN is positioned on the −YMSE side, nearing the anticipated center of draped field lines41. According to the pattern of the induced magnetosphere (see Fig. 2i), this spatial arrangement suggests that at Tianwen-1’s location, the \(B{x}_{{MSO}}\) component is expected to be negative, while at MAVEN’s position, \(B{x}_{{MSO}}\) is predicted to be close to zero. These predictions align well with the observations detailed in Fig. 2a, b, further confirming the reliability of the MSE coordinates. Surprisingly, contrary to our expectation, Fig. 2h shows that MAVEN was actually positioned in the polar region of the \(-{Z}_{{MSE}}\) hemisphere (-E hemisphere), which is unexpected according to current theories.

The magnetic fields also exhibited atypical variations. During the period from 13:25:58 to 13:26:06, highlighted by a yellow shaded interval in Fig. 2a–c, MAVEN recorded significant deviations in the clock angle of the magnetic field compared to other times, with detailed views provided in Fig. 2d–g. Contrary to the expected behavior where the \(B{y}_{{MSE}}\) components should remain positive and the clock angle should remain steady under relatively stable solar wind conditions, we observed that the \(B{y}_{{MSE}}\) components reverse to negative during two short intervals (see the blue areas in Fig. 2f), along with four distinct variations in the clock angle at 13:26:01.1, 13:26:01.6, 13:26:02.2, and 13:26:03.8 (Fig. 2g), which are indicated by black vertical dashed lines. A possible cause of these unusual magnetic field variations, including the reversal of \(B{y}_{{MSE}}\) and significant fluctuations in the clock angle, is an IMF discontinuity, which globally alters the configuration of the induced magnetosphere. However, as we mentioned before, the steady magnetic fields observed by Tianwen-1 indicate that the upstream solar wind conditions are relatively stable. Therefore, it is suggested that MAVEN detected spatially localized magnetic field structures, whereas Tianwen-1 did not.

Unexpected motion of escaping ions

In addition to the unexpected location and the magnetic fields, the motion of these ions also exhibits unusual properties. Figure 3a, b displays the bulk velocities of O+ and O2+ in the MSE frame, showing a predominant tailward motion for both ion species. Interestingly, the \(V{z}_{{MSE}}\) components for both O+ and O2+ start negative, shift to positive by 13:26:30, then rapidly revert to negative, and finally return to positive by 13:27:00. These transitions are further illustrated in Fig. 3c, d, which depict the reduced two-dimensional velocity distributions of O2+ in the \(V{x}_{{MSE}}-V{z}_{{MSE}}\) plane. The majority of O2+ ions were found at a \(V{z}_{{MSE}}\) of −100 km/s at 13:26:08 (Fig. 3c), and +80 km/s at 13:27:16 (Fig. 3d). The velocity distribution of oxygen ions shown in Fig. 3d is significantly different from the observed and simulated velocity distributions of ionospheric ions in the terminator region, where high-energy ionospheric ions typically exhibit positive \(V{z}_{{MSE}}\) values18,20,42.

Fig. 3: STATIC observations of the motion of ions during 13:25:30–13:28:00 UTC September 23, 2022.
figure 3

a, b display the bulk velocities of O+ and O2+ in the MSE frame, respectively. The grey shaded regions in (b), marked with the labels “c”, “d” correspond to the time intervals for the velocity distributions shown in (c, d). These panels illustrate the measured velocity distributions of O2+ in the \(V{x}_{{MSE}}-V{z}_{{MSE}}\) plane at the times 13:26:08, and 13:27:16, respectively.

Discussion

We report the observations of anomalous transient enhancements of ionospheric ion escape at Mars. The main findings from the observations can be summarized as follows:

First, we observed a transient appearance of ionospheric ions escaping into space, characterized by high energies and fluxes (10–100 times higher than the average observed in other primary escape channels), indicating a bursty escape. Interestingly, these ionospheric ions exhibited atypical signatures regarding their locations. Specifically, they were detected in an unexpected region, the −E hemisphere, where they generally struggle to gain sufficient energy and are more likely to return to the atmosphere rather than escape into space.

Second, concurrent with these transient ionospheric ions, MAVEN observed spatially localized magnetic field structures that significantly alter the local magnetic field, deviating from the expected pattern of the induced magnetosphere. However, Tianwen-1 did not detect these spatially localized magnetic field structures but instead detected a stable magnetic field. This suggests that the external solar wind conditions did not change significantly during this event.

The observation indicates that ionospheric ions in the −E hemisphere can transiently behave like those in the +E hemisphere, gaining sufficient energy to escape into space, resulting in a bursty escape of ionospheric ions. Based on multi-point observations, we suggest that such events are not caused by the variation of external solar wind. Therefore, planetary ion escape is highly dynamic and could exhibit both temporal and spatial variabilities even under relatively steady external conditions, warranting further investigation through current and future multi-point observations. These findings also raise several questions: How did the ionospheric ions manage to gain such high energy and migrate into the high-altitude region of the −E hemisphere? What are these spatially localized structures, and what is their relationship with these anomalous escaping ions?

Possible mechanism

Previous studies have suggested that, apart from variations in the external solar wind, the bursty escape of ionospheric ions may be triggered by magnetic flux ropes generated through crustal field reconnection25 and the snowplow effect in the boundary27. However, in our observations, the magnetic field characteristics do not align with those of magnetic flux ropes, nor did our event occur in the downstream region of the crustal fields. Moreover, the escaping ions we observed exhibit energetic characteristics, with energies ranging from 1 keV to 6 keV, that cannot be explained by either the snowplow effect or magnetic flux ropes. Consequently, alternative mechanisms should be considered to explain the observed anomalous ion escape.

Considering that these ionospheric ions that are observed in the −E (\({-Z}_{{MSE}}\)) hemisphere have a negative value of \(V{z}_{{MSE}}\) components, it is suggested that these ions were initially accelerated along the −E direction or the direction of −ZMSE, and migrated to the −E hemisphere. If the ionospheric ions start with zero velocity and are subsequently accelerated by the electric fields, their \(V{z}_{{MSE}}\) can be roughly estimated as:

$$V{z}_{{MSE}}=\left(\begin{array}{cc}{\sqrt{\frac{2q}{m}\int E{z}_{{MSE}}\cdot d{Z}_{{MSE}}}} & {if}\int E{z}_{{MSE}}\cdot d{Z}_{{MSE}} > 0,\\ -\sqrt{\frac{2q}{m}\left|\int E{z}_{{MSE}}\cdot d{Z}_{{MSE}}\right|} & {if}\int E{z}_{{MSE}}\cdot d{Z}_{{MSE}} < 0\end{array}\right.$$
(1)

where m and q represent the mass and electric charge of the ions, respectively. The \(E{z}_{{MSE}}\) denotes the components of the electric field along the ZMSE. Since Hall electric fields and ambipolar electric fields are generally small compared to the convective electric field and typically do not energize ions to above 1 keV in the dayside region41,43, we only consider the convective electric field here. Thus, \(E{z}_{{MSE}}\) could be estimated as \(-V{x}_{{MSE}}\cdot B{y}_{{MSE}}\), where \(V{x}_{{MSE}}\) represents the components of the solar wind velocity along the XMSE. Therefore, the Eq. (1) can also be expressed as:

$$V{z}_{{MSE}}=\left(\begin{array}{cc}\sqrt{\frac{2q}{m}\int -V{x}_{{MSE}}\cdot B{y}_{{MSE}}\cdot d{Z}_{{MSE}}} & {if}\int V{x}_{{MSE}}\cdot B{y}_{{MSE}}\cdot d{Z}_{{MSE}} < 0\\ -\sqrt{\frac{2q}{m}\int V{x}_{{MSE}}\cdot B{y}_{{MSE}}\cdot d{Z}_{{MSE}}} & {if}\int V{x}_{{MSE}}\cdot B{y}_{{MSE}}\cdot d{Z}_{{MSE}} > 0\end{array}\right.$$
(2)

From Eq. (2), it is evident that the \(V{z}_{{MSE}}\) are linked with \(B{y}_{{MSE}}\). Based on this, we can simply describe the relationship between the localized magnetic field structures and the observed anomalous transient ionospheric ions through the following physical process: Initially, before the arrival of these localized magnetic structures, \(B{y}_{{MSE}}\) was positive throughout the magnetosheath region, resulting in a positive \(E{z}_{{MSE}}\). Therefore, ions generated in the -E hemisphere were accelerated back toward the planet, making it difficult for them to gain energy and move to high-altitude regions. Consequently, MAVEN could not detect high-energy ionospheric ions before this event. However, as these localized structures carried the \(-B{y}_{{MSE}}\) and \(-E{z}_{{MSE}}\) moved downstream and encountered the ionospheric ions, the ions would be accelerated in the \(-{Z}_{{MSE}}\) direction. This caused the ionospheric ions generated in the -E hemisphere to gain energy and migrate to the high-altitude region. Consequently, MAVEN detected the sudden emergence of these high-energy ionospheric ions, most of which exhibit negative \(-V{z}_{{MSE}}\) values. As these ions exited the structures, they decelerated (or accelerated) along the −ZMSE (+ZMSE) direction. As a result, MAVEN was observed \(V{z}_{{MSE}}\) gradually turning positive (see Fig. 3b). Finally, as these localized structures passed by or dissipated, the acceleration and motion of ionospheric ions returned to the classical pattern. Thus, these ions became undetectable by MAVEN again. These processes could well explain why MAVEN observed transient ionospheric ions with negative \(V{z}_{{MSE}}\) values in the -E hemisphere. Thus, we suggest the spatially localized structures create a temporary and efficient channel for the energization and escape of ionospheric ions in the -E hemisphere, causing them to act similarly to the ionospheric ions in the +E hemisphere.

The next question is: what are these spatially localized structures? From Fig. 4, we observe that as MAVEN transitions from the downstream undisturbed region to the “\(-B{y}_{{MSE}}\)” region, there is a slight decrease in magnetic field strength (see Fig. 4a) and an increase in the temperature of solar wind H+ (see Fig. 4c). As MAVEN approaches the upstream edge, there is a significant increase in both the magnetic field strength and the total number density of ions (see Fig. 4b). These characteristics are consistent with those of foreshock transients, which typically feature a compressional shock at the upstream edge, marked by enhanced ion density and magnetic field strength, and a core region characterized by depressed and fluctuating magnetic fields44,45,46,47,48,49,50,51. Furthermore, the solar wind is generally deflected, depleted, and heated in foreshock transients, which is also consistent with our observations. Therefore, we propose that these spatially localized magnetic structures are foreshock transients that modify the electromagnetic fields and subsequently influence the motion of ionospheric ions. Given that Tianwen-1 did not detect it, the spatial extent of the foreshock transients along the trajectory between Tianwen-1 and MAVEN must be shorter than the distance that separates them, approximately 7000 km or 2.1 RM.

Fig. 4: Magnetic field and ion measurements of the spatially localized structure during September 23, 2022.
figure 4

a Magnetic fields. b Ion density. The \({N}_{{Tot}}\) denotes the total ion density, which is calculated as \({N}_{{Tot}}={N}_{{H}^{+}}+{N}_{{O}^{+}}+{N}_{{O}_{2}^{+}}\), where \({N}_{{H}^{+}},\,{N}_{{O}^{+}}\) and \({N}_{{O}_{2}^{+}}\) represent the density of H+, O+, and O2+. c Temperature of solar wind protons. The grey shaded area indicates the interval of “\(-B{y}_{{MSE}}\)”.

In summary, we propose that the foreshock introduces additional temporal and spatial variabilities to the solar wind, thereby making ion escape at Mars more complex and dynamic. Given its consistent presence, irrespective of solar conditions52, we suggest that the foreshock likely plays a significant role in ion escape at Mars, a factor that has previously been overlooked.

Methods

Instruments

Here we adopt ion data from the Suprathermal, Thermal Ion Composition (STATIC) instrument53, and magnetic field measurements from the Magnetometer (MAG)54, onboard MAVEN. The MAG is a fluxgate magnetometer that measures three-dimensional magnetic field vectors at a frequency of 32 Hz. We also use the c6 and d1 data of STATIC that provides the omni spectrum and three-dimensional velocity distributions of H+, O+, and O2+ with energy between 0 and 30 keV/q at time resolution of 4 s. STATIC consists of a time-of-flight sensor which can measure the mass-per-charge of ions and then determine the ion species. The field-of-view of STATIC is 360° × 90°. In addition to MAVEN, we use the magnetic field data measured by the Tianwen-1 Mars Orbiter Magnetometer (MOMAG)55,56,57,58. The MOMAG could measure the three-dimensional magnetic field vectors at a frequency of 128 Hz. For our analysis, we use data products that are provided at a time resolution of 1 Hz.

MSO and MSE coordinates

We employed two Cartesian coordinate systems. The first is the Mars Solar Orbital (MSO) coordinates59. Here, XMSO is along the vector from Mars to the Sun, ZMSO is perpendicular to the orbital plane, and YMSO completes the right-handed system, closely aligned with the opposite direction of the orbital velocity vector. Given that the configuration of the induced magnetosphere is influenced by the solar wind and IMF orientation, we have also adopted a second coordinate system, the Mars Solar Electric (MSE) coordinates. In this system, XMSE is anti-parallel to the upstream solar wind velocity, ZMSE aligns with the direction of the upstream solar wind convective electric field (ESW), and YMSE completes the right-handed system, aligning with the cross-flow magnetic field component of the interplanetary magnetic field (IMF). Here, we assume that XMSE is same to the XMSO.

Magnetic pile-up boundary

The magnetic pileup boundary (MPB) is a plasma boundary that separates the magnetosheath, a region of weak and fluctuating magnetic fields, from an inner region dominated by enhanced and well-organized magnetic fields due to draping of the IMF over a conducting obstacle.

Moment calculation

We calculate the density and velocity of ions using the integrated method14,60,61. Assuming the phase space density of ions can be represented by f, the density n can be calculated as:

$$n=\int d\varphi \int \cos \left(\theta \right)\,d\theta \int {v}^{2}{fdv}$$
(3)

where θ, ϕ are the elevation and azimuth angles in the STATIC spherical coordinates, \(v\) represents the speed of ions. The velocity components of ions can be estimated as:

$$\begin{array}{ccc}{V}_{x} &=& \int \cos (\varphi )d\varphi \int {\cos }^{2}\left(\theta \right)\,d\theta \int {v}^{3}{fdv}/n\\ {V}_{y} &=& \int \sin (\varphi )d\varphi \int {\cos }^{2}\left(\theta \right)\,d\theta \int {v}^{3}{fdv}/n\\ {V}_{z} &=& \int d\varphi \int \cos \left(\theta \right)\sin (\theta )\,d\theta \int {v}^{3}{fdv}/n\end{array}$$
(4)

where Vx, Vy, and Vz represent the x, y, and z components of velocity in STATIC coordinates. These can then be transformed into MSO or MSE coordinates. The tailward escaping flux of each ion can be estimated as:

$$F=n\cdot {V}_{x,{mso}}$$
(5)

where Vx,mso represents the x component of the velocity in MSO coordinates.