Construction of an invertible mapping to boundary conforming coordinates for arbitrarily shaped toroidal domains
Robert Babin, Florian Hindenlang, Omar Maj, Robert Köberl
TL;DR
This paper solves the initialization challenge for boundary-conforming coordinates in arbitrarily shaped toroidal domains by constructing a harmonic map $g:\overline{\Omega}\to\overline{D}$ through two Dirichlet-Laplace problems solved via boundary integrals. The inverse $f=g^{-1}$ provides a diffeomorphic mapping from the unit disk to the cross-section, yielding robust $(\rho,\theta)$-coordinates with $\rho\in[0,1]$ and $\theta\in[0,2\pi)$. The authors prove existence and regularity of the harmonic map, present a discretization via a Zernike basis that preserves invertibility, and demonstrate applications to strongly shaped boundaries, including optimized stellarator geometries, with numerical experiments showing positive Jacobians and spectral convergence. This approach enables reliable, parameter-free initialization of 3D MHD equilibrium solvers and offers a general boundary-conforming meshing strategy for toroidal and cylinder-like domains, implemented in the map2disc package.
Abstract
Boundary conforming coordinates are commonly used in plasma physics to describe the geometry of toroidal domains, for example, in three-dimensional magnetohydrodynamic equilibrium solvers. The magnetohydrodynamic equilibrium configuration can be approximated with an inverse map, defining nested surfaces of constant magnetic flux. For equilibrium solvers that solve for this inverse map iteratively, the initial guess for the inverse map must be well defined and invertible. Even if magnetic islands are to be included in the representation, boundary conforming coordinates can still be useful, for example to parametrize the interface surfaces in multi-region, relaxed magnetohydrodynamics or as a general-purpose, field-agnostic coordinate system in strongly shaped domains. Given a fixed boundary shape, finding a valid boundary conforming mapping can be challenging, especially for the non-convex boundaries from recent developments in stellarator optimization. In this work, we propose a new algorithm to construct such a mapping, by solving two Dirichlet-Laplace problems via a boundary integral method. We can prove that the generated harmonic map is always smooth and has a smooth inverse. Furthermore, we can find a discrete approximation of the mapping that preserves this property.
