# Toroidal coordinates

Coordinate systems used in toroidal systems:

(X, Y, Z) 

## Cylindrical coordinates , where 

• , and
• . 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 , where

• , and
•  corresponds to the torus axis and is called the major radius, while is called the minor radius, and θ the poloidal angle. The ratio is called the aspect ratio of the torus.

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

• letting depend on (to account for the Shafranov shift of flux surfaces) 
• adding ellipticity ( ), triangularity ( ), and squareness ( ) to account for non-circular flux surface cross sections. A popular simple expression for shaped flux surfaces is: 
$\displaystyle R(r,\theta) = R_0(r) + r \cos(\theta + \arcsin \delta \sin \theta)\\ Z(r,\theta) = Z_0(r) + \kappa(r) r \sin(\theta + \zeta \sin 2 \theta)$

## Toroidal coordinates , where  where is the pole of the coordinate system. Surfaces of constant are tori with major radii and minor radii . At , , while at infinity and at . The coordinate is a poloidal angle and runs from 0 to . 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.  

## Magnetic coordinates

Magnetic coordinates are a particular type of flux coordinates in which the magnetic field lines are straight lines. 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: 

• Hamada coordinates.  In these coordinates, both the field lines and current lines corresponding to the MHD equilibrium are straight.
• Boozer coordinates.  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.