Рефлектометрия плазмы токамака

Три рупора на 28 ГГц: отражение от слоя отсечки

Параметр Значение
Курс Функциональные СВЧ устройства
Лекция 7. Конструирование СВЧ устройств
Ядро PlanarRT X (planarrt_x.exe)
Заданий в серии 1
Длительность прогона до 300 с на задание на шестиядерном ПК, без вывода поля

Постановка задачи

Рассчитать поле трёх рупоров рефлектометра на частоте 28 ГГц у сечения плазмы токамака. Профиль концентрации электронов аналитический: параболический, с локальным возмущением у слоя отсечки.

Цель работы: увидеть отражение волны от слоя отсечки и влияние возмущения плотности на фронт отражённой волны.

Теоретические сведения

Волна в холодной плазме отражается там, где её частота сравнивается с местной плазменной частотой:

fp=12πNe2ε0me,f=fp(N)

Для 28 ГГц это концентрация около 9,7·1018 м⁻³. Положение этого слоя меняется вместе с профилем плотности, на этом и основана рефлектометрия: по фазе и времени задержки отражённой волны судят о положении слоя отсечки.

Профиль в задании состоит из двух частей:

N(x,y)=N0P(x,y)+ΔNG(x,y)

Здесь N0=5,4·1019 м⁻³ — плотность на оси, P — параболический профиль, ΔN=8·1018 м⁻³ — амплитуда гауссова возмущения G. Возмущение стоит у слоя отсечки. Отражённое поле принимают соседние рупоры.

Без внешнего магнитного поля диэлектрическая проницаемость плазмы равна

ε=1−NNc,Nc=ε0me(2πf)2e2=9,73·1018 м−3

Центр параболического профиля лежит за правой границей области (x=55 см), его радиус 41 см, поэтому край плазмы проходит у x=14 см, сразу перед раскрывами. Центр возмущения находится в точке x=19 см, y=3 см, его полуширины 2 и 6 см, то есть оно стоит перед верхним, излучающим рупором. Вдоль оси этого рупора поле приближённо описывает то же уравнение E″+k2ε(s)E=0, что и в примере лекции 1 «Рупоры и квазиоптическая область»: перед точкой ε=0 стоит стоячая волна, за ней поле затухает.

Файлы задания

Задания этого примера не входят в библиотеку TPL Designer: они подготовлены для курса. Скачайте архив заданий (2 КБ, файлов .tpl: 1) и распакуйте его в пустую папку.

В архиве tokamak_3horn_quick.tpl — основной файл, PLASMA_PROFILE.H — профиль плотности, TOKAMAK_3HORN_TOPOLOGY.H — геометрия рупоров. Файлы .H подключаются директивой #include и должны лежать рядом с основным. Это задание для ядра PlanarRT X, единицы длины в нём — сантиметры.

Файлы записаны в кодировке CP1251. Если хотите менять размеры, откройте файл в TPL Designer кнопкой «Открыть готовое» или в текстовом редакторе, сохраняя кодировку.

Запуск расчёта

  1. Запустите программу PlanarRT X (planarrt_x.exe).
  2. Нажмите Открыть Открыть или Ctrl+O и выберите файл tokamak_3horn_quick.tpl. Если в строке состояния появилось Шаг:1;Error:no, задание прочитано верно.
  3. Нажмите Запуск Запуск или F5 и дождитесь надписи «Готово» в строке состояния.

Ядро дописывает файл .s, а не перезаписывает его. Перед повторным запуском удалите старый файл .s.

Просмотр результатов

Матрицу рассеяния показывает кнопка Показать S-матрицу Показать S-матрицу (программа TMCGROUT). Сигналы на входах показывает Показать выходной сигнал Показать выходной сигнал (TMCROS). Распределение амплитуды и фазы поля записано в файлы .AMP и .FAZ: откройте их в FieldView.

Результаты

