Рефлектометрия плазмы токамака
Три рупора на 28 ГГц: отражение от слоя отсечки
| Параметр | Значение |
|---|---|
| Курс | Функциональные СВЧ устройства |
| Лекция | 7. Конструирование СВЧ устройств |
| Ядро | PlanarRT X (planarrt_x.exe) |
| Заданий в серии | 1 |
| Длительность прогона | до 300 с на задание на шестиядерном ПК, без вывода поля |
Постановка задачи
Рассчитать поле трёх рупоров рефлектометра на частоте 28 ГГц у сечения плазмы токамака. Профиль концентрации электронов аналитический: параболический, с локальным возмущением у слоя отсечки.
Цель работы: увидеть отражение волны от слоя отсечки и влияние возмущения плотности на фронт отражённой волны.
Теоретические сведения
Волна в холодной плазме отражается там, где её частота сравнивается с местной плазменной частотой:
Для 28 ГГц это концентрация около м⁻³. Положение этого слоя меняется вместе с профилем плотности, на этом и основана рефлектометрия: по фазе и времени задержки отражённой волны судят о положении слоя отсечки.
Профиль в задании состоит из двух частей:
Здесь м⁻³ — плотность на оси, — параболический профиль, м⁻³ — амплитуда гауссова возмущения . Возмущение стоит у слоя отсечки. Отражённое поле принимают соседние рупоры.
Без внешнего магнитного поля диэлектрическая проницаемость плазмы равна
Центр параболического профиля лежит за правой границей области ( см), его радиус 41 см, поэтому край плазмы проходит у см, сразу перед раскрывами. Центр возмущения находится в точке см, см, его полуширины 2 и 6 см, то есть оно стоит перед верхним, излучающим рупором. Вдоль оси этого рупора поле приближённо описывает то же уравнение , что и в примере лекции 1 «Рупоры и квазиоптическая область»: перед точкой стоит стоячая волна, за ней поле затухает.
Файлы задания
Задания этого примера не входят в библиотеку TPL Designer: они подготовлены для курса. Скачайте архив заданий (2 КБ, файлов .tpl: 1) и распакуйте его в пустую папку.
В архиве tokamak_3horn_quick.tpl — основной файл, PLASMA_PROFILE.H — профиль плотности, TOKAMAK_3HORN_TOPOLOGY.H — геометрия рупоров. Файлы .H подключаются директивой #include и должны лежать рядом с основным. Это задание для ядра PlanarRT X, единицы длины в нём — сантиметры.
Файлы записаны в кодировке CP1251. Если хотите менять размеры, откройте файл в TPL Designer кнопкой «Открыть готовое» или в текстовом редакторе, сохраняя кодировку.
Запуск расчёта
- Запустите программу PlanarRT X (
planarrt_x.exe). - Нажмите
Открыть или Ctrl+Oи выберите файлtokamak_3horn_quick.tpl. Если в строке состояния появилосьШаг:1;Error:no, задание прочитано верно. - Нажмите
Запуск или F5и дождитесь надписи «Готово» в строке состояния.
Ядро дописывает файл
.s, а не перезаписывает его. Перед повторным запуском удалите старый файл.s.
Просмотр результатов
Матрицу рассеяния показывает кнопка
Показать S-матрицу (программа TMCGROUT). Сигналы на входах показывает
Показать выходной сигнал (TMCROS). Распределение амплитуды и фазы поля записано в файлы .AMP и .FAZ: откройте их в FieldView.
Результаты


