Замагниченная плазма
Слой с N и B: полосы непрозрачности X-моды
| Параметр | Значение |
|---|---|
| Раздел библиотеки | Среды, плазма, ЭПР |
| Ядро | PlanarRT X (planarrt_x.exe) |
| Источник | холодная замагниченная плазма, X-мода |
| Сетка | 437 × 46 узлов, шаг 1,8035 мм |
| Время счёта задания | 45 нс модельного времени, шагов: 21 |
| Длительность прогона | около 53 с на шестиядерном ПК, без вывода поля |
Постановка задачи
Та же постановка, что в лабораторной работе ЛР2: слой плазмы в волноводе, подмагниченный полем B, перпендикулярным плоскости. У X-моды две полосы непрозрачности: ниже fL и между fUH и fR. Все характерные частоты — в паспорте.
Подмагничивание действует только в области с концентрацией, поэтому N и B заданы одной и той же фигуре.
- Подмагничивание действует только там, где есть концентрация: поэтому N и B заданы одной фигуре.
- Блок B здесь ровно по плазме, а не шире: краевой слой N/2 с полным B резонировал бы на 2.598 ГГц, внутри полосы.
Теоретические сведения
Холодная бесстолкновительная плазма задаётся концентрацией электронов , которая определяет плазменную частоту, и полем подмагничивания , которое определяет электронную циклотронную частоту:
В ядре PlanarRT X (X-мода) ток плазмы считается прямо во временной области, поэтому дисперсия среды учитывается сама: один и тот же блок плазмы верен на любой частоте.
В магнитном поле X-мода имеет две отсечки и верхний гибридный резонанс:
При ГГц и ГГц получается , , ГГц. Волна непрозрачна при и в полосе . Подмагничивание действует только там, где есть концентрация, поэтому и заданы одной и той же фигуре.
Паспорт образца. Значения, которые TPL Designer вычисляет по формулам для параметров по умолчанию.
| Величина | Значение |
|---|---|
| Волновод | WR-284 / R32, a = 72.14 мм |
| Плазма | N = 111636423274660928 м⁻³, B = 0.05359 Тл, слой 19.84 мм |
| fp / fce | 3 / 1.5 ГГц |
| Отсечки X-моды fL / fR | 2.342 / 3.842 ГГц |
| Верхний гибридный fUH | 3.354 ГГц |
| Непрозрачно для X-моды | f < 2.342 ГГц и 3.354 < f < 3.842 ГГц |
Создание файла задания
Образец уже встроен в TPL Designer: скачивать ничего не нужно. Выполните шаги по порядку.
- Запустите TPL Designer. На стартовом экране в карточке «Взять образец» нажмите «Открыть библиотеку».
- Слева выберите раздел «Среды, плазма, ЭПР» и щёлкните в галерее плитку «Замагниченная плазма». Справа откроется карточка образца с паспортом и параметрами.

- Параметры оставьте по умолчанию: все числа на этой странице получены именно для них. Изменённые значения можно сбросить кнопкой «Вернуть умолчания».
- Нажмите «Открыть в редакторе». Задание откроется в мастере из пяти разделов, список которых находится слева.
- Откройте раздел «Геометрия». На холсте показано то, что посчитает ядро: металлические стенки, порты, диэлектрик или плазма. Зелёный значок отмечает активный порт, красный — пассивный. Двойной щелчок по объекту откроет его свойства.

- Если хотите посмотреть поле в FieldView, откройте раздел «Вывод данных» и отметьте «Выгружать топологию (файл .tt)» и «Выгружать поля (файлы .ex, .ey, .hz)», вариант «только на первом шаге». Запись поля замедляет счёт в разы, поэтому в образцах она выключена, если задание не требует её само.
- Откройте раздел «Проверка». Слева показана сводка расчёта, справа текст файла задания, а полоса внизу сообщает, что замечаний нет.

