Toroidal coordinates: Difference between revisions

From FusionWiki
Jump to navigation Jump to search
Arturo (talk | contribs)
Arturo (talk | contribs)
Line 243: Line 243:
== Magnetic coordinates ==
== Magnetic coordinates ==
Magnetic coordinates are a particular type of flux coordinates in which the magnetic field lines are straight lines. In mathematical terms this implies that the periodic part of the magnetic field's stream function is zero in these coordinates so the magnetic field reads
Magnetic coordinates are a particular type of flux coordinates in which the magnetic field lines are straight lines. In mathematical terms this implies that the periodic part of the magnetic field's stream function is zero in these coordinates so the magnetic field reads
:
:<math>
 
\mathbf{B} =  \nabla\psi\times \left( \frac{\Psi_{tor}'}{2\pi}\theta_f
 
- \frac{\Psi_{pol}'}{2\pi}\phi_f \right)
</math>
Magnetic coordinates adapt to the magnetic field, and therefore to the [[MHD equilibrium]] (also see [[Flux surface]]).  
Magnetic coordinates adapt to the magnetic field, and therefore to the [[MHD equilibrium]] (also see [[Flux surface]]).  
Magnetic coordinates simplify the description of the magnetic field.  
Magnetic coordinates simplify the description of the magnetic field.  
Line 251: Line 252:
<ref name='Dhaeseleer'>W.D. D'haeseleer, ''Flux coordinates and magnetic field structure: a guide to a fundamental tool of plasma theory'', Springer series in computational physics, Springer-Verlag (1991) ISBN 3540524193</ref>
<ref name='Dhaeseleer'>W.D. D'haeseleer, ''Flux coordinates and magnetic field structure: a guide to a fundamental tool of plasma theory'', Springer series in computational physics, Springer-Verlag (1991) ISBN 3540524193</ref>
* Hamada coordinates. <ref>S. Hamada, Nucl. Fusion '''2''' (1962) 23</ref><ref>[http://dx.doi.org/10.1063/1.1706651 J.M. Greene and J.L Johnson, ''Stability Criterion for Arbitrary Hydromagnetic Equilibria'', Phys. Fluids '''5''' (1962) 510]</ref> In these coordinates, both the field lines and current lines corresponding to the [[MHD equilibrium]] are straight.  
* Hamada coordinates. <ref>S. Hamada, Nucl. Fusion '''2''' (1962) 23</ref><ref>[http://dx.doi.org/10.1063/1.1706651 J.M. Greene and J.L Johnson, ''Stability Criterion for Arbitrary Hydromagnetic Equilibria'', Phys. Fluids '''5''' (1962) 510]</ref> In these coordinates, both the field lines and current lines corresponding to the [[MHD equilibrium]] are straight.  
* Boozer coordinates. <ref>[http://dx.doi.org/10.1063/1.863297 A.H. Boozer, ''Plasma equilibrium with rational magnetic surfaces'', Phys. Fluids '''24''' (1981) 1999]</ref><ref>[http://dx.doi.org/10.1063/1.863765 A.H. Boozer, ''Establishment of magnetic coordinates for a given magnetic field'', Phys. Fluids '''25''' (1982) 520]</ref> In these coordinates, the field lines corresponding to the [[MHD equilibrium]] are straight.
* Boozer coordinates. <ref>[http://dx.doi.org/10.1063/1.863297 A.H. Boozer, ''Plasma equilibrium with rational magnetic surfaces'', Phys. Fluids '''24''' (1981) 1999]</ref><ref>[http://dx.doi.org/10.1063/1.863765 A.H. Boozer, ''Establishment of magnetic coordinates for a given magnetic field'', Phys. Fluids '''25''' (1982) 520]</ref> In these coordinates, the field lines corresponding to the [[MHD equilibrium]] are straight and so are the ''diamagnetic lines '', i.e. the integral lines of <math>\nabla\psi\times\mathbf{B}</math>.
These two coordinate systems are related.
These two coordinate systems are related.
<ref>K. Miyamoto, ''Controlled fusion and plasma physics'', Vol. 21 of Series in
<ref>K. Miyamoto, ''Controlled fusion and plasma physics'', Vol. 21 of Series in

Revision as of 16:22, 18 August 2010

A simple toroidal coordinate system

Coordinate systems used in toroidal systems:

Cartesian coordinates

(X, Y, Z) [1]

Cylindrical coordinates

(R, φ, Z), where [2]

  • R2 = X2 + Y2, and
  • tan φ = Y/X.

φ is called the toroidal angle (and not the cylindrical angle, at least not in the context of magnetic confinement).

Cylindrical symmetry (symmetry under rotation over φ) is referred to as axisymmetry.

Simple toroidal coordinates

(r, φ, θ), where

  • R = R0 + r cos θ, and
  • Z = r sin θ

R0 corresponds to the torus axis and is called the major radius, while r is called the minor radius, and θ the poloidal angle.

In order to adapt this simple system better to the magnetic surfaces of an axisymmetric MHD equilibrium, it may be enhanced by [3]

  • letting R0 depend on r (to account for the Shafranov shift of flux surfaces) [4]
  • adding ellipticity (ε), triangularity (κ), etc. (to account for non-circular flux surface cross sections)

Toroidal coordinates

(ζ, η, φ), where [5] [6]

R=Rpsinhζcoshζcosη
Z=Rpsinηcoshζcosη

where Rp is the pole of the coordinate system. Surfaces of constant ζ are tori with major radii R = Rp/tanh ζ and minor radii r = Rp/sinh ζ. At R = Rp, ζ = ∞, while at infinity and at R = 0, ζ = 0. The coordinate η is a poloidal angle and runs from 0 to 2π. This system is orthogonal.

The Laplace equation separates in this system of coordinates, thus allowing an expansion of the vacuum magnetic field in toroidal harmonics. [7] [8]

General curvilinear coordinates

Here we briefly review the basic definitions of a general curvilinear coordinate system for later convenience when discussing toroidal flux coordinates and magnetic coordinates.

Function coordinates and basis vector

Given the spatial dependence of a coordinate set (ψ(𝐱),θ(𝐱),ϕ(𝐱)) we can calculate the contravariant basis vectors

𝐞i={ψ,θ,ϕ}

and the dual covariant basis defined as

𝐞i=𝐱ui𝐞i𝐞j=δij𝐞i=𝐞j×𝐞k|𝐞i𝐞j×𝐞k|=g𝐞j×𝐞k,

where (i,j,k) are cyclic permutations of (1,2,3) and we have used the notation (u1,u2,u3)=(ψ,θ,ϕ). The Jacobian g is defined below.

Any vector field 𝐁 can be represented as

𝐁=(𝐁𝐞i)𝐞i=Bi𝐞i

or

𝐁=(𝐁𝐞i)𝐞i=Bi𝐞i.

In particular any basis vector 𝐞i=(𝐞i𝐞j)𝐞j. The metric tensor is defined as

gij=𝐞i𝐞j;gij=𝐞i𝐞j;gij=𝐞i𝐞j=δij.

Jacobian

The Jacobian of the coordinate transformation 𝐱(ψ,θ,ϕ) is defined as

J=det((x,y,z)(ψ,θ,ϕ))=𝐱ψ𝐱θ×𝐱ϕ

and that of the inverse transformation

J1=det((ψ,θ,ϕ)(x,y,z))=ψθ×ϕ

It can be seen that [9] gdet(gij)=J2J=g

Flux coordinates

A flux coordinate set is one that includes a flux surface label as a coordinate. A flux surface label is a function that is constant and single valued on each flux surface. In our naming of the general curvilinear coordinates we have already adopted the usual flux coordinate convention for toroidal equilibrium with nested flux surfaces with ψ being the flux surface label and θ,ϕ are 2π-periodic poloidal and toroidal-like angles.

Different flux surface labels can be chosen like toroidal (Ψtor) or poloidal (Ψpol) magnetic fluxes or the volume contained within the flux surface V. By single valued we mean to ensure that any flux label ψ1=f(ψ2) is a monotonous function of any other flux label ψ2, so that the function f is invertible at least in a volume containing the region of interest. We will denote a generic flux surface label by ψ.

Flux Surface Average

The flux surface average of a function Φ is defined as the limit

Φ=limδ𝒱01δ𝒱δ𝒱Φd𝒱

where δ𝒱 is the volume confined between two flux surfaces. It is therefore a volume average over an infinitesimal spatial region rather than a surface average. To avoid confusion, we denote volume elements or domains with the calligraphic 𝒱. Capital V is reserved for the flux label (coordinate) defined as the volume within a flux surface.

Introducing the differential volume element d𝒱=gdψdθdϕ

Φ=limδ𝒱01δ𝒱δ𝒱Φgdψdθdϕ=dψdV02π02πΦgdθdϕ

or, noting that 1=1, we have dVdψ=02π02πgdθdϕ and we get to a more practical form of the Flux Surface Average

Φ=02π02πΦgdθdϕ02π02πgdθdϕ

Note that dS=|ψ|gdθdϕ, so the FSA is a surface integral weighted by |V|1 :

Φ=dψdV02π02πΦgdθdϕ=dψdVS(ψ)Φ|ψ|dS=S(ψ)Φ|V|dS

Applying Gauss' theorem to the definition of FSA we get to the identity

Γ=limδ𝒱01δ𝒱δ𝒱Γd𝒱=limδ𝒱01δ𝒱S(δ𝒱)ΓV|V|dS=limδ𝒱01δ𝒱(ΓVS(V+δ𝒱)ΓVS(V))=ddVΓV.

Useful properties of FSA

Some useful properties of the FSA are

  • Γ=ddVΓV=1VddψVΓψ
  • 𝒱Γd𝒱=ΓV=VΓψ
  • g1=4π2V
  • 𝐁f=0,singlevaluedf(𝐱),if𝐁=0andV𝐁=0
  • 𝐁θ=2πdΨpoldV(Note:θ(𝐱)isnotsinglevalued)
  • 𝐁ϕ=2πdΨtordV(Note:ϕ(𝐱)isnotsinglevalued)

where V=dVdψ.

Magnetic field representation in flux coordinates

Contravariant From

Any solenoidal vector field 𝐁 can be written as 𝐁=α×ν called its Clebsch representation. For a magnetic field with flux surfaces (ψ=const,ψ𝐁=0) we can choose, say, α to be the flux surface label ψ

𝐁=ψ×ν

Field lines are then given as the intersection of the constant-ψ and constant-ν surfaces. This form provides a general expression for 𝐁 in terms of the covariant basis vectors of a flux coordinate system

𝐁=νθψ×θ+νϕψ×ϕ=1gνθ𝐞ϕ1gνϕ𝐞θ=Bϕ𝐞ϕ+Bθ𝐞θ.

in terms of the function ν, sometimes referred to as the magnetic field's stream function.

It is worthwhile to note that the Clebsch form of 𝐁 corresponds to a magnetic vector potential 𝐀=νψ (or 𝐀=ψν as they differ only by the Gauge transformation 𝐀𝐀(ψν)).

The general form of the stream function is

ν(ψ,θ,ϕ)=12π(ΨtorθΨpolϕ)+ν~(ψ,θ,ϕ)

where ν~ is a differentiable function periodic in the two angles. This general form can be derived by using the fact that 𝐁 is a physical function (hence singe-valued). The specific form for the coefficients in front of the secular terms (i.e. the non-periodic terms) can be obtained from the FSA properties .

Covariant Form

If we consider an equilibrium magnetic field such that 𝐣×𝐁ψ, where 𝐣 is the current density , then both 𝐁ψ=0 and ×𝐁ψ=0 and the magnetic field can be written as

𝐁=βψ+χ

where χ is identified as the magnetic scalar potential. Its general form is

χ(ψ,θ,ϕ)=Itor2πθ+Ipold2πϕ+χ~(ψ,θ,ϕ)
Sample integration circuits for the definitions of currents.
Sample integration circuits for the current definitions.
Sample surface for the definition of the current though a disc.
Sample surface for the definition of the current though a disc. Note that only the current of more external surfaces contribute to the flux of charge through the surface.

The functional dependence on the angular variables is again motivated by the single-valuedness of the magnetic field. The particular form of the coefficients can be obtained noting that

Sμ0𝐣d𝐒=S𝐁d𝐥=(βψ+χ)d𝐥=(βdψ+dχ)

and choosing an integration circuit contained within a flux surface (dψ=0). Then we get

Sμ0𝐣d𝐒=Δχ=Itor2πΔθ+Ipold2πΔϕ.

If we now chose a toroidal circuit (Δθ=0,Δϕ=2π) we get

Ipold=Sμ0𝐣d𝐒;withSsuchthat(Δθ=0,Δϕ=2π).

here the superscript d is meant to indicate the flux is computed through a disc limited by the integration line, as opposed to the ribbon limited by the integration line on one side and the magnetic axis on the other that was used for the definition of poloidal magnetic flux Ψpol above these lines. Similarly

Itor=Sμ0𝐣d𝐒;withSsuchthat(Δθ=2π,Δϕ=0).
Contravariant Form of the current density

Taking the curl of the covariant form of 𝐁 the equilibrium current density 𝐣 can be written as

𝐣=ψ×η.

By very similar arguments as those used for 𝐁 (note that both 𝐁 and 𝐣 are solenoidal fields tangent to the flux surfaces) it can be shown that the general expression for η is

η(ψ,θ,ϕ)=12π(ItorθIpolϕ)+η~(ψ,θ,ϕ).

Note that the poloidal current is now defined through a ribbon and not a disc.

Magnetic coordinates

Magnetic coordinates are a particular type of flux coordinates in which the magnetic field lines are straight lines. In mathematical terms this implies that the periodic part of the magnetic field's stream function is zero in these coordinates so the magnetic field reads

𝐁=ψ×(Ψtor2πθfΨpol2πϕf)

Magnetic coordinates adapt to the magnetic field, and therefore to the MHD equilibrium (also see Flux surface). Magnetic coordinates simplify the description of the magnetic field. In 3 dimensions (not assuming axisymmetry), the most commonly used coordinate systems are: [9]

  • Hamada coordinates. [10][11] In these coordinates, both the field lines and current lines corresponding to the MHD equilibrium are straight.
  • Boozer coordinates. [12][13] In these coordinates, the field lines corresponding to the MHD equilibrium are straight and so are the diamagnetic lines , i.e. the integral lines of ψ×𝐁.

These two coordinate systems are related. [14]

References

  1. Wikipedia:Cartesian coordinate system
  2. Wikipedia:Cylindrical coordinate system
  3. R.L. Miller et al, Noncircular, finite aspect ratio, local equilibrium model, Phys. Plasmas 5 (1998) 973
  4. R.D. Hazeltine, J.D. Meiss, Plasma confinement, Courier Dover Publications (2003) ISBN 0486432424
  5. Morse and Feshbach, Methods of theoretical physics, McGraw-Hill, New York, 1953 ISBN 007043316X
  6. Wikipedia:Toroidal coordinates
  7. F. Alladio, F. Chrisanti, Analysis of MHD equilibria by toroidal multipolar expansions, Nucl. Fusion 26 (1986) 1143
  8. B.Ph. van Milligen and A. Lopez Fraguas, Expansion of vacuum magnetic fields in toroidal harmonics, Computer Physics Communications 81, Issues 1-2 (1994) 74-90
  9. 9.0 9.1 W.D. D'haeseleer, Flux coordinates and magnetic field structure: a guide to a fundamental tool of plasma theory, Springer series in computational physics, Springer-Verlag (1991) ISBN 3540524193
  10. S. Hamada, Nucl. Fusion 2 (1962) 23
  11. J.M. Greene and J.L Johnson, Stability Criterion for Arbitrary Hydromagnetic Equilibria, Phys. Fluids 5 (1962) 510
  12. A.H. Boozer, Plasma equilibrium with rational magnetic surfaces, Phys. Fluids 24 (1981) 1999
  13. A.H. Boozer, Establishment of magnetic coordinates for a given magnetic field, Phys. Fluids 25 (1982) 520
  14. K. Miyamoto, Controlled fusion and plasma physics, Vol. 21 of Series in Plasma Physics, CRC Press (2007) ISBN 1584887095