PlanarRT X — счётное ядро (X-мода, плазма). Руководство пользователя

Программа: PlanarRT X, файл planarrt_x.exe. Пакет TMC Suite 5.0 для Windows x64, новый интерфейс (тёмная тема). Заголовок окна: «Анализатор Planar RT X-mode».

Прежняя версия с интерфейсом MFC (tmc_rtx.exe) считает по тем же алгоритмам: результаты совпадают побайтно (в отдельных заданиях возможно отличие лишь в последнем двоичном разряде фазы). Её окна здесь не описываются.

Окна, меню и кнопки у PlanarRT X те же, что у PlanarRT H. Они подробно описаны в руководстве PlanarRT H; здесь — снимки X-ядра, ссылки на нужные разделы и всё, чем X-ядро отличается.

Изменения X-ядра по исправлениям 26.10.2026 (версия 5.1) — в разделе 8 и в История изменений.

Исправления 29.10.2026 (по ответам автора) — в разделах 8.2, 8.3, 8.6 (раздел 8) и в История изменений.


Содержание

  1. Назначение программы
  2. Запуск программы и открытие задания
  3. Главное окно
  4. Панель инструментов
  5. Меню
  6. Окна программы
  7. Чем X-ядро отличается от H-ядра
  8. Входной язык: плазма и магнитное поле
  9. Поле, видеокарта, многочастотный и пакетный расчёт
  10. Типичные задачи по шагам
  11. Частые вопросы и ошибки
  12. Связанные документы
  13. Чек-лист снимков экрана

1. Назначение программы

PlanarRT X — второе счётное ядро пакета TMC Suite. В окне «О программе» его назначение сформулировано так: «Счётное ядро, реализующее 4-параметрический алгоритм анализа рассеяния электромагнитных волн Е поляризации от неоднородной подмагниченной плазмы».

Как и H-ядро, оно рассчитывает распространение и рассеяние волны во временно́й области по текстовому заданию .tpl, но дополнительно умеет учитывать в расчётной области:

  • плазму — концентрацию электронов N (блоки с суффиксом _N);
  • постоянное магнитное поле — индукцию B (блоки с суффиксом _B);
  • сеточные потери Y (блоки с суффиксом _Y);
  • проводимость σ — потери в физических единицах, См/м (блоки с суффиксом _S).

Обычные элементы — металл, магнитная стенка, поглотитель, диэлектрик (ε), входы — задаются так же, как в H-ядре. Результаты (.t, .s, .tt, .ex, .AMP/.FAZ, .DAT) имеют те же форматы и открываются теми же программами просмотра: TMCROS, TMCGROUT, TMC_DN, FieldView. FieldView показывает для X-заданий также слой ε и плазму (N, Y, B) — см. FieldView.

