Magnetopause as conformal mapping

. An axi-symmetric two-dimensional magnetopause model is constructed by making use of the conformal mapping in the complex plane. The model is an analytic continuation of the power-law damped (or asymptotically elongated) parabolic shape. The complex-plane expression of the mag-netopause opens the door to properly map the magnetopause and magnetosheath coordinates from one model to another.


Introduction
The magnetopause model proposed by Shue et al. (1997) (hereafter the Shue model) is, to the authors' knowledge, one of the most successful structure models in space science.The Shue model can be given in a simple analytic way by combining a parabolic shape with a power law, and has successfully been tested against the magnetopause of the Earth and the other planets, such as Mercury (Winslow et al., 2013).
Here we report our finding that the magnetopause model can be formulated as a conformal mapping in the complex plane.This mapping preserves local angles.Any analytic function satisfies the conformal (angle-preserving) character in the complex plane as long as there is a non-zero derivative.Expression of the magnetopause as a conformal map is ideal when dealing with different magnetopause models.
Our study is motivated to fill the gap between the property of the bow shock models and that of the magnetopause models.The bow shock is often modeled as a conic section (either as a parabola or as a hyperbola; see Cairns et al., 1995), and the analytic expression for the conformal map is known (Darboux, 1887;Sauer and Szabó, 1967;Encyclopedia of Mathematics, 2020).The magnetopause shape (such as in the Shue model) is, on the other hand, not a conic section, and the existence of conformal mapping remained a question for a long time.We tackle the question by incorporating various conformal mappings.

Construction of conformal map
We start with the magnetopause model in polar coordinates after Shue et al. (1997), where R is the radial distance to the planet, θ is the zenith angle (measured from the planet center), and α is the power index to designate the magnetopause shape in the tail region, e.g., a parabolic shape (corresponds to α = 1), an elongated shape (given by α = 1/2), or damped, converging shape (α < 1/2).R mp denotes the magnetopause stand-off distance at the subsolar point.In our work, we choose α = 0.5, which is statistically representative (Shue et al., 1997).By introducing the transformation, the magnetopause location is given in the Cartesian form as The derivation of Eq. ( 4) is shown in Appendix.Note that x and y are normalized to the magnetopause stand-off distance R mp for simplicity.The magnetopause model (Eq.4) has the following boundary conditions and asymptotic behavior: Published by Copernicus Publications on behalf of the European Geosciences Union.
1.The stand-off distance is restored at the subsolar point, i.e., x = 1 at y = 0.
2. The distance to the planet is y = ± √ 2 at the terminator (x = 0).
3. The distance to the Sun-Earth axis (or the x axis in geocentric solar ecliptic coordinates, GSE) is y = ±2, when x → ∞.
Now we express Eq. ( 4) in the complex plane using the variable z = u + iv, so that the magnetopause location is given as (5) In other words, in the Cartesian representation.The complex-valued function f (z) is an extension of the magnetopause location.The magnetopause is restored when choosing v = v mp = 1 (or v mp to be evaluated as R mp when not normalized).The task is thus to find the suitable function f (z).
To our task, we first transform the y coordinates onto the imaginary axis as iy (where i is the imaginary unit), so that the denominator in Eq. ( 4) is formulated from 4/(4−y 2 ) into 4/(4 + (iy) 2 ).Now we perform the analytic continuation of the right-hand side of Eq. ( 4), and replace iy by z.
We find out that the combination of four sequential conformal mappings is a reasonable analytic continuation of the magnetopause model: (t 1 ) square transformation, (t 2 ) Joukowsky transformation (with shift), (t 3 ) square root transformation, and (t 4 ) scaling and shifting (for the matching with the boundaries).Each transformation is discussed below.

Square transformation
In the first conformal mapping, the square transformation is used with a unit coefficient and no shift.The transformation is expressed as The transformation yields the parabolic coordinates as which can be arranged into a parabolic equation when eliminating u as Figure 1.Constant u lines (in gray) and constant v lines (in black) for the conformal mappings t 1 , t 2 , t 3 , and t 4 .
In fact, the parabolic model of magnetopause is introduced by Kobel and Flückiger (1994), which is equivalent to the following transformation: Here, v = v mp corresponds to the magnetopause location.
Figure 1 in the top left panel displays the mapping of u = const lines (in gray) and v = const lines (in black) for the transformation t 1 .The "nose" of magnetopause is located on the negative x side.

Shifted Joukowsky transformation
In the second conformal mapping, the parabolic shape of the mapped curves are stretched using the poles at z = ±i2.The transformation is a variant of the Joukowsky transformation, which deforms circles into ellipses (Joukowsky, 1910).We perform the Joukowsky transformation by retaining the pole terms z 2 + 4 as Figure 1 in the top right panel displays the mapping for the transformation t 2 .The overall structure of v = const lines still retains the parabolic shape, but the focal point shifts to a larger value of x, and the distance from the x axis (the y = 0 line) is larger.