Амплитуда поля на 28 ГГц; линии N = Nкр с возмущением и без него, пунктир — ось верхнего рупора
Амплитуда поля на 28 ГГц; линии N = Nкр с возмущением и без него, пунктир — ось верхнего рупора
Амплитуда поля вдоль оси излучающего рупора: ядро и одномерная теория, с возмущением и без него
Амплитуда поля вдоль оси излучающего рупора: ядро и одномерная теория, с возмущением и без него

Сравнение с теорией

Задание посчитано дважды: как есть и с ΔN=0 (в архиве только исходный вариант, для второго в PLASMA_PROFILE.H достаточно заменить N_BUMP на 0.0). Амплитуда поля взята из файла tok.AMP (гармоника 28 ГГц на окне 15–19 нс) вдоль оси верхнего рупора, от центра раскрыва (x=14,19 см, y=3,89 см) под углом 5,45° вниз. Теория — одномерное уравнение с ε(s) вдоль этой линии.

Величина С возмущением Без возмущения
Точка отсечки по профилю, см от раскрыва 2,83 3,88
Последний максимум: ядро, см 2,428 3,443
Последний максимум: теория, см 2,431 3,376
Предпоследний максимум: ядро / теория, см 1,526 / 1,537 2,421 / 2,287
Отражение в излучающий рупор, модуль S11 0,60 0,62
Сигнал среднего рупора, модуль S21 0,33 0,29
Сигнал нижнего рупора, модуль S31 0,15 0,31

С возмущением положения максимумов совпадают с теорией до 0,04 см, это меньше половины шага сетки (0,1 см). Без возмущения расхождение доходит до 0,13 см, около 1,3 шага, и вся картина сдвинута к отсечке, как в примере лекции 1. Там такой же сдвиг проверен измельчением сетки: это численная дисперсия схемы. Здесь он меньше, потому что слой отсечки круче: ε падает от 1 до 0 на 3–4 см.

Возмущение величиной около 15 % от плотности на оси придвигает слой отсечки к рупорам на 1,05 см. Ядро даёт смещение последнего максимума на 1,02 см, теория — на 0,95 см. Сигнал нижнего рупора уменьшается вдвое, среднего растёт: выпуклость слоя отклоняет отражённый пучок. Так рефлектометр «видит» возмущение плотности.

Анимация поля

Поле трёх рупоров на 28 ГГц у сечения плазмы

Разбор результатов

На анимации видно, как волна выходит из верхнего рупора, доходит до слоя отсечки и отражается, а средний и нижний рупоры работают на приём. Плазма за этим слоем для волны непрозрачна. На карте амплитуды стоячая волна обрывается на линии N=Nc, и выпуклость этой линии против верхнего рупора — это возмущение плотности. Задание соответствует рис. 63 лекции 7.

Ядро при расчёте предупреждает, что 409 узлов поглотителя у правой границы попали в плотную плазму, где поглотитель не работает. Здесь это безвредно: волна до них не доходит.

Вопросы для самопроверки

  1. Какая концентрация электронов соответствует отсечке на 28 ГГц?
  2. Почему за слоем отсечки волна не распространяется?
  3. Как возмущение плотности проявляется в принятом сигнале?
  4. На сколько возмущение плотности смещает слой отсечки и как это видно в сигналах рупоров?

Файл задания

Текст основного файла примера. Остальные файлы серии отличаются частотой или размерами.

tokamak_3horn_quick.tpl
#TMC_RT_H
! Quick validation profile for the three-horn PlanarRT_X benchmark.

#define W_delta @ (0.1)
#define W_time  @ (20.0)
#define W_freq  @ (28.0)

#define L_box @ (32.0)
#define W_box @ (32.0)
#define W_input @ (1.20)
#define a2 @ (2.0)
#define b1 @ (1.2)
#define apert @ (3.9)
#define alfa @ (7.36/180*3.141593)
#define beta @ (5.45/180*3.141593)
#define l @ (12.0)
#define th @ (0.1)
#define R_vessel @ (41.0)
#define a1 @ (W_input)
#define h @ ((apert-W_input-2*th)/2)
#define albe @ (alfa+beta)
#define pi @ (3.1415926)