Термины шаг (секция #STEP) и такт (шаг по времени) — как в H-ядре: planar_rt_h.md, раздел 1.

Научная формулировка (докторская диссертация К. Н. Климова, 2007, раздел 9.3): ядро реализует четырёхпараметрический алгоритм анализа рассеяния электромагнитных волн E-поляризации от неоднородной подмагниченной плазмы во временной области. «X» в названии — необыкновенная (extraordinary) волна: волна E-поляризации, распространяющаяся поперёк внешнего магнитного поля. Напряжение узла сетки X-ядра соответствует магнитному полю H_z (схема дуальна физической, (3.29) диссертации); поэтому блок METAL X-ядра (узел обнуляется, H_z = 0) для волн E физически является магнитной стенкой, а блок MAGNETIC (холостой ход, ∂H_z/∂n = 0) — металлом.


2. Запуск программы и открытие задания

Вариант установки Где planarrt_x.exe Как запустить
Установщик TMC_Suite_5.0_Qt6_Setup.exe по умолчанию C:\Program Files\TMC Suite Qt\ (при установке «только для меня» — %LOCALAPPDATA%\Programs\TMC Suite Qt\) меню «Пуск» → TMC Suite → PlanarRT X — расчёт (X-мода, плазма); ярлык PlanarRT X на рабочем столе, если он был выбран при установке
Без установки — папка TMC_Suite_Qt6_win64 в самой папке двойной щелчок по planarrt_x.exe

Открытие задания, работа с несколькими заданиями, запуск из командной строки и выход — так же, как в H-ядре: planar_rt_h.md, раздел 2.

planarrt_x.exe "C:\работа\плазма.tpl"

Файл задания X-ядра начинается той же строкой #TMC_RT_H, что и у H-ядра: отдельной сигнатуры для X нет. Поэтому одно и то же задание без плазменных блоков открывается обоими ядрами.

Пример для знакомства — samples/DEMO/PlanarRT_X/demo_x.tpl (папка samples лежит в папке программы, см. Знакомство с пакетом). В нём закомментированы примеры подвижного блока, диэлектрической линзы, заданной формулой, и второго входа.


3. Главное окно

Главное окно PlanarRT X с открытым заданием
Главное окно PlanarRT X с открытым заданием

Зоны окна — те же, что у H-ядра: заголовок, меню, панель инструментов, рабочая область (только фон), строка состояния. Описание — planar_rt_h.md, раздел 3.

Окно во время расчёта задания из двух шагов: слева в строке состояния — полоса хода и подпись «Шаг 2 из 2 · Расчёт 64%», дальше — «Расчёт шага 2», такт и время (nT:2500;Время:5.9ns), что выводится и на чём идёт счёт:

Главное окно PlanarRT X во время расчёта
Главное окно PlanarRT X во время расчёта

Строка состояния во время расчёта и после его окончания («Готово», полоса заполнена):

Строка состояния PlanarRT X во время расчёта
Строка состояния PlanarRT X во время расчёта
Строка состояния PlanarRT X после расчёта
Строка состояния PlanarRT X после расчёта

Части строки и их смысл — те же, что у H-ядра: planar_rt_h.md, раздел 3.1 «Строка состояния» и раздел 3.2 «Ход расчёта». Полоса хода и в X-ядре заполняется один раз за весь расчёт, сколько бы шагов ни было в задании.

В строку состояния X-ядро выводит также предупреждения о сочетании диэлектрика, плазмы и магнитного поля в одних узлах (раздел 8.3).


4. Панель инструментов

Панель инструментов PlanarRT X
Панель инструментов PlanarRT X

Те же 23 кнопки, в том же порядке и с теми же клавишами, что у H-ядра. Таблица всех кнопок, значение зелёных и красных кружков-индикаторов — planar_rt_h.md, раздел 4.

Кратко по группам (слева направо):

Группа Кнопки
Задание Новое задание (TPL Designer), Открыть
Правка и программы просмотра Правка во внешнем редакторе; Показать выходной сигнал, поле и топологию, S-матрицу, диаграмму направленности
Статистика Окно статистики
Расчёт Загрузить первый шаг, Запуск, Стоп, Шаг расчёта, Загрузить шаг, Пропустить шаг, Шаг назад
Вывод Вывод топологии, Вывод поля, Синхронизация, Экспорт в файл диаграммы направленности
Режимы Звуковое сопровождение, Пакетный режим
Прочее Печать, О программе

5. Меню

Пункты меню X-ядра совпадают с H-ядром; описание каждого пункта — по ссылкам.

5.1. Файл

Меню «Файл» PlanarRT X
Меню «Файл» PlanarRT X

Описание — planar_rt_h.md, раздел 5.1.

5.2. Правка

Меню «Правка» PlanarRT X
Меню «Правка» PlanarRT X

Описание — planar_rt_h.md, раздел 5.2.

5.3. Вид

Меню «Вид» PlanarRT X
Меню «Вид» PlanarRT X

Описание — planar_rt_h.md, раздел 5.3. Пункт «Диаграмма направленности» в текущей версии X-ядра работает так же, как в H-ядре.

5.4. Расчёт

Меню «Расчёт» PlanarRT X
Меню «Расчёт» PlanarRT X

Описание — planar_rt_h.md, раздел 5.4.

5.5. Настройки

Меню «Настройки» PlanarRT X
Меню «Настройки» PlanarRT X

Описание всех пунктов и подменю — planar_rt_h.md, раздел 5.5.

Подменю X-ядра:

Подменю «Language / Язык»
Подменю «Language / Язык»
Подменю «Вьюверы»
Подменю «Вьюверы»
Подменю «Цвет»
Подменю «Цвет»
Подменю «Формат»
Подменю «Формат»
Подменю «Звук»
Подменю «Звук»

Настройки X-ядра (внешний редактор, программы просмотра, цвет фона, форматы вывода, мелодии) хранятся отдельно от настроек H-ядра. Язык интерфейса и настройка расчёта на видеокарте — общие для всего пакета.

Подменю «Language / Язык» стоит в меню «Настройки» (в английском интерфейсе — Config) сразу после пункта «Расчёт на видеокарте...»; пункты — «System / Как в системе», «Русский», «English». Язык меняется сразу во всех окнах X-ядра; другие программы пакета, уже открытые в этот момент, перейдут на новый язык при следующем запуске (overview.md, раздел 6.2).

5.6. Окно

Меню «Окно» PlanarRT X
Меню «Окно» PlanarRT X

Описание — planar_rt_h.md, раздел 5.6.

5.7. Справка

Меню «Справка» PlanarRT X
Меню «Справка» PlanarRT X

Единственный пункт — «О программе PlanRT_X...».


6. Окна программы

6.1. О программе

Окно «О программе PlanarRT_X»
Окно «О программе PlanarRT_X»

Элементы окна — как у H-ядра (planar_rt_h.md, раздел 6.1). Отличаются значок, название PlanarRT_X и описание: «Счётное ядро, реализующее 4-параметрический алгоритм анализа рассеяния электромагнитных волн Е поляризации от неоднородной подмагниченной плазмы».

Кнопка «Руководство пользователя» работает так же, как у H-ядра: открывает PDF руководства на языке интерфейса, если он лежит рядом с программой (метка «PDF»), иначе — руководство на сайте (метка «НА САЙТЕ»).

6.2. Статистика

Окно «Статистика» PlanarRT X
Окно «Статистика» PlanarRT X

Все поля и кнопки — как у H-ядра: planar_rt_h.md, раздел 6.2. На снимке — задание demo_x.tpl с той же сеткой, что у demo_h.tpl, поэтому числа совпадают со снимком H-ядра.

Оценка «Память (МБ)» в X-ядре считается по своей формуле: 12 вещественных чисел на узел сетки (96 байт при двойной точности) — так же, как в разделе 9.4 диссертации К. Н. Климова (2007). Точное значение — строка Peak memory отчёта «Время расчёта».

6.3. Время расчёта

Окно «Время расчёта» PlanarRT X
Окно «Время расчёта» PlanarRT X

Устройство отчёта — planar_rt_h.md, раздел 6.3. Отличия X-ядра видны на снимке: в строке Kernel — PlanarRT_X, а в строке Compute порог видеокарты — 60 000 узлов (у H-ядра 150 000). Файл отчёта называется <задание>.timing_X_win64.txt.

6.4. Остальные окна

Окно Описание
Блок (список блоков) planar_rt_h.md, раздел 6.4. Для плазменных блоков в поле «Тип» стоит ключевое слово с суффиксом (RECT_STAT_N, RECT_STAT_B, RECT_STAT_Y).
Формат файла выходных данных planar_rt_h.md, раздел 6.5
Звуковые эффекты (мелодия) planar_rt_h.md, раздел 6.6
Расчёт на видеокарте planar_rt_h.md, раздел 6.7; подробно — Расчёт на видеокарте
Выбор внешней программы planar_rt_h.md, раздел 6.8
Сообщения программы planar_rt_h.md, раздел 6.9

7. Чем X-ядро отличается от H-ядра

Свойство PlanarRT H PlanarRT X
Файл программы planarrt_h.exe planarrt_x.exe
Заголовок окна «Анализатор Planar RT H» «Анализатор Planar RT X-mode»
Что рассчитывает (по окну «О программе») H-плоскостные планарные волноводные СВЧ устройства, метод Rt-сеток рассеяние волн Е-поляризации от неоднородной подмагниченной плазмы, 4-параметрический алгоритм
Первая строка задания #TMC_RT_H #TMC_RT_H (та же)
Плазменные блоки _N, _B, _Y, блоки проводимости _S, плазма из файла FILE_N, FILE_B, FILE_Y нет (блоки _S и FILE_N/_B/_Y — ошибка «Unknow type block») есть (раздел 8)
Добавка ε, близкая к 4 (отличие меньше 0,004) считается как задана сдвигается до 3,996 или 4,004 (раздел 8.2)
Память на узел сетки (измерено) около 32 байт около 96 байт
Порог расчёта на видеокарте 150 000 узлов 60 000 узлов
Отчёт /Time <задание>.timing_H_win64.txt <задание>.timing_X_win64.txt
Окна, меню, кнопки, клавиши — те же, что у H
Выходные файлы и программы просмотра — те же, что у H

Практическое следствие: при одной и той же сетке X-ядро требует примерно втрое больше памяти, чем H-ядро. Перед большим расчётом проверьте число узлов в окне «Статистика» (NumNode) и умножьте его на 96 байт.


8. Входной язык: плазма и магнитное поле

Язык заданий у обоих ядер общий; полный справочник — Файл задания .tpl, плазменные примитивы — его раздел 5.7. Здесь — то, что относится только к X-ядру.

8.1. Плазменные блоки и блоки потерь

Суффикс Примитивы Величина Единица
_N RECT_STAT_N, CIRCLE_STAT_N, POLYGON_STAT_N, FILE_N Концентрация электронов N м⁻³
_B RECT_STAT_B, CIRCLE_STAT_B, POLYGON_STAT_B, FILE_B Индукция постоянного магнитного поля B Тл
_Y RECT_STAT_Y, CIRCLE_STAT_Y, POLYGON_STAT_Y, FILE_Y Сеточные потери Y безразмерная сеточная величина
_S RECT_STAT_S, CIRCLE_STAT_S, POLYGON_STAT_S Проводимость σ (потери в физических единицах) См/м

Координаты и порядок параметров — как у соответствующего базового примитива (RECT_STAT и т. д.); вместо материала или выражения для ε пишется значение (или выражение) N, B, Y или σ. Все три формы (RECT, CIRCLE, POLYGON) равноправны: с 26.10.2026 CIRCLE_STAT_B/_Y и POLYGON_STAT_B/_Y читаются в свои величины (раньше молча шли в N).

Пример (прямоугольная область плазмы в магнитном поле):

 BLOCK 20;
  RECT_STAT_N 1.24e18; 100; 140; 20; 60;   ! плазма: концентрация электронов, 1/м^3
 END_B
 BLOCK 21;
  RECT_STAT_B 0.2; 99; 141; 19; 61;        ! магнитное поле, Тл (блок шире плазмы)
 END_B

Каждый блок, как обычно, нужно разместить в #LINK_LIST строкой T n; X0; Y0;.

8.2. Важные особенности

  • Единицы фиксированы: N — всегда м⁻³, B — всегда Тл, σ — См/м. Единицы длины секции #PARM относятся только к геометрии (Файл задания .tpl, раздел 4.10). С 29.10.2026 в секции #PARM допустимы только записи N_UNIT m3; и B_UNIT Tl;; другие единицы N и B — ошибка разбора (там же).
  • Значение на границе блока ополовинивается, в углу — делится на четыре — для всех величин (ε, N, B, Y, σ). Поэтому, если B на границе плазмы должно быть полным, блок B задавайте шире блока плазмы N. Совпадающие блоки B и N допустимы, но на границе будет B/2 — ложный резонансный слой. С 29.10.2026 вес узла одинаков для прямоугольника, круга и многоугольника (Файл задания .tpl, раздел 5.7.1).
  • Добавка ε, близкая к 4. Добавку ε, отличающуюся от 4 меньше чем на 0,004, X-ядро сдвигает до 3,996 или 4,004. Так задумано автором: без этого алгоритм расходится.
  • Потери в физических единицах — блоки *_STAT_S (с 26.10.2026): RECT_STAT_S σ; x1; x2; y1; y2;, CIRCLE_STAT_S, POLYGON_STAT_S — геометрия как у *_STAT_Y, значение σ в См/м. Ядро пересчитывает σ в сеточные потери Y = 2·dT·σ/ε₀ через шаг по времени dT (dT зависит от DELTA), поэтому одно и то же σ даёт одно и то же затухание на любой сетке. Блоки *_STAT_Y остаются как были: Y — сеточная величина, σ = Y·ε₀/(2·dT), и при вдвое меньшем DELTA то же Y даёт вдвое большее затухание. Проверка: слой σ = 0,1 См/м на 72 ГГц даёт |T| = 0,347 при DELTA 0,2 мм и 0,349 при 0,1 мм, теория — 0,355.
  • Потери без плазмы (ответ автора 29.10.2026). Потери Y (*_STAT_Y, FILE_Y — уже нормированная сеточная проводимость) и sigma (*_STAT_S, См/м) действуют и в узлах без плазмы — это среда с потерями, так задумано. Модель плазмы — без столкновений.
  • Плазма из файла (с 26.10.2026): FILE_N имя;, FILE_B имя;, FILE_Y имя; читают N, B, Y из файла распределения так же, как FILE имя; читает ε. Файл пишет блок с префиксом имени: RECT_STAT_N [имя]выражение; … (так же _B, _Y). FILE_N принимает файл, записанный RECT_STAT_N, или обычный файл RECT_STAT; файл другой величины (например, файл N в FILE_B) — ошибка с указанием причины. Раньше FILE_N/_B/_Y не работали (ошибка или значения молча уходили в ε). Подробно — Файл задания .tpl, раздел 5.7.4.
  • Подвижные блоки RECT_MOVE, CIRCLE_MOVE, POLYGON_MOVE ядро принимает; пример — в demo_x.tpl (закомментирован).

8.3. Диэлектрик, плазма и магнитное поле в одном узле

  • Положительная добавка ε и плазма N в одном узле — так делать не нужно. Ядро выдаёт предупреждение в консоль и в строку состояния. Такой узел считается как плазма, добавка ε в нём верна только на частоте FREQ. Если добавка больше плазменной части, эквивалентная концентрация отрицательна и расчёт этих узлов расходится — это предупреждение сообщает отдельно. Размещайте диэлектрик и плазму в разных узлах.
  • Отрицательная добавка ε без N — по-прежнему эквивалентная плазма.
  • Добавка Delta eps и плазма N, в сумме дающие ровно 0 (с 29.10.2026). Если в одном узле добавка диэлектрика и плазма в сумме дали ровно 0, узел считается вакуумом. Раньше такой узел давал NaN во всём поле.
  • Поле B в узле с положительной добавкой ε (без N) не используется — тоже предупреждение.

Текст предупреждений (на английском, как все сообщения ядра):

WARNING: <n> nodes have a positive addition of epsilon and the plasma N at once - such a node is
calculated as a plasma, the addition of epsilon is right only at FREQ ...
WARNING: <n> nodes have a positive addition of epsilon and the magnetic field B - B is not used
in a dielectric node (only in a plasma)

Предупреждение выводится один раз на шаг, с числом таких узлов; расчёт продолжается. После конца расчёта оно остаётся в строке состояния, слева — жёлтая надпись «Готово, есть предупреждения»:

Строка состояния X-ядра: предупреждение о добавке ε и плазме в одних узлах
Строка состояния X-ядра: предупреждение о добавке ε и плазме в одних узлах

8.4. Подмагниченная плазма (исправлено 26.10.2026)

Расчёт плазмы в магнитном поле B исправлен: знак коэффициента узла приведён к формуле (5.49) учебного пособия. Раньше поле B только ослабляло плазму, и у необыкновенной волны не было окон непрозрачности. Теперь непрозрачные области совпадают с теорией холодной плазмы — например, 72 ГГц, N = 2·10¹⁹ м⁻³, B = 1,8…2,1 Тл; 52 ГГц при B = 1 Тл. При B = 0 результат прежний.

Значения N и B в файле топологии .tt (для FieldView) восстанавливаются верно.

Результаты расчётов с B ≠ 0, полученные до 26.10.2026, следует пересчитать.

8.5. Плазма в многочастотном расчёте

Модель плазмы в ядре дисперсионная: частотная зависимость проницаемости плазмы учитывается на всех частотах полосы, а не только на FREQ (подтверждено автором). Поэтому многочастотный расчёт (Многочастотный расчёт) применим и к заданиям с плазмой. Расхождение со свипом по частотам уменьшается при измельчении сетки.

8.6. Порт плоской волны, поглотитель и стенка MAGNETIC (исправлено 29.10.2026)

  • Порт плоской волны (INPUT_X MAGNETIC, INPUT_Y MAGNETIC), у которого стенка MAGNETIC касается края порта. Раньше в X-ядре такой порт был рассогласован: |S11| не лучше 0,23. Теперь в общем узле стенки и порта остаётся значение порта, как в H-ядре, и X-ядро даёт те же числа, что H-ядро. Как расставлять стенки у порта плоской волны — Файл задания .tpl, раздел 5.5.
  • Поглотитель и стенка MAGNETIC в подмагниченной плазме. Их узлы теперь считаются по формуле (7.55) диссертации К. Н. Климова (2007) — со шлейфами y6, y7. Раньше они считались без этих шлейфов, как в неподмагниченной плазме; ошибка была первого порядка по шагу сетки.
  • Поглотитель в диэлектрике и в плазме (оба ядра): нагрузка поглотителя считается по среде каждого его узла; если волна в среде узла не распространяется, выдаётся предупреждение (Файл задания .tpl, раздел 5.1).

Проверка:

  • таблицы 9.4–9.5 диссертации (пластина с eps < 1, 40 ГГц) повторены X-ядром Qt6-версии до 4-го знака при шагах сетки 0,25 и 0,125 мм;
  • слой подмагниченной плазмы (необыкновенная волна, B поперёк плоскости): показатель преломления n сходится к точному значению со вторым порядком по шагу. При N = 5e18 м^-3, B = 0,6 Тл:
Шаг Delta, мм 0,25 0,125 0,0625
Ошибка показателя преломления n 0,0022 0,0008 0,0003

Расчёт на процессоре. Если подмагниченная плазма стоит у поглотителя или у стенки MAGNETIC, расчёт идёт на процессоре, даже если расчёт на видеокарте включён: на видеокарте такого узла нет. В строке состояния при этом выводится:

CPU (a magnetized plasma at an absorber or a MAGNETIC wall)

9. Поле, видеокарта, многочастотный и пакетный расчёт

Эти возможности работают в X-ядре так же, как в H-ядре:

Тема Где описано Отличие X-ядра
Поле во время расчёта, синхронизация с FieldView (TOPOLOGY; и FIELDS; в #OUTPUT) planar_rt_h.md, раздел 7; снимок совместной работы — FieldView/sync-with-kernel.png FieldView дополнительно показывает слой ε и плазму (N, Y, B)
Расчёт на видеокарте planar_rt_h.md, раздел 8, Расчёт на видеокарте порог — 60 000 узлов; подмагниченная плазма у поглотителя или стенки MAGNETIC — только на процессоре (раздел 8.6)
Многочастотный расчёт planar_rt_h.md, раздел 9, Многочастотный расчёт см. раздел 8.5
Пакетный режим, ключи /Ar, /Arb, /Time, /GPU, /CPU, коды возврата planar_rt_h.md, раздел 10, Работа без окон программа — planarrt_x.exe
Новое задание в TPL Designer planar_rt_h.md, раздел 11, TPL Designer —
Входные и выходные файлы planar_rt_h.md, раздел 12 отчёт /Time — *.timing_X_win64.txt

Пример пакетного запуска:

"C:\Program Files\TMC Suite Qt\planarrt_x.exe" "C:\работа\плазма.tpl" /Ar /Time

Задания с плазмой часто содержат много шагов (свип по частоте). Для таких расчётов уберите из #OUTPUT каждого шага строки FIELDS; и TOPOLOGY; — вывод поля во много раз увеличивает время расчёта.


10. Типичные задачи по шагам

10.1. Первый расчёт в X-ядре

  1. Запустите PlanarRT X.
  2. Файл → Открыть... → samples/DEMO/PlanarRT_X/demo_x.tpl.
  3. Проверьте строку состояния: Шаг:1;Error:no.
  4. Нажмите Запуск (F5). Дождитесь «Готово».
  5. Откройте результаты кнопками «Показать выходной сигнал» (Alt+Shift+F4) и «Показать диаграмму направленности» (Ctrl+Alt+F4).

10.2. Расчёт рассеяния на плазме

  1. Подготовьте задание (вручную или в TPL Designer): область, входы, поглотители и блок RECT_STAT_N с концентрацией электронов; при необходимости — блок RECT_STAT_B, шире блока N (раздел 8.2). Не задавайте в тех же узлах положительную добавку ε (раздел 8.3).
  2. Разместите все блоки в #LINK_LIST.
  3. В #OUTPUT задайте FILE, SMATRIX (частота — та же, что FREQ; окно — на установившемся участке) и, если нужно смотреть поле, TOPOLOGY;, FIELDS;.
  4. Откройте задание в PlanarRT X, проверьте «Статистика» (Shift+F4): число узлов, «Длина волны / Delta», число тактов.
  5. Удалите старый файл .s, если он есть, и нажмите Запуск (F5).
  6. После «Готово» проверьте строку состояния (нет ли предупреждений) и откройте S-матрицу (Ctrl+Shift+F4) в TMCGROUT.

10.3. Посмотреть плазму и поле в FieldView

  1. В #OUTPUT должны быть TOPOLOGY; и FIELDS;.
  2. Включите «Синхронизация», нажмите «Показать поле и топологию», в FieldView включите «Следить за расчётом», в ядре — «Запуск». Подробно — planar_rt_h.md, раздел 7.

10.4. Задать потери в физических единицах

  1. Вместо блока RECT_STAT_Y задайте блок RECT_STAT_S с проводимостью σ в См/м, например RECT_STAT_S 0.1; x1; x2; y1; y2;.
  2. Разместите блок в #LINK_LIST.
  3. При смене DELTA значение σ менять не нужно: ядро само пересчитывает его в сеточные потери.

11. Частые вопросы и ошибки

Общие ситуации (ошибки в задании, серые кнопки, долгий расчёт, лишние точки в .s) — planar_rt_h.md, раздел 14. Для X-ядра дополнительно:

Ситуация Причина и что делать
Плазменный блок «не действует» Проверьте суффикс (RECT_STAT_N, а не RECT_STAT), единицы (м⁻³, Тл) и строку блока в #LINK_LIST. Блок B без плазмы N на расчёт не влияет.
Задание с плазмой открыто в H-ядре Плазменные блоки рассчитывает только PlanarRT X. Для блоков *_STAT_S и FILE_N/_B/_Y H-ядро выдаёт ошибку «Unknow type block». Откройте задание в planarrt_x.exe.
Не хватает памяти X-ядру нужно около 96 байт на узел сетки — втрое больше, чем H-ядру; оценка в «Статистике» эту разницу не учитывает. Увеличьте DELTA или уменьшите область.
Ложный резонансный слой на краю плазмы при B ≠ 0 Блоки B и N совпадают — на границе действует B/2. Сделайте блок B шире блока N (раздел 8.2).
Предупреждение WARNING: … positive addition of epsilon and the plasma N …, поле растёт, расчёт расходится В одних и тех же узлах заданы положительная добавка ε и плазма. Разнесите диэлектрик и плазму по разным узлам (раздел 8.3).
Предупреждение WARNING: … positive addition of epsilon and the magnetic field B … B задано в узлах диэлектрика без плазмы и там не используется. Ограничьте блок B областью плазмы (с запасом по краю) (раздел 8.3).
Ошибка bad type of the file … for block … В блок FILE_N/FILE_B/FILE_Y подан файл другой величины. Запишите файл блоком нужной величины (RECT_STAT_N [имя]… и т. д.).
Затухание в слое *_STAT_Y изменилось после смены DELTA Y — сеточная величина: при вдвое меньшем DELTA то же Y даёт вдвое большее затухание. Задавайте потери блоком *_STAT_S (σ в См/м).
Результаты с B ≠ 0 отличаются от полученных до 26.10.2026 Исправлен знак коэффициента подмагниченной плазмы (раздел 8.4). Новые результаты совпадают с теорией холодной плазмы.
Результаты с портом плоской волны (стенка MAGNETIC касается края порта) или с подмагниченной плазмой у поглотителя или стенки MAGNETIC отличаются от полученных до 29.10.2026 Исправлены согласование такого порта и расчёт этих узлов (раздел 8.6).
Предупреждение WARNING: N absorber nodes are in a medium where the wave does not propagate ... Поглотитель стоит в среде, где волна на этой сетке не распространяется (плотная плазма, eps < 0), и там не поглощает. Вынесите поглотитель из этой среды (Файл задания .tpl, раздел 5.1).
Задание посчиталось на процессоре, хотя видеокарта включена Сетка меньше 60 000 узлов — так задумано. Причина — в строке Compute отчёта «Время расчёта». Другая причина — подмагниченная плазма у поглотителя или стенки MAGNETIC: в строке состояния CPU (a magnetized plasma at an absorber or a MAGNETIC wall) (раздел 8.6).

12. Связанные документы


PlanarRT X — compute kernel (X-mode, plasma). User manual

Program: PlanarRT X, file planarrt_x.exe. The TMC Suite 5.0 package for Windows x64, new interface (dark theme). Window title: Planar RT X-mode analyzer.

The previous version with the MFC interface (tmc_rtx.exe) computes with the same algorithms: the results match byte for byte (in some task files a difference is possible only in the last binary digit of the phase). Its windows are not described here.

The windows, menus and buttons of PlanarRT X are the same as those of PlanarRT H. They are described in detail in the manual PlanarRT H; here — screenshots of the X kernel, links to the relevant sections and everything in which the X kernel differs.

Changes to the X kernel after the fixes of 26.10.2026 (version 5.1) — in Section 8 and in Changelog.

Fixes of 29.10.2026 (following the author's answers) — in Sections 8.2, 8.3, 8.6 (Section 8) and in Changelog.


Contents

  1. Purpose of the program
  2. Starting the program and opening a task file
  3. Main window
  4. Toolbar
  5. Menus
  6. Program windows
  7. How the X kernel differs from the H kernel
  8. Input language: plasma and magnetic field
  9. Field, video card, multi-frequency and batch computation
  10. Typical tasks step by step
  11. Frequently asked questions and errors
  12. Related documents
  13. Screenshot checklist

1. Purpose of the program

PlanarRT X is the second compute kernel of the TMC Suite package. In the About dialog its purpose is stated as follows: "Computational kernel implementing a four-parameter algorithm for scattering analysis of E‑polarized electromagnetic waves by inhomogeneous magnetized plasma."

Like the H kernel, it computes the propagation and scattering of a wave in the time domain from a .tpl text task file, but in addition it can take into account in the computational region:

  • plasma — the electron density N (blocks with the _N suffix);
  • a static magnetic field — the magnetic flux density B (blocks with the _B suffix);
  • grid losses Y (blocks with the _Y suffix);
  • conductivity σ — losses in physical units, S/m (blocks with the _S suffix).

Ordinary elements — metal, magnetic wall, absorber, dielectric (ε), ports — are specified in the same way as in the H kernel. The results (.t, .s, .tt, .ex, .AMP/.FAZ, .DAT) have the same formats and are opened by the same viewers: TMCROS, TMCGROUT, TMC_DN, FieldView. For X task files FieldView also shows the ε layer and the plasma (N, Y, B) — see FieldView.

The terms step (a #STEP section) and time step are used as in the H kernel: planar_rt_h.md, Section 1.

Scientific formulation (K. N. Klimov's doctoral dissertation, 2007, Sec. 9.3): the kernel implements a four-parameter algorithm for the analysis of scattering of E-polarized electromagnetic waves by inhomogeneous magnetized plasma in the time domain. The "X" in the name stands for the extraordinary wave: an E-polarized wave propagating across the external magnetic field. The voltage of an X-kernel grid node corresponds to the magnetic field H_z (the circuit is dual to the physical one, (3.29) of the dissertation); therefore the METAL block of the X kernel (the node is set to zero, H_z = 0) is physically a magnetic wall for E waves, and the MAGNETIC block (open circuit, ∂H_z/∂n = 0) is metal.


2. Starting the program and opening a task file

Installation variant Where planarrt_x.exe is How to start it
The TMC_Suite_5.0_Qt6_Setup.exe installer by default C:\Program Files\TMC Suite Qt\ (for a "just for me" installation — %LOCALAPPDATA%\Programs\TMC Suite Qt\) Start menu → TMC Suite → PlanarRT X — solver (X-mode, plasma); the PlanarRT X desktop shortcut, if it was selected during installation
Without installation — the TMC_Suite_Qt6_win64 folder in the folder itself double-click planarrt_x.exe

Opening a task file, working with several task files, starting from the command line and exiting — the same as in the H kernel: planar_rt_h.md, Section 2.

planarrt_x.exe "C:\work\plasma.tpl"

A task file of the X kernel begins with the same #TMC_RT_H line as for the H kernel: there is no separate signature for X. Therefore the same task file without plasma blocks can be opened by both kernels.

An introductory example is samples/DEMO/PlanarRT_X/demo_x.tpl (the samples folder is in the program folder, see Getting started with the package). It contains commented-out examples of a moving block, a dielectric lens specified by a formula, and a second port.


3. Main window

PlanarRT X main window with an open task file
PlanarRT X main window with an open task file

The areas of the window are the same as in the H kernel: title bar, menu, toolbar, workspace (background only), status bar. Description — planar_rt_h.md, Section 3.

The window during the computation of a two-step task: on the left of the status bar — the progress bar and the label "Step 2 of 2 · Calculation 64%", then — "Run Step 2", the time step and the time (nT:2500;Time:5.9ns), what is being output and what the computation runs on:

PlanarRT X main window during a computation
PlanarRT X main window during a computation

The status bar during the computation and after it has finished ("Done", the bar is full):

PlanarRT X status bar during a computation
PlanarRT X status bar during a computation
PlanarRT X status bar after a computation
PlanarRT X status bar after a computation

The parts of the bar and their meaning are the same as in the H kernel: planar_rt_h.md, Section 3.1 "Status bar" and Section 3.2 "Computation progress". In the X kernel, too, the progress bar fills once for the whole computation, no matter how many steps the task file contains.

The X kernel also outputs to the status bar warnings about the combination of dielectric, plasma and magnetic field in the same nodes (Section 8.3).


4. Toolbar

PlanarRT X toolbar
PlanarRT X toolbar

The same 23 buttons, in the same order and with the same keys as in the H kernel. The table of all buttons and the meaning of the green and red indicator dots — planar_rt_h.md, Section 4.

Briefly by group (from left to right):

Group Buttons
Task file New task (TPL Designer), Open
Editing and viewers Extern edit; View output, View field and topology, View S-matrix, View Directional Pattern
Statistics View statistics dialog
Computation Load first step, Run, Stop, Run step, Load step, Skip step, Back step
Output Output topology, Output fields, Synchronization, Export to directional Pattern file
Modes Sound effect, Batch mode
Other Print, About

5. Menus

The menu items of the X kernel are the same as in the H kernel; the description of each item is available via the links.

5.1. File

The PlanarRT X File menu
The PlanarRT X File menu

Description — planar_rt_h.md, Section 5.1.

5.2. Edit

The PlanarRT X Edit menu
The PlanarRT X Edit menu

Description — planar_rt_h.md, Section 5.2.

5.3. View

The PlanarRT X View menu
The PlanarRT X View menu

Description — planar_rt_h.md, Section 5.3. The Directional Pattern item works in the current version of the X kernel in the same way as in the H kernel.

5.4. Run

The PlanarRT X Run menu
The PlanarRT X Run menu

Description — planar_rt_h.md, Section 5.4.

5.5. Config

The PlanarRT X Config menu
The PlanarRT X Config menu

Description of all items and submenus — planar_rt_h.md, Section 5.5.

Submenus of the X kernel:

The Language / Язык submenu
The Language / Язык submenu
The Viewer submenu
The Viewer submenu
The Color submenu
The Color submenu
The Format submenu
The Format submenu
The Sound submenu
The Sound submenu

The X kernel settings (external editor, viewers, background colour, output formats, melodies) are stored separately from the H kernel settings. The interface language and the GPU computing setting are shared by the whole package.

The Language / Язык submenu is in the Config menu right after the Compute (GPU)... item; its items are System / Как в системе, Русский, English. The language changes at once in all windows of the X kernel; other programs of the package that are already open at that moment will switch to the new language the next time they are started (overview.md, Section 6.2).

5.6. Window

The PlanarRT X Window menu
The PlanarRT X Window menu

Description — planar_rt_h.md, Section 5.6.

5.7. Help

The PlanarRT X Help menu
The PlanarRT X Help menu

The only item is About PlanRT_X....


6. Program windows

6.1. About

The About PlanarRT_X dialog
The About PlanarRT_X dialog

The elements of the dialog are as in the H kernel (planar_rt_h.md, Section 6.1). The differences are the icon, the name PlanarRT_X and the description: "Computational kernel implementing a four-parameter algorithm for scattering analysis of E‑polarized electromagnetic waves by inhomogeneous magnetized plasma."

The User Manual button works in the same way as in the H kernel: it opens the PDF of the manual in the interface language if it is next to the program (the "PDF" label), otherwise the online manual (the "ONLINE" label).

6.2. Statistics

The PlanarRT X Statistics window
The PlanarRT X Statistics window

All fields and buttons are as in the H kernel: planar_rt_h.md, Section 6.2. The screenshot shows the demo_x.tpl task with the same grid as demo_h.tpl, so the numbers coincide with the H kernel screenshot.

The Memory MB estimate in the X kernel is calculated by its own formula: 12 real numbers per grid node (96 bytes in double precision) — the same as in Sec. 9.4 of K. N. Klimov's dissertation (2007). The exact value is the Peak memory line of the Calculation time report.

6.3. Calculation time

The PlanarRT X Calculation time window
The PlanarRT X Calculation time window

The structure of the report — planar_rt_h.md, Section 6.3. The differences of the X kernel are visible in the screenshot: the Kernel line shows PlanarRT_X, and in the Compute line the video card threshold is 60 000 nodes (150 000 for the H kernel). The report file is named <task>.timing_X_win64.txt.

6.4. Other windows

Window Description
Block (block list) planar_rt_h.md, Section 6.4. For plasma blocks the Type field shows the keyword with a suffix (RECT_STAT_N, RECT_STAT_B, RECT_STAT_Y).
Set format for output data file planar_rt_h.md, Section 6.5
Sound Effects (melody) planar_rt_h.md, Section 6.6
Calculation on the video card planar_rt_h.md, Section 6.7; in detail — GPU computing
Selecting an external program planar_rt_h.md, Section 6.8
Program messages planar_rt_h.md, Section 6.9

7. How the X kernel differs from the H kernel

Property PlanarRT H PlanarRT X
Program file planarrt_h.exe planarrt_x.exe
Window title Planar RT H analyzer Planar RT X-mode analyzer
What it computes (according to the About dialog) H-plane planar waveguide microwave devices, the Rt-grid method scattering of E-polarized waves by inhomogeneous magnetized plasma, a four-parameter algorithm
First line of the task file #TMC_RT_H #TMC_RT_H (the same)
Plasma blocks _N, _B, _Y, conductivity blocks _S, plasma from a file FILE_N, FILE_B, FILE_Y no (the _S and FILE_N/_B/_Y blocks give the error "Unknow type block") yes (Section 8)
An ε increment close to 4 (differing by less than 0.004) computed as specified shifted to 3.996 or 4.004 (Section 8.2)
Memory per grid node (measured) about 32 bytes about 96 bytes
GPU computing threshold 150 000 nodes 60 000 nodes
/Time report <task>.timing_H_win64.txt <task>.timing_X_win64.txt
Windows, menus, buttons, keys — the same as in H
Output files and viewers — the same as in H

Practical consequence: with the same grid the X kernel requires about three times as much memory as the H kernel. Before a large computation, check the number of nodes in the Statistics window (NumNode) and multiply it by 96 bytes.


8. Input language: plasma and magnetic field

The task language is common to both kernels; the full reference is Task file .tpl, the plasma primitives are in its Section 5.7. Here — what applies only to the X kernel.

8.1. Plasma blocks and loss blocks

Suffix Primitives Quantity Unit
_N RECT_STAT_N, CIRCLE_STAT_N, POLYGON_STAT_N, FILE_N Electron density N m⁻³
_B RECT_STAT_B, CIRCLE_STAT_B, POLYGON_STAT_B, FILE_B Static magnetic flux density B T
_Y RECT_STAT_Y, CIRCLE_STAT_Y, POLYGON_STAT_Y, FILE_Y Grid losses Y dimensionless grid quantity
_S RECT_STAT_S, CIRCLE_STAT_S, POLYGON_STAT_S Conductivity σ (losses in physical units) S/m

The coordinates and the order of parameters are as for the corresponding base primitive (RECT_STAT, etc.); instead of a material or an expression for ε, the value (or expression) of N, B, Y or σ is written. All three forms (RECT, CIRCLE, POLYGON) are equivalent: since 26.10.2026 CIRCLE_STAT_B/_Y and POLYGON_STAT_B/_Y are read into their own quantities (previously they silently went into N).

Example (a rectangular plasma region in a magnetic field):

 BLOCK 20;
  RECT_STAT_N 1.24e18; 100; 140; 20; 60;   ! plasma: electron density, 1/m^3
 END_B
 BLOCK 21;
  RECT_STAT_B 0.2; 99; 141; 19; 61;        ! magnetic field, T (the block is wider than the plasma)
 END_B

As usual, each block must be placed in #LINK_LIST with a T n; X0; Y0; line.

8.2. Important specifics

  • The units are fixed: N is always in m⁻³, B always in T, σ in S/m. The length units of the #PARM section apply only to the geometry (Task file .tpl, Section 4.10). Since 29.10.2026 only the entries N_UNIT m3; and B_UNIT Tl; are allowed in the #PARM section; other units of N and B are a parsing error (ibid.).
  • The value on the boundary of a block is halved, and in a corner it is divided by four — for all quantities (ε, N, B, Y, σ). Therefore, if B must be full on the plasma boundary, make the B block wider than the plasma block N. Coinciding B and N blocks are allowed, but on the boundary there will be B/2 — a spurious resonance layer. Since 29.10.2026 the node weight is the same for a rectangle, a circle and a polygon (Task file .tpl, Section 5.7.1).
  • An ε increment close to 4. An ε increment that differs from 4 by less than 0.004 is shifted by the X kernel to 3.996 or 4.004. This is intended by the author: without it the algorithm diverges.
  • Losses in physical units — the *_STAT_S blocks (since 26.10.2026): RECT_STAT_S σ; x1; x2; y1; y2;, CIRCLE_STAT_S, POLYGON_STAT_S — the geometry is as for *_STAT_Y, the value σ is in S/m. The kernel converts σ into grid losses Y = 2·dT·σ/ε₀ through the time step dT (dT depends on DELTA), so the same σ gives the same attenuation on any grid. The *_STAT_Y blocks remain as they were: Y is a grid quantity, σ = Y·ε₀/(2·dT), and with a DELTA half as large the same Y gives twice the attenuation. A check: a layer with σ = 0.1 S/m at 72 GHz gives |T| = 0.347 with DELTA 0.2 mm and 0.349 with 0.1 mm; theory gives 0.355.
  • Losses without plasma (the author's answer of 29.10.2026). The losses Y (*_STAT_Y, FILE_Y — an already normalized grid conductivity) and sigma (*_STAT_S, S/m) also act in nodes without plasma — this is a lossy medium, as intended. The plasma model is collisionless.
  • Plasma from a file (since 26.10.2026): FILE_N name;, FILE_B name;, FILE_Y name; read N, B, Y from a distribution file in the same way as FILE name; reads ε. The file is written by a block with a name prefix: RECT_STAT_N [name]expression; … (likewise _B, _Y). FILE_N accepts a file written by RECT_STAT_N or an ordinary RECT_STAT file; a file of another quantity (for example, an N file in FILE_B) is an error stating the reason. Previously FILE_N/_B/_Y did not work (an error, or the values silently went into ε). For details — Task file .tpl, Section 5.7.4.
  • The kernel accepts the moving blocks RECT_MOVE, CIRCLE_MOVE, POLYGON_MOVE; an example is in demo_x.tpl (commented out).

8.3. Dielectric, plasma and magnetic field in one node

  • A positive ε increment and plasma N in one node — this should not be done. The kernel issues a warning to the console and to the status bar. Such a node is computed as plasma, and the ε increment in it is correct only at the frequency FREQ. If the increment is larger than the plasma part, the equivalent density is negative and the computation of these nodes diverges — this warning reports that separately. Place the dielectric and the plasma in different nodes.
  • A negative ε increment without N is still an equivalent plasma.
  • A Delta eps increment and plasma N that sum to exactly 0 (since 29.10.2026). If in one node the dielectric increment and the plasma sum to exactly 0, the node is treated as vacuum. Previously such a node gave NaN in the whole field.
  • The field B in a node with a positive ε increment (without N) is not used — also a warning.

The text of the warnings (in English, like all kernel messages):

WARNING: <n> nodes have a positive addition of epsilon and the plasma N at once - such a node is
calculated as a plasma, the addition of epsilon is right only at FREQ ...
WARNING: <n> nodes have a positive addition of epsilon and the magnetic field B - B is not used
in a dielectric node (only in a plasma)

The warning is output once per step, with the number of such nodes; the computation continues. After the end of the computation it remains in the status bar, and to the left is the yellow label Done, with warnings:

X kernel status bar: a warning about an ε increment and plasma in the same nodes
X kernel status bar: a warning about an ε increment and plasma in the same nodes

8.4. Magnetized plasma (fixed on 26.10.2026)

The computation of plasma in a magnetic field B has been fixed: the sign of the node coefficient has been brought into line with formula (5.49) of the textbook. Previously the field B only weakened the plasma, and the extraordinary wave had no opacity windows. Now the opaque regions coincide with the theory of cold plasma — for example, 72 GHz, N = 2·10¹⁹ m⁻³, B = 1.8…2.1 T; 52 GHz at B = 1 T. At B = 0 the result is unchanged.

The values of N and B in the .tt topology file (for FieldView) are restored correctly.

Results of computations with B ≠ 0 obtained before 26.10.2026 should be recomputed.

8.5. Plasma in a multi-frequency computation

The plasma model in the kernel is dispersive: the frequency dependence of the plasma permittivity is taken into account at all frequencies of the band, not only at FREQ (confirmed by the author). Therefore a multi-frequency computation (Multi-frequency computation) is also applicable to task files with plasma. The deviation from a frequency sweep decreases as the grid is refined.

8.6. Plane-wave port, absorber and MAGNETIC wall (fixed on 29.10.2026)

  • A plane-wave port (INPUT_X MAGNETIC, INPUT_Y MAGNETIC) whose edge is touched by a MAGNETIC wall. Previously such a port was mismatched in the X kernel: |S11| no better than 0.23. Now in the node shared by the wall and the port the port value is kept, as in the H kernel, and the X kernel gives the same numbers as the H kernel. How to place the walls at a plane-wave port — Task file .tpl, Section 5.5.
  • Absorber and MAGNETIC wall in magnetized plasma. Their nodes are now computed by formula (7.55) of K. N. Klimov's dissertation (2007) — with the stubs y6, y7. Previously they were computed without these stubs, as in unmagnetized plasma; the error was of first order in the grid step.
  • Absorber in a dielectric and in plasma (both kernels): the absorber load is computed from the medium of each of its nodes; if the wave does not propagate in the medium of a node, a warning is issued (Task file .tpl, Section 5.1).

Verification:

  • Tables 9.4–9.5 of the dissertation (a slab with eps < 1, 40 GHz) have been reproduced by the X kernel of the Qt6 version to the 4th digit with grid steps of 0.25 and 0.125 mm;
  • a magnetized plasma layer (extraordinary wave, B perpendicular to the plane): the refractive index n converges to the exact value with second order in the step. At N = 5e18 m^-3, B = 0.6 T:
Step Delta, mm 0.25 0.125 0.0625
Error of the refractive index n 0.0022 0.0008 0.0003

Computation on the processor. If magnetized plasma is next to an absorber or a MAGNETIC wall, the computation runs on the processor even if GPU computing is turned on: the video card has no such node. The status bar then shows:

CPU (a magnetized plasma at an absorber or a MAGNETIC wall)

9. Field, video card, multi-frequency and batch computation

These features work in the X kernel in the same way as in the H kernel:

Topic Where it is described Difference of the X kernel
The field during the computation, synchronization with FieldView (TOPOLOGY; and FIELDS; in #OUTPUT) planar_rt_h.md, Section 7; a screenshot of joint operation — FieldView/sync-with-kernel.png FieldView additionally shows the ε layer and the plasma (N, Y, B)
GPU computing planar_rt_h.md, Section 8, GPU computing the threshold is 60 000 nodes; magnetized plasma next to an absorber or a MAGNETIC wall — processor only (Section 8.6)
Multi-frequency computation planar_rt_h.md, Section 9, Multi-frequency computation see Section 8.5
Batch mode, the keys /Ar, /Arb, /Time, /GPU, /CPU, exit codes planar_rt_h.md, Section 10, Headless mode the program is planarrt_x.exe
A new task file in TPL Designer planar_rt_h.md, Section 11, TPL Designer —
Input and output files planar_rt_h.md, Section 12 the /Time report is *.timing_X_win64.txt

An example of a batch run:

"C:\Program Files\TMC Suite Qt\planarrt_x.exe" "C:\work\plasma.tpl" /Ar /Time

Task files with plasma often contain many steps (a frequency sweep). For such computations, remove the FIELDS; and TOPOLOGY; lines from the #OUTPUT of each step — field output increases the computation time many times.


10. Typical tasks step by step

10.1. The first computation in the X kernel

  1. Start PlanarRT X.
  2. File → Open... → samples/DEMO/PlanarRT_X/demo_x.tpl.
  3. Check the status bar: Step:1;Error:no.
  4. Press Run (F5). Wait for "Done".
  5. Open the results with the View output (Alt+Shift+F4) and View Directional Pattern (Ctrl+Alt+F4) buttons.

10.2. Computing scattering by plasma

  1. Prepare the task file (manually or in TPL Designer): the region, ports, absorbers and a RECT_STAT_N block with the electron density; if necessary, a RECT_STAT_B block wider than the N block (Section 8.2). Do not specify a positive ε increment in the same nodes (Section 8.3).
  2. Place all blocks in #LINK_LIST.
  3. In #OUTPUT specify FILE, SMATRIX (the frequency is the same as FREQ; the window is on the steady-state interval) and, if you need to view the field, TOPOLOGY;, FIELDS;.
  4. Open the task file in PlanarRT X and check Statistics (Shift+F4): the number of nodes, Wavelenght / Delta, the number of time steps.
  5. Delete the old .s file, if there is one, and press Run (F5).
  6. After "Done", check the status bar (for warnings) and open the S-matrix (Ctrl+Shift+F4) in TMCGROUT.

10.3. Viewing the plasma and the field in FieldView

  1. #OUTPUT must contain TOPOLOGY; and FIELDS;.
  2. Turn on Synchronization, press View field and topology, in FieldView turn on Follow Calculation, in the kernel — Run. For details — planar_rt_h.md, Section 7.

10.4. Specifying losses in physical units

  1. Instead of a RECT_STAT_Y block, specify a RECT_STAT_S block with the conductivity σ in S/m, for example RECT_STAT_S 0.1; x1; x2; y1; y2;.
  2. Place the block in #LINK_LIST.
  3. When DELTA is changed, the value of σ does not need to be changed: the kernel itself converts it into grid losses.

11. Frequently asked questions and errors

General situations (errors in the task file, greyed-out buttons, a long computation, extra points in the .s) — planar_rt_h.md, Section 14. For the X kernel, in addition:

Situation Cause and what to do
A plasma block "has no effect" Check the suffix (RECT_STAT_N, not RECT_STAT), the units (m⁻³, T) and the line of the block in #LINK_LIST. A B block without plasma N does not affect the computation.
A task file with plasma has been opened in the H kernel Plasma blocks are computed only by PlanarRT X. For the *_STAT_S and FILE_N/_B/_Y blocks the H kernel gives the error "Unknow type block". Open the task file in planarrt_x.exe.
Not enough memory The X kernel needs about 96 bytes per grid node — three times as much as the H kernel; the estimate in Statistics does not take this difference into account. Increase DELTA or reduce the region.
A spurious resonance layer at the plasma edge with B ≠ 0 The B and N blocks coincide — B/2 acts on the boundary. Make the B block wider than the N block (Section 8.2).
The warning WARNING: … positive addition of epsilon and the plasma N …, the field grows, the computation diverges A positive ε increment and plasma are specified in the same nodes. Separate the dielectric and the plasma into different nodes (Section 8.3).
The warning WARNING: … positive addition of epsilon and the magnetic field B … B is specified in dielectric nodes without plasma and is not used there. Limit the B block to the plasma region (with a margin at the edge) (Section 8.3).
The error bad type of the file … for block … A file of another quantity has been given to a FILE_N/FILE_B/FILE_Y block. Write the file with a block of the required quantity (RECT_STAT_N [name]…, etc.).
The attenuation in a *_STAT_Y layer changed after DELTA was changed Y is a grid quantity: with a DELTA half as large the same Y gives twice the attenuation. Specify losses with a *_STAT_S block (σ in S/m).
Results with B ≠ 0 differ from those obtained before 26.10.2026 The sign of the magnetized plasma coefficient has been fixed (Section 8.4). The new results agree with the theory of cold plasma.
Results with a plane-wave port (a MAGNETIC wall touches the edge of the port) or with magnetized plasma next to an absorber or a MAGNETIC wall differ from those obtained before 29.10.2026 The matching of such a port and the computation of these nodes have been fixed (Section 8.6).
The warning WARNING: N absorber nodes are in a medium where the wave does not propagate ... The absorber is in a medium where the wave does not propagate on this grid (dense plasma, eps < 0), and it does not absorb there. Move the absorber out of this medium (Task file .tpl, Section 5.1).
The task was computed on the processor although the video card is turned on The grid is smaller than 60 000 nodes — this is intended. The reason is in the Compute line of the Calculation time report. Another reason is magnetized plasma next to an absorber or a MAGNETIC wall: the status bar shows CPU (a magnetized plasma at an absorber or a MAGNETIC wall) (Section 8.6).