Shifted square root transformation
In the third conformal mapping, the Joukoswky-transformed function t 3 is compared to the magnetopause model (Eq.4).
The comparison yields a subtraction by 4 and a square root operation as Again, the poles are retained in this transformation.The mapped function has a shape of magnetopause, but the focal point is located in the far tail region, and the distance to the magnetopause is smaller than the stand-off distance.Figure 1 in the bottom left panel displays the mapping for the transformation t 3 .The tail shape is elongated by this transformation The focal point is moved close to the origin.

Scaling and shifting
In the final conformal mapping, the mapping is scaled by a factor a and also shifted by an offset of f 0 .The transformation reads as where the scale factor a = −2 is determined by the asymptotic behavior in the tail (distance of 2R mp to the axis), and the shift f 0 = 1 + 2/ √ 3 is determined by the stand-off distance at the subsolar point.Combining the four transformations, the scalable magnetopause shape is expressed as a conformal mapping with Figure 1 in the bottom right panel displays the mapping for the transformation t 4 .The magnetopause nose is flipped to the positive x side.and is scaled to match the magnetopause asymptotic behavior in the tail, and the lines are shifted by f 0 along the x axis to meet the stand-off distance.

Magnetopause location
The magnetopause location is restored when choosing v = 1 in z = u + iv.It is also worth noting that the function obtained by the transformation t 3 for v = 1 can analytically be evaluated as which is used to determine the scale factor a and the shift f 0 in the transformation t 4 by comparing with the square of f (z) as 3 Applications and limits

Accuracy check
The function f (z) = x + iy using Eq. ( 16) at v = 1 overall reproduces the shape of the Shue model.Figure 2 shows the comparison between the magnetopause model using Eq. ( 16) and the Shue model.The subsolar point (x = 1 at y = 0) and the asymptotic behavior (y → ±2 at x → −∞) are reproduced as well.However, it should be noted that the difference occurs from the Shue model at the terminator (x = 0).
Our function shows the magnetopause distance at the terminator at y = ±1.3504,which is slightly underestimating that of the Shue model, y = ± √ 2 = ±1.4142.The difference between the two models is about 4.7 %.This mismatch indicates that the analytic continuation is not exact but is of approximate nature.Thus, care should be exercised when working on the magnetopause around the terminator with our conformal mapping.

Curvilinear grid generation
The analytic nature of our function (Eq.16) can be used for the curvilinear grid generation around the magnetopause for various numerical studies.Figure 3 displays the curvilinear grid generated by Eq. 16) for values of u = {0.5, 0.7, . .., 1.4} (the C-shaped curves) and v = {0.0,±0.2, . .., ±1.4} (radial to the planet or perpendicular to the x axis).The curves of https://doi.org/10.5194/angeo-41-87-2023 Ann. Geophys., 41, 87-91, 2023 constant u values are orthogonal to that of constant v values.This property comes from the fact that Eq. ( 16) is an analytic function, which is one of the solutions of the Laplace equation.In other words, Eq. ( 16) solves the Laplace equation for the given magnetopause position (imposed by v = 1).

Variation of tail shape
Qualitatively speaking, different tail shapes can also be obtained by generalizing the square root operation in t 3 into a power with the index α as The magnetopause coordinates are plotted as grids for α of 0.2, 0.4, 0.6, and 0.8 in Fig. 4 by using the scale factor and the shift in t 4 .A converged tail shape is obtained for α < 0.5 and a divergent tail shape for α > 0.5, which is in agreement with the Shue model (Eq.1).

Summary and outlook
Conformal mapping is a useful method in the model construction when the axi-symmetry holds and the boundary is modeled in the two-dimensional spatial domain.Our magnetopause model completes the scenario that both dayside boundaries (bow shock and magnetopause) can be modeled by conformal mapping, which opens the door to analytically or semi-analytically map the magnetosheath scalar potential by Kobel and Flückiger (1994) and the set of velocity potential and stream function by Guicking et al. (2012) onto a more realistic magnetosheath domain (cf.Soucek and Escoubet, 2012).
The easiest approach of magnetosheath coordinate mapping would be to introduce the transfinite interpolation in the complex plane.Or, one could numerically solve the Laplace equation for the given boundaries in order to generate strictly orthogonal curvilinear coordinates.

Figure 2 .
Figure 2. Magnetopause location generated by Eq. (16), with v = 1 in z = u + iv (in black) and the magnetopause model by Shue et al. (1997) (dotted gray).x and y coordinates are normalized to the magnetopause stand-off distance R mp .

Figure 3 .
Figure 3. Curvilinear grids generated by the conformal map (Eq.16) around the magnetopause (v = 1).The C-shaped curves represent lines of constant v values.The innermost curve corresponds to a line of v = 0.5.The v value for the curves are shifted as 0.5, 0.7, . . ., 1.4 (10 curves are shown).The radial curves represent constant u values, and the curves are orthogonal to the curves of v values.The subsolar direction Y = 0 is given by u = 0.The curves are plotted for u values of 0, 0.2, 0.4, . . ., 4.4 (45 curves are shown).