#define N_XMIN @ (14.2)
#define N_XMAX @ (31.5)
#define N_YMIN @ (-15.5)
#define N_YMAX @ (15.5)

#include PLASMA_PROFILE.H

#STEP
#PARM
 ANGLE_UNIT radian;
 FREQ_UNIT GHz;
 LONG_UNIT cm;
 TIME_UNIT ns;
 DELTA W_delta;
 TIME 0.0; W_time;
 X_MIN 0.0;
 X_MAX L_box;
 Y_MIN 0.0;
 Y_MAX W_box;
 FREQ W_freq;
#END_PARM

#TOPOLOGY
#include TOKAMAK_3HORN_TOPOLOGY.H
#END_TOPOLOGY

#LINK_LIST
 T 31; 0.0; W_box/2;
 T 1; 0.0; W_box/2;
 T 2; 0.0; W_box/2;
 T 3; 0.0; W_box/2;
 T 4; 0.0; W_box/2;
 T 5; 0.0; W_box/2;
 T 6; 0.0; W_box/2;
 T 7; 0.0; W_box/2;
 T 8; 0.0; W_box/2;
 T 9; 0.0; W_box/2;
 T 10; 0.0; W_box/2;
 T 11; 0.0; W_box/2;
 T 12; 0.0; W_box/2;
 T 13; 0.0; W_box/2;
 T 14; 0.0; W_box/2;
 T 15; 0.0; W_box/2;
 T 16; 0.0; W_box/2;
 T 17; 0.0; W_box/2;
 T 18; 0.0; W_box/2;
 T 19; 0.0; W_box/2;
 T 21; 0.0; 0.0;
 T 22; 0.0; 0.0;
 T 23; 0.0; 0.0;
 T 24; 0.0; W_box/2;
 T 25; 0.0; W_box/2;
 T 26; 0.0; W_box/2;
 T 27; 0.0; W_box/2;
 T 29; R_vessel+l+a2; W_box/2;
 T 30; R_vessel+l+a2; W_box/2;
#END_LINK

#OUTPUT
 FILE bench_x_signal;
 SMATRIX bench_x_s; W_freq; 0.75*W_time; W_time;
 TOPOLOGY;
 FIELD_DISTRIBUTION_M tok; W_freq; 0.75*W_time; 0.95*W_time;
#END_OUTPUT
#END_STEP
#EOF

Tokamak plasma reflectometry

Three horns at 28 GHz: reflection from the cutoff layer

Parameter Value
Course Functional microwave devices
Lecture 7. Design of microwave devices
Kernel PlanarRT X (planarrt_x.exe)
Tasks in the series 1
Run duration up to 300 s per task on a six-core PC, without field output

Problem statement

Compute the field of three reflectometer horns at 28 GHz next to a tokamak plasma cross-section. The electron density profile is analytic: parabolic, with a local perturbation near the cutoff layer.

The goal is to see the wave reflect from the cutoff layer and how the density perturbation affects the reflected front.

Theoretical background

A wave in a cold plasma reflects where its frequency equals the local plasma frequency:

fp=12πNe2ε0me,f=fp(N)

For 28 GHz this is a density of about 9.7·1018 m⁻³. The position of this layer changes with the density profile, and reflectometry rests on that: the phase and delay of the reflected wave tell where the cutoff layer is.

The profile in the task has two parts:

N(x,y)=N0P(x,y)+ΔNG(x,y)

Here N0=5.4·1019 m⁻³ is the on-axis density, P is a parabolic profile and ΔN=8·1018 m⁻³ is the amplitude of the Gaussian perturbation G. The perturbation stands near the cutoff layer. The neighbouring horns receive the reflected field.

Without an external magnetic field the permittivity of the plasma is

ε=1−NNc,Nc=ε0me(2πf)2e2=9.73·1018 m−3