- Нажмите «Создать файл задания» и выберите пустую папку. В ней появятся файлы:
plmag.tpl,plmag_step.h.
Запуск расчёта
- Запустите программу PlanarRT X (
planarrt_x.exe). - Нажмите
Открыть или Ctrl+Oи выберите файлplmag.tplв созданной папке. Если в строке состояния появилосьШаг:1;Error:no, задание прочитано верно. - Нажмите
Запуск или F5. Ядро посчитает все шаги задания (21), на шестиядерном ПК это занимает около 53 с. - Дождитесь надписи «Готово» в строке состояния.
Ядро дописывает файл
.s, а не перезаписывает его. Перед повторным запуском удалите старый файл.s, иначе старые точки смешаются с новыми.
Просмотр результатов
Матрица рассеяния. Нажмите
Показать S-матрицу: откроется TMCGROUT с кривой первого элемента. Он показывает КСВН; чтобы увидеть модули, нажмите Ctrl+H и выберите «Шкала Y» → «|S|», а другие элементы добавьте через Ctrl+D.

Сигналы на портах. Нажмите
Показать выходной сигнал: откроется TMCROS с файлом .t.

Поле. Если вы включили вывод поля на шаге 6, нажмите
Показать поле и топологию: откроется FieldView. Анимацию он сохраняет командой экспорта.
Результаты




