Знакомство с пакетом TMC Suite 5.0

Этот раздел — точка входа в руководство. Прочитайте его первым: здесь рассказано, из каких программ состоит пакет, как они передают друг другу файлы, как установить пакет и как за несколько минут выполнить первый расчёт.


1. Что такое TMC Suite

TMC Suite — пакет программ для электродинамического расчёта планарных (двумерных) структур во временной области. Пакет — научная разработка К. Н. Климова.

Работа строится так:

  1. Пользователь описывает расчётную область в текстовом файле задания .tpl: размеры области и шаг сетки, металлические стенки, поглотители, диэлектрики, плазму, входы (порты), частоту и время счёта, а также какие результаты записать.
  2. Счётное ядро «проигрывает» во времени распространение электромагнитной волны по этой области и записывает результаты в файлы.
  3. Программы просмотра (вьюверы) строят по этим файлам графики сигналов, частотные характеристики матрицы рассеяния, диаграммы направленности и картины поля.

Ядер два:

  • PlanarRT H — расчёт в H-поляризации;
  • PlanarRT X — расчёт X-моды, в том числе сред с плазмой (концентрация электронов N), подмагничиванием (внешнее магнитное поле B) и потерями (Y).

Версия 5.0 — это пакет для Windows x64 с новым интерфейсом (библиотека Qt 6, тёмная тема, русский и английский языки), расчётом на видеокарте и многочастотным расчётом за один проход.

Прежняя версия пакета с интерфейсом MFC (tmc_rth.exe, tmc_rtx.exe, TMCROS.exe и т. д.) считает так же и даёт те же результаты, но её окна в этом руководстве не описываются.


2. Состав пакета

Программа Файл Назначение
PlanarRT H planarrt_h.exe счётное ядро, H-поляризация
PlanarRT X planarrt_x.exe счётное ядро, X-мода (плазма, магнитное поле)
TMCROS tmcros.exe временные сигналы (.t, .tos), экспорт в S-матрицу
TMCGROUT tmcgrout.exe частотные характеристики S-матрицы (.s, .soc)
TMC_DN tmc_dn.exe диаграммы направленности (.DAT)
FieldView fieldview.exe поле и топология (.ex, .tt …), слежение за расчётом
TPL Designer TplDesigner.exe создание задания .tpl без ручного написания текста

Все программы лежат в одной папке. Точки входа в работу — счётные ядра и TPL Designer; программы просмотра ядро открывает само кнопками на своей панели инструментов (см. п. 3.3), их можно запускать и отдельно.


3. Как программы связаны между собой

3.1. Общая схема

                   TPL Designer
                        │  создаёт
                        ▼
   .tpl  (+ .h — включаемые файлы, .eps — распределение ε, .sig — падающая волна)
                        │  открывается в
                        ▼
          ┌──────────────────────────────┐
          │  Счётное ядро                │
          │  PlanarRT H  /  PlanarRT X   │
          └──────────────────────────────┘
             │          │            │                │
             ▼          ▼            ▼                ▼
            .t         .s       .AMP .FAZ .DAT    .ex …  .tt
             │          │        │          │        │
             ▼          ▼        ▼          ▼        ▼
          TMCROS    TMCGROUT  FieldView   TMC_DN   FieldView
             │          ▲
             └──────────┘
        «В S-матрицу» (из сигнала .t → .s)

3.2. Какие файлы ходят между программами