The centre of the parabolic profile lies beyond the right edge of the region (x=55 cm) and its radius is 41 cm, so the plasma edge passes near x=14 cm, just in front of the apertures. The centre of the perturbation is at x=19 cm, y=3 cm, with half-widths of 2 and 6 cm, so it stands in front of the upper, radiating horn. Along the axis of this horn the field is approximately described by the same equation E″+k2ε(s)E=0 as in the lecture 1 example "Horns and the quasi-optical region": a standing wave stands in front of the point ε=0, and beyond it the field decays.

Task files

The tasks of this example are not in the TPL Designer library: they were prepared for the course. Download the task archive (2 KB, .tpl files: 1) and unpack it into an empty folder.

In the archive, tokamak_3horn_quick.tpl is the main file, PLASMA_PROFILE.H holds the density profile and TOKAMAK_3HORN_TOPOLOGY.H the horn geometry. The .H files are included with the #include directive and must lie next to the main file. This task is for the PlanarRT X kernel, and its length unit is the centimetre.

The files use the CP1251 encoding. To change dimensions, open a file in TPL Designer with Open existing, or in a text editor that keeps the encoding.

Running the calculation

  1. Start PlanarRT X (planarrt_x.exe).
  2. Click Open Open or press Ctrl+O and choose tokamak_3horn_quick.tpl. If the status bar shows Step:1;Error:no, the task was read correctly.
  3. Click Run Run or press F5 and wait for "Done" in the status bar.

The kernel appends to the .s file instead of overwriting it. Delete the old .s file before a repeated run.

Viewing the results

The scattering matrix opens with View S-matrix View S-matrix (TMCGROUT). Port signals open with View output View output (TMCROS). The field amplitude and phase distributions are in the .AMP and .FAZ files: open them in FieldView.

Results

Field amplitude at 28 GHz; the lines N = Nc with and without the bump, dotted: the axis of the upper horn
Field amplitude at 28 GHz; the lines N = Nc with and without the bump, dotted: the axis of the upper horn
Field amplitude along the axis of the radiating horn: kernel and one-dimensional theory, with and without the bump
Field amplitude along the axis of the radiating horn: kernel and one-dimensional theory, with and without the bump

Comparison with theory

The task was computed twice: as is and with ΔN=0 (the archive has only the original version; for the second, it is enough to set N_BUMP to 0.0 in PLASMA_PROFILE.H). The field amplitude is taken from the tok.AMP file (the 28 GHz harmonic over the 15–19 ns window) along the axis of the upper horn, from the aperture centre (x=14.19 cm, y=3.89 cm) at 5.45° downwards. The theory is the one-dimensional equation with ε(s) along this line.

Quantity With the bump Without the bump
Cutoff point from the profile, cm from the aperture 2.83 3.88
Last maximum: kernel, cm 2.428 3.443
Last maximum: theory, cm 2.431 3.376
Last but one maximum: kernel / theory, cm 1.526 / 1.537 2.421 / 2.287
Reflection into the radiating horn, magnitude of S11 0.60 0.62
Middle horn signal, magnitude of S21 0.33 0.29
Lower horn signal, magnitude of S31 0.15 0.31

With the bump the positions of the maxima agree with theory to 0.04 cm, less than half a mesh step (0.1 cm). Without the bump the difference reaches 0.13 cm, about 1.3 steps, and the whole pattern is shifted towards the cutoff, as in the lecture 1 example. There the same shift was checked by refining the mesh: it is the numerical dispersion of the scheme. Here it is smaller because the cutoff layer is steeper: ε falls from 1 to 0 over 3–4 cm.

A perturbation of about 15 % of the on-axis density moves the cutoff layer 1.05 cm towards the horns. The kernel gives a shift of the last maximum of 1.02 cm, the theory 0.95 cm. The lower horn signal halves and the middle one grows: the bulge of the layer deflects the reflected beam. This is how a reflectometer "sees" a density perturbation.

Field animation

The field of three horns at 28 GHz next to the plasma cross-section

Discussion

