Руководство пользователя — FieldView (fieldview.exe)

Программа: FieldView — просмотр полей пакета TMC Suite, версия 5.0 (Windows x64). Интерфейс: русский (переключается в меню Вид → Language / Язык), тёмная тема. Вывод изображения: Qt RHI — на Windows через Direct3D 11.

FieldView 5.0 — новая программа, а не перекрашенная старая. Прежний FieldView 4.1 (FieldView.exe, интерфейс MFC, рисование через OpenGL) открывает те же файлы, но окна, панели и меню у него другие; в этом руководстве они не описываются.


Содержание

  1. Назначение программы
  2. Запуск и открытие файлов
  3. Главное окно
  4. Основная панель инструментов
  5. Панель «Такты»
  6. Меню
  7. Окна программы
  8. Совместная работа со счётным ядром
  9. Типичные задачи по шагам
  10. Частые вопросы и ошибки
  11. Приложение А. Горячие клавиши и мышь
  12. Приложение Б. Формат файла поля
  13. Связанные программы и документы

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

FieldView показывает распределение поля, посчитанное счётными ядрами пакета — PlanarRT H (planarrt_h.exe, H-поляризация) и PlanarRT X (planarrt_x.exe, X-мода с плазмой и магнитным полем). Ядро во время расчёта записывает «снимки» поля на расчётной сетке, а FieldView рисует их:

  • картой — плоская цветная картина, вид сверху;
  • рельефом — трёхмерная поверхность, высота и цвет которой пропорциональны значению поля в узле сетки.

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

Слой Что показывает Откуда берётся
Поле значения поля в узлах сетки на выбранном такте файл поля (.ex, .tf, .AMP …)
Топология блоки модели: диэлектрик, металл, магнитная стенка, поглотитель, входы (порты), плазма; размеры блоков и их привязки файл топологии .tt с тем же именем, что у файла поля
ε и плазма распределение диэлектрической проницаемости ε по сетке; для X-моды — также концентрации электронов N, потерь Y, магнитного поля B тот же файл топологии .tt

Главная новая возможность версии 5.0 — слежение за расчётом: FieldView получает каждый новый такт поля прямо от работающего ядра, сразу показывает его и запоминает, так что после (или во время) расчёта такты можно пролистать ползунком, проиграть и записать анимацией GIF. Подробно — раздел 8.

FieldView только читает файлы ядер. Он не меняет ни формат файлов, ни расчёт.

Главное окно FieldView: поле рупора рельефом, вход «Inp 1», шкала справа
Главное окно FieldView: поле рупора рельефом, вход «Inp 1», шкала справа

2. Запуск и открытие файлов

2.1. Способы запуска

Способ Что произойдёт
Кнопка «Поле и топология» в окне счётного ядра ядро запускает fieldview.exe и передаёт ему файл поля текущего задания (<имя>.ex). Если файла ещё нет, ядро создаёт его пустым — FieldView дождётся, пока ядро его заполнит (раздел 8).
Двойной щелчок по fieldview.exe в папке программы открывается главное окно. Если в командной строке файла нет, FieldView сам открывает последний существующий файл из списка недавних (Файл → Последние файлы).
Командная строка: fieldview.exe "путь\к\файлу.ex" открывается указанный файл (можно перечислить несколько файлов).
Перетаскивание файлов мышью из Проводника в окно FieldView открывается каждый перетащенный файл.

Ключи командной строки для выбора графического интерфейса (нужны редко, например на сервере или в удалённом рабочем столе):

Ключ Что делает
--rhi d3d11 Direct3D 11 (выбирается по умолчанию на Windows)
--rhi d3d12, --rhi vulkan Direct3D 12 или Vulkan (разработчиком не проверялись)
--rhi opengl OpenGL (в поставке есть программный OpenGL opengl32sw.dll)
--warp программный Direct3D 11 (WARP) — когда видеокарты с Direct3D 11 нет

Без ключей программа пробует по очереди: Direct3D 11 → программный Direct3D 11 (WARP) → OpenGL. Какой интерфейс выбран, видно справа в строке состояния (например, D3D11 · 11 к/с).

2.2. Открытие файла из программы

  1. Меню Файл → Открыть…, кнопка Открыть или клавиши Ctrl+O.
  2. В системном окне «Открыть файл поля» выберите один или несколько файлов. Список типов файлов внизу окна:
