beam-tracing / Scotty

Beam tracing code for diagnostics
https://scotty.readthedocs.io/en/latest/
GNU General Public License v3.0
7 stars 4 forks source link

Erroneous beam path in open flux surfaces #123

Open x-wxc opened 1 year ago

x-wxc commented 1 year ago

Beam tracing should terminate if the beam propagates into open flux surfaces which can give erroneous deflections. Particularly problematic are the top left and bottom left corners. Need to check when beam coordinates intersect LCFS coordinates for the second time, then use vacuum propagation instead.

image