The animation shows the wave leaving the upper horn, reaching the cutoff layer and reflecting, while the middle and lower horns receive. The plasma beyond this layer is opaque to the wave. On the amplitude map the standing wave ends at the line N=Nc, and the bulge of this line opposite the upper horn is the density perturbation. The task corresponds to Fig. 63 of lecture 7.

During the run the kernel warns that 409 absorber nodes at the right edge lie in dense plasma, where the absorber does not work. This is harmless here: the wave does not reach them.

Self-check questions

  1. What electron density corresponds to the cutoff at 28 GHz?
  2. Why does the wave not propagate beyond the cutoff layer?
  3. How does a density perturbation show in the received signal?
  4. How far does the density perturbation move the cutoff layer, and how is this seen in the horn signals?

Task file

The text of the main file of the example. Other files of the series differ in frequency or dimensions.

tokamak_3horn_quick.tpl
#TMC_RT_H
! Quick validation profile for the three-horn PlanarRT_X benchmark.

#define W_delta @ (0.1)
#define W_time  @ (20.0)
#define W_freq  @ (28.0)

#define L_box @ (32.0)
#define W_box @ (32.0)
#define W_input @ (1.20)
#define a2 @ (2.0)
#define b1 @ (1.2)
#define apert @ (3.9)
#define alfa @ (7.36/180*3.141593)
#define beta @ (5.45/180*3.141593)
#define l @ (12.0)
#define th @ (0.1)
#define R_vessel @ (41.0)
#define a1 @ (W_input)
#define h @ ((apert-W_input-2*th)/2)
#define albe @ (alfa+beta)
#define pi @ (3.1415926)

#define N_XMIN @ (14.2)
#define N_XMAX @ (31.5)
#define N_YMIN @ (-15.5)
#define N_YMAX @ (15.5)

#include PLASMA_PROFILE.H

#STEP
#PARM
 ANGLE_UNIT radian;
 FREQ_UNIT GHz;
 LONG_UNIT cm;
 TIME_UNIT ns;
 DELTA W_delta;
 TIME 0.0; W_time;
 X_MIN 0.0;
 X_MAX L_box;
 Y_MIN 0.0;
 Y_MAX W_box;
 FREQ W_freq;
#END_PARM

#TOPOLOGY
#include TOKAMAK_3HORN_TOPOLOGY.H
#END_TOPOLOGY

#LINK_LIST
 T 31; 0.0; W_box/2;
 T 1; 0.0; W_box/2;
 T 2; 0.0; W_box/2;
 T 3; 0.0; W_box/2;
 T 4; 0.0; W_box/2;
 T 5; 0.0; W_box/2;
 T 6; 0.0; W_box/2;
 T 7; 0.0; W_box/2;
 T 8; 0.0; W_box/2;
 T 9; 0.0; W_box/2;
 T 10; 0.0; W_box/2;
 T 11; 0.0; W_box/2;
 T 12; 0.0; W_box/2;
 T 13; 0.0; W_box/2;
 T 14; 0.0; W_box/2;
 T 15; 0.0; W_box/2;
 T 16; 0.0; W_box/2;
 T 17; 0.0; W_box/2;
 T 18; 0.0; W_box/2;
 T 19; 0.0; W_box/2;
 T 21; 0.0; 0.0;
 T 22; 0.0; 0.0;
 T 23; 0.0; 0.0;
 T 24; 0.0; W_box/2;
 T 25; 0.0; W_box/2;
 T 26; 0.0; W_box/2;
 T 27; 0.0; W_box/2;
 T 29; R_vessel+l+a2; W_box/2;
 T 30; R_vessel+l+a2; W_box/2;
#END_LINK

#OUTPUT
 FILE bench_x_signal;
 SMATRIX bench_x_s; W_freq; 0.75*W_time; W_time;
 TOPOLOGY;
 FIELD_DISTRIBUTION_M tok; W_freq; 0.75*W_time; 0.95*W_time;
#END_OUTPUT
#END_STEP
#EOF