Числа расчёта: значения на краях диапазона, в середине и в точке наилучшего согласования.
| Частота, ГГц | |S11|, дБ | |S21|, дБ |
|---|---|---|
| 2,6 | -4,51 | -1,9 |
| 3,005 | -26,92 | -0,01 |
| 3,275 | -4,26 | -2,1 |
| 3,95 | -3,66 | -2,44 |
Анимация поля
Разбор результатов
Кривая прохождения повторяет структуру теории: хорошая прозрачность на 3,0 ГГц ( дБ) и глубокий провал до −22 дБ около 3,41 ГГц, сразу за , внутри отмеченной полосы непрозрачности. На 3,95 ГГц, выше , прохождение снова −2,4 дБ. Важная деталь видна на графике баланса: на 3,34 ГГц сумма падает до 0,61. Эта точка лежит на верхнем гибридном резонансе. По-видимому, бесстолкновительная среда здесь накапливает энергию в слое, и окно снятия её не учитывает. Вдали от резонанса баланс равен единице.
Файл задания
Этот текст TPL Designer показывает в разделе «Проверка». Файл записан в кодировке CP1251.
plmag.tpl
#TMC_RT_H
! Задание сгенерировано TPL Designer.
! Замагниченный плазменный слой в волноводе WR-284 / R32: fp = 3 ГГц, fce = 1.5 ГГц.
! Ядро: tmc_rtx (X-мода)
! Перед прогоном удалить plmag.s -- дописывается, а не перезаписывается.
#include plmag_step.h
plmagstep 2.6; plmag_f2p6; plmag;
plmagstep 2.668; plmag_f2p668; plmag;
plmagstep 2.735; plmag_f2p735; plmag;
plmagstep 2.803; plmag_f2p803; plmag;
plmagstep 2.87; plmag_f2p87; plmag;
plmagstep 2.938; plmag_f2p938; plmag;
plmagstep 3.005; plmag_f3p005; plmag;
plmagstep 3.073; plmag_f3p073; plmag;
plmagstep 3.14; plmag_f3p14; plmag;
plmagstep 3.208; plmag_f3p208; plmag;
plmagstep 3.275; plmag_f3p275; plmag;
plmagstep 3.343; plmag_f3p343; plmag;
plmagstep 3.41; plmag_f3p41; plmag;
plmagstep 3.478; plmag_f3p478; plmag;
plmagstep 3.545; plmag_f3p545; plmag;
plmagstep 3.613; plmag_f3p613; plmag;
plmagstep 3.68; plmag_f3p68; plmag;
plmagstep 3.748; plmag_f3p748; plmag;
plmagstep 3.815; plmag_f3p815; plmag;
plmagstep 3.883; plmag_f3p883; plmag;
plmagstep 3.95; plmag_f3p95; plmag;
#EOFplmag_step.h
! ==========================================================================
! plmag_step.h — макроопределения шагов расчёта.
! Подключается строкой #include plmag_step.h и должен лежать РЯДОМ с .tpl
!
! ДВА бэкслеша в конце строки = "текст макроса продолжается ниже".
! У ПОСЛЕДНЕЙ строки макроса переноса НЕТ — это признак конца.
! ==========================================================================
#define plmagstep Freq__; Tfile__; Sfile__; @\\
#STEP\\
#PARM\\
ANGLE_UNIT radian;\\
FREQ_UNIT GHz;\\
LONG_UNIT mm;\\
TIME_UNIT ns;\\
DELTA 1.8035;\\
TIME 0.; 45.0;\\
X_MIN 0.0;\\
X_MAX 788.1295;\\
Y_MIN 0.0;\\
Y_MAX 82.961;\\
FREQ Freq__;\\
#END_PARM\\
#TOPOLOGY\\
BLOCK 1;\\ ! волновод: нижняя стенка
RECT_STAT METAL; 0.0; 788.1295; 3.607; 5.4105;\\
END_B\\
BLOCK 2;\\ ! волновод: верхняя стенка
RECT_STAT METAL; 0.0; 788.1295; 77.5505; 79.354;\\
END_B\\
BLOCK 3;\\ ! плазма — концентрация N = 111636423300000000 м^-3
RECT_STAT_N 111636423300000000.0; 384.1455; 403.984; 5.4105; 77.5505;\\
END_B\\
BLOCK 6;\\ ! плазма — подмагничивание B = 0.05358578191 Тл, блок ровно по плазме
RECT_STAT_B 0.05358578191; 384.1455; 403.984; 5.4105; 77.5505;\\
END_B\\
BLOCK 4;\\ ! вход 1 — АКТИВНЫЙ
INPUT_X ; 5.4105; 77.5505; 0; 45; 1; 0;\\
END_B\\
BLOCK 5;\\ ! вход 2 — пассивный
INPUT_X ; 5.4105; 77.5505; 90; 135; 0; 0;\\
END_B\\
#END_TOPOLOGY\\
#LINK_LIST\\
T 1; 0.0; 0.0;\\
T 2; 0.0; 0.0;\\
T 3; 0.0; 0.0;\\
T 6; 0.0; 0.0;\\
T 4; 0.0; 0.0;\\
T 5; 788.1295; 0.0;\\
#END_LINK\\
#OUTPUT\\
FILE Tfile__;\\
SMATRIX Sfile__; Freq__; 33.75; 45.0;\\
#END_OUTPUT\\
#END_STEPMagnetized plasma
Layer with N and B: X-mode opacity bands
| Parameter | Value |
|---|---|
| Library section | Media, plasma, RCS |
| Kernel | PlanarRT X (planarrt_x.exe) |
| Source | cold magnetized plasma, X-mode |
| Mesh | 437 × 46 nodes, step 1.8035 mm |
| Task time | 45 ns of model time, steps: 21 |
| Run duration | about 53 s on a six-core PC, without field output |
Problem statement
The same setup as in laboratory work Lab 2: a plasma layer in a waveguide, magnetized by a field B perpendicular to the plane. The X-mode has two opacity bands: below fL and between fUH and fR. All characteristic frequencies are in the datasheet.
Magnetization acts only in the region with density, so N and B are assigned to the same shape.
- Magnetization acts only where there is density: therefore N and B are assigned to one shape.
- The B block here matches the plasma exactly rather than being wider: an edge layer N/2 with full B would resonate at 2.598 GHz, inside the band.
Theoretical background
A cold collisionless plasma is defined by the electron density , which sets the plasma frequency, and by the magnetising field , which sets the electron cyclotron frequency:
In the PlanarRT X kernel (X-mode) the plasma current is computed directly in the time domain, so the dispersion of the medium is accounted for automatically: the same plasma block is valid at any frequency.
In a magnetic field the X-mode has two cutoffs and the upper hybrid resonance:
With GHz and GHz this gives , , GHz. The wave is opaque at and in the band . Magnetisation acts only where the density is present, so and are assigned to the same shape.
Sample datasheet. The values that TPL Designer computes by formulas for the default parameters.
| Quantity | Value |
|---|---|
| Waveguide | WR-284 / R32, a = 72.14 mm |
| Plasma | N = 111636423274660928 m^-3, B = 0.05359 T, layer 19.84 mm |
| fp / fce | 3 / 1.5 GHz |
| X-mode cutoffs fL / fR | 2.342 / 3.842 GHz |
| Upper hybrid fUH | 3.354 GHz |
| Opaque for the X-mode | f < 2.342 GHz and 3.354 < f < 3.842 GHz |
Creating the task file
The sample is built into TPL Designer, so there is nothing to download. Follow the steps in order.
- Start TPL Designer. On the start screen, in the Take a sample card, click Open library.
- Choose the Media, plasma, RCS section on the left and click the Magnetized plasma tile in the gallery. The sample card with its datasheet and parameters opens on the right.

