Hamada coordinates are a set of magnetic coordinates in which the equilibrium current density 𝐣 lines are straight besides those of magnetic field 𝐁. The periodic part of the stream functions of both 𝐁 and 𝐣 are flux functions (that can be chosen to be zero without loss of generality).

Form of the Jacobian for Hamada coordinates

In this section, following D'haseleer et al we will translate the condition of straight current density lines into one for the Hamada coordinates Jacobian. For that we will make use of the equilibrium equation 𝐣×𝐁=pβ€²βˆ‡Οˆ, which written in a general magnetic coordinate system reads

βˆ’I'torΞ¨'pol+I'polΞ¨'tor4Ο€2gfβˆ’πβ‹…βˆ‡Ξ·~=pβ€².

Taking the flux surface average βŸ¨β‹…βŸ© of this equation we find the MHD equilibrium equation

(βˆ’I'torΞ¨'pol+I'polΞ¨'tor)=4Ο€2pβ€²βŸ¨(gf)βˆ’1βŸ©βˆ’1=pβ€²Vβ€².

In the last identity we have used the general property of the flux surface average ⟨gβˆ’1βŸ©βˆ’1=Vβ€²4Ο€2. Then, from the MHD equilibrium, we have

πβ‹…βˆ‡Ξ·~=pβ€²(Vβ€²/4Ο€2gfβˆ’1),

where Ξ·~ and gf depend on our choice of coordinate system.

Now, in the Hamada magnetic coordinate system that concerns us here (that in which 𝐣 is straight) η~ is a function of ψ only, and therefore LHS of this equation must be zero in such a system. It follows that the Jacobian of the Hamada system must satisfy

gH=Vβ€²4Ο€2.

The Hamada angles are sometimes defined in 'turns' (i.e. (ΞΈ,ΞΎ)∈[0,1)) instead of radians ((ΞΈ,ΞΎ)∈[0,2Ο€))). This choice together with the choice of the volume V as radial coordinate makes the Jacobian equal to unity. Alternatively one can select ψ=V4Ο€2 as radial coordinate with the same effect.

Magnetic field and current density expressions in a Hamada vector basis

With the form of the Hamada coordinates' Jacobian we can now write the explicit contravariant form of the magnetic field in terms of the Hamada basis vectors

𝐁=2πΨpβ€²ol(V)𝐞θ+2πΨtβ€²or(V)πžΟ•.

This has the nice property of having flux constant contravariant coefficients (functions of the radial coordinate only). The current density contravariant looks alike

ΞΌ0𝐣=2Ο€Ipβ€²ol(V)𝐞θ+2Ο€Itβ€²or(V)πžΟ•.

The covariant expression of the magnetic field is less clean

𝐁=Itor2Ο€βˆ‡ΞΈ+Ipold2Ο€βˆ‡Ο•+βˆ‡Ο‡~.

with contributions from the periodic part of the magnetic scalar potential Ο‡~ to all the covariant components. Nonetheless, the flux surface averaged Hamada covariant B-field angular components have simple expressions, i.e

⟨Bθ⟩=βŸ¨πβ‹…πžΞΈβŸ©=⟨Itor2Ο€+βˆ‚Ο‡~βˆ‚ΞΈβŸ©=Itor2Ο€+(Vβ€²)βˆ’1βˆ«βˆ‚ΞΈΟ‡~gdΞΈdΟ•=Itor2Ο€

where the integral over ΞΈ is zero because the Jacobian in Hamada coordinates is not a function of this angle. Similarly

⟨BΟ•βŸ©=βŸ¨πβ‹…πžΟ•βŸ©=Ipold2Ο€.