Flux coordinates: Difference between revisions

From FusionWiki
Jump to navigation Jump to search
Arturo (talk | contribs)
Arturo (talk | contribs)
Line 147: Line 147:
+ \tilde{\nu}(\psi,\theta,\phi)
+ \tilde{\nu}(\psi,\theta,\phi)
</math>
</math>
where <math>\tilde{\nu}</math> is a differentiable function periodic in the two angles. This general form can be derived by using the fact that  <math> \mathbf{B}</math> 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 [[Toroidal coordinates#Useful properties of FSA|FSA properties ]].
where <math>\tilde{\nu}</math> is a differentiable function periodic in the two angles. This general form can be derived by using the fact that  <math> \mathbf{B}</math> 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 [[Flux coordinates#Useful properties of FSA|FSA properties ]].


==== Covariant Form ====
==== Covariant Form ====

Revision as of 12:32, 24 August 2010

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

J−1=det⁡(∂(ψ,θ,ϕ)∂(x,y,z))=∇ψ⋅∇θ×∇ϕ

It can be seen that [1] g≡det⁡(gij)=J2⇒J=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 ψ.

To avoid ambiguity in the sign of line and surface integrals we impose dψ(V)/dV>0, the toroidal angle increases in the clockwise direction when seen from above and the poloidal angle increases such that ∇ψ⋅∇θ×∇ξ>0.

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ψdV∫02π∫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ψdV∫02π∫02πΦgdθdϕ=dψdV∫S(ψ)Φ|∇ψ|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δ𝒱(⟨Γ⋅∇V⟩S(V+δ𝒱)−⟨Γ⋅∇V⟩S(V))=ddV⟨Γ⋅∇V⟩.

Useful properties of FSA

Some useful properties of the FSA are

  • ⟨∇⋅Γ⟩=ddV⟨Γ⋅∇V⟩=1V′ddψV′⟨Γ⋅∇ψ⟩
  • ∫𝒱∇⋅Γd𝒱=⟨Γ⋅∇V⟩=V′⟨Γ⋅∇ψ⟩
  • ⟨𝐁⋅∇f⟩=0,∀singlevaluedf(𝐱),if∇⋅𝐁=0and∇ψ⋅𝐁=0
  • ⟨∇ψ⋅∇×𝐀⟩=0.
  • ⟨𝐁⋅∇θ⟩=2πdΨpoldV(Note:θ(𝐱)isnotsinglevalued)
  • ⟨𝐁⋅∇ϕ⟩=2πdΨtordV(Note:ϕ(𝐱)isnotsinglevalued)
  • ⟨g−1⟩=4π2V′

In the above 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π(Ψt′orθ−Ψp′olϕ)+ν~(ψ,θ,ϕ)

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𝐒;with∂Ssuchthat(Δθ=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𝐒;with∂Ssuchthat(Δθ=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π(It′orθ−Ip′olϕ)+η~(ψ,θ,ϕ).

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

𝐁=∇ψ×(Ψt′or2πθf−Ψp′ol2πϕf).

Note that, in general, the contravariant components of the magnetic field in a magnetic coordinate system

Bθf=Ψp′ol2πg;Bϕf=Ψt′or2πg

are not flux functions, but their quotient is

BθfBϕf=Ψp′olΨt′or≡ι2π,

ι being the rotational transform.

It can be easily checked that any transformation of the angles of the from

θF=θf+Ψp′olG(ψ,θf,ϕf);ϕF=ϕf+Ψt′orG(ψ,θf,ϕf)

where G is periodic in the angles, preserves the straightness of the field lines. The spatial function G(ψ,θf,ϕf), is called the generating function. It can be obtained from a magnetic differential equation if we know the Jacobians of the two flux coordinate systems gf and gF. In fact taking 𝐁⋅∇ on any of the transformation of the angles and using the known expressions for the contravariant components of 𝐁 in flux coordinates we get

2π𝐁⋅∇G=1gF−1gf.

Particular choices of G can be that simplify the description of other fields. The most commonly used magnetic coordinate systems are: [1]

  • Hamada coordinates. [2][3] In these coordinates, both the field lines and current lines corresponding to the MHD equilibrium are straight. Referring to the definitions above, both ν~ and η~ are zero in Hamada coordinates.
  • Boozer coordinates. [4][5] 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 ∇ψ×𝐁. Referring to the definitions above, both ν~ and χ~ are zero in Boozer coordinates.

References

  1. ↑ 1.0 1.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
  2. ↑ S. Hamada, Nucl. Fusion 2 (1962) 23
  3. ↑ J.M. Greene and J.L Johnson, Stability Criterion for Arbitrary Hydromagnetic Equilibria, Phys. Fluids 5 (1962) 510
  4. ↑ A.H. Boozer, Plasma equilibrium with rational magnetic surfaces, Phys. Fluids 24 (1981) 1999
  5. ↑ A.H. Boozer, Establishment of magnetic coordinates for a given magnetic field, Phys. Fluids 25 (1982) 520