- Keep the default parameters: all the numbers on this page were obtained for them. Changed values can be reset with Restore defaults.
- Click Open in editor. The task opens in the five-section wizard; the section list is on the left.
- Open the Geometry section. The canvas shows what the kernel will compute: metal walls, ports, dielectric or plasma. A green icon marks the active port and a red one the passive port. Double-click an object to open its properties.

- If you want to view the field in FieldView, open the Output section and tick Export topology (.tt file) and Export fields (.ex, .ey, .hz files), option only at the first step. Field output slows the calculation several times, so it is off in the samples unless a task requires it.
- Open the Check section. The left side shows the summary, the right side shows the task file text, and the strip at the bottom reports that there are no issues.

- Click Create task file and choose an empty folder. It will contain these files:
plmag.tpl,plmag_step.h.
Running the calculation
- Start PlanarRT X (
planarrt_x.exe). - Click
Open or press Ctrl+Oand chooseplmag.tplin the folder you created. If the status bar showsStep:1;Error:no, the task was read correctly. - Click
Run or press F5. The kernel computes all task steps (21); on a six-core PC this takes about 53 s. - 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, or old points will mix with new ones.
Viewing the results
Scattering matrix. Click
View S-matrix: TMCGROUT opens with the curve of the first element. It shows VSWR; to see magnitudes press Ctrl+H and choose "Y-scale" → "|S|", and add other elements with Ctrl+D.

Port signals. Click
View output: TMCROS opens with the .t file.

Field. If you enabled field output in step 6, click
View field and topology: FieldView opens. It saves animations with the export command.
Results