Файл Кто создаёт Когда создаётся Кто открывает Что внутри
.tpl пользователь или TPL Designer — PlanarRT H / X, TPL Designer задание на расчёт (см. Файл задания .tpl)
.h пользователь — ядро (через #include в .tpl) включаемые определения и макросы задания
.eps пользователь, TPL Designer или само ядро по блокам вида RECT_STAT [имя]… ядро распределение диэлектрической проницаемости ε по области
.sig TPL Designer или пользователь — ядро падающая волна, заданная таблицей «время — значение» (см. Многочастотный расчёт)
.t ядро всегда (имя — из строки FILE в #OUTPUT) TMCROS временные сигналы на входах (падающие и отражённые волны)
.s ядро (строка SMATRIX) или TMCROS (команда «В S-матрицу») после расчёта шага TMCGROUT матрица рассеяния по частотам
.AMP, .FAZ ядро при FIELD_DISTRIBUTION / FIELD_DISTRIBUTION_M в #OUTPUT FieldView амплитуда и фаза поля на заданной частоте
.DAT ядро при FIELD_DISTRIBUTION / FIELD_DISTRIBUTION_M в #OUTPUT TMC_DN излучатели по контуру области — исходные данные диаграммы направленности
.ex, .ey, .hz ядро при FIELDS; в #OUTPUT FieldView мгновенное поле на такте
.tt ядро при TOPOLOGY; в #OUTPUT FieldView топология (где металл, поглотитель, диэлектрик, порты)
.tos TMCROS при сохранении TMCROS «документ» TMCROS: оформление и список кривых, ссылается на .t
.soc TMCGROUT при сохранении TMCGROUT «документ» TMCGROUT, ссылается на .s
.dop TMC_DN при сохранении TMC_DN «документ» TMC_DN, ссылается на .DAT
.ex.frames FieldView по команде сохранения серии тактов FieldView все такты, полученные FieldView, в одном файле
<имя>.timing_H_win64.txt (_X_ для X-моды) ядро при запуске с ключом /Time любой текстовый редактор отчёт о времени расчёта по этапам (см. Работа без окон)

Все выходные файлы ядро пишет в ту же папку, где лежит задание .tpl. Базовое имя файлов берётся из строки FILE <имя>; секции #OUTPUT.

Важно про .s. Файл S-матрицы дописывается, а не перезаписывается: каждая новая частота добавляется к уже записанным. Перед повторным расчётом того же задания старый .s нужно удалить, иначе в нём смешаются результаты двух прогонов.

3.3. Как ядро вызывает программы просмотра

На панели инструментов ядра есть кнопки «Выходной сигнал», «Поле и топология», «S-матрица» и «Диаграмма направленности». Каждая открывает соответствующую программу просмотра сразу с файлом результата текущего задания. Кружок на кнопке показывает состояние программы просмотра: зелёный — программа сейчас открыта, красный — закрыта. Подробно — в PlanarRT H.

Кнопка «Новое задание (TPL Designer)» (первая на панели ядра) запускает TPL Designer. Если программа не найдена рядом с ядром, ядро один раз спросит, где лежит TplDesigner.exe, и запомнит ответ.

3.4. Слежение за расчётом в FieldView

FieldView может показывать поле во время расчёта: ядро передаёт ему каждый новый такт. Для этого:

  1. в секции #OUTPUT задания должны быть строки TOPOLOGY; и FIELDS; (пример — samples/DEMO/PlanarRT_H/horn.tpl);
  2. в ядре включены переключатели «Топология», «Поле» и «Синхронизация»;
  3. в FieldView включено «Следить за расчётом».
Ядро PlanarRT H (слева) и FieldView (справа) во время расчёта
Ядро PlanarRT H (слева) и FieldView (справа) во время расчёта

Рисунок 1. Совместная работа: слева ядро PlanarRT H считает задание horn.tpl (полоса хода внизу — «Расчёт 7%»), справа FieldView показывает поле horn.ex на последнем полученном такте. Внизу FieldView — «слежение: 166 кадр. от ядра».

Вывод поля на каждом такте замедляет расчёт. Для серийных и длинных расчётов строки FIELDS; и TOPOLOGY; из задания лучше убрать.


4. Установка

Ниже — что делает установщик и чем отличаются варианты установки. Подробная пошаговая инструкция со снимками каждой страницы мастера — в разделе «Установка» сайта проекта: www.tamic.ru/docs/install/windows-qt6.html.

4.1. Что нужно компьютеру

  • Windows x64 (64-разрядная).
  • Больше ничего ставить не нужно: все библиотеки лежат в папке программы.
  • Для расчёта на видеокарте нужен только обычный драйвер видеокарты NVIDIA или AMD (CUDA и другие пакеты разработчика не нужны). Подробно — Расчёт на видеокарте.

4.2. Вариант 1: установщик TMC_Suite_5.0_Qt6_Setup.exe

  1. Запустите TMC_Suite_5.0_Qt6_Setup.exe.
  2. Откроется окно «Выбор режима установки». Выберите, для кого ставить пакет:

    Кнопка Куда ставится Права администратора
    Установить для всех пользователей C:\Program Files\TMC Suite Qt нужны
    Установить только для меня %LOCALAPPDATA%\Programs\TMC Suite Qt (папка AppData\Local\Programs вашего профиля) не нужны
  3. Выберите язык мастера установки: русский или English. По умолчанию отмечен язык интерфейса Windows. Английский мастер показывает лицензионное соглашение на английском языке, русский — на русском.

  4. Если TMC Suite 5.0 уже установлена, мастер сразу спросит, что делать:
    • прежняя копия стоит в том же режиме (для всех или для себя) — вопрос «TMC Suite 5.0 уже установлена на этом компьютере… Программа установки обновит её: файлы программы будут заменены, ваши настройки и файлы заданий сохранятся. Продолжить?». «Да» — обновить, «Нет» — выйти из установки;
    • прежняя копия стоит в другом режиме — предупреждение, что новая установка поставит вторую, отдельную копию. Мастер советует отменить установку и сначала удалить прежнюю копию (Параметры → Приложения → TMC Suite → Удалить). По умолчанию выбрана кнопка «Нет» (не ставить вторую копию).
  5. Примите лицензионное соглашение.
  6. Выберите папку установки (по умолчанию — как в таблице шага 2) и папку в меню «Пуск» (по умолчанию TMC Suite).

    В папку, где установлена прежняя MFC-версия пакета (в ней лежат tmc_rth.exe или tmc_rtx.exe), мастер ставить не даст: «В этой папке установлена MFC-версия TMC Suite. Установите Qt6-версию в отдельную папку.»

  7. На странице дополнительных задач отметьте нужное:

    • «Создать значок на Рабочем столе» (по умолчанию выключено) — значки PlanarRT H, PlanarRT X и TPL Designer;
    • группа «Открывать файлы программами TMC Suite» (по умолчанию включена целиком) — двойной щелчок по файлу открывает его программой пакета:
      • TPL Designer: .tpl;
      • TMCGROUT: .soc;
      • TMCROS: .tos, .toc;
      • TMC_DN: .dop;
      • FieldView: .ex, .ey, .hz, .em, .amp, .faz, .frames;
    • группа «Общие форматы, которыми пользуются и другие программы» (по умолчанию выключена) — один флажок на все расширения: .s, .s2p, .s4p, .s6p, .s8p, .tab → TMCGROUT; .t → TMCROS; .tf, .tt → FieldView; .dat → TMC_DN. Эти расширения используют и другие программы, поэтому по умолчанию мастер их не забирает. Включайте флажок, если хотите открывать двойным щелчком файлы S-матрицы .s, сигналов .t и топологии .tt. Из окна ядра эти файлы открываются кнопками программ просмотра при любом выборе.
  8. Нажмите «Установить». Последняя страница — «Установка завершена» со ссылками на сайт проекта (www.tamic.ru) и на страницы автора (GitHub, LinkedIn, ResearchGate, eLibrary).

Что появится в меню «Пуск» → «TMC Suite». Ярлыки (в английском мастере — с английскими названиями):

Ярлык Что открывает
PlanarRT H — расчёт (H-поляризация) planarrt_h.exe
PlanarRT X — расчёт (X-мода, плазма) planarrt_x.exe
TMCGROUT — просмотр S-матриц tmcgrout.exe
TMCROS — выходной сигнал tmcros.exe
TMC_DN — диаграммы направленности tmc_dn.exe
FieldView — просмотр полей fieldview.exe
TPL Designer — редактор заданий TplDesigner.exe
Руководство пользователя (PDF) TMC_Suite_5.0_Руководство_пользователя.pdf
Примеры заданий папку samples
Лицензионное соглашение LICENSE_ru.txt
Лицензии сторонних компонентов licenses\README.txt
Сайт TMC Suite в Интернете www.tamic.ru
Деинсталлировать TMC Suite удаление пакета

Рабочая папка ярлыков программ — «Документы»: препроцессор ядра пишет временный файл в текущую папку, а в Program Files обычному пользователю писать нельзя.

Удаление. Удалить пакет можно ярлыком «Деинсталлировать TMC Suite» или в Параметры → Приложения → TMC Suite → Удалить. При удалении расширения, которые пакет забрал себе, возвращаются прежним программам (мастер запоминает их при установке).

Установщик TMC Suite 5.0 ставит пакет в свою папку, рядом с прежней MFC-версией, и не мешает ей.

4.3. Вариант 2: без установки (папка TMC_Suite_Qt6_win64)

  1. Скопируйте папку TMC_Suite_Qt6_win64 в любое место, где у вас есть право записи (например, на диск D: или в «Документы»).
  2. Запускайте программы прямо из этой папки двойным щелчком по .exe.

В этом варианте ярлыков и связей с типами файлов нет. Чтобы кнопка «Новое задание (TPL Designer)» в ядре нашла TPL Designer, файл TplDesigner.exe должен лежать в той же папке, что и ядро (так и есть в поставке); иначе ядро спросит путь один раз.

4.4. Где хранятся настройки

Настройки программ (язык интерфейса, расчёт на видеокарте, цвета, внешний редактор и т. д.) у каждого пользователя Windows свои. Общие для пакета файлы настроек:

Файл Что в нём
%APPDATA%\TMC_Suite_Qt\Common.ini язык интерфейса (раздел [UI], параметр Language, см. п. 6.2)
%APPDATA%\TMC_Suite_Qt\Compute.ini расчёт на видеокарте: включён ли, какая карта, итог последней проверки

5. Первый запуск и первый расчёт

Для первого расчёта возьмём учебное задание demo_h.tpl из папки примеров samples/DEMO/PlanarRT_H/: плоский волновод из двух металлических пластин, порт возбуждения слева, поглотители по краям области. Сетка маленькая (202 × 102 узла, шаг 1 мм), поэтому расчёт занимает секунды.

Папка примеров samples лежит в папке программы: после установки — C:\Program Files\TMC Suite Qt\samples (при установке «только для меня» — %LOCALAPPDATA%\Programs\TMC Suite Qt\samples, или в выбранной при установке папке; её же открывает ярлык «Примеры заданий»), в варианте без установки — TMC_Suite_Qt6_win64\samples. В ней DEMO — примеры для каждой программы пакета и MULTIFREQ — пример многочастотного расчёта (см. Многочастотный расчёт).

Шаг 1. Подготовьте папку. Скопируйте demo_h.tpl в папку, где разрешена запись (например Документы\TMC\demo). Ядро пишет результаты рядом с заданием, а в Program Files обычному пользователю писать нельзя.

Шаг 2. Запустите ядро PlanarRT H: «Пуск» → «TMC Suite» → «PlanarRT H — расчёт (H-поляризация)» или двойной щелчок по planarrt_h.exe.

Шаг 3. Откройте задание: меню Файл → Открыть… (Ctrl+O) или кнопка Открыть на панели инструментов. Выберите demo_h.tpl.

Имя задания появится в заголовке окна, а в строке состояния — Шаг:1;Error:no (задание прочитано без ошибок).

Главное окно PlanarRT H с открытым заданием demo_h.tpl
Главное окно PlanarRT H с открытым заданием demo_h.tpl

Рисунок 2. Главное окно PlanarRT H после открытия demo_h.tpl. Сверху вниз: заголовок с именем задания, меню, панель инструментов, рабочая область, строка состояния. Справа в строке состояния: «Модель: Double», «Вывод: сигнал», «Расчёт: GPU — NVIDIA GeForce RTX 5070 Ti».

Шаг 4. Запустите расчёт: меню Расчёт → Запуск (F5) или кнопка Запуск.

Во время расчёта в левой части строки состояния заполняется полоса хода расчёта. Она заполняется один раз за весь расчёт, сколько бы шагов #STEP ни было в задании. Рядом выводится этап: во время подготовки — «Подготовка: препроцессор / блоки / сетка» (полоса в это время стоит), во время счёта — «Шаг N из M · Расчёт P%».

Строка состояния во время расчёта
Строка состояния во время расчёта

Рисунок 3. Строка состояния во время расчёта (на снимке — задание из двух шагов). Слева направо: полоса хода и этап («Шаг 2 из 2 · Расчёт 52%»), ход счёта («Расчёт шага 2 Прошло: 0»), номер такта и модельное время («nT:400;Время:0.09ns»), что выводится («Вывод: сигнал»), на чём идёт расчёт («Расчёт: GPU — …»).

Шаг 5. Дождитесь окончания. Когда расчёт закончится, полоса заполнится целиком и появится подпись «Готово».

Строка состояния после расчёта
Строка состояния после расчёта

Рисунок 4. Строка состояния после окончания расчёта: «Готово», «Шаг 2 завершён».

Рядом с заданием появится выходной файл demo_h.t — временные сигналы на входе.

Шаг 6. Посмотрите сигнал: меню Вид → Выходной сигнал (Alt+Shift+F4) или кнопка Выходной сигнал. Откроется TMCROS с файлом demo_h.t.

Главное окно TMCROS
Главное окно TMCROS

Рисунок 5. Главное окно TMCROS. На снимке открыт пример poly.tos из samples/DEMO/TMCROS/; ваш demo_h.t откроется в таком же окне. По оси X — время, по оси Y — сигнал, справа вверху — подпись кривой.

Что делать дальше:

  • посмотреть сигналы подробнее — TMCROS;
  • получить частотную характеристику — нужен свип по частоте или многочастотный расчёт, см. Файл задания .tpl и Многочастотный расчёт, результат смотрят в TMCGROUT;
  • посмотреть поле — добавьте в задание TOPOLOGY; и FIELDS; и откройте FieldView;
  • создать своё задание без ручного набора текста — TPL Designer.

6. Общие элементы интерфейса

Все программы пакета оформлены одинаково. Ниже — то, что работает одинаково везде.

6.1. Тёмная тема

Интерфейс только тёмный: тёмный фон, светлый текст, бирюзовые акценты (активные элементы, кривые графиков, заголовки групп в окнах). Переключения на светлую тему нет. Цвета фона, сетки, осей и кривых на графиках вьюверов можно поменять в их настройках (меню «Настройки → Цвет»).

6.2. Язык интерфейса

Интерфейс всех программ пакета есть на русском и английском языках. Язык выбирается в подменю Language / Язык. Подпись подменю нарочно двуязычная: так его можно найти при любом текущем языке интерфейса.

Меню Настройки → Language / Язык
Меню Настройки → Language / Язык

Рисунок 6. Подменю «Language / Язык» в меню «Настройки» ядра PlanarRT H.

Где подменю в каждой программе (в скобках — название меню в английском интерфейсе):

Программа Где пункт «Language / Язык»
PlanarRT H, PlanarRT X меню Настройки (Config), сразу после пункта «Расчёт на видеокарте...»
TMCROS, TMCGROUT, TMC_DN меню Настройки (Config), первый пункт
FieldView меню Вид (View), последний пункт
TPL Designer меню Настройки (Config) — единственный пункт этого меню

Пункты подменю:

Пункт Что делает
System / Как в системе язык как у Windows: русский, если интерфейс Windows русский, иначе английский
Русский русский интерфейс
English английский интерфейс

Выбранный пункт отмечен галочкой.

Выбор общий для всех программ пакета. Он хранится в файле %APPDATA%\TMC_Suite_Qt\Common.ini, раздел [UI], параметр Language со значением system, ru или en.

Когда новый язык начинает действовать.

  • В программе, где язык переключили, он меняется сразу, без перезапуска: во всех открытых окнах и меню.
  • Другие программы пакета, которые в этот момент уже открыты, остаются на прежнем языке: каждая программа читает выбор языка один раз, при запуске. Новый язык они покажут при следующем запуске. Программы, запущенные после переключения (в том числе программы просмотра, которые открывает ядро), сразу запускаются на новом языке.

Окна библиотеки Qt (выбор шрифта и цвета, кнопки в окнах сообщений) переводятся вместе с интерфейсом. Системные окна Windows (например, окно печати) показываются на языке самой Windows. Отчёт «Время расчёта» ядра и часть сообщений ядра (например, Error at step …, WARNING: …) — на английском при любом выборе.

6.3. Подсказки

Если задержать указатель мыши на кнопке панели инструментов, появится подсказка с полным названием команды — так же, как пункт называется в меню.

6.4. Индикаторы-кружки на кнопках

На некоторых кнопках панели ядра есть цветной кружок в правом нижнем углу.

Где Зелёный кружок Красный кружок
Переключатели «Топология», «Поле», «Синхронизация», «Звук (Вкл./Выкл.)», «Автозапуск» режим включён режим выключен
Кнопки программ просмотра: «Выходной сигнал», «Поле и топология», «S-матрица», «Диаграмма направленности» программа просмотра сейчас открыта программа просмотра закрыта

У кнопки «Звук» при выключенном звуке динамик на значке перечёркнут.

Кнопка Пример
Звук включён (зелёный кружок) Звук
Выходной сигнал, TMCROS закрыт (красный кружок) Выходной сигнал

6.5. Печать

Кнопка «Печать» на панели инструментов, пункт Файл → Печать… или Ctrl+P открывают системное окно печати Windows. На бумагу идёт то же изображение, что на экране. Чтобы получить файл PDF, выберите в окне печати принтер «Microsoft Print to PDF».

6.6. Руководство пользователя

Руководство пользователя в формате PDF есть на двух языках; в поставке оба файла лежат рядом с программами:

Язык Файл
русский TMC_Suite_5.0_Руководство_пользователя.pdf
английский TMC_Suite_5.0_User_Manual.pdf

Как открыть руководство из программы:

  • кнопка «Руководство пользователя» в окне «О программе» любой программы пакета;
  • в FieldView — ещё и пункт Справка → Руководство пользователя (клавиша F1).

Программа ищет рядом с собой PDF на языке интерфейса и открывает его. Если такого PDF рядом с программой нет, открывается руководство на сайте: www.tamic.ru/docs/user-manual/index.html. Метка на кнопке в окне «О программе» подсказывает заранее, что откроется: «PDF» — файл с диска, «НА САЙТЕ» (в английском интерфейсе — «ONLINE») — страница сайта.

Ярлык «Руководство пользователя (PDF)» в меню «Пуск» открывает русский PDF.

У TPL Designer своё руководство: кнопка в его окне «О программе» ищет рядом с программой файл TPL-Designer-rukovodstvo.pdf, а если его нет — открывает руководство на сайте. Подробно — TPL Designer.


7. Карта руководства

Раздел Файл О чём
Знакомство с пакетом Знакомство с пакетом этот раздел
PlanarRT H PlanarRT H счётное ядро H-поляризации: окна, меню, кнопки, расчёт
PlanarRT X PlanarRT X счётное ядро X-моды: плазма, магнитное поле
TMCROS TMCROS временные сигналы, экспорт в S-матрицу
TMCGROUT TMCGROUT частотные характеристики S-матрицы
TMC_DN TMC_DN диаграммы направленности
FieldView FieldView поле и топология, слежение за расчётом, GIF/PNG
TPL Designer TPL Designer создание задания мышью
Файл задания .tpl Файл задания .tpl входной язык: методика и полный справочник
Расчёт на видеокарте Расчёт на видеокарте GPU: требования, окно проверки, ограничения
Многочастотный расчёт Многочастотный расчёт свип за один проход, файл падающей волны .sig
Пакетный режим Работа без окон запуск без участия человека, ключи, коды возврата
История изменений История изменений что нового в версиях и какие ошибки исправлены

Introduction to the TMC Suite 5.0 package

This section is the entry point to the manual. Read it first: it explains which programs make up the package, how they pass files to each other, how to install the package, and how to run your first computation in a few minutes.


1. What TMC Suite is

TMC Suite is a package of programs for the electrodynamic analysis of planar (two-dimensional) structures in the time domain. The package is a scientific development by K. N. Klimov.

The workflow is as follows:

  1. The user describes the computational domain in a text task file .tpl: the domain size and the grid step, metal walls, absorbers, dielectrics, plasma, ports, the frequency and the computation time, and which results to write.
  2. The compute kernel "plays back" in time the propagation of the electromagnetic wave through this domain and writes the results to files.
  3. The viewers use these files to plot signals, the frequency responses of the scattering matrix, radiation patterns and field pictures.

There are two kernels:

  • PlanarRT H — computation for H-polarization;
  • PlanarRT X — computation of the X-mode, including media with plasma (electron density N), magnetization (external magnetic field B) and losses (Y).

Version 5.0 is a package for Windows x64 with a new interface (Qt 6 library, dark theme, Russian and English languages), GPU computing and multi-frequency computation in a single pass.

The previous version of the package with the MFC interface (tmc_rth.exe, tmc_rtx.exe, TMCROS.exe, etc.) computes in the same way and gives the same results, but its windows are not described in this manual.


2. Contents of the package

Program File Purpose
PlanarRT H planarrt_h.exe compute kernel, H-polarization
PlanarRT X planarrt_x.exe compute kernel, X-mode (plasma, magnetic field)
TMCROS tmcros.exe time signals (.t, .tos), export to an S-matrix
TMCGROUT tmcgrout.exe frequency responses of the S-matrix (.s, .soc)
TMC_DN tmc_dn.exe radiation patterns (.DAT)
FieldView fieldview.exe field and topology (.ex, .tt …), following a running computation
TPL Designer TplDesigner.exe creating a .tpl task file without writing the text by hand

All programs are in one folder. Work starts from the compute kernels and TPL Designer; the kernel opens the viewers itself with the buttons on its toolbar (see Section 3.3), and they can also be started separately.


3. How the programs are connected

3.1. General scheme

                   TPL Designer
                        │  creates
                        ▼
   .tpl  (+ .h — include files, .eps — ε distribution, .sig — incident wave)
                        │  is opened in
                        ▼
          ┌──────────────────────────────┐
          │  Compute kernel              │
          │  PlanarRT H  /  PlanarRT X   │
          └──────────────────────────────┘
             │          │            │                │
             ▼          ▼            ▼                ▼
            .t         .s       .AMP .FAZ .DAT    .ex …  .tt
             │          │        │          │        │
             ▼          ▼        ▼          ▼        ▼
          TMCROS    TMCGROUT  FieldView   TMC_DN   FieldView
             │          ▲
             └──────────┘
        "To S-matrix" (from the .t signal → .s)

3.2. Which files pass between the programs

File Created by When it is created Opened by Contents
.tpl the user or TPL Designer — PlanarRT H / X, TPL Designer the computation task (see Task file .tpl)
.h the user — the kernel (via #include in the .tpl) included definitions and macros of the task
.eps the user, TPL Designer or the kernel itself for blocks of the form RECT_STAT [name]… the kernel distribution of the permittivity ε over the domain
.sig TPL Designer or the user — the kernel incident wave given as a "time — value" table (see Multi-frequency computation)
.t the kernel always (the name comes from the FILE line in #OUTPUT) TMCROS time signals at the ports (incident and reflected waves)
.s the kernel (SMATRIX line) or TMCROS ("To S-matrix" command) after a step has been computed TMCGROUT scattering matrix versus frequency
.AMP, .FAZ the kernel with FIELD_DISTRIBUTION / FIELD_DISTRIBUTION_M in #OUTPUT FieldView field amplitude and phase at the specified frequency
.DAT the kernel with FIELD_DISTRIBUTION / FIELD_DISTRIBUTION_M in #OUTPUT TMC_DN radiators along the domain contour — the input data for the radiation pattern
.ex, .ey, .hz the kernel with FIELDS; in #OUTPUT FieldView instantaneous field at a time step
.tt the kernel with TOPOLOGY; in #OUTPUT FieldView topology (where the metal, absorber, dielectric and ports are)
.tos TMCROS when saved TMCROS TMCROS "document": layout settings and the list of curves, refers to the .t
.soc TMCGROUT when saved TMCGROUT TMCGROUT "document", refers to the .s
.dop TMC_DN when saved TMC_DN TMC_DN "document", refers to the .DAT
.ex.frames FieldView by the command that saves a frame series FieldView all frames received by FieldView, in one file
<name>.timing_H_win64.txt (_X_ for the X-mode) the kernel when started with the /Time key any text editor report on the computation time by stage (see Headless mode)

The kernel writes all output files to the same folder as the .tpl task file. The base name of the files is taken from the FILE <name>; line of the #OUTPUT section.

Important about .s. The S-matrix file is appended to, not overwritten: each new frequency is added to those already written. Before computing the same task again, the old .s must be deleted, otherwise the results of two runs will be mixed in it.

3.3. How the kernel calls the viewers

The kernel toolbar has the buttons "Output", "Field and topology", "S-matrix" and "Directional Pattern". Each of them opens the corresponding viewer directly with the result file of the current task. The circle on the button shows the state of the viewer: green — the program is open now, red — it is closed. For details, see PlanarRT H.

The "New task (TPL Designer)" button (the first one on the kernel toolbar) starts TPL Designer. If the program is not found next to the kernel, the kernel asks once where TplDesigner.exe is and remembers the answer.

3.4. Following a computation in FieldView

FieldView can show the field while the computation is running: the kernel passes it each new time step. For this:

  1. the #OUTPUT section of the task must contain the lines TOPOLOGY; and FIELDS; (example: samples/DEMO/PlanarRT_H/horn.tpl);
  2. the "Topology", "Field" and "Synchronization" toggles must be on in the kernel;
  3. "Follow Calculation" must be on in FieldView.
PlanarRT H kernel (left) and FieldView (right) during a computation
PlanarRT H kernel (left) and FieldView (right) during a computation

Figure 1. Working together: on the left, the PlanarRT H kernel is computing the horn.tpl task (the progress bar at the bottom shows "Calculation 7%"); on the right, FieldView shows the horn.ex field at the last frame received. At the bottom of FieldView: "following: 166 frames from the kernel".

Writing the field at every time step slows down the computation. For series of runs and long computations, it is better to remove the FIELDS; and TOPOLOGY; lines from the task.


4. Installation

Below is what the installer does and how the installation options differ. Detailed step-by-step instructions with screenshots of every wizard page are in the "Installation" section of the project website: www.tamic.ru/docs/install/windows-qt6.html.

4.1. What the computer needs

  • Windows x64 (64-bit).
  • Nothing else needs to be installed: all libraries are in the program folder.
  • For GPU computing, only the ordinary graphics driver of an NVIDIA or AMD card is needed (CUDA and other developer toolkits are not needed). For details, see GPU computing.

4.2. Option 1: the TMC_Suite_5.0_Qt6_Setup.exe installer

  1. Run TMC_Suite_5.0_Qt6_Setup.exe.
  2. The "Select Setup Install Mode" window opens. Choose whom to install the package for:

    Button Install location Administrator rights
    Install for all users C:\Program Files\TMC Suite Qt required
    Install for me only %LOCALAPPDATA%\Programs\TMC Suite Qt (the AppData\Local\Programs folder of your profile) not required
  3. Select the setup wizard language: Русский or English. The language of the Windows interface is selected by default. The English wizard shows the license agreement in English, the Russian one in Russian.

  4. If TMC Suite 5.0 is already installed, the wizard immediately asks what to do:
    • the existing copy is installed in the same mode (for all users or for you only) — the question "TMC Suite 5.0 is already installed on this computer… Setup will update it: program files will be replaced, your settings and task files will be kept. Continue?". "Yes" updates it, "No" exits the setup;
    • the existing copy is installed in the other mode — a warning that the new installation will be a second, separate copy. The wizard recommends cancelling the installation and first uninstalling the existing copy (Settings → Apps → TMC Suite → Uninstall). The "No" button is selected by default (do not install a second copy).
  5. Accept the license agreement.
  6. Select the installation folder (by default as in the table of step 2) and the Start Menu folder (TMC Suite by default).

    The wizard will not install into a folder that contains the previous MFC version of the package (with tmc_rth.exe or tmc_rtx.exe in it): "This folder contains the MFC version of TMC Suite. Install the Qt6 version into a separate folder."

  7. On the additional tasks page, select what you need:

    • "Create a desktop shortcut" (off by default) — shortcuts for PlanarRT H, PlanarRT X and TPL Designer;
    • the "Open files with TMC Suite programs" group (on by default, entirely) — double-clicking a file opens it with a program of the package:
      • TPL Designer: .tpl;
      • TMCGROUT: .soc;
      • TMCROS: .tos, .toc;
      • TMC_DN: .dop;
      • FieldView: .ex, .ey, .hz, .em, .amp, .faz, .frames;
    • the "Common formats that other programs also use" group (off by default) — one check box for all the extensions: .s, .s2p, .s4p, .s6p, .s8p, .tab → TMCGROUT; .t → TMCROS; .tf, .tt → FieldView; .dat → TMC_DN. These extensions are also used by other programs, so by default the wizard does not take them over. Select this check box if you want to open S-matrix files .s, signal files .t and topology files .tt by double-clicking. From the kernel window, these files are opened with the viewer buttons whatever you choose here.
  8. Click "Install". The last page, "Setup complete", has links to the project website (www.tamic.ru) and to the author's pages (GitHub, LinkedIn, ResearchGate, eLibrary).

What appears in the Start menu → "TMC Suite". Shortcuts (as named by the English wizard):

Shortcut What it opens
PlanarRT H — solver (H-polarization) planarrt_h.exe
PlanarRT X — solver (X-mode, plasma) planarrt_x.exe
TMCGROUT — S-matrix viewer tmcgrout.exe
TMCROS — output signal viewer tmcros.exe
TMC_DN — radiation patterns tmc_dn.exe
FieldView — field viewer fieldview.exe
TPL Designer — task editor TplDesigner.exe
User manual (PDF) TMC_Suite_5.0_User_Manual.pdf
Samples the samples folder
License agreement LICENSE_ru.txt
Third-party licenses licenses\README.txt
TMC Suite on the Web www.tamic.ru
Uninstall TMC Suite removes the package

The working folder of the program shortcuts is "Documents": the kernel preprocessor writes a temporary file to the current folder, and an ordinary user cannot write to Program Files.

Uninstalling. The package can be removed with the "Uninstall TMC Suite" shortcut or in Settings → Apps → TMC Suite → Uninstall. On uninstallation, the extensions the package took over are returned to the programs that had them before (the wizard remembers them during installation).

The TMC Suite 5.0 installer puts the package into its own folder, next to the previous MFC version, and does not interfere with it.

4.3. Option 2: without installation (the TMC_Suite_Qt6_win64 folder)

  1. Copy the TMC_Suite_Qt6_win64 folder to any location where you have write permission (for example, to drive D: or to "Documents").
  2. Start the programs directly from this folder by double-clicking the .exe files.

In this option there are no shortcuts and no file type associations. For the "New task (TPL Designer)" button in the kernel to find TPL Designer, the TplDesigner.exe file must be in the same folder as the kernel (as it is in the distribution); otherwise the kernel asks for the path once.

4.4. Where the settings are stored

Program settings (interface language, GPU computing, colors, external editor, etc.) are separate for each Windows user. Settings files common to the package:

File Contents
%APPDATA%\TMC_Suite_Qt\Common.ini interface language (section [UI], parameter Language, see Section 6.2)
%APPDATA%\TMC_Suite_Qt\Compute.ini GPU computing: whether it is on, which card, the result of the last check

5. First start and first computation

For the first computation, take the training task demo_h.tpl from the samples folder samples/DEMO/PlanarRT_H/: a parallel-plate waveguide made of two metal plates, an excitation port on the left, absorbers along the edges of the domain. The grid is small (202 × 102 nodes, step 1 mm), so the computation takes seconds.

The samples folder is in the program folder: after installation it is C:\Program Files\TMC Suite Qt\samples (for an installation "for me only" — %LOCALAPPDATA%\Programs\TMC Suite Qt\samples, or in the folder chosen during installation; the "Samples" shortcut opens it), and in the option without installation it is TMC_Suite_Qt6_win64\samples. In it, DEMO contains samples for each program of the package and MULTIFREQ contains a sample of a multi-frequency computation (see Multi-frequency computation).

Step 1. Prepare a folder. Copy demo_h.tpl to a folder where writing is allowed (for example, Documents\TMC\demo). The kernel writes the results next to the task file, and an ordinary user cannot write to Program Files.

Step 2. Start the PlanarRT H kernel: Start → "TMC Suite" → "PlanarRT H — solver (H-polarization)" or double-click planarrt_h.exe.

Step 3. Open the task file: menu File → Open... (Ctrl+O) or the Open button on the toolbar. Select demo_h.tpl.

The task name appears in the window title, and the status bar shows Step:1;Error:no (the task was read without errors).

PlanarRT H main window with the demo_h.tpl task open
PlanarRT H main window with the demo_h.tpl task open

Figure 2. PlanarRT H main window after opening demo_h.tpl. From top to bottom: the title with the task name, the menu, the toolbar, the work area, the status bar. On the right of the status bar: "Model: Double", "Output: Signal", "Compute: GPU — NVIDIA GeForce RTX 5070 Ti".

Step 4. Start the computation: menu Run → Run (F5) or the Run button.

During the computation, the progress bar on the left of the status bar fills up. It fills up once for the whole computation, however many #STEP steps the task contains. Next to it the stage is shown: during preparation, "Preprocessor", "Building the blocks" or "Preparing the grid" (the bar does not move at this time); during the computation, "Step N of M · Calculation P%".

Status bar during a computation
Status bar during a computation

Figure 3. The status bar during a computation (the screenshot shows a task with two steps). From left to right: the progress bar and the stage ("Step 2 of 2 · Calculation 52%"), the progress of the step ("Run Step 2 ElapsTime: 0"), the time step number and the model time ("nT:400;Time:0.09ns"), what is written ("Output: Signal"), what the computation runs on ("Compute: GPU — …").

Step 5. Wait until it finishes. When the computation is over, the bar is completely filled and the label "Done" appears.

Status bar after the computation
Status bar after the computation

Figure 4. The status bar after the computation has finished: "Done", "Finish step 2".

The output file demo_h.t — the time signals at the port — appears next to the task file.

Step 6. View the signal: menu View → Output (Alt+Shift+F4) or the Output button. TMCROS opens with the demo_h.t file.

TMCROS main window
TMCROS main window

Figure 5. TMCROS main window. The screenshot shows the poly.tos sample from samples/DEMO/TMCROS/; your demo_h.t opens in the same kind of window. The X axis shows time, the Y axis shows the signal, and the curve label is at the top right.

What to do next:


6. Common interface elements

All programs of the package have the same look. Below is what works the same way everywhere.

6.1. Dark theme

The interface is dark only: dark background, light text, turquoise accents (active elements, plot curves, group titles in windows). There is no switch to a light theme. The colors of the background, grid, axes and curves on the viewer plots can be changed in their settings (the Config → Color menu).

6.2. Interface language

The interface of all programs of the package is available in Russian and English. The language is selected in the Language / Язык submenu. The submenu label is bilingual on purpose: this way it can be found whatever the current interface language.

Config → Language / Язык menu
Config → Language / Язык menu

Figure 6. The "Language / Язык" submenu in the Config menu of the PlanarRT H kernel.

Where the submenu is in each program:

Program Where the "Language / Язык" item is
PlanarRT H, PlanarRT X the Config menu, right after the "Compute (GPU)..." item
TMCROS, TMCGROUT, TMC_DN the Config menu, the first item
FieldView the View menu, the last item
TPL Designer the Config menu — the only item of this menu

Submenu items:

Item What it does
System / Как в системе the language of Windows: Russian if the Windows interface is Russian, otherwise English
Русский Russian interface
English English interface

The selected item is checked.

The choice is common to all programs of the package. It is stored in the file %APPDATA%\TMC_Suite_Qt\Common.ini, section [UI], parameter Language with the value system, ru or en.

When the new language takes effect.

  • In the program where the language was switched, it changes immediately, without a restart: in all open windows and menus.
  • Other programs of the package that are already open at that moment keep the previous language: each program reads the language choice once, at startup. They will show the new language the next time they are started. Programs started after the switch (including the viewers opened by the kernel) start in the new language right away.

Qt library windows (font and color selection, buttons in message boxes) are translated together with the interface. Windows system windows (for example, the print window) are shown in the language of Windows itself. The kernel "Calculation time" report and some kernel messages (for example, Error at step …, WARNING: …) are in English whatever the choice.

6.3. Tooltips

If you hold the mouse pointer over a toolbar button, a tooltip appears with the full name of the command — the same as the name of the item in the menu.

6.4. Indicator circles on buttons

Some buttons on the kernel toolbar have a colored circle in the lower right corner.

Where Green circle Red circle
The "Topology", "Field", "Synchronization", "Sound (On/Off)", "AutoRun" toggles the mode is on the mode is off
The viewer buttons: "Output", "Field and topology", "S-matrix", "Directional Pattern" the viewer is open now the viewer is closed

On the "Sound" button, the loudspeaker on the icon is crossed out when the sound is off.

Button Example
Sound on (green circle) Sound
Output, TMCROS closed (red circle) Output

6.5. Printing

The "Print" button on the toolbar, the File → Print... item or Ctrl+P open the Windows system print window. The same image as on the screen goes to paper. To get a PDF file, select the "Microsoft Print to PDF" printer in the print window.

6.6. User manual

The user manual in PDF format is available in two languages; in the distribution both files are next to the programs:

Language File
Russian TMC_Suite_5.0_Руководство_пользователя.pdf
English TMC_Suite_5.0_User_Manual.pdf

How to open the manual from a program:

  • the "User Manual" button in the About dialog of any program of the package;
  • in FieldView, also the Help → User Manual item (the F1 key).

The program looks for a PDF in the interface language next to itself and opens it. If there is no such PDF next to the program, the manual on the website opens: www.tamic.ru/docs/user-manual/index.html. The tag on the button in the About dialog tells you in advance what will open: "PDF" — a file from the disk, "ONLINE" — a page of the website.

The "User manual (PDF)" shortcut in the Start menu opens the PDF in the language of the setup wizard.

TPL Designer has its own manual: the button in its About dialog looks for the file TPL-Designer-rukovodstvo.pdf next to the program and, if it is not there, opens the manual on the website. For details, see TPL Designer.


7. Map of the manual

Section File Subject
Introduction to the package Getting started this section
PlanarRT H PlanarRT H H-polarization compute kernel: windows, menus, buttons, computation
PlanarRT X PlanarRT X X-mode compute kernel: plasma, magnetic field
TMCROS TMCROS time signals, export to an S-matrix
TMCGROUT TMCGROUT frequency responses of the S-matrix
TMC_DN TMC_DN radiation patterns
FieldView FieldView field and topology, following a computation, GIF/PNG
TPL Designer TPL Designer creating a task file with the mouse
The .tpl task file Task file .tpl the input language: methodology and full reference
GPU computing GPU computing GPU: requirements, check window, limitations
Multi-frequency computation Multi-frequency computation a sweep in a single pass, the .sig incident wave file
Batch mode Headless mode running without user interaction, keys, exit codes
Change history Changelog what is new in the versions and which bugs have been fixed