TJ-II:Magnetic coordinates: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
The diagnostics perform measurements in real space. The location of points is given in one of these co-ordinate systems (units according to the S.I. system, m and rad):
The diagnostics perform measurements in real space. The location of points is given in one of these coordinate systems (units according to the S.I. system, m and rad):


# Cartesian (''X'', ''Y'', ''Z'') with its origin at the centre of the TJ-II device, the X-axis pointing due East, the Y-axis due North, and the ''Z''-axis up.
# Cartesian (''X'', ''Y'', ''Z'') with its origin at the centre of the TJ-II device, the X-axis pointing due East, the Y-axis due North, and the ''Z''-axis up.
# [[Toroidal co-ordinates|Cylindrical]] (''R'', ''&phi;'', ''Z''), where ''R<sup>2</sup>'' = ''X<sup>2</sup>'' + ''Y<sup>2</sup>'' and tan ''&phi;'' = ''Y/X''.
# [[Toroidal coordinates|Cylindrical]] (''R'', ''&phi;'', ''Z''), where ''R<sup>2</sup>'' = ''X<sup>2</sup>'' + ''Y<sup>2</sup>'' and tan ''&phi;'' = ''Y/X''.


In order to make comparisons between diagnostics, it is useful to convert these real-space co-ordinates to flux co-ordinates. This co-ordinate transform depends on the particular magnetic configuration used in a given experiment. Two tools are available to do so ([http://www-fusion.ciemat.es/cgi-bin/dir/dirnew.cgi?manuals/geometry_TJII/ See the on-line documentation] - only internal laboratory access):
In order to make comparisons between diagnostics, it is useful to convert these real-space coordinates to flux coordinates. This coordinate transform depends on the particular magnetic configuration used in a given experiment. Two tools are available to do so ([http://www-fusion.ciemat.es/cgi-bin/dir/dirnew.cgi?manuals/geometry_TJII/ See the on-line documentation] - only internal laboratory access):


First, vacuum equilibrium calculations from [[VMEC]]. These are then used to obtain magnetic flux co-ordinates ''(&psi;, &theta;, &phi;)''. A set of routines is available to perform the corresponding co-ordinate transforms.<ref>[[File:TJ2 Library V2.pdf]]: TJ-II Library Manual, Informe Técnico del CIEMAT Nº 963</ref> The drawback of the VMEC calculations is (a) that magnetic islands are ignored, and (b) that only a limited number of configurations is available.
First, vacuum equilibrium calculations from [[VMEC]]. These are then used to obtain magnetic flux coordinates ''(&psi;, &theta;, &phi;)''. A set of routines is available to perform the corresponding coordinate transforms.<ref>[[File:TJ2 Library V2.pdf]]: TJ-II Library Manual, Informe Técnico del CIEMAT Nº 963</ref> The drawback of the VMEC calculations is (a) that magnetic islands are ignored, and (b) that only a limited number of configurations is available.


Second, magnetic field line calculations using the [[:Wikipedia:Biot_savart|Biot-Savart Law]]. The approximate magnetic flux is recovered from an interpolation procedure. A set of routines is available to perform the corresponding co-ordinate transforms. More information can be found in files [http://www-fusion.ciemat.es/cgi-bin/dir/dirnew.cgi?manuals/geometry_TJII/ g3d_readme.doc and g3d_gridfile.doc]. Since the latter procedure is more flexible and generally applicable than the VMEC-based calculations, the latter is preferred.
Second, magnetic field line calculations using the [[:Wikipedia:Biot_savart|Biot-Savart Law]]. The approximate magnetic flux is recovered from an interpolation procedure. A set of routines is available to perform the corresponding coordinate transforms. More information can be found in files [http://www-fusion.ciemat.es/cgi-bin/dir/dirnew.cgi?manuals/geometry_TJII/ g3d_readme.doc and g3d_gridfile.doc]. Since the latter procedure is more flexible and generally applicable than the VMEC-based calculations, the latter is preferred.


It should be noted that these co-ordinate transforms are approximate and not error-free. The errors in the vacuum field calculation are due to three sources:
It should be noted that these coordinate transforms are approximate and not error-free. The errors in the vacuum field calculation are due to three sources:


# The error in the placement of the coils.
# The error in the placement of the coils.