Computed numbers: values at the range edges, mid-range and at the best match.
| Frequency, GHz | |S11|, dB | |S21|, dB |
|---|---|---|
| 2.6 | -4.51 | -1.9 |
| 3.005 | -26.92 | -0.01 |
| 3.275 | -4.26 | -2.1 |
| 3.95 | -3.66 | -2.44 |
Field animation
Discussion
The transmission curve follows the structure of the theory: good transparency at 3.0 GHz ( dB) and a deep dip of −22 dB near 3.41 GHz, just past , inside the marked opaque band. At 3.95 GHz, above , transmission is back to −2.4 dB. An important detail shows on the balance plot: at 3.34 GHz the sum falls to 0.61. This point lies on the upper hybrid resonance. The collisionless medium apparently stores energy in the slab here, and the sampling window does not account for it. Away from the resonance the balance is unity.
Task file
TPL Designer shows this text in the Check section. The file is written in the CP1251 encoding.
plmag.tpl
#TMC_RT_H
! Task generated by TPL Designer.
! Magnetized plasma layer in waveguide WR-284 / R32: fp = 3 GHz, fce = 1.5 GHz.
! Kernel: tmc_rtx (X-mode)
! Delete plmag.s before the run -- it is appended to, not overwritten.
#include plmag_step.h
plmagstep 2.6; plmag_f2p6; plmag;
plmagstep 2.668; plmag_f2p668; plmag;
plmagstep 2.735; plmag_f2p735; plmag;
plmagstep 2.803; plmag_f2p803; plmag;
plmagstep 2.87; plmag_f2p87; plmag;
plmagstep 2.938; plmag_f2p938; plmag;
plmagstep 3.005; plmag_f3p005; plmag;
plmagstep 3.073; plmag_f3p073; plmag;
plmagstep 3.14; plmag_f3p14; plmag;
plmagstep 3.208; plmag_f3p208; plmag;
plmagstep 3.275; plmag_f3p275; plmag;
plmagstep 3.343; plmag_f3p343; plmag;
plmagstep 3.41; plmag_f3p41; plmag;
plmagstep 3.478; plmag_f3p478; plmag;
plmagstep 3.545; plmag_f3p545; plmag;
plmagstep 3.613; plmag_f3p613; plmag;
plmagstep 3.68; plmag_f3p68; plmag;
plmagstep 3.748; plmag_f3p748; plmag;
plmagstep 3.815; plmag_f3p815; plmag;
plmagstep 3.883; plmag_f3p883; plmag;
plmagstep 3.95; plmag_f3p95; plmag;
#EOFplmag_step.h
! ==========================================================================
! plmag_step.h -- macro definitions of the computation steps.
! Included with the line #include plmag_step.h and must lie NEXT TO the .tpl
!
! TWO backslashes at the end of a line = "the macro text continues below".
! The LAST line of the macro has NO continuation -- that marks the end.
! ==========================================================================
#define plmagstep Freq__; Tfile__; Sfile__; @\\
#STEP\\
#PARM\\
ANGLE_UNIT radian;\\
FREQ_UNIT GHz;\\
LONG_UNIT mm;\\
TIME_UNIT ns;\\
DELTA 1.8035;\\
TIME 0.; 45.0;\\
X_MIN 0.0;\\
X_MAX 788.1295;\\
Y_MIN 0.0;\\
Y_MAX 82.961;\\
FREQ Freq__;\\
#END_PARM\\
#TOPOLOGY\\
BLOCK 1;\\ ! waveguide: bottom wall
RECT_STAT METAL; 0.0; 788.1295; 3.607; 5.4105;\\
END_B\\
BLOCK 2;\\ ! waveguide: top wall
RECT_STAT METAL; 0.0; 788.1295; 77.5505; 79.354;\\
END_B\\
BLOCK 3;\\ ! plasma -- density N = 111636423300000000 m^-3
RECT_STAT_N 111636423300000000.0; 384.1455; 403.984; 5.4105; 77.5505;\\
END_B\\
BLOCK 6;\\ ! plasma -- magnetization B = 0.05358578191 T, block exactly over the plasma
RECT_STAT_B 0.05358578191; 384.1455; 403.984; 5.4105; 77.5505;\\
END_B\\
BLOCK 4;\\ ! port 1 -- ACTIVE
INPUT_X ; 5.4105; 77.5505; 0; 45; 1; 0;\\
END_B\\
BLOCK 5;\\ ! port 2 -- passive
INPUT_X ; 5.4105; 77.5505; 90; 135; 0; 0;\\
END_B\\
#END_TOPOLOGY\\
#LINK_LIST\\
T 1; 0.0; 0.0;\\
T 2; 0.0; 0.0;\\
T 3; 0.0; 0.0;\\
T 6; 0.0; 0.0;\\
T 4; 0.0; 0.0;\\
T 5; 788.1295; 0.0;\\
#END_LINK\\
#OUTPUT\\
FILE Tfile__;\\
SMATRIX Sfile__; Freq__; 33.75; 45.0;\\
#END_OUTPUT\\
#END_STEP