Тип в окне выбора Расширения Что это
Файлы поля (по умолчанию) .ex .ey .hz .em .tf .AMP .FAZ .frames .tt все файлы, которые понимает программа
Поле в такт .ex .tf снимок поля на одном такте расчёта
Амплитуда и фаза .AMP .FAZ амплитуда и фаза поля на частоте анализа (их пишет ядро по команде FIELD_DISTRIBUTION_M секции #OUTPUT)
Серия тактов .ex.frames много тактов подряд в одном файле; такой файл записывает сам FieldView (Такты → Сохранить такты серией…)
Все файлы *.* любые файлы
  1. Нажмите «Открыть». Каждый файл открывается в своём окне документа внутри главного окна. Если файл уже открыт, программа просто переключится на его окно.

Папка, из которой открывали файл в прошлый раз, запоминается.

2.3. Файл топологии .tt

Топологию модели и распределение ε программа берёт из файла .tt, лежащего рядом с файлом поля и имеющего то же имя (horn.ex → horn.tt; для серии horn.ex.frames → тоже horn.tt). Регистр букв расширения не важен.

  • Если .tt нет — поле всё равно рисуется, а в сведениях о такте появляется жёлтая строка топология: нет файла horn.tt. Слои «Топология» и «ε и плазма» в этом случае пусты.
  • Если размер сетки в .tt не совпадает с сеткой поля — слой ε не показывается, причина пишется в сведениях о такте и в окне «Параметры вида» (вкладка «ε и плазма»).
  • Если открыть сам файл .tt (например, двойным щелчком), FieldView найдёт рядом файл поля с тем же именем (.ex, .ey, .hz, .em, .tf, серию .frames, .AMP, .FAZ — в этом порядке) и откроет его.

Файл .tt ядро пишет, если в секции #OUTPUT задания есть строка TOPOLOGY; (раздел 8).


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

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

Главное окно состоит из следующих зон (сверху вниз):

№ Зона Назначение
1 Заголовок окна FieldView - [horn.ex] - FieldView: имя программы и имя файла активного окна документа (когда окно документа развёрнуто).
2 Строка меню Файл, Правка, Вид, Такты, Окно, Справка (раздел 6). Справа в строке меню — кнопки свернуть/восстановить/закрыть для окна документа.
3 Основная панель масштаб, слои топологии, ε и поля, 2D/3D, вид по умолчанию (раздел 4).
4 Панель «Такты» слежение за расчётом, переход по тактам, ползунок, контраст, параметры, сохранение и экспорт (раздел 5).
5 Область документов одно или несколько окон документов (как в старых программах Windows с несколькими документами); в каждом — своя сцена. По умолчанию первое окно развёрнуто на всю область.
6 Сведения о такте плашка в левом верхнем углу сцены (см. ниже).
7 Цветовая шкала плашка у правого края сцены: соответствие цвета и значения (см. ниже).
8 Строка состояния координаты окна данных, слежение, такт и время, графический интерфейс (см. ниже).

Панели можно перетаскивать за «ручку» — столбик точек у их левого края (Ручка панели) — и прятать через Вид → Панели. Размер и положение окна и панелей запоминаются.

3.1. Сведения о такте (левый верхний угол сцены)

Строка Пример Смысл
Имя файла horn.ex файл документа. Если включён слой ε, через точку добавляется показываемая величина: ε, N, Y или B.
Такт и время nT = 167 t = 0.393895 ns номер такта расчёта (nT) и физическое время снимка в единицах файла.
Сетка 242×202 · Δ = 1 mm число узлов по X и Y и шаг сетки Δ. Если показана только часть области — добавляется окно 121×101.
Номер такта в памяти такт 168 из 168 показывается, когда тактов в памяти больше одного (бирюзовым цветом).
Замечание (жёлтым) топология: нет файла horn.tt или слой ε: … почему не показана топология или слой ε.

3.2. Цветовая шкала (правый край сцены)

Вертикальная полоса цветов: сверху — максимум, посередине — середина диапазона, внизу — минимум. Над полосой подпись величины:

  • E — поле; |E| — поле в режиме «Модуль»;
  • для слоя ε (вторая шкала левее, если включены оба слоя): ε, N, м⁻³, Y или B, Тл.

При 20 уровнях цвета полоса ступенчатая, при плавной шкале — непрерывная (раздел 7.1.4).

3.3. Сообщения посреди сцены

Сообщение Когда Что делать
Файл поля ещё не создан (+ имя и папка) файла поля ещё нет на диске дождаться, пока ядро его запишет; при включённом слежении FieldView покажет поле сам.
Ошибка чтения файла поля (+ Error : …, имя и папка) файл есть, но не читается (пустой, повреждённый или чужой) см. раздел 10. При включённом слежении добавляется: «FieldView следит за файлом и покажет поле, как только ядро его запишет».
Ошибка: number of point along X axies < 2 (или Y) окно данных стало уже двух узлов сетки уменьшить масштаб (Вид → Масштаб → Уменьшить) или нажать «Вид по умолчанию» (Ctrl+D).
Все слои выключены выключены и поле, и ε, и топология включить слой поля: Вид → Поле (Field) → Заливка (S) или Сетка (L).

3.4. Строка состояния

Строка состояния внизу главного окна
Строка состояния внизу главного окна

Слева направо:

Часть Пример Смысл
Окно данных Xmin = 0 mm; Xmax = 241 mm; Ymin = 0 mm; Ymax = 201 mm; Delta = 1 mm; какая часть расчётной области сейчас показана и шаг сетки. В режиме «Значение в точке» здесь пишется X = … mm; Y = … mm; Field = …; — координаты метки и значение поля в ней. Без открытого файла: «Готово. Откройте файл поля: Файл → Открыть (Ctrl+O)».
Слежение ● слежение: 167 кадр. от ядра зелёный кружок — слежение за расчётом включено (число — сколько тактов уже получено от ядра); красный кружок и слежение выкл. — выключено.
Такт nT = 166 ; t = 0.391537 ns; номер такта и время показанного снимка.
Графика D3D11 · 11 к/с графический интерфейс и частота перерисовки сцены (кадров в секунду). Это скорость рисования, а не скорость расчёта.

При наведении мыши на кнопку или пункт меню слева кратко пишется, что делает команда. После сохранения файлов здесь же на несколько секунд появляется «Сохранено: …», «Записано: …» и т. п.

3.5. Управление сценой мышью

Действие Результат
Левая кнопка, тянуть поворот сцены (плавно)
Правая или средняя кнопка, тянуть сдвиг сцены
Щелчок правой кнопкой (без перетаскивания) окно «Параметры вида»
Колесо приближение / отдаление
Двойной щелчок левой кнопкой заново вычислить пределы шкалы и перечитать файл (как Вид → Перечитать файл, F5)
Shift + щелчок левой кнопкой поставить метку «Значение в точке» в выбранный узел

4. Основная панель инструментов

Основная панель
Основная панель

Кнопка-переключатель, которая сейчас включена, выделена бирюзовой рамкой. Неактивные (серые) кнопки сейчас недоступны — например, кнопки N, Y, B без плазмы в данных. Подсказка при наведении показывает полное название команды и клавишу.

№ Кнопка Название Клавиша Что делает
1 Ручка панели — Не команда: столбик точек у левого края панели. Потяните за него, чтобы переставить панель.
2 Открыть… Ctrl+O Открыть файл поля (раздел 2.2).
3 Увеличить + или = Уменьшить окно данных вдвое вокруг его центра по обеим осям — картинка крупнее, видна меньшая часть области.
4 Увеличить по X X То же только по оси X.
5 Увеличить по Y Y То же только по оси Y.
6 Уменьшить - Увеличить окно данных вдвое по обеим осям. Если оно становится больше всей области — показывается вся область.
7 Уменьшить по X Shift+X То же только по оси X.
8 Уменьшить по Y Shift+Y То же только по оси Y.
9 Контуры (топология) Shift+L Включить/выключить контуры блоков топологии.
10 Заливка (топология) Shift+S Включить/выключить заливку блоков топологии.
11 Объёмно (2D/3D) Shift+D Блоки топологии плоские (2D) или объёмные «кирпичи» (3D). Доступна, если включены контуры или заливка топологии.
12 Диэлектрик (Eps) E Показывать блоки диэлектрика.
13 Металл M Показывать металл.
14 Магнитная стенка N Показывать магнитные стенки.
15 Поглотитель A Показывать поглотитель (ABSORBER).
16 Входы (порты) I Показывать входы и их номера Inp N.
17 Размеры блоков K Размерные линии со стрелками и числами — размеры блоков топологии.
18 Привязки блоков Alt+K Размерные линии привязок блоков X0, Y0 (из секции #LINK_LIST задания).
19 Сетка (слой ε) Alt+L Слой ε: показывать сетку (каркас).
20 Заливка (слой ε) Alt+S Слой ε: показывать заливку цветом.
21 Рельеф (2D/3D) (слой ε) Alt+D Слой ε плоский или рельефом. Доступна, если включены сетка или заливка ε.
22 Шкала Z (слой ε) Alt+J Вертикальная шкала значений ε в самой сцене (у дальнего края по Y).
23 ε — проницаемость (Eps+) — Слой ε показывает диэлектрическую проницаемость. Доступна всегда. Выбор величины сам включает заливку слоя ε.
24 N — концентрация электронов — Слой показывает концентрацию электронов плазмы N, м⁻³. Доступна только при плазме в файле .tt (X-мода).
25 B — магнитное поле — Слой показывает магнитное поле подмагничивания B, Тл. Только при плазме.
26 Y — потери — Слой показывает потери Y. Только при плазме.
27 Сетка (поле) L Слой поля: показывать сетку (каркас).
28 Заливка (поле) S Слой поля: показывать заливку цветом.
29 Рельеф (2D/3D) (поле) D Поле плоской картой (2D) или рельефом (3D). Доступна, если включены сетка или заливка поля.
30 Размер по оси X Ctrl+J Размерная линия вдоль оси X с длиной показанной области.
31 Размер по оси Y Shift+J Размерная линия вдоль оси Y.
32 Шкала Z (поле) J Вертикальная шкала значений поля в самой сцене (у ближнего края по Y).
33 Пропорционально P Одинаковый масштаб осей X и Y: круг остаётся кругом.
34 Вид по умолчанию Ctrl+D Все параметры вида — по умолчанию (что сохраняется, см. раздел 6.3).
35 — Печать… Ctrl+P Напечатать изображение (раздел 7.5).
36 — О программе FieldView… — Окно «О программе» (раздел 7.6).

Кнопки «Печать…» и «О программе» стоят в конце основной панели. Если окно недостаточно широкое, Qt прячет последние кнопки под кнопку расширения панели (полоска у правого края панели); снимков этих двух кнопок пока нет. Обе команды доступны и через меню: Файл → Печать…, Справка → О программе FieldView….

Кнопки 3–34 работают с активным окном документа; пока ни один файл не открыт, они недоступны.


5. Панель «Такты»

Панель «Такты»
Панель «Такты»

Такт — один снимок поля в один момент модельного времени. Такты появляются в памяти программы двумя путями: их присылает работающее ядро (при включённом «Следить за расчётом» и «Запоминать такты») или они читаются из файла серии .ex.frames. Обычный файл поля без слежения содержит один такт — тогда кнопки перехода по тактам и ползунок неактивны (на снимке выше — именно такое состояние, счётчик 1 / 1).

№ Элемент Название Клавиша Что делает
1 Следить за расчётом — Переключатель. Зелёный кружок на кнопке — FieldView следит за файлом поля и читает каждый новый такт, который пишет ядро; красный — слежение выключено. По умолчанию включено. Подробно — раздел 8.
2 Первый такт Ctrl+Home Перейти к первому такту в памяти.
3 Предыдущий такт , (запятая) Шаг на один такт назад. С первого такта переходит на последний.
4 Пуск / пауза Пробел Проигрывать такты по кругу; повторное нажатие — пауза. Во время проигрывания значок меняется на «паузу».
5 Следующий такт . (точка) Шаг на один такт вперёд. С последнего такта переходит на первый.
6 Последний такт Ctrl+End Перейти к последнему такту — и дальше идти за расчётом: каждый новый такт от ядра будет показываться сразу.
7 ползунок Такт — Перетащите, чтобы выбрать такт. Перетаскивание останавливает проигрывание. Доступен, если тактов больше одного.
8 счётчик — — номер / всего, например 168 / 168.
9 поле «контраст ×» Контраст — Целое число от 1 до 100. Автоматические пределы шкалы поля делятся на это число: при «контраст ×6» слабое поле раскрашивается ярче, а значения за пределами шкалы рисуются крайним цветом. Влияет и на высоту рельефа. На пределы, заданные вручную, не влияет.
10 Параметры… Alt+P Окно «Параметры вида» (раздел 7.1).
11 Модуль Alt+M Показывать модуль поля |E| вместо значения со знаком (раздел 6.3, подменю «Поле»).
12 Значение в точке Alt+A Метка в узле сетки и число рядом; координаты и значение — в строке состояния. Стрелки двигают метку на один шаг сетки, Shift+щелчок ставит её мышью.
13 Уровни цвета (значения) Alt+E Показать/скрыть панель «Уровни цвета» (раздел 7.2).
14 Сохранить изображение… Ctrl+S Записать картинку активного окна в PNG, JPEG или BMP (раздел 7.4).
15 Экспорт анимации (GIF / PNG)… Ctrl+Shift+E Записать такты анимацией GIF или набором кадров PNG (раздел 7.3).

Скорости проигрывания на панели нет — это решение автора. Поле приходит от ядра по мере расчёта: каждый такт ядро считает и передаёт, FieldView показывает его сразу, то есть темп задаёт расчёт, а не FieldView. Проигрывание уже запомненных тактов идёт с постоянной скоростью. Частота кадров задаётся только при записи GIF — в окне «Экспорт анимации» (раздел 7.3).


6. Меню

6.1. Файл

Меню «Файл»
Меню «Файл»
Пункт Клавиша Что делает
Открыть… Ctrl+O Открыть один или несколько файлов поля (раздел 2.2).
Закрыть Ctrl+F4 Закрыть активное окно документа.
Сохранить изображение… Ctrl+S Записать картинку вида в файл PNG/JPEG/BMP (раздел 7.4). Файл поля при этом не перезаписывается.
Сохранить такты серией… — Записать все такты, находящиеся в памяти, в один файл .ex.frames (раздел 7.4).
Экспорт анимации (GIF / PNG)… Ctrl+Shift+E Окно «Экспорт анимации» (раздел 7.3).
Печать… Ctrl+P Системное окно печати; на страницу идёт картинка вида и строка с именем файла, nT и t (раздел 7.5).
Предварительный просмотр — Как будет выглядеть страница (раздел 7.5).
Параметры страницы… — Системное окно выбора принтера, размера и ориентации бумаги. По умолчанию — альбомная.
Последние файлы ► — Подменю: до 7 недавно открытых файлов (1 путь…, 2 путь…). Пока список пуст, пункт серый.
Выход Alt+F4 Закрыть программу. Размер окна и положение панелей запоминаются.
Подменю «Файл → Последние файлы»
Подменю «Файл → Последние файлы»

6.2. Правка

Меню «Правка»
Меню «Правка»
Пункт Клавиша Что делает
Копировать изображение Ctrl+C, Ctrl+Insert Картинка активного окна — в буфер обмена (её можно вставить в Word, отчёт, презентацию). В строке состояния — «Изображение скопировано в буфер обмена».

6.3. Вид

Меню «Вид»
Меню «Вид»
Пункт Клавиша Что делает
Параметры… Alt+P Окно «Параметры вида» (раздел 7.1).
Топология ► — Подменю слоя топологии (таблица ниже).
ε и плазма (Eps) ► — Подменю слоя ε и плазмы.
Поле (Field) ► — Подменю слоя поля.
Масштаб (Zoom) ► — Увеличение/уменьшение окна данных.
Поворот (Rotate) ► — Поворот сцены шагами по 2°.
Сдвиг (Translate) ► — Сдвиг сцены шагами.
Окно данных по X (Change Xmax, Xmin) ► — Сдвиг показанной части области по X.
Окно данных по Y (Change Ymax, Ymin) ► — Сдвиг показанной части области по Y.
Вид по умолчанию Ctrl+D Все параметры вида — по умолчанию: слои, окно данных, камера, пределы. Сохраняются цвета шкал, цвета материалов топологии и выбранная величина слоя ε.
Сбросить камеру Home Только поворот, сдвиг и приближение — по умолчанию; слои и окно данных не трогаются.
Вид сверху Ctrl+T Все углы поворота — 0: смотреть на область сверху, как на плоскую карту.
Перечитать файл F5 Перечитать файл с диска и заново вычислить пределы шкалы (то же — двойной щелчок по сцене). Уже запомненные такты не теряются.
Пропорционально P Одинаковый масштаб осей X и Y.
Панели ► — Показать/скрыть: Основная панель (Toolbar), Панель тактов, Строка состояния (Status Bar), Уровни цвета.
Language / Язык ► — Язык интерфейса: «System / Как в системе», «Русский», «English» (последний пункт меню; в английском интерфейсе меню называется View). Язык меняется сразу во всех окнах FieldView; другие программы пакета, уже открытые в этот момент, перейдут на него при следующем запуске (overview.md, раздел 6.2).
Подменю «Вид → Панели»
Подменю «Вид → Панели»
Подменю «Вид → Language / Язык»
Подменю «Вид → Language / Язык»

Подменю меню «Вид»:

Вид → Топология

Подменю «Вид → Топология»
Подменю «Вид → Топология»
Пункт Клавиша Что делает
Контуры Shift+L Контуры блоков.
Заливка Shift+S Заливка блоков. Диэлектрик, плазма и поглотитель заливаются полупрозрачно (поле под ними видно), металл и порты — почти непрозрачно.
Объёмно (2D/3D) Shift+D Плоские или объёмные блоки.
Размер вдоль осей (Size) ► Размер по оси X / Размер по оси Y Ctrl+J / Shift+J Размерные линии вдоль осей с длиной показанной области в единицах файла.
Размеры блоков (Dimensions) ► Размеры блоков / Привязки блоков K / Alt+K Размеры блоков; привязки X0, Y0.
Границы (Boundary) ► Диэлектрик (Eps), Металл, Магнитная стенка, Поглотитель, Входы (порты) E, M, N, A, I Какие материалы показывать.
Границы (Boundary) ► Плазма (контуры) — Контуры плазменных блоков X-моды (RECT_STAT_N/_B/_Y и др.). Новое в версии 5.0.

Команды «Объёмно», «Размеры блоков», «Привязки блоков» и пункты «Границы» доступны, только если включены контуры или заливка топологии.

Вид → ε и плазма (Eps)

Подменю «Вид → ε и плазма»
Подменю «Вид → ε и плазма»
Пункт Клавиша Что делает
Сетка Alt+L Каркас слоя ε.
Заливка Alt+S Заливка слоя ε.
Рельеф (2D/3D) Alt+D Слой ε плоский или рельефом.
Шкала Z Alt+J Шкала значений слоя в сцене.
Величина (Type) ► ε — проницаемость (Eps+) / N — концентрация электронов / Y — потери / B — магнитное поле — Какую величину показывает слой (выбирается одна). N, Y, B доступны только при плазме в файле .tt. Выбор величины включает заливку слоя и автоматические пределы.

Вид → Поле (Field)

Подменю «Вид → Поле»
Подменю «Вид → Поле»
Пункт Клавиша Что делает
Сетка L Каркас поля. В рельефе — линии сетки поверх заливки.
Заливка S Заливка поля цветом шкалы.
Рельеф (2D/3D) D Плоская карта или рельеф.
Шкала Z J Шкала значений поля в сцене.
Уровни цвета (значения) Alt+E Панель «Уровни цвета» (раздел 7.2).
Значение в точке Alt+A Метка и значение поля в узле. Пока режим включён, стрелки клавиатуры двигают метку, а не окно данных.
Модуль Alt+M Показывать модуль |E|. Пределы шкалы симметричные: ±max|E|, шкала — «Свечение» (если не выбрана своя из 20 цветов).
Цветовая шкала ► Шкала: авто / Шкала «Волна» / Шкала «Свечение» / Шкала: 20 цветов уровней — Выбор шкалы (одна из четырёх, см. 7.1.4). Новое в версии 5.0.
Цветовая шкала ► Плавная шкала (256 уровней) — Плавный переход цветов; выключено — 20 ступеней.
Пределы по текущему такту — Пределы шкалы — по показанному такту. Выключено — пределы растут по всем показанным тактам (картинка не «мигает» от такта к такту). Новое в версии 5.0.
Подменю «Вид → Масштаб»
Подменю «Вид → Масштаб»

Вид → Масштаб (Zoom) — Увеличить (+, =), Увеличить по X (X), Увеличить по Y (Y), Уменьшить (-), Уменьшить по X (Shift+X), Уменьшить по Y (Shift+Y). Масштаб здесь — это окно данных: какая часть расчётной области показана (кнопки 3–8 основной панели).

Подменю «Вид → Поворот»
Подменю «Вид → Поворот»

Вид → Поворот (Rotate) — шаг 2°, клавиши — Ctrl + цифры цифровой клавиатуры (NumLock включён):

Пункт Клавиша Поворот
Влево / Вправо Ctrl+Num 4 / Ctrl+Num 6 вокруг оси Y на −2° / +2°
Вверх / Вниз Ctrl+Num 8 / Ctrl+Num 2 вокруг оси X на −2° / +2°
Против часовой (Z) / По часовой (Z) Ctrl+Num 1 или Num 3 / Ctrl+Num 7 или Num 9 вокруг оси Z на −2° / +2°
Подменю «Вид → Сдвиг»
Подменю «Вид → Сдвиг»

Вид → Сдвиг (Translate) — шаг 0,04 условной единицы сцены, клавиши — Alt + цифры цифровой клавиатуры:

Пункт Клавиша
X вправо / X влево Alt+Num 6 / Alt+Num 4
Ближе / Дальше Alt+Num 7 или Num 9 / Alt+Num 1 или Num 3
Вверх / Вниз Alt+Num 8 / Alt+Num 2
Подменю «Вид → Окно данных по X»
Подменю «Вид → Окно данных по X»
Подменю «Вид → Окно данных по Y»
Подменю «Вид → Окно данных по Y»

Вид → Окно данных по X / по Y — Окно данных влево / вправо (← / →), вниз / вверх (↓ / ↑): сдвинуть показанную часть области на один шаг сетки Δ. Окно не выходит за границы области. В режиме «Значение в точке» эти клавиши двигают метку.

6.4. Такты

Меню «Такты»
Меню «Такты»
Пункт Клавиша Что делает
Пуск / пауза Пробел Проигрывать такты по кругу / остановить.
Предыдущий такт , Шаг назад.
Следующий такт . Шаг вперёд.
Первый такт Ctrl+Home К первому такту.
Последний такт Ctrl+End К последнему такту и дальше — за расчётом.
Следить за расчётом — Переключатель слежения за ядром (раздел 8).
Запоминать такты — Переключатель: сохранять в памяти каждый такт, полученный от ядра, чтобы потом пролистать и проиграть. По умолчанию включено. Выключено — в памяти только последний такт (как в старой версии).
Забыть такты — Удалить из памяти все такты, кроме последнего. Доступно, если тактов больше одного (и это не файл серии).
Экспорт анимации (GIF / PNG)… Ctrl+Shift+E Окно «Экспорт анимации» (раздел 7.3).
Сохранить такты серией… — Записать такты из памяти в файл .ex.frames.

Первые пять пунктов доступны, только если в памяти больше одного такта (на снимке они серые: открыт файл с одним тактом).

6.5. Окно

Меню «Окно»
Меню «Окно»
Пункт Клавиша Что делает
Новое окно — Ещё одно окно того же документа (в заголовке — :2, :3 …). Удобно смотреть одно поле с разных сторон или разными слоями.
Каскадом — Расположить окна документов уступами.
Мозаикой — Расположить окна документов рядом, без перекрытия.
Следующее окно F6, Ctrl+Tab Активировать следующее окно документа.
Предыдущее окно Shift+F6 Активировать предыдущее окно.
1 horn.ex, 2 … — Список открытых окон; флажок — активное окно.

6.6. Справка

Меню «Справка»
Меню «Справка»
Пункт Клавиша Что делает
Руководство пользователя F1 Открыть руководство пользователя пакета. Программа ищет рядом с собой PDF на языке интерфейса — TMC_Suite_5.0_Руководство_пользователя.pdf (русский) или TMC_Suite_5.0_User_Manual.pdf (английский) — и открывает его; если PDF рядом нет, открывает руководство на сайте www.tamic.ru/docs/user-manual/index.html.
О программе FieldView… — Окно «О программе» (раздел 7.6).

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

7.1. «Параметры вида»

Открывается: Вид → Параметры…, кнопка на панели «Такты», Alt+P или щелчок правой кнопкой мыши по сцене. Настройки относятся к активному окну документа и запоминаются (при следующем запуске программа начнёт с них). Открывается та вкладка, которая была открыта в прошлый раз.

Кнопки внизу окна (на всех вкладках):

Кнопка Что делает
ОК Применить все вкладки и закрыть окно.
Отмена Закрыть окно. Изменения, уже применённые кнопкой «Применить», остаются.
Применить Применить сразу, не закрывая окна, — видно, как меняется картинка.

Числа в полях вводятся с точкой как десятичным разделителем (0.5, 1e-3).

7.1.1. Вкладка «Размещение»

Параметры вида — вкладка «Размещение»
Параметры вида — вкладка «Размещение»

Группы «Ось X» и «Ось Y» (одинаковые):

Элемент Тип Что задаёт
Вся область (Auto size) флажок Включено — по оси показывается вся расчётная область, поля min/max недоступны (серые) и показывают текущие границы. Выключено — границы задаются вручную.
min, mm / max, mm поле ввода Границы окна данных по оси в единицах длины файла (подпись берётся из файла: mm, cm …). Отсчитываются так же, как координаты в задании. Выходить за пределы области нельзя — лишнее обрезается.
поворот, ° счётчик (−3600…3600, шаг 2) Угол поворота сцены вокруг этой оси, в градусах. Его же меняет поворот мышью и меню «Поворот».
сдвиг счётчик (−100…100, шаг 0,04) Сдвиг сцены вдоль этой оси в условных единицах сцены. Его же меняет меню «Сдвиг».
Размер вдоль оси (Draw size flag) флажок Размерная линия вдоль оси с длиной показанной части (то же, что кнопки «Размер по оси X/Y»).

Группа «Оси и надписи»:

Элемент Тип Что задаёт
Рисовать оси X, Y, Z (Draw) флажок Оси со стрелками и буквами X, Y, Z из центра области.
образец Inp 1 12.5 надпись Как будут выглядеть надписи в сцене (номера входов, размеры, подписи шкал Z) с выбранными цветом и шрифтом.
Цвет… кнопка Системное окно выбора цвета надписей и осей.
Шрифт… кнопка Системное окно выбора шрифта надписей.

Группа «Камера»:

Элемент Тип Что задаёт
поворот Z, ° счётчик (−3600…3600, шаг 2) Поворот сцены вокруг вертикальной оси Z.
сдвиг Z (ближе) счётчик (−100…100, шаг 0,04) Приближение/отдаление сцены.
масштаб счётчик (0,05…50, шаг 0,1) Масштаб изображения (его же меняет колесо мыши).

Группа «Единицы файла» — только для чтения, берутся из заголовка файла поля:

Элемент Пример Смысл
Длина (Long Unit) mm (0.001 м) единица длины и её значение в метрах
Время (Time Unit) ns единица времени

Флажок «Пропорционально X и Y (Proportionally)» — то же, что кнопка «Пропорционально» (P).

7.1.2. Вкладка «Топология»

Параметры вида — вкладка «Топология»
Параметры вида — вкладка «Топология»

Группа «Что показывать и цвета (Draw flags)» — шесть строк: Диэлектрик (Eps), Металл (Metal), Магнитная стенка (Magnetic), Вход (Input), Поглотитель (Absorber), Плазма (новое). В каждой строке:

Элемент Что делает
флажок с названием материала показывать блоки этого материала (то же, что кнопки 12–16 основной панели и пункт «Плазма (контуры)» меню)
цветной прямоугольник текущий цвет материала
Изменить… системное окно выбора цвета для этого материала

Кнопка «Цвета по умолчанию (Default)» возвращает исходные цвета всех шести материалов.

Группа «Рисовать (Draw)»: флажки Контуры (Line) и Заливка (Surface) — то же, что кнопки 9–10 основной панели.

Группа «Вид (Dimention)»: переключатель 2D — плоско / 3D — объёмные блоки — то же, что кнопка «Объёмно (2D/3D)».

Группа «Размеры (Size)»:

Элемент Тип Что задаёт
Блоков (Block) флажок размеры блоков (кнопка «Размеры блоков», K)
Привязки (Link List) флажок привязки X0, Y0 (кнопка «Привязки блоков», Alt+K)
Непрозрачность, % (Blend) счётчик 0…100 непрозрачность слоя топологии: 100 — как задано для каждого материала, меньше — прозрачнее

7.1.3. Вкладка «ε и плазма»

Параметры вида — вкладка «ε и плазма»
Параметры вида — вкладка «ε и плазма»

Группа «Рисовать (Draw flags)»:

Элемент Тип Что задаёт
Заливка (Surface) флажок заливка слоя цветом шкалы
Сетка (Line) флажок каркас слоя
2D — плоско / 3D — рельеф ε переключатель плоский слой или рельеф
Непрозрачность, % счётчик 0…100 непрозрачность слоя (по умолчанию 80 — поле под слоем видно)

Группа «Цвет (Color)»:

Элемент Тип Что задаёт
выпадающий список шкал список Авто («Свечение»), «Волна» (−max … 0 … +max), «Свечение» (0 … max), 20 цветов уровней (свои) — см. 7.1.4
полоса-образец рисунок как выглядит выбранная шкала
Плавно, 256 уровней (иначе 20) флажок плавная шкала или 20 ступеней
Цвета уровней… (Set color) кнопка окно «Цвета уровней» для своей шкалы (раздел 7.1.5); после ОК в списке выбирается «20 цветов уровней (свои)»
По умолчанию (Default) кнопка шкала «Свечение», плавно, исходные 20 цветов

Группа «Пределы по оси Z (Z axies)»:

Элемент Тип Что задаёт
Авто — по сетке (Auto size) флажок пределы шкалы — от минимума до максимума величины на показанной части сетки; поля min/max недоступны и показывают текущие пределы
min / max поле ввода пределы шкалы вручную (если min больше max, они меняются местами)
Шкала Z в сцене (Draw size flag) флажок вертикальная шкала значений в сцене (кнопка «Шкала Z», Alt+J)

Группа «Величина (Type)» — переключатель: ε (Eps+), N — концентрация, Y — потери, B — магн. поле. N, Y, B доступны (не серые), только если в файле .tt есть плазма (X-мода). Единицы — на шкале справа: N в м⁻³, B в Тл, ε и Y безразмерные.

Если слой ε показать нельзя, внизу вкладки жёлтым пишется «Слой ε недоступен: …» с причиной: нет файла топологии, или «сетка файла топологии (N×M) не совпадает с сеткой поля (K×L)».

7.1.4. Вкладка «Поле»

Параметры вида — вкладка «Поле»
Параметры вида — вкладка «Поле»

Группа «Рисовать (Draw flags)» — как на вкладке «ε и плазма» (Заливка, Сетка, 2D — плоско / 3D — рельеф, Непрозрачность), плюс:

Элемент Тип Что задаёт
Модуль поля (Draw Modul) флажок показывать модуль |E| (кнопка «Модуль», Alt+M)
Высота рельефа счётчик 0,05…10 множитель высоты рельефа: больше 1 — рельеф выше, меньше 1 — площе

Группа «Цвет (Color)» — как на вкладке «ε и плазма»; первый пункт списка здесь называется Авто: «Волна» или «Свечение», а кнопка «По умолчанию (Default)» возвращает шкалу «Авто», плавно, исходные 20 цветов.

Шкалы:

Шкала Как выглядит Для чего
«Волна» −max — фиолетовый, 0 — тёмный, +max — бирюзовый; пределы симметричные ±max знакопеременное поле (мгновенное значение)
«Свечение» от тёмного (0) через фиолетовый и бирюзовый к светлому (max) неотрицательные величины: амплитуда .AMP, модуль, ε, N, Y, B
Авто для поля — «Волна», если в данных есть отрицательные значения, иначе «Свечение»; для слоя ε — всегда «Свечение» выбор без участия пользователя
20 цветов уровней (свои) 20 цветов из окна «Цвета уровней»; по умолчанию — цвета прежнего FieldView 4.1; пределы — от минимума до максимума привычная раскраска старой версии или своя

Группа «Пределы по оси Z (Z axies)»:

Элемент Тип Что задаёт
Авто (Auto size) флажок пределы шкалы вычисляются по данным (с учётом «контраст ×»); поля min/max недоступны и показывают текущие пределы, например -370.53317 и 370.53317
min / max поле ввода пределы вручную
Авто по текущему такту (иначе по всем) флажок пределы по показанному такту; выключено — пределы растут по всем показанным тактам, а для серии .frames сразу считаются по всем тактам файла
Шкала Z в сцене (Draw size flag) флажок шкала значений поля в сцене (J)

7.1.5. «Цвета уровней» (своя шкала из 20 цветов)

Открывается кнопкой «Цвета уровней… (Set color)» на вкладках «ε и плазма» и «Поле». Заголовок окна — «Цвета уровней (Auto color)».

Снимка этого окна в новой версии пока нет (раздел 14).

Элемент Что делает
Группа «Первый уровень» 20 образцов цвета с переключателями Уровень 1 … Уровень 20 (два столбца по 10); переключатель отмечает уровень, с которым работают кнопки. По умолчанию отмечен уровень 1. Кнопка «Изменить…» под группой — системный выбор цвета для отмеченного уровня.
Группа «Второй уровень» такая же; по умолчанию отмечен уровень 20.
Итоговая шкала (справа) все 20 цветов: снизу уровень 1, сверху уровень 20.
Авто плавно заполнить уровни между отмеченными в первой и второй группах (линейный переход от одного цвета к другому). Отмеченные уровни должны отстоять друг от друга хотя бы на 2.
Авто через красный / зелёный / синий то же, но переход идёт через максимум красной / зелёной / синей составляющей в середине промежутка.
Заполнить из шкалы: «Волна» / «Свечение» взять 20 цветов из шкалы пакета.
Исходные (FieldView 4.1) вернуть цвета прежней версии.
ОК / Отмена применить / закрыть без изменений.

7.2. Панель «Уровни цвета»

Открывается кнопкой , Alt+E или Вид → Поле (Field) → Уровни цвета (значения). Это не отдельное окно, а панель у правого края главного окна (её можно перетащить или закрыть крестиком).

Таблица из 20 строк, сверху — старший уровень:

Столбец Смысл
Цвет цвет уровня шкалы поля
Значение от значение поля, с которого начинается этот уровень (при текущих пределах шкалы)

Таблица обновляется при смене такта, пределов и шкалы.

Снимка панели в новой версии пока нет (раздел 14).

7.3. «Экспорт анимации»

Открывается кнопкой , Ctrl+Shift+E, Файл → Экспорт анимации (GIF / PNG)… или Такты → Экспорт анимации….

Окно «Экспорт анимации»
Окно «Экспорт анимации»
Поле Тип Допустимые значения Что задаёт
Формат список Анимация GIF, Кадры PNG в папку один файл GIF или набор картинок PNG
С такта счётчик 1 … число тактов первый записываемый такт (по умолчанию 1)
По такт счётчик 1 … число тактов последний записываемый такт (по умолчанию — последний)
Каждый k-й такт счётчик 1 … число тактов прореживание: 1 — все такты, 5 — каждый пятый. По умолчанию подбирается так, чтобы вышло не больше ~200 кадров
Кадров в секунду (GIF) счётчик 1 … 50 скорость воспроизведения готового GIF. Единственное место программы, где задаётся частота кадров. На кадры PNG не влияет
Ширина, точек счётчик 160 … 3840 ширина каждого кадра в пикселях (высота — пропорционально). По умолчанию — ширина сцены, но не больше 960
Записать… кнопка — спросить, куда писать, и записать
Отмена кнопка — закрыть без записи

После «Записать…»:

  • для GIF — системное окно «Анимация GIF»: выбрать имя файла (по умолчанию <имя файла поля>.gif в папке файла поля);
  • для PNG — окно «Папка для кадров PNG»: выбрать папку. Кадры получат имена <имя>_0001.png, <имя>_0002.png, …

Во время записи показывается окно «Запись тактов…» с полосой хода и кнопкой «Прервать». Кадры снимаются с активного окна документа в его текущем виде (слои, поворот, шкала). После записи программа возвращается к такту, который был показан до экспорта; в строке состояния — «Записано: <путь>».

При одном такте в памяти анимация состоит из одного кадра. Чтобы получить настоящую анимацию, сначала накопите такты (раздел 8) или откройте файл серии .ex.frames.

7.4. Сохранение изображения и серии тактов

Сохранить изображение… (Ctrl+S, кнопка ) — системное окно «Сохранить изображение». Типы файлов: PNG, JPEG, BMP. Имя по умолчанию — <имя файла поля>.png. Сохраняется ровно то, что видно в сцене активного окна, вместе с плашками сведений и шкалы. Папка запоминается.

Сохранить такты серией… — системное окно «Сохранить такты серией», тип «Серия тактов (*.frames)», имя по умолчанию — <имя файла поля>.frames (например, horn.ex.frames). В файл подряд записываются все такты, находящиеся в памяти, в формате файла поля ядра (одинарная точность чисел). Такой файл потом открывается в FieldView как обычный: все такты сразу доступны на ползунке. В строке состояния — «Записано тактов: N».

7.5. Печать

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

7.6. «О программе FieldView»

Открывается: Справка → О программе FieldView….

Окно «О программе FieldView»
Окно «О программе FieldView»
Элемент Что это
Значок и название FieldView значок программы
Описание «Программа для просмотра геометрии устройства и распределения интенсивности поля; позволяет синхронизировать расчёт и просмотр полей»
Метки Версия 5.0, 2026, Windows · x64 версия, год, платформа
Автор: К. Н. Климов, © 2026 автор пакета
GitHub, LinkedIn, ResearchGate, eLibrary ссылки на страницы автора (открываются в браузере)
www.tamic.ru сайт пакета
Руководство пользователя (метка «PDF» или «НА САЙТЕ») открыть руководство пользователя: PDF на языке интерфейса рядом с программой (метка «PDF») или, если его нет, руководство на сайте (метка «НА САЙТЕ») — как пункт Справка → Руководство пользователя (F1, раздел 6.6)
Строка внизу TMC Suite 5.0 · Qt 6.11.1 — версия пакета и библиотеки Qt
ОК закрыть окно

8. Совместная работа со счётным ядром

FieldView может показывать поле во время расчёта: ядро записывает такт — FieldView сразу его читает и показывает, а ядро (при включённой синхронизации) ждёт, пока FieldView прочитает такт, и только потом пишет следующий. Так ни один такт не теряется.

Ядро PlanarRT H (слева) считает задание horn.tpl, FieldView (справа) показывает поле: такт 167 из 167, «слежение: 166 кадр. от ядра»
Ядро PlanarRT H (слева) считает задание horn.tpl, FieldView (справа) показывает поле: такт 167 из 167, «слежение: 166 кадр. от ядра»

8.1. Что нужно подготовить

1. В задании .tpl — в секции #OUTPUT должны быть строки TOPOLOGY; и FIELDS;. Пример — samples/DEMO/PlanarRT_H/horn.tpl:

#OUTPUT
 FILE horn;
 TOPOLOGY;
 FIELDS;
 SMATRIX horn; F; 1.5; 2.5;
 FIELD_DISTRIBUTION_M horn; F; 1.5; 2.5;
#END_OUTPUT
  • FILE horn; — общее имя файлов результата: поле будет в horn.ex, топология — в horn.tt;
  • TOPOLOGY; — записать топологию (.tt): блоки и распределение ε (для X-моды также N, Y, B);
  • FIELDS; — записывать поле на тактах расчёта.

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

2. В окне ядра (PlanarRT H или PlanarRT X) — включить переключатели на панели инструментов или в меню Настройки:

Кнопка ядра Пункт меню ядра Что включить
Настройки → Топология (F4) вывод топологии
Настройки → Поле (Ctrl+F4) вывод поля
Настройки → Синхронизация ожидание, пока FieldView прочитает такт. Пункт доступен только при включённом «Поле».

Зелёный кружок на кнопке ядра — переключатель включён, красный — выключен.

3. В FieldView — включено «Следить за расчётом» (кнопка с зелёным кружком; включено по умолчанию) и, чтобы такты оставались для просмотра, Такты → Запоминать такты (тоже включено по умолчанию).

8.2. Порядок работы

  1. Откройте задание в ядре (PlanarRT H или PlanarRT X).
  2. Включите в ядре «Топология», «Поле» и «Синхронизация» (8.1, п. 2).
  3. Нажмите в ядре кнопку «Поле и топология» . Кнопка доступна, только если включены и «Поле», и «Топология». Ядро запустит FieldView с файлом поля задания (<имя>.ex). Если файла ещё нет, ядро создаёт его пустым, и FieldView показывает сообщение о том, что ждёт данных от ядра. Пока FieldView открыт, на кнопке «Поле и топология» в ядре горит зелёный кружок.
  4. Запустите расчёт в ядре.
  5. FieldView раз в 50 мс проверяет, записал ли ядро новый такт, читает его и сразу показывает. В строке состояния растёт счётчик ● слежение: N кадр. от ядра, на панели «Такты» — счётчик N / N, в сведениях о такте — такт N из N, nT и t.
  6. Во время расчёта можно:
    • поворачивать и масштабировать сцену, менять слои — расчёт это не останавливает;
    • отойти назад ползунком или кнопками «Предыдущий такт», «Первый такт» — вид останется на выбранном такте, а новые такты от ядра продолжат накапливаться;
    • вернуться к расчёту кнопкой «Последний такт» (Ctrl+End) или перетащив ползунок вправо до упора — новые такты снова будут показываться сразу.
  7. После расчёта все запомненные такты остаются в памяти: их можно пролистать ползунком, проиграть (Пуск / пауза, Пробел), записать анимацией (раздел 7.3) или сохранить серией .ex.frames (раздел 7.4), чтобы открыть позже без пересчёта.

8.3. Как запоминаются такты

  • Новый такт добавляется в память, если у него другой номер nT или время; если ядро переписало тот же такт — он заменяется.
  • Если изменился размер сетки (например, ядро начало считать другой шаг задания с другой сеткой), прежние такты забываются.
  • Память под такты ограничена ~1 ГБ: при превышении забываются самые старые такты.
  • Такты → Забыть такты очищает память, оставляя последний такт.
  • При выключенном «Запоминать такты» в памяти только последний такт — как в старой версии FieldView.

8.4. Важно о синхронизации

При включённой «Синхронизации» ядро после записи каждого такта ждёт (до 25 с на такт), пока FieldView его прочитает. Поэтому: - если FieldView закрыт или в нём выключено «Следить за расчётом», ядро будет простаивать до 25 с на каждом такте вывода — выключите «Синхронизацию» в ядре; - расчёт с синхронизацией идёт не быстрее, чем FieldView успевает читать такты.

Это поведение сохранено из прежней версии пакета намеренно.

Технически синхронизация устроена через атрибут файла поля в Windows: ядро, записав такт, ставит файлу атрибут «обычный», FieldView, прочитав, — «архивный». На время чтения FieldView запрещает запись в файл, и ядро повторяет попытку записи через 10 мс. При закрытии окна документа FieldView возвращает файлу атрибут «обычный».


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

9.1. Посмотреть готовый файл поля

  1. Файл → Открыть… (Ctrl+O), выбрать .ex (или .AMP, .tf …), «Открыть».
  2. Если картинки не видно или она «уехала» — Вид → Вид по умолчанию (Ctrl+D).
  3. Плоская карта: Вид → Вид сверху (Ctrl+T), затем выключить рельеф (D).
  4. Слабое поле плохо видно — увеличьте «контраст ×» на панели «Такты» (например, до 5).

9.2. Посмотреть поле во время расчёта

См. раздел 8.2.

9.3. Сделать анимацию распространения волны (GIF)

  1. Накопите такты: посчитайте задание со слежением (раздел 8) или откройте серию .ex.frames.
  2. Настройте вид (поворот, слои, шкалу) в активном окне.
  3. Нажмите «Экспорт анимации».
  4. Формат — «Анимация GIF»; С такта / По такт — нужный промежуток; Каждый k-й такт — прореживание (меньше кадров — меньше файл); Кадров в секунду (GIF) — скорость; Ширина, точек — размер.
  5. «Записать…» → имя файла → «Сохранить». Дождитесь окончания записи.

9.4. Узнать значение поля в точке

  1. Нажмите «Значение в точке» (Alt+A). В центре области появится метка с числом.
  2. Переставьте метку Shift+щелчком по нужному месту или стрелками клавиатуры (шаг — один узел сетки).
  3. Координаты и значение — в строке состояния слева: X = … mm; Y = … mm; Field = …;.
  4. Выключить режим — повторное Alt+A.

9.5. Показать распределение ε или плазму (X-мода)

  1. Убедитесь, что рядом с файлом поля лежит .tt с тем же именем (TOPOLOGY; в задании).
  2. Нажмите ε (или N, B, Y — для плазмы). Слой ε включится заливкой поверх поля.
  3. Прозрачность слоя — Параметры вида → «ε и плазма» → Непрозрачность, %.
  4. Контуры плазменных блоков — Вид → Топология → Границы → Плазма (контуры).

9.6. Сравнить два файла или два вида одного поля

  1. Откройте оба файла (Ctrl+O, можно выбрать сразу два) — или Окно → Новое окно для второго вида того же файла.
  2. Окно → Мозаикой — окна встанут рядом.
  3. Настройки вида у каждого окна свои; кнопки панелей действуют на активное окно.

9.7. Вставить картинку поля в отчёт

  • Быстро: Правка → Копировать изображение (Ctrl+C) и вставить в документ.
  • В файл: Файл → Сохранить изображение… (Ctrl+S), формат PNG.
  • На бумагу или в PDF: Файл → Печать… (Ctrl+P), принтер «Microsoft Print to PDF».

9.8. Показать часть области крупно

  1. Кнопка «Увеличить» (+) — окно данных уменьшается вдвое вокруг центра.
  2. Стрелки ← → ↓ ↑ двигают окно данных на шаг сетки.
  3. Точные границы — Параметры вида → «Размещение»: снять «Вся область» и ввести min/max по X и Y.
  4. Вернуть всю область — Ctrl+D или флажки «Вся область».

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

Симптом Причина и что делать
«Файл поля ещё не создан» Ядро ещё не записало файл. Проверьте, что в задании есть FIELDS;, в ядре включено «Поле», и запустите расчёт. При включённом слежении FieldView покажет поле сам.
«Ошибка чтения файла поля», Error : when read data file Файл пустой (например, только что создан кнопкой ядра «Поле и топология») или сейчас занят. При включённом слежении дождитесь записи ядром; иначе — F5.
Error : bad data file Файл не является файлом поля (нет первой строки #TMC_GraphicsOutputFieldFile) или повреждён.
Error : bad data file nX = … < 2 (или nY) В файле нет массива поля — пересчитайте ядром.
Error : abnormal accuracy [..], but must be 4 or 8 Повреждён заголовок файла (#TMCGROFLD_Accuracy должно быть 4 или 8).
Error : can't open data file {…} Файла нет по указанному пути или нет доступа.
Сообщение «Все слои выключены» Включите заливку поля (S) или сетку (L).
«Ошибка: number of point along X axies < 2» Слишком сильное увеличение — - или Ctrl+D.
Нет топологии, жёлтая строка топология: нет файла ….tt В задании нет TOPOLOGY; или в ядре выключена «Топология»; либо файл .tt лежит в другой папке или с другим именем.
Кнопки N, Y, B серые В файле .tt нет плазмы (H-мода или задание без плазменных блоков).
«Слой ε недоступен: сетка файла топологии … не совпадает с сеткой поля …» .tt от другого расчёта (другой шаг или область). Пересчитайте задание с TOPOLOGY;.
Кнопки тактов и ползунок неактивны В памяти один такт. Включите слежение и «Запоминать такты» и посчитайте задание (раздел 8) или откройте .ex.frames.
Расчёт в ядре идёт очень медленно Вывод поля (FIELDS;) сам по себе замедляет счёт; при включённой «Синхронизации» ядро вдобавок ждёт FieldView (до 25 с на такт, если FieldView закрыт или слежение выключено).
Картинка «мигает» яркостью от такта к такту Включён флажок «Пределы по текущему такту» — выключите его, тогда пределы будут общими для всех показанных тактов.
Круг выглядит овалом Включите «Пропорционально» (P).
Сцену «потеряли» после поворотов Сбросить камеру (Home) или Вид по умолчанию (Ctrl+D).
Поворот/сдвиг с клавиатуры не работает Используются клавиши цифровой клавиатуры с включённым NumLock.
На удалённом рабочем столе пустая сцена Запустите fieldview.exe --warp или --rhi opengl.

11. Приложение А. Горячие клавиши и мышь

Клавиша Команда
Ctrl+O Открыть…
Ctrl+F4 Закрыть окно документа
Ctrl+S Сохранить изображение…
Ctrl+Shift+E Экспорт анимации
Ctrl+P Печать…
Alt+F4 Выход
Ctrl+C, Ctrl+Insert Копировать изображение
Alt+P Параметры вида
Shift+L, Shift+S, Shift+D Топология: контуры, заливка, 2D/3D
E, M, N, A, I Топология: диэлектрик, металл, магнитная стенка, поглотитель, входы
K, Alt+K Размеры блоков, привязки блоков
Ctrl+J, Shift+J Размер по оси X, по оси Y
Alt+L, Alt+S, Alt+D, Alt+J Слой ε: сетка, заливка, рельеф, шкала Z
L, S, D, J Поле: сетка, заливка, рельеф, шкала Z
Alt+E, Alt+A, Alt+M Уровни цвета, значение в точке, модуль
+ (=), X, Y Увеличить; по X; по Y
-, Shift+X, Shift+Y Уменьшить; по X; по Y
Ctrl + Num 4/6/8/2/1/3/7/9 Поворот
Alt + Num 6/4/7/9/1/3/8/2 Сдвиг
← → ↓ ↑ Окно данных (или метка значения) на шаг сетки
Ctrl+D Вид по умолчанию
Home Сбросить камеру
Ctrl+T Вид сверху
F5 Перечитать файл
P Пропорционально
Пробел Пуск / пауза
, / . Предыдущий / следующий такт
Ctrl+Home / Ctrl+End Первый / последний такт
F6, Ctrl+Tab / Shift+F6 Следующее / предыдущее окно
F1 Руководство пользователя

Мышь — раздел 3.5.


12. Приложение Б. Формат файла поля

Файл поля (.ex, .ey, .hz, .em, .tf, .AMP, .FAZ) пишет счётное ядро; вручную его не создают и не правят. Он состоит из текстового заголовка (11 строк, конец строки CR LF) и двоичного массива значений.

Пример заголовка:

#TMC_GraphicsOutputFieldFile FormVer2.0 2000
#TMCGROFLD_nT 5653
#TMCGROFLD_Time 8.00008e-009
#TMCGROFLD_Delta 0.0006
#TMCGROFLD_Xmin 0
#TMCGROFLD_Ymin 0
#TMCGROFLD_Accuracy 8
#TMCGROFLD_LongUnit mm 0.001
#TMCGROFLD_TimeUnit ns 1e-009
#TMCGROFLD_nX 688
#TMCGROFLD_nY 502
Строка Смысл
#TMC_GraphicsOutputFieldFile FormVer2.0 2000 признак формата (обязательная первая строка)
#TMCGROFLD_nT номер такта
#TMCGROFLD_Time время снимка, с
#TMCGROFLD_Delta шаг сетки Δ, м
#TMCGROFLD_Xmin, #TMCGROFLD_Ymin начало области
#TMCGROFLD_Accuracy размер числа: 4 — одинарная точность, 8 — двойная
#TMCGROFLD_LongUnit единица длины и её значение в метрах
#TMCGROFLD_TimeUnit единица времени и её значение в секундах
#TMCGROFLD_nX, #TMCGROFLD_nY число узлов по X и Y (не меньше 2)

После заголовка — nY строк по nX чисел; перед каждой строкой — CR LF. Внутренний цикл — по X.

Серия тактов .ex.frames — несколько таких файлов, записанных подряд; FieldView пишет их с одинарной точностью (Accuracy 4).

Примеры файлов: samples/DEMO/PlanarRT_H/ (после расчёта horn.tpl), samples/SAMPLE_R/1/quasi0.AMP, samples/DEMO/FieldView/r7.tf.


13. Связанные программы и документы

  • PlanarRT H / PlanarRT X — счётные ядра, которые пишут файлы поля и топологии: PlanarRT H, PlanarRT X.
  • TPL Designer — создание задания .tpl (включая вывод полей и топологии): TPL Designer.
  • Язык задания .tpl, секция #OUTPUT: Файл задания .tpl.
  • TMCROS (сигналы), TMCGROUT (S-матрица), TMC_DN (диаграмма направленности): TMCROS, TMCGROUT, TMC_DN.
  • Пакетный режим ядер: Работа без окон.

User manual — FieldView (fieldview.exe)

Program: FieldView — the field viewer of the TMC Suite package, version 5.0 (Windows x64). Interface: Russian and English (switched in the View → Language / Язык menu), dark theme. Rendering: Qt RHI — on Windows via Direct3D 11.

FieldView 5.0 is a new program, not a repainted old one. The previous FieldView 4.1 (FieldView.exe, MFC interface, drawing via OpenGL) opens the same files, but its windows, toolbars and menus are different; they are not described in this manual.


Contents

  1. Purpose of the program
  2. Starting the program and opening files
  3. Main window
  4. Main toolbar
  5. The "Frames" toolbar
  6. Menus
  7. Program windows
  8. Working together with the compute kernel
  9. Typical tasks step by step
  10. Frequently asked questions and errors
  11. Appendix A. Keyboard shortcuts and mouse
  12. Appendix B. Field file format
  13. Related programs and documents

1. Purpose of the program

FieldView shows the field distribution computed by the compute kernels of the package — PlanarRT H (planarrt_h.exe, H-polarization) and PlanarRT X (planarrt_x.exe, X-mode with plasma and magnetic field). During the computation, the kernel writes "snapshots" of the field on the computational grid, and FieldView draws them:

  • as a map — a flat color picture, top view;
  • as a relief — a three-dimensional surface whose height and color are proportional to the field value at the grid node.

Together with the field, the program can show two more layers of the same computational domain:

Layer What it shows Where it comes from
Field field values at the grid nodes at the selected frame the field file (.ex, .tf, .AMP …)
Topology model blocks: dielectric, metal, magnetic wall, absorber, ports, plasma; block sizes and their anchors the .tt topology file with the same name as the field file
ε and plasma distribution of the permittivity ε over the grid; for the X-mode, also the electron density N, the losses Y and the magnetic field B the same .tt topology file

The main new feature of version 5.0 is following the computation: FieldView receives each new field frame directly from the running kernel, shows it at once and keeps it, so that after (or during) the computation the frames can be scrolled through with the slider, played back and recorded as a GIF animation. For details, see Section 8.

FieldView only reads the kernel files. It changes neither the file format nor the computation.

FieldView main window: horn field shown as a relief, port "Inp 1", scale on the right
FieldView main window: horn field shown as a relief, port "Inp 1", scale on the right

2. Starting the program and opening files

2.1. Ways to start the program

Method What happens
The "Field and topology" button in the compute kernel window the kernel starts fieldview.exe and passes it the field file of the current task (<name>.ex). If the file does not exist yet, the kernel creates it empty — FieldView waits until the kernel fills it (Section 8).
Double-clicking fieldview.exe in the program folder the main window opens. If no file is given on the command line, FieldView itself opens the last existing file from the list of recent files (File → Recent Files).
Command line: fieldview.exe "path\to\file.ex" the specified file opens (several files can be listed).
Dragging files with the mouse from File Explorer into the FieldView window each dragged file opens.

Command line keys for choosing the graphics interface (rarely needed, for example on a server or in a Remote Desktop session):

Key What it does
--rhi d3d11 Direct3D 11 (selected by default on Windows)
--rhi d3d12, --rhi vulkan Direct3D 12 or Vulkan (not tested by the developer)
--rhi opengl OpenGL (the distribution includes the software OpenGL opengl32sw.dll)
--warp software Direct3D 11 (WARP) — when there is no graphics card with Direct3D 11

Without keys, the program tries in turn: Direct3D 11 → software Direct3D 11 (WARP) → OpenGL. The selected interface is shown on the right of the status bar (for example, D3D11 · 11 fps).

2.2. Opening a file from the program

  1. Menu File → Open…, the Open button or the Ctrl+O keys.
  2. In the "Open Field File" system window, select one or more files. The list of file types at the bottom of the window:
Type in the selection window Extensions What it is
Field files (default) .ex .ey .hz .em .tf .AMP .FAZ .frames .tt all files the program understands
Single-frame field .ex .tf a field snapshot at one time step of the computation
Amplitude and phase .AMP .FAZ field amplitude and phase at the analysis frequency (written by the kernel on the FIELD_DISTRIBUTION_M command of the #OUTPUT section)
Frame series .ex.frames many consecutive frames in one file; such a file is written by FieldView itself (Frames → Save Frames as Series…)
All files *.* any files
  1. Click "Open". Each file opens in its own document window inside the main window. If the file is already open, the program simply switches to its window.

The folder from which a file was opened last time is remembered.

2.3. The .tt topology file

The program takes the model topology and the ε distribution from the .tt file located next to the field file and having the same name (horn.ex → horn.tt; for the series horn.ex.frames → also horn.tt). The letter case of the extension does not matter.

  • If there is no .tt, the field is still drawn, and a yellow line topology: no topology file horn.tt appears in the frame information. The "Topology" and "ε and plasma" layers are empty in this case.
  • If the grid size in .tt does not match the field grid, the ε layer is not shown; the reason is written in the frame information and in the "View Parameters" window ("ε and Plasma" tab).
  • If you open the .tt file itself (for example, by double-clicking), FieldView finds next to it a field file with the same name (.ex, .ey, .hz, .em, .tf, the .frames series, .AMP, .FAZ — in this order) and opens it.

The kernel writes the .tt file if the #OUTPUT section of the task contains the line TOPOLOGY; (Section 8).


3. Main window

FieldView main window
FieldView main window

The main window consists of the following areas (from top to bottom):

No. Area Purpose
1 Window title FieldView - [horn.ex] - FieldView: the program name and the file name of the active document window (when the document window is maximized).
2 Menu bar File, Edit, View, Frames, Window, Help (Section 6). On the right of the menu bar are the minimize/restore/close buttons of the document window.
3 Main toolbar zoom, topology, ε and field layers, 2D/3D, default view (Section 4).
4 "Frames" toolbar following the computation, moving between frames, slider, contrast, parameters, saving and export (Section 5).
5 Document area one or more document windows (as in older Windows programs with several documents); each has its own scene. By default, the first window is maximized over the whole area.
6 Frame information a panel in the upper left corner of the scene (see below).
7 Color scale a panel at the right edge of the scene: the correspondence between color and value (see below).
8 Status bar data window coordinates, following, frame and time, graphics interface (see below).

Toolbars can be dragged by the "handle" — the column of dots at their left edge (Toolbar handle) — and hidden via View → Panels. The size and position of the window and toolbars are remembered.

3.1. Frame information (upper left corner of the scene)

Line Example Meaning
File name horn.ex the document file. If the ε layer is on, the displayed quantity is appended after a dot: ε, N, Y or B.
Time step and time nT = 167 t = 0.393895 ns the time step number of the computation (nT) and the physical time of the snapshot in the file units.
Grid 242×202 · Δ = 1 mm the number of nodes along X and Y and the grid step Δ. If only part of the domain is shown, window 121×101 is added.
Frame number in memory frame 168 of 168 shown when there is more than one frame in memory (in turquoise).
Remark (in yellow) topology: no topology file horn.tt or ε layer: … why the topology or the ε layer is not shown.

3.2. Color scale (right edge of the scene)

A vertical bar of colors: the maximum at the top, the middle of the range in the middle, the minimum at the bottom. Above the bar is the label of the quantity:

  • E — field; |E| — field in the "Modulus" mode;
  • for the ε layer (a second scale further left if both layers are on): ε, N, м⁻³ (m⁻³), Y or B, Тл (T).

With 20 color levels the bar is stepped; with a smooth scale it is continuous (Section 7.1.4).

3.3. Messages in the middle of the scene

Message When What to do
The field file has not been created yet (+ name and folder) the field file does not exist on the disk yet wait until the kernel writes it; with following on, FieldView shows the field by itself.
Error reading the field file (+ Error : …, name and folder) the file exists but cannot be read (empty, damaged or not a field file) see Section 10. With following on, the following is added: "FieldView is watching the file and will show the field as soon as the kernel writes it."
Error: number of point along X axies < 2 (or Y) the data window has become narrower than two grid nodes zoom out (View → Zoom → Zoom -) or click "Default View" (Ctrl+D).
All layers are off the field, ε and topology are all off turn on a field layer: View → Field → Surface (S) or Grid (L).

3.4. Status bar

Status bar at the bottom of the main window
Status bar at the bottom of the main window

From left to right:

Part Example Meaning
Data window Xmin = 0 mm; Xmax = 241 mm; Ymin = 0 mm; Ymax = 201 mm; Delta = 1 mm; which part of the computational domain is shown now and the grid step. In the "Value at Point" mode, this shows X = … mm; Y = … mm; Field = …; — the coordinates of the marker and the field value at it. Without an open file: "Ready. Open a field file: File → Open (Ctrl+O)".
Following ● following: 167 frames from the kernel green circle — following the computation is on (the number shows how many frames have been received from the kernel); red circle and following off — it is off.
Frame nT = 166 ; t = 0.391537 ns; the time step number and the time of the snapshot shown.
Graphics D3D11 · 11 fps the graphics interface and the scene redraw rate (frames per second). This is the drawing speed, not the computation speed.

When the mouse is over a button or a menu item, a short description of the command is shown on the left. After files are saved, "Saved: …", "Written: …" and the like appear here for a few seconds.

3.5. Controlling the scene with the mouse

Action Result
Left button, drag rotate the scene (smoothly)
Right or middle button, drag move the scene
Right-click (without dragging) the "View Parameters" window
Wheel zoom in / zoom out
Double-click with the left button recompute the scale limits and reload the file (as View → Reload File, F5)
Shift + left click place the "Value at Point" marker at the selected node

4. Main toolbar

Main toolbar
Main toolbar

A toggle button that is currently on is highlighted with a turquoise frame. Inactive (gray) buttons are currently unavailable — for example, the N, Y, B buttons when there is no plasma in the data. The tooltip shows the full name of the command and its key.

No. Button Name Key What it does
1 Toolbar handle — Not a command: the column of dots at the left edge of the toolbar. Drag it to move the toolbar.
2 Open… Ctrl+O Open a field file (Section 2.2).
3 Zoom + + or = Halve the data window around its center along both axes — the picture becomes larger, a smaller part of the domain is visible.
4 Zoom +X X The same, along the X axis only.
5 Zoom +Y Y The same, along the Y axis only.
6 Zoom - - Double the data window along both axes. If it becomes larger than the whole domain, the whole domain is shown.
7 Zoom -X Shift+X The same, along the X axis only.
8 Zoom -Y Shift+Y The same, along the Y axis only.
9 Outline (topology) Shift+L Turn the outlines of the topology blocks on/off.
10 Surface (topology) Shift+S Turn the fill of the topology blocks on/off.
11 3D Blocks (2D/3D) Shift+D Topology blocks flat (2D) or as solid "bricks" (3D). Available if the topology outlines or fill are on.
12 Dielectric (Eps) E Show dielectric blocks.
13 Metal M Show metal.
14 Magnetic Wall N Show magnetic walls.
15 Absorber A Show the absorber (ABSORBER).
16 Inputs (Ports) I Show the ports and their numbers Inp N.
17 Block Sizes K Dimension lines with arrows and numbers — the sizes of the topology blocks.
18 Block Links Alt+K Dimension lines of the block anchors X0, Y0 (from the #LINK_LIST section of the task).
19 Grid (ε layer) Alt+L ε layer: show the grid (wireframe).
20 Surface (ε layer) Alt+S ε layer: show the color fill.
21 Relief (2D/3D) (ε layer) Alt+D The ε layer flat or as a relief. Available if the ε grid or fill is on.
22 Z Scale (ε layer) Alt+J A vertical scale of ε values in the scene itself (at the far edge along Y).
23 ε — permittivity (Eps+) — The ε layer shows the permittivity. Always available. Selecting a quantity turns on the ε layer fill by itself.
24 N — electron density — The layer shows the plasma electron density N, m⁻³. Available only when there is plasma in the .tt file (X-mode).
25 B — magnetic field — The layer shows the magnetizing magnetic field B, T. Only with plasma.
26 Y — losses — The layer shows the losses Y. Only with plasma.
27 Grid (field) L Field layer: show the grid (wireframe).
28 Surface (field) S Field layer: show the color fill.
29 Relief (2D/3D) (field) D The field as a flat map (2D) or as a relief (3D). Available if the field grid or fill is on.
30 Size Along X Ctrl+J A dimension line along the X axis with the length of the displayed area.
31 Size Along Y Shift+J A dimension line along the Y axis.
32 Z Scale (field) J A vertical scale of field values in the scene itself (at the near edge along Y).
33 Proportionally P The same scale on the X and Y axes: a circle stays a circle.
34 Default View Ctrl+D All view parameters to their defaults (for what is kept, see Section 6.3).
35 — Print… Ctrl+P Print the image (Section 7.5).
36 — About FieldView… — The About dialog (Section 7.6).

The "Print…" and "About" buttons are at the end of the main toolbar. If the window is not wide enough, Qt hides the last buttons under the toolbar extension button (a strip at the right edge of the toolbar); there are no screenshots of these two buttons yet. Both commands are also available from the menu: File → Print…, Help → About FieldView….

Buttons 3–34 work with the active document window; while no file is open, they are unavailable.


5. The "Frames" toolbar

The "Frames" toolbar
The "Frames" toolbar

A frame is one field snapshot at one moment of model time. Frames appear in the program memory in two ways: they are sent by the running kernel (with "Follow Calculation" and "Record Frames" on) or they are read from a .ex.frames series file. An ordinary field file without following contains one frame — then the frame navigation buttons and the slider are inactive (the screenshot above shows exactly this state, counter 1 / 1).

No. Element Name Key What it does
1 Follow Calculation — A toggle. A green circle on the button — FieldView follows the field file and reads each new frame written by the kernel; red — following is off. On by default. For details, see Section 8.
2 First Frame Ctrl+Home Go to the first frame in memory.
3 Previous Frame , (comma) One frame back. From the first frame it goes to the last one.
4 Play / Pause Space Play the frames in a loop; pressing again pauses. During playback the icon changes to "pause".
5 Next Frame . (period) One frame forward. From the last frame it goes to the first one.
6 Last Frame Ctrl+End Go to the last frame — and then follow the computation: each new frame from the kernel will be shown at once.
7 slider Frame — Drag it to select a frame. Dragging stops playback. Available if there is more than one frame.
8 counter — — number / total, for example 168 / 168.
9 the "contrast ×" field Contrast — An integer from 1 to 100. The automatic limits of the field scale are divided by this number: with "contrast ×6" a weak field is colored brighter, and values beyond the scale limits are drawn with the end color. It also affects the relief height. It does not affect limits set manually.
10 Parameters… Alt+P The "View Parameters" window (Section 7.1).
11 Modulus Alt+M Show the field modulus |E| instead of the signed value (Section 6.3, the "Field" submenu).
12 Value at Point Alt+A A marker at a grid node with a number next to it; the coordinates and value are in the status bar. The arrow keys move the marker by one grid step, Shift+click places it with the mouse.
13 Color Levels (Values) Alt+E Show/hide the "Color Levels" panel (Section 7.2).
14 Save Image… Ctrl+S Write the picture of the active window to PNG, JPEG or BMP (Section 7.4).
15 Export Animation (GIF / PNG)… Ctrl+Shift+E Write the frames as a GIF animation or as a set of PNG frames (Section 7.3).

There is no playback speed control on the toolbar — this is the author's decision. The field comes from the kernel as the computation proceeds: the kernel computes and passes each frame, and FieldView shows it at once, that is, the pace is set by the computation, not by FieldView. Playback of frames already in memory runs at a constant speed. The frame rate is set only when writing a GIF — in the "Export Animation" window (Section 7.3).


6. Menus

6.1. File

The "File" menu
The "File" menu
Item Key What it does
Open… Ctrl+O Open one or more field files (Section 2.2).
Close Ctrl+F4 Close the active document window.
Save Image… Ctrl+S Write the picture of the view to a PNG/JPEG/BMP file (Section 7.4). The field file is not overwritten.
Save Frames as Series… — Write all frames in memory to one .ex.frames file (Section 7.4).
Export Animation (GIF / PNG)… Ctrl+Shift+E The "Export Animation" window (Section 7.3).
Print… Ctrl+P The system print window; the page gets the picture of the view and a line with the file name, nT and t (Section 7.5).
Print Preview — What the page will look like (Section 7.5).
Page Setup… — The system window for choosing the printer, paper size and orientation. Landscape by default.
Recent Files ► — A submenu: up to 7 recently opened files (1 path…, 2 path…). While the list is empty, the item is gray.
Exit Alt+F4 Close the program. The window size and the toolbar positions are remembered.
The "File → Recent Files" submenu
The "File → Recent Files" submenu

6.2. Edit

The "Edit" menu
The "Edit" menu
Item Key What it does
Copy Image Ctrl+C, Ctrl+Insert The picture of the active window goes to the clipboard (it can be pasted into Word, a report, a presentation). The status bar shows "Image copied to the clipboard".

6.3. View

The "View" menu
The "View" menu
Item Key What it does
Parameters… Alt+P The "View Parameters" window (Section 7.1).
Topology ► — Submenu of the topology layer (table below).
Eps and Plasma ► — Submenu of the ε and plasma layer.
Field ► — Submenu of the field layer.
Zoom ► — Enlarging/reducing the data window.
Rotate ► — Rotating the scene in steps of 2°.
Translate ► — Moving the scene in steps.
X Data Window ► — Moving the displayed part of the domain along X.
Y Data Window ► — Moving the displayed part of the domain along Y.
Default View Ctrl+D All view parameters to their defaults: layers, data window, camera, limits. Kept are the scale colors, the colors of the topology materials and the selected quantity of the ε layer.
Reset Camera Home Only rotation, shift and zoom go to their defaults; layers and the data window are not touched.
Top View Ctrl+T All rotation angles are 0: look at the domain from above, as at a flat map.
Reload File F5 Reload the file from the disk and recompute the scale limits (the same as double-clicking the scene). Frames already in memory are not lost.
Proportionally P The same scale on the X and Y axes.
Panels ► — Show/hide: Main Toolbar, Frames Toolbar, Status Bar, Color Levels.
Language / Язык ► — The interface language: "System / Как в системе", "Русский", "English" (the last item of the menu). The language changes at once in all FieldView windows; other programs of the package that are already open at that moment switch to it the next time they are started (overview.md, Section 6.2).
The "View → Panels" submenu
The "View → Panels" submenu
The "View → Language / Язык" submenu
The "View → Language / Язык" submenu

Submenus of the "View" menu:

View → Topology

The "View → Topology" submenu
The "View → Topology" submenu
Item Key What it does
Outline Shift+L Block outlines.
Surface Shift+S Block fill. Dielectric, plasma and absorber are filled semi-transparently (the field under them is visible), metal and ports almost opaquely.
3D Blocks (2D/3D) Shift+D Flat or solid blocks.
Axis Size Lines ► Size Along X / Size Along Y Ctrl+J / Shift+J Dimension lines along the axes with the length of the displayed area in file units.
Block Dimensions ► Block Sizes / Block Links K / Alt+K Block sizes; anchors X0, Y0.
Boundaries ► Dielectric (Eps), Metal, Magnetic Wall, Absorber, Inputs (Ports) E, M, N, A, I Which materials to show.
Boundaries ► Plasma (Outlines) — Outlines of the X-mode plasma blocks (RECT_STAT_N/_B/_Y and others). New in version 5.0.

The "3D Blocks", "Block Sizes", "Block Links" commands and the "Boundaries" items are available only if the topology outlines or fill are on.

View → Eps and Plasma

The "View → Eps and Plasma" submenu
The "View → Eps and Plasma" submenu
Item Key What it does
Grid Alt+L Wireframe of the ε layer.
Surface Alt+S Fill of the ε layer.
Relief (2D/3D) Alt+D The ε layer flat or as a relief.
Z Scale Alt+J A scale of the layer values in the scene.
Displayed Quantity (Type) ► ε — permittivity (Eps+) / N — electron density / Y — losses / B — magnetic field — Which quantity the layer shows (one is selected). N, Y, B are available only when there is plasma in the .tt file. Selecting a quantity turns on the layer fill and automatic limits.

View → Field

The "View → Field" submenu
The "View → Field" submenu
Item Key What it does
Grid L Field wireframe. In the relief, grid lines over the fill.
Surface S Field fill with the scale colors.
Relief (2D/3D) D A flat map or a relief.
Z Scale J A scale of field values in the scene.
Color Levels (Values) Alt+E The "Color Levels" panel (Section 7.2).
Value at Point Alt+A Marker and field value at a node. While the mode is on, the keyboard arrows move the marker, not the data window.
Modulus Alt+M Show the modulus |E|. The scale limits are symmetric: ±max|E|, the scale is "Glow" (unless a custom 20-color scale is selected).
Color Scale ► Scale: Auto / "Wave" Scale / "Glow" Scale / Scale: 20 Level Colors — Selecting the scale (one of four, see 7.1.4). New in version 5.0.
Color Scale ► Smooth Scale (256 Levels) — Smooth color transition; when off, 20 steps.
Limits by Current Frame — Scale limits from the displayed frame. When off, the limits grow over all frames shown (the picture does not "flicker" from frame to frame). New in version 5.0.
The "View → Zoom" submenu
The "View → Zoom" submenu

View → Zoom — Zoom + (+, =), Zoom +X (X), Zoom +Y (Y), Zoom - (-), Zoom -X (Shift+X), Zoom -Y (Shift+Y). Zoom here means the data window: which part of the computational domain is shown (buttons 3–8 of the main toolbar).

The "View → Rotate" submenu
The "View → Rotate" submenu

View → Rotate — step 2°, the keys are Ctrl + digits of the numeric keypad (NumLock on):

Item Key Rotation
Left / Right Ctrl+Num 4 / Ctrl+Num 6 around the Y axis by −2° / +2°
Up / Down Ctrl+Num 8 / Ctrl+Num 2 around the X axis by −2° / +2°
Counterclockwise (Z) / Clockwise (Z) Ctrl+Num 1 or Num 3 / Ctrl+Num 7 or Num 9 around the Z axis by −2° / +2°
The "View → Translate" submenu
The "View → Translate" submenu

View → Translate — step 0.04 of an arbitrary scene unit, the keys are Alt + digits of the numeric keypad:

Item Key
X Right / X Left Alt+Num 6 / Alt+Num 4
Closer / Farther Alt+Num 7 or Num 9 / Alt+Num 1 or Num 3
Up / Down Alt+Num 8 / Alt+Num 2
The "View → X Data Window" submenu
The "View → X Data Window" submenu
The "View → Y Data Window" submenu
The "View → Y Data Window" submenu

View → X Data Window / Y Data Window — Data Window Left / Right (← / →), Down / Up (↓ / ↑): move the displayed part of the domain by one grid step Δ. The window does not go beyond the domain boundaries. In the "Value at Point" mode these keys move the marker.

6.4. Frames

The "Frames" menu
The "Frames" menu
Item Key What it does
Play / Pause Space Play the frames in a loop / stop.
Previous Frame , One step back.
Next Frame . One step forward.
First Frame Ctrl+Home To the first frame.
Last Frame Ctrl+End To the last frame and then follow the computation.
Follow Calculation — Toggle for following the kernel (Section 8).
Record Frames — Toggle: keep in memory each frame received from the kernel, to scroll through and play back later. On by default. When off, only the last frame is in memory (as in the old version).
Clear Frames — Remove all frames except the last one from memory. Available if there is more than one frame (and this is not a series file).
Export Animation (GIF / PNG)… Ctrl+Shift+E The "Export Animation" window (Section 7.3).
Save Frames as Series… — Write the frames from memory to a .ex.frames file.

The first five items are available only if there is more than one frame in memory (in the screenshot they are gray: a file with one frame is open).

6.5. Window

The "Window" menu
The "Window" menu
Item Key What it does
New Window — One more window of the same document (the title gets :2, :3 …). Convenient for viewing one field from different sides or with different layers.
Cascade — Arrange the document windows in a cascade.
Tile — Arrange the document windows side by side, without overlapping.
Next Window F6, Ctrl+Tab Activate the next document window.
Previous Window Shift+F6 Activate the previous window.
1 horn.ex, 2 … — The list of open windows; the check mark shows the active window.

6.6. Help

The "Help" menu
The "Help" menu
Item Key What it does
User Manual F1 Open the user manual of the package. The program looks for a PDF in the interface language next to itself — TMC_Suite_5.0_Руководство_пользователя.pdf (Russian) or TMC_Suite_5.0_User_Manual.pdf (English) — and opens it; if there is no PDF next to it, it opens the manual on the website www.tamic.ru/docs/user-manual/index.html.
About FieldView… — The About dialog (Section 7.6).

7. Program windows

7.1. "View Parameters"

Opened by: View → Parameters…, the button on the "Frames" toolbar, Alt+P or right-clicking the scene. The settings apply to the active document window and are remembered (the next time the program starts, it begins with them). The tab that was open last time is opened.

Buttons at the bottom of the window (on all tabs):

Button What it does
OK Apply all tabs and close the window.
Cancel Close the window. Changes already applied with the "Apply" button remain.
Apply Apply at once without closing the window — you can see how the picture changes.

Numbers in the fields are entered with a period as the decimal separator (0.5, 1e-3).

7.1.1. The "Place" tab

View Parameters — the "Place" tab
View Parameters — the "Place" tab

The "X axies" and "Y axies" groups (identical):

Element Type What it sets
Whole Area (Auto size) check box On — the whole computational domain is shown along the axis; the min/max fields are unavailable (gray) and show the current boundaries. Off — the boundaries are set manually.
min, mm / max, mm input field Boundaries of the data window along the axis in the length units of the file (the label is taken from the file: mm, cm …). They are measured in the same way as the coordinates in the task. Going beyond the domain is not allowed — the excess is cut off.
rotation, ° spin box (−3600…3600, step 2) The rotation angle of the scene around this axis, in degrees. It is also changed by rotating with the mouse and by the "Rotate" menu.
shift spin box (−100…100, step 0.04) Shift of the scene along this axis in arbitrary scene units. It is also changed by the "Translate" menu.
Size Along Axis (Draw size flag) check box A dimension line along the axis with the length of the displayed part (the same as the "Size Along X/Y" buttons).

The "Axes and Labels" group:

Element Type What it sets
Draw X, Y, Z Axes (Draw) check box Axes with arrows and the letters X, Y, Z from the center of the domain.
sample Inp 1 12.5 label What the labels in the scene (port numbers, sizes, Z scale labels) will look like with the selected color and font.
Color… button The system window for choosing the color of the labels and axes.
Font… button The system window for choosing the font of the labels.

The "Camera" group:

Element Type What it sets
Z rotation, ° spin box (−3600…3600, step 2) Rotation of the scene around the vertical Z axis.
Z shift (closer) spin box (−100…100, step 0.04) Moving the scene closer/farther.
scale spin box (0.05…50, step 0.1) The image scale (also changed by the mouse wheel).

The "File Units" group — read-only, taken from the header of the field file:

Element Example Meaning
Length (Long Unit) mm (0.001 m) the length unit and its value in meters
Time (Time Unit) ns the time unit

The "Proportional X and Y (Proportionally)" check box — the same as the "Proportionally" button (P).

7.1.2. The "Topology" tab

View Parameters — the "Topology" tab
View Parameters — the "Topology" tab

The "Items and Colors (Draw flags)" group — six rows: Dielectric (Eps), Metal Walls, Magnetic Wall, Input Port, Absorber Layer, Plasma (New). In each row:

Element What it does
check box with the material name show the blocks of this material (the same as buttons 12–16 of the main toolbar and the "Plasma (Outlines)" menu item)
colored rectangle the current color of the material
Change… the system window for choosing the color of this material

The "Default Colors (Default)" button restores the original colors of all six materials.

The "Display (Draw)" group: the Outlines (Line) and Fill (Surface) check boxes — the same as buttons 9–10 of the main toolbar.

The "Mode (Dimention)" group: the 2D — flat / 3D — solid blocks switch — the same as the "3D Blocks (2D/3D)" button.

The "Dimensions (Size)" group:

Element Type What it sets
Blocks (Block) check box block sizes (the "Block Sizes" button, K)
Links (Link List) check box anchors X0, Y0 (the "Block Links" button, Alt+K)
Opacity, % (Blend) spin box 0…100 opacity of the topology layer: 100 — as set for each material, less — more transparent

7.1.3. The "ε and Plasma" tab

View Parameters — the "ε and Plasma" tab
View Parameters — the "ε and Plasma" tab

The "Display (Draw flags)" group:

Element Type What it sets
Fill (Surface) check box fill of the layer with the scale colors
Grid (Line) check box wireframe of the layer
2D — flat / 3D — ε relief switch flat layer or relief
Opacity, % spin box 0…100 opacity of the layer (80 by default — the field under the layer is visible)

The "Coloring (Color)" group:

Element Type What it sets
drop-down list of scales list Auto ("Glow"), "Wave" (−max … 0 … +max), "Glow" (0 … max), 20 Level Colors (Custom) — see 7.1.4
sample bar picture what the selected scale looks like
Smooth, 256 Levels (Otherwise 20) check box smooth scale or 20 steps
Level Colors… (Set color) button the "Level Colors" window for a custom scale (Section 7.1.5); after OK, "20 Level Colors (Custom)" is selected in the list
Reset (Default) button the "Glow" scale, smooth, the original 20 colors

The "Z Axis Limits (Z axies)" group:

Element Type What it sets
Auto — by Grid (Auto size) check box scale limits from the minimum to the maximum of the quantity on the displayed part of the grid; the min/max fields are unavailable and show the current limits
min / max input field scale limits set manually (if min is greater than max, they are swapped)
Z Scale in Scene (Draw size flag) check box a vertical scale of values in the scene (the "Z Scale" button, Alt+J)

The "Displayed Quantity (Type)" group — a switch: ε (Eps+), N — density, Y — losses, B — magn. field. N, Y, B are available (not gray) only if the .tt file contains plasma (X-mode). The units are on the scale on the right: N in m⁻³, B in T, ε and Y are dimensionless.

If the ε layer cannot be shown, "The ε layer is unavailable: …" is written in yellow at the bottom of the tab with the reason: there is no topology file, or "the topology file grid (N×M) does not match the field grid (K×L)".

7.1.4. The "Field" tab

View Parameters — the "Field" tab
View Parameters — the "Field" tab

The "Display (Draw flags)" group — as on the "ε and Plasma" tab (Fill, Grid, 2D — flat / 3D — relief, Opacity), plus:

Element Type What it sets
Field Modulus (Draw Modul) check box show the modulus |E| (the "Modulus" button, Alt+M)
Relief Height spin box 0.05…10 relief height multiplier: greater than 1 — higher relief, less than 1 — flatter

The "Coloring (Color)" group — as on the "ε and Plasma" tab; the first item of the list here is called Auto: "Wave" or "Glow", and the "Reset (Default)" button restores the "Auto" scale, smooth, the original 20 colors.

Scales:

Scale What it looks like What it is for
"Wave" −max — violet, 0 — dark, +max — turquoise; symmetric limits ±max an alternating-sign field (instantaneous value)
"Glow" from dark (0) through violet and turquoise to light (max) non-negative quantities: the .AMP amplitude, the modulus, ε, N, Y, B
Auto for the field — "Wave" if the data contain negative values, otherwise "Glow"; for the ε layer — always "Glow" selection without user involvement
20 Level Colors (Custom) 20 colors from the "Level Colors" window; by default — the colors of the previous FieldView 4.1; limits — from the minimum to the maximum the familiar coloring of the old version or a custom one

The "Z Axis Limits (Z axies)" group:

Element Type What it sets
Auto (Auto size) check box scale limits are computed from the data (taking "contrast ×" into account); the min/max fields are unavailable and show the current limits, for example -370.53317 and 370.53317
min / max input field limits set manually
Auto by Current Frame (Otherwise All) check box limits from the displayed frame; when off, the limits grow over all frames shown, and for a .frames series they are computed at once over all frames of the file
Z Scale in Scene (Draw size flag) check box a scale of field values in the scene (J)

7.1.5. "Level Colors" (custom scale of 20 colors)

Opened with the "Level Colors… (Set color)" button on the "ε and Plasma" and "Field" tabs. The window title is "Level Colors (Auto color)".

There is no screenshot of this window in the new version yet (Section 14).

Element What it does
The "First Level" group 20 color samples with the Level 1 … Level 20 switches (two columns of 10); the switch marks the level the buttons work with. Level 1 is marked by default. The "Change…" button under the group is the system color selection for the marked level.
The "Second Level" group the same; level 20 is marked by default.
Resulting scale (on the right) all 20 colors: level 1 at the bottom, level 20 at the top.
Auto smoothly fill the levels between those marked in the first and second groups (a linear transition from one color to the other). The marked levels must be at least 2 apart.
Auto via Red / Green / Blue the same, but the transition passes through the maximum of the red / green / blue component in the middle of the interval.
Fill from Scale: "Wave" / "Glow" take 20 colors from a scale of the package.
Original (FieldView 4.1) restore the colors of the previous version.
OK / Cancel apply / close without changes.

7.2. The "Color Levels" panel

Opened with the button, Alt+E or View → Field → Color Levels (Values). This is not a separate window but a panel at the right edge of the main window (it can be dragged or closed with the cross).

A table of 20 rows, the highest level at the top:

Column Meaning
Color the color of the field scale level
Value From the field value at which this level starts (with the current scale limits)

The table is updated when the frame, the limits or the scale change.

There is no screenshot of the panel in the new version yet (Section 14).

7.3. "Export Animation"

Opened with the button, Ctrl+Shift+E, File → Export Animation (GIF / PNG)… or Frames → Export Animation….

The "Export Animation" window
The "Export Animation" window
Field Type Allowed values What it sets
Format list GIF Animation, PNG Frames to a Folder one GIF file or a set of PNG pictures
From Frame spin box 1 … number of frames the first frame to write (1 by default)
To Frame spin box 1 … number of frames the last frame to write (the last one by default)
Every k-th Frame spin box 1 … number of frames thinning: 1 — all frames, 5 — every fifth. By default it is chosen so that there are no more than ~200 frames
Frames per Second (GIF) spin box 1 … 50 the playback speed of the finished GIF. The only place in the program where the frame rate is set. It does not affect PNG frames
Width, pixels spin box 160 … 3840 the width of each frame in pixels (the height is proportional). By default — the scene width, but not more than 960
Save… button — ask where to write, and write
Cancel button — close without writing

After "Save…":

  • for GIF — the "GIF Animation" system window: choose the file name (by default <field file name>.gif in the folder of the field file);
  • for PNG — the "Folder for PNG Frames" window: choose the folder. The frames get the names <name>_0001.png, <name>_0002.png, …

During writing, the "Writing frames…" window with a progress bar and the "Abort" button is shown. Frames are captured from the active document window in its current state (layers, rotation, scale). After writing, the program returns to the frame that was shown before the export; the status bar shows "Written: ".

With one frame in memory, the animation consists of one frame. To get a real animation, first accumulate frames (Section 8) or open a .ex.frames series file.

7.4. Saving the image and a frame series

Save Image… (Ctrl+S, the button) — the "Save Image" system window. File types: PNG, JPEG, BMP. The default name is <field file name>.png. Exactly what is visible in the scene of the active window is saved, together with the information and scale panels. The folder is remembered.

Save Frames as Series… — the "Save Frames as Series" system window, type "Frame series (*.frames)", the default name is <field file name>.frames (for example, horn.ex.frames). All frames in memory are written to the file one after another in the format of the kernel field file (single-precision numbers). Such a file is later opened in FieldView as an ordinary one: all frames are available on the slider at once. The status bar shows "Frames written: N".

7.5. Printing

Print… (Ctrl+P) opens the Windows system print window. The page (landscape by default) gets the same image as on the screen, and above it a line with the file name, the time step number and the time. For a PDF file, select the "Microsoft Print to PDF" printer. Print Preview shows the page before printing (the "Print Preview" window), Page Setup… — the system printer and paper window.

7.6. "About FieldView"

Opened by: Help → About FieldView….

The "About FieldView" window
The "About FieldView" window
Element What it is
Icon and name FieldView the program icon
Description "Viewer for device geometry and field intensity distribution; can synchronize field display with the calculation."
Tags Version 5.0, 2026, Windows · x64 version, year, platform
AUTHOR: K. N. Klimov, © 2026 the author of the package
GitHub, LinkedIn, ResearchGate, eLibrary links to the author's pages (opened in the browser)
www.tamic.ru the package website
User Manual ("PDF" or "ONLINE" tag) open the user manual: a PDF in the interface language next to the program ("PDF" tag) or, if there is none, the manual on the website ("ONLINE" tag) — like the Help → User Manual item (F1, Section 6.6)
Bottom line TMC Suite 5.0 · Qt 6.11.1 — the version of the package and of the Qt library
OK close the window

8. Working together with the compute kernel

FieldView can show the field during the computation: the kernel writes a time step — FieldView reads and shows it at once, and the kernel (with synchronization on) waits until FieldView has read the frame, and only then writes the next one. In this way no frame is lost.

The PlanarRT H kernel (left) computes the horn.tpl task, FieldView (right) shows the field: frame 167 of 167, "following: 166 frames from the kernel"
The PlanarRT H kernel (left) computes the horn.tpl task, FieldView (right) shows the field: frame 167 of 167, "following: 166 frames from the kernel"

8.1. What to prepare

1. In the .tpl task file, the #OUTPUT section must contain the lines TOPOLOGY; and FIELDS;. Example — samples/DEMO/PlanarRT_H/horn.tpl:

#OUTPUT
 FILE horn;
 TOPOLOGY;
 FIELDS;
 SMATRIX horn; F; 1.5; 2.5;
 FIELD_DISTRIBUTION_M horn; F; 1.5; 2.5;
#END_OUTPUT
  • FILE horn; — the common name of the result files: the field will be in horn.ex, the topology in horn.tt;
  • TOPOLOGY; — write the topology (.tt): the blocks and the ε distribution (for the X-mode also N, Y, B);
  • FIELDS; — write the field at the time steps of the computation.

Writing the field slows down the computation — the kernel rewrites the whole grid at each output time step, and the computation may take several times longer. Turn on FIELDS; only when you are going to look at the field. In TPL Designer, this is the "Export fields" check box in the "Output" section (see TPL Designer).

2. In the kernel window (PlanarRT H or PlanarRT X), turn on the toggles on the toolbar or in the Config menu:

Kernel button Kernel menu item What to turn on
Config → Topology (F4) topology output
Config → Field (Ctrl+F4) field output
Config → Synchronization waiting until FieldView has read the frame. The item is available only when "Field" is on.

A green circle on the kernel button means the toggle is on, a red one means it is off.

3. In FieldView, "Follow Calculation" is on (the button with a green circle; on by default) and, so that the frames remain available for viewing, Frames → Record Frames is on (also on by default).

8.2. Working procedure

  1. Open the task in the kernel (PlanarRT H or PlanarRT X).
  2. Turn on "Topology", "Field" and "Synchronization" in the kernel (8.1, item 2).
  3. In the kernel, click the "Field and topology" button . The button is available only if both "Field" and "Topology" are on. The kernel starts FieldView with the field file of the task (<name>.ex). If the file does not exist yet, the kernel creates it empty, and FieldView shows a message that it is waiting for data from the kernel. While FieldView is open, the green circle on the "Field and topology" button in the kernel is lit.
  4. Start the computation in the kernel.
  5. Every 50 ms, FieldView checks whether the kernel has written a new frame, reads it and shows it at once. The counter ● following: N frames from the kernel grows in the status bar, the counter N / N on the "Frames" toolbar, and frame N of N, nT and t in the frame information.
  6. During the computation you can:
    • rotate and zoom the scene, change layers — this does not stop the computation;
    • go back with the slider or the "Previous Frame", "First Frame" buttons — the view stays on the selected frame, and new frames from the kernel keep accumulating;
    • return to the computation with the "Last Frame" button (Ctrl+End) or by dragging the slider all the way to the right — new frames will again be shown at once.
  7. After the computation, all recorded frames remain in memory: they can be scrolled through with the slider, played back (Play / Pause, Space), recorded as an animation (Section 7.3) or saved as a .ex.frames series (Section 7.4) to be opened later without recomputing.

8.3. How frames are recorded

  • A new frame is added to memory if it has a different nT number or time; if the kernel rewrote the same frame, it is replaced.
  • If the grid size has changed (for example, the kernel started computing another step of the task with a different grid), the previous frames are discarded.
  • The memory for frames is limited to ~1 GB: when it is exceeded, the oldest frames are discarded.
  • Frames → Clear Frames clears the memory, leaving the last frame.
  • With "Record Frames" off, only the last frame is in memory — as in the old version of FieldView.

8.4. Important note on synchronization

With "Synchronization" on, after writing each frame the kernel waits (up to 25 s per frame) until FieldView has read it. Therefore: - if FieldView is closed or "Follow Calculation" is off in it, the kernel will stay idle for up to 25 s at each output time step — turn off "Synchronization" in the kernel; - a computation with synchronization runs no faster than FieldView manages to read the frames.

This behavior has been kept from the previous version of the package on purpose.

Technically, synchronization works through a Windows attribute of the field file: after writing a frame, the kernel sets the file attribute to "normal", and FieldView, after reading it, to "archive". While reading, FieldView forbids writing to the file, and the kernel retries writing after 10 ms. When the document window is closed, FieldView sets the file attribute back to "normal".


9. Typical tasks step by step

9.1. View a ready field file

  1. File → Open… (Ctrl+O), select .ex (or .AMP, .tf …), "Open".
  2. If the picture is not visible or has "drifted away" — View → Default View (Ctrl+D).
  3. Flat map: View → Top View (Ctrl+T), then turn off the relief (D).
  4. A weak field is hard to see — increase "contrast ×" on the "Frames" toolbar (for example, to 5).

9.2. View the field during a computation

See Section 8.2.

9.3. Make an animation of wave propagation (GIF)

  1. Accumulate frames: compute the task with following on (Section 8) or open a .ex.frames series.
  2. Set up the view (rotation, layers, scale) in the active window.
  3. Click "Export Animation".
  4. Format — "GIF Animation"; From Frame / To Frame — the required interval; Every k-th Frame — thinning (fewer frames — a smaller file); Frames per Second (GIF) — the speed; Width, pixels — the size.
  5. "Save…" → file name → "Save". Wait until writing is finished.

9.4. Find out the field value at a point

  1. Click "Value at Point" (Alt+A). A marker with a number appears in the center of the domain.
  2. Move the marker with Shift+click at the required place or with the keyboard arrows (step — one grid node).
  3. The coordinates and the value are on the left of the status bar: X = … mm; Y = … mm; Field = …;.
  4. To turn the mode off, press Alt+A again.

9.5. Show the ε distribution or the plasma (X-mode)

  1. Make sure that a .tt with the same name is next to the field file (TOPOLOGY; in the task).
  2. Click ε (or N, B, Y — for plasma). The ε layer is turned on as a fill over the field.
  3. Layer transparency — View Parameters → "ε and Plasma" → Opacity, %.
  4. Outlines of the plasma blocks — View → Topology → Boundaries → Plasma (Outlines).

9.6. Compare two files or two views of one field

  1. Open both files (Ctrl+O, two can be selected at once) — or Window → New Window for a second view of the same file.
  2. Window → Tile — the windows are placed side by side.
  3. Each window has its own view settings; toolbar buttons act on the active window.

9.7. Insert a field picture into a report

  • Quickly: Edit → Copy Image (Ctrl+C) and paste into the document.
  • To a file: File → Save Image… (Ctrl+S), PNG format.
  • On paper or to PDF: File → Print… (Ctrl+P), the "Microsoft Print to PDF" printer.

9.8. Show part of the domain enlarged

  1. The "Zoom +" button (+) — the data window is halved around the center.
  2. The ← → ↓ ↑ arrows move the data window by a grid step.
  3. Exact boundaries — View Parameters → "Place": clear "Whole Area" and enter min/max along X and Y.
  4. To return to the whole domain — Ctrl+D or the "Whole Area" check boxes.

10. Frequently asked questions and errors

Symptom Cause and what to do
"The field file has not been created yet" The kernel has not written the file yet. Check that the task contains FIELDS;, that "Field" is on in the kernel, and start the computation. With following on, FieldView shows the field by itself.
"Error reading the field file", Error : when read data file The file is empty (for example, it has just been created by the "Field and topology" kernel button) or busy at the moment. With following on, wait until the kernel writes it; otherwise, F5.
Error : bad data file The file is not a field file (there is no first line #TMC_GraphicsOutputFieldFile) or it is damaged.
Error : bad data file nX = … < 2 (or nY) There is no field array in the file — recompute with the kernel.
Error : abnormal accuracy [..], but must be 4 or 8 The file header is damaged (#TMCGROFLD_Accuracy must be 4 or 8).
Error : can't open data file {…} There is no file at the specified path, or there is no access to it.
The "All layers are off" message Turn on the field fill (S) or the grid (L).
"Error: number of point along X axies < 2" Zoomed in too much — - or Ctrl+D.
No topology, yellow line topology: no topology file ….tt The task has no TOPOLOGY;, or "Topology" is off in the kernel; or the .tt file is in another folder or has another name.
The N, Y, B buttons are gray There is no plasma in the .tt file (H-mode or a task without plasma blocks).
"The ε layer is unavailable: the topology file grid … does not match the field grid …" The .tt is from another computation (another step or domain). Recompute the task with TOPOLOGY;.
The frame buttons and the slider are inactive There is one frame in memory. Turn on following and "Record Frames" and compute the task (Section 8), or open a .ex.frames.
The computation in the kernel is very slow Writing the field (FIELDS;) slows down the computation by itself; with "Synchronization" on, the kernel also waits for FieldView (up to 25 s per frame if FieldView is closed or following is off).
The picture "flickers" in brightness from frame to frame The "Limits by Current Frame" check box is on — turn it off, then the limits will be common to all frames shown.
A circle looks like an oval Turn on "Proportionally" (P).
The scene was "lost" after rotations Reset Camera (Home) or Default View (Ctrl+D).
Rotating/moving with the keyboard does not work The numeric keypad keys are used, with NumLock on.
An empty scene in a Remote Desktop session Start fieldview.exe --warp or --rhi opengl.

11. Appendix A. Keyboard shortcuts and mouse

Key Command
Ctrl+O Open…
Ctrl+F4 Close the document window
Ctrl+S Save Image…
Ctrl+Shift+E Export Animation
Ctrl+P Print…
Alt+F4 Exit
Ctrl+C, Ctrl+Insert Copy Image
Alt+P View Parameters
Shift+L, Shift+S, Shift+D Topology: outlines, fill, 2D/3D
E, M, N, A, I Topology: dielectric, metal, magnetic wall, absorber, ports
K, Alt+K Block sizes, block links
Ctrl+J, Shift+J Size along X, along Y
Alt+L, Alt+S, Alt+D, Alt+J ε layer: grid, fill, relief, Z scale
L, S, D, J Field: grid, fill, relief, Z scale
Alt+E, Alt+A, Alt+M Color levels, value at point, modulus
+ (=), X, Y Zoom +; along X; along Y
-, Shift+X, Shift+Y Zoom -; along X; along Y
Ctrl + Num 4/6/8/2/1/3/7/9 Rotate
Alt + Num 6/4/7/9/1/3/8/2 Translate
← → ↓ ↑ Data window (or the value marker) by a grid step
Ctrl+D Default View
Home Reset Camera
Ctrl+T Top View
F5 Reload File
P Proportionally
Space Play / Pause
, / . Previous / next frame
Ctrl+Home / Ctrl+End First / last frame
F6, Ctrl+Tab / Shift+F6 Next / previous window
F1 User Manual

Mouse — Section 3.5.


12. Appendix B. Field file format

The field file (.ex, .ey, .hz, .em, .tf, .AMP, .FAZ) is written by the compute kernel; it is not created or edited by hand. It consists of a text header (11 lines, line ending CR LF) and a binary array of values.

Header example:

#TMC_GraphicsOutputFieldFile FormVer2.0 2000
#TMCGROFLD_nT 5653
#TMCGROFLD_Time 8.00008e-009
#TMCGROFLD_Delta 0.0006
#TMCGROFLD_Xmin 0
#TMCGROFLD_Ymin 0
#TMCGROFLD_Accuracy 8
#TMCGROFLD_LongUnit mm 0.001
#TMCGROFLD_TimeUnit ns 1e-009
#TMCGROFLD_nX 688
#TMCGROFLD_nY 502
Line Meaning
#TMC_GraphicsOutputFieldFile FormVer2.0 2000 format signature (mandatory first line)
#TMCGROFLD_nT time step number
#TMCGROFLD_Time time of the snapshot, s
#TMCGROFLD_Delta grid step Δ, m
#TMCGROFLD_Xmin, #TMCGROFLD_Ymin origin of the domain
#TMCGROFLD_Accuracy number size: 4 — single precision, 8 — double
#TMCGROFLD_LongUnit the length unit and its value in meters
#TMCGROFLD_TimeUnit the time unit and its value in seconds
#TMCGROFLD_nX, #TMCGROFLD_nY the number of nodes along X and Y (not less than 2)

After the header there are nY rows of nX numbers; each row is preceded by CR LF. The inner loop is over X.

The .ex.frames frame series is several such files written one after another; FieldView writes them in single precision (Accuracy 4).

Sample files: samples/DEMO/PlanarRT_H/ (after computing horn.tpl), samples/SAMPLE_R/1/quasi0.AMP, samples/DEMO/FieldView/r7.tf.


  • PlanarRT H / PlanarRT X — the compute kernels that write the field and topology files: PlanarRT H, PlanarRT X.
  • TPL Designer — creating a .tpl task file (including field and topology output): TPL Designer.
  • The .tpl task language, the #OUTPUT section: Task file .tpl.
  • TMCROS (signals), TMCGROUT (S-matrix), TMC_DN (radiation pattern): TMCROS, TMCGROUT, TMC_DN.
  • Batch mode of the kernels: Headless mode.