Сравнение с теорией
Задание посчитано дважды: как есть и с (в архиве только исходный вариант, для второго в PLASMA_PROFILE.H достаточно заменить N_BUMP на 0.0). Амплитуда поля взята из файла tok.AMP (гармоника 28 ГГц на окне 15–19 нс) вдоль оси верхнего рупора, от центра раскрыва ( см, см) под углом 5,45° вниз. Теория — одномерное уравнение с вдоль этой линии.
| Величина | С возмущением | Без возмущения |
|---|---|---|
| Точка отсечки по профилю, см от раскрыва | 2,83 | 3,88 |
| Последний максимум: ядро, см | 2,428 | 3,443 |
| Последний максимум: теория, см | 2,431 | 3,376 |
| Предпоследний максимум: ядро / теория, см | 1,526 / 1,537 | 2,421 / 2,287 |
| Отражение в излучающий рупор, модуль | 0,60 | 0,62 |
| Сигнал среднего рупора, модуль | 0,33 | 0,29 |
| Сигнал нижнего рупора, модуль | 0,15 | 0,31 |
С возмущением положения максимумов совпадают с теорией до 0,04 см, это меньше половины шага сетки (0,1 см). Без возмущения расхождение доходит до 0,13 см, около 1,3 шага, и вся картина сдвинута к отсечке, как в примере лекции 1. Там такой же сдвиг проверен измельчением сетки: это численная дисперсия схемы. Здесь он меньше, потому что слой отсечки круче: падает от 1 до 0 на 3–4 см.
Возмущение величиной около 15 % от плотности на оси придвигает слой отсечки к рупорам на 1,05 см. Ядро даёт смещение последнего максимума на 1,02 см, теория — на 0,95 см. Сигнал нижнего рупора уменьшается вдвое, среднего растёт: выпуклость слоя отклоняет отражённый пучок. Так рефлектометр «видит» возмущение плотности.
Анимация поля
Разбор результатов
На анимации видно, как волна выходит из верхнего рупора, доходит до слоя отсечки и отражается, а средний и нижний рупоры работают на приём. Плазма за этим слоем для волны непрозрачна. На карте амплитуды стоячая волна обрывается на линии , и выпуклость этой линии против верхнего рупора — это возмущение плотности. Задание соответствует рис. 63 лекции 7.
Ядро при расчёте предупреждает, что 409 узлов поглотителя у правой границы попали в плотную плазму, где поглотитель не работает. Здесь это безвредно: волна до них не доходит.
Вопросы для самопроверки
- Какая концентрация электронов соответствует отсечке на 28 ГГц?
- Почему за слоем отсечки волна не распространяется?
- Как возмущение плотности проявляется в принятом сигнале?
- На сколько возмущение плотности смещает слой отсечки и как это видно в сигналах рупоров?
Файл задания
Текст основного файла примера. Остальные файлы серии отличаются частотой или размерами.
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
#EOFTokamak 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:
For 28 GHz this is a density of about 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:
Here m⁻³ is the on-axis density, is a parabolic profile and m⁻³ is the amplitude of the Gaussian perturbation . 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
The centre of the parabolic profile lies beyond the right edge of the region ( cm) and its radius is 41 cm, so the plasma edge passes near cm, just in front of the apertures. The centre of the perturbation is at cm, 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 as in the lecture 1 example "Horns and the quasi-optical region": a standing wave stands in front of the point , 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
- Start PlanarRT X (
planarrt_x.exe). - Click
Open or press Ctrl+Oand choosetokamak_3horn_quick.tpl. If the status bar showsStep:1;Error:no, the task was read correctly. - Click
Run or press F5and wait for "Done" in the status bar.
The kernel appends to the
.sfile instead of overwriting it. Delete the old.sfile before a repeated run.
Viewing the results
The scattering matrix opens with
View S-matrix (TMCGROUT). Port signals open with
View output (TMCROS). The field amplitude and phase distributions are in the .AMP and .FAZ files: open them in FieldView.
Results


Comparison with theory
The task was computed twice: as is and with (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 ( cm, cm) at 5.45° downwards. The theory is the one-dimensional equation with 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 | 0.60 | 0.62 |
| Middle horn signal, magnitude of | 0.33 | 0.29 |
| Lower horn signal, magnitude of | 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
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 , 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
- What electron density corresponds to the cutoff at 28 GHz?
- Why does the wave not propagate beyond the cutoff layer?
- How does a density perturbation show in the received signal?
- 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