Toroidal coordinates: Difference between revisions

m
 
(One intermediate revision by one other user not shown)
Line 34: Line 34:
:<math>R(r,\theta) = R_0(r) + r \cos(\theta + \arcsin \delta \sin \theta)</math>
:<math>R(r,\theta) = R_0(r) + r \cos(\theta + \arcsin \delta \sin \theta)</math>
:<math>Z(r,\theta) = Z_0(r) + \kappa(r) r \sin(\theta + \zeta \sin 2 \theta) </math>
:<math>Z(r,\theta) = Z_0(r) + \kappa(r) r \sin(\theta + \zeta \sin 2 \theta) </math>
Warning: there are varying conventions for the directions of <math>\theta</math> and <math>\phi</math>. Which convention is used can depend on the local facility, the software being used, or other context. To help reduce confusion, the different tokamak coordinate conventions have been described and codified in the COCOS system.<ref>O. Sauter and S.Yu. Medvedev, ''Tokamak coordinate conventions: COCOS'', [[doi:10.1016/j.cpc.2012.09.010|Computer Physics Communications '''184''', (2013) 293-302]]</ref>


== Toroidal coordinates ==
== Toroidal coordinates ==