Замагниченная плазма

Слой с N и B: полосы непрозрачности X-моды

Параметр Значение
Раздел библиотеки Среды, плазма, ЭПР
Ядро PlanarRT X (planarrt_x.exe)
Источник холодная замагниченная плазма, X-мода
Сетка 437 × 46 узлов, шаг 1,8035 мм
Время счёта задания 45 нс модельного времени, шагов: 21
Длительность прогона около 53 с на шестиядерном ПК, без вывода поля

Постановка задачи

Та же постановка, что в лабораторной работе ЛР2: слой плазмы в волноводе, подмагниченный полем B, перпендикулярным плоскости. У X-моды две полосы непрозрачности: ниже fL и между fUH и fR. Все характерные частоты — в паспорте.

Подмагничивание действует только в области с концентрацией, поэтому N и B заданы одной и той же фигуре.

  • Подмагничивание действует только там, где есть концентрация: поэтому N и B заданы одной фигуре.
  • Блок B здесь ровно по плазме, а не шире: краевой слой N/2 с полным B резонировал бы на 2.598 ГГц, внутри полосы.

Теоретические сведения

Холодная бесстолкновительная плазма задаётся концентрацией электронов N, которая определяет плазменную частоту, и полем подмагничивания B, которое определяет электронную циклотронную частоту:

fp=12πNe2ε0me,fce=eB2πme,ε(f)=1−fp2f2

В ядре PlanarRT X (X-мода) ток плазмы считается прямо во временной области, поэтому дисперсия среды учитывается сама: один и тот же блок плазмы верен на любой частоте.

В магнитном поле B X-мода имеет две отсечки и верхний гибридный резонанс:

fR,L=12(fce2+4fp2±fce),fUH=fp2+fce2

При fp=3 ГГц и fce=1,5 ГГц получается fL=2,342, fUH=3,354, fR=3,842 ГГц. Волна непрозрачна при f<fL и в полосе fUH<f<fR. Подмагничивание действует только там, где есть концентрация, поэтому N и B заданы одной и той же фигуре.

Паспорт образца. Значения, которые TPL Designer вычисляет по формулам для параметров по умолчанию.

Величина Значение
Волновод WR-284 / R32, a = 72.14 мм
Плазма N = 111636423274660928 м⁻³, B = 0.05359 Тл, слой 19.84 мм
fp / fce 3 / 1.5 ГГц
Отсечки X-моды fL / fR 2.342 / 3.842 ГГц
Верхний гибридный fUH 3.354 ГГц
Непрозрачно для X-моды f < 2.342 ГГц и 3.354 < f < 3.842 ГГц

Создание файла задания

Образец уже встроен в TPL Designer: скачивать ничего не нужно. Выполните шаги по порядку.

  1. Запустите TPL Designer. На стартовом экране в карточке «Взять образец» нажмите «Открыть библиотеку».
  2. Слева выберите раздел «Среды, плазма, ЭПР» и щёлкните в галерее плитку «Замагниченная плазма». Справа откроется карточка образца с паспортом и параметрами.
Карточка образца в библиотеке TPL Designer
Карточка образца в библиотеке TPL Designer
  1. Параметры оставьте по умолчанию: все числа на этой странице получены именно для них. Изменённые значения можно сбросить кнопкой «Вернуть умолчания».
  2. Нажмите «Открыть в редакторе». Задание откроется в мастере из пяти разделов, список которых находится слева.
  3. Откройте раздел «Геометрия». На холсте показано то, что посчитает ядро: металлические стенки, порты, диэлектрик или плазма. Зелёный значок отмечает активный порт, красный — пассивный. Двойной щелчок по объекту откроет его свойства.
Раздел «Геометрия» мастера TPL Designer
Раздел «Геометрия» мастера TPL Designer
  1. Если хотите посмотреть поле в FieldView, откройте раздел «Вывод данных» и отметьте «Выгружать топологию (файл .tt)» и «Выгружать поля (файлы .ex, .ey, .hz)», вариант «только на первом шаге». Запись поля замедляет счёт в разы, поэтому в образцах она выключена, если задание не требует её само.
  2. Откройте раздел «Проверка». Слева показана сводка расчёта, справа текст файла задания, а полоса внизу сообщает, что замечаний нет.
Раздел «Проверка» мастера TPL Designer
Раздел «Проверка» мастера TPL Designer
  1. Нажмите «Создать файл задания» и выберите пустую папку. В ней появятся файлы: plmag.tpl, plmag_step.h.

Запуск расчёта

  1. Запустите программу PlanarRT X (planarrt_x.exe).
  2. Нажмите Открыть Открыть или Ctrl+O и выберите файл plmag.tpl в созданной папке. Если в строке состояния появилось Шаг:1;Error:no, задание прочитано верно.
  3. Нажмите Запуск Запуск или F5. Ядро посчитает все шаги задания (21), на шестиядерном ПК это занимает около 53 с.
  4. Дождитесь надписи «Готово» в строке состояния.

Ядро дописывает файл .s, а не перезаписывает его. Перед повторным запуском удалите старый файл .s, иначе старые точки смешаются с новыми.

Просмотр результатов

Матрица рассеяния. Нажмите Показать S-матрицу Показать S-матрицу: откроется TMCGROUT с кривой первого элемента. Он показывает КСВН; чтобы увидеть модули, нажмите Ctrl+H и выберите «Шкала Y» → «|S|», а другие элементы добавьте через Ctrl+D.

Окно TMCGROUT сразу после открытия файла .s
Окно TMCGROUT сразу после открытия файла .s

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

Окно TMCROS с сигналом на порту
Окно TMCROS с сигналом на порту

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

Результаты

Частотная характеристика: модули элементов матрицы рассеяния, рассчитанные ядром
Частотная характеристика: модули элементов матрицы рассеяния, рассчитанные ядром
Развёрнутая фаза прохождения S21
Развёрнутая фаза прохождения S21
Баланс мощности: сумма квадратов модулей первого столбца матрицы
Баланс мощности: сумма квадратов модулей первого столбца матрицы
Сигналы на портах во времени
Сигналы на портах во времени

Числа расчёта: значения на краях диапазона, в середине и в точке наилучшего согласования.

Частота, ГГц |S11|, дБ |S21|, дБ
2,6 -4,51 -1,9
3,005 -26,92 -0,01
3,275 -4,26 -2,1
3,95 -3,66 -2,44

Анимация поля

Поле, рассчитанное ядром на частоте 3,275 ГГц: 320 кадров через 5 тактов, до 6,86 нс. Шкала «Волна», как в FieldView

Разбор результатов

Кривая прохождения повторяет структуру теории: хорошая прозрачность на 3,0 ГГц (|S11|=−26,9 дБ) и глубокий провал |S21| до −22 дБ около 3,41 ГГц, сразу за fUH, внутри отмеченной полосы непрозрачности. На 3,95 ГГц, выше fR, прохождение снова −2,4 дБ. Важная деталь видна на графике баланса: на 3,34 ГГц сумма падает до 0,61. Эта точка лежит на верхнем гибридном резонансе. По-видимому, бесстолкновительная среда здесь накапливает энергию в слое, и окно снятия её не учитывает. Вдали от резонанса баланс равен единице.

Файл задания

Этот текст TPL Designer показывает в разделе «Проверка». Файл записан в кодировке CP1251.

plmag.tpl
#TMC_RT_H
! Задание сгенерировано TPL Designer.
! Замагниченный плазменный слой в волноводе WR-284 / R32: fp = 3 ГГц, fce = 1.5 ГГц.
! Ядро: tmc_rtx (X-мода)
! Перед прогоном удалить plmag.s -- дописывается, а не перезаписывается.

#include plmag_step.h

plmagstep 2.6; plmag_f2p6; plmag;
plmagstep 2.668; plmag_f2p668; plmag;
plmagstep 2.735; plmag_f2p735; plmag;
plmagstep 2.803; plmag_f2p803; plmag;
plmagstep 2.87; plmag_f2p87; plmag;
plmagstep 2.938; plmag_f2p938; plmag;
plmagstep 3.005; plmag_f3p005; plmag;
plmagstep 3.073; plmag_f3p073; plmag;
plmagstep 3.14; plmag_f3p14; plmag;
plmagstep 3.208; plmag_f3p208; plmag;
plmagstep 3.275; plmag_f3p275; plmag;
plmagstep 3.343; plmag_f3p343; plmag;
plmagstep 3.41; plmag_f3p41; plmag;
plmagstep 3.478; plmag_f3p478; plmag;
plmagstep 3.545; plmag_f3p545; plmag;
plmagstep 3.613; plmag_f3p613; plmag;
plmagstep 3.68; plmag_f3p68; plmag;
plmagstep 3.748; plmag_f3p748; plmag;
plmagstep 3.815; plmag_f3p815; plmag;
plmagstep 3.883; plmag_f3p883; plmag;
plmagstep 3.95; plmag_f3p95; plmag;

#EOF
plmag_step.h
! ==========================================================================
! plmag_step.h — макроопределения шагов расчёта.
! Подключается строкой  #include plmag_step.h  и должен лежать РЯДОМ с .tpl
!
! ДВА бэкслеша в конце строки = "текст макроса продолжается ниже".
! У ПОСЛЕДНЕЙ строки макроса переноса НЕТ — это признак конца.
! ==========================================================================
#define plmagstep Freq__; Tfile__; Sfile__; @\\
#STEP\\
#PARM\\
 ANGLE_UNIT radian;\\
 FREQ_UNIT  GHz;\\
 LONG_UNIT  mm;\\
 TIME_UNIT  ns;\\
 DELTA  1.8035;\\
 TIME   0.; 45.0;\\
 X_MIN  0.0;\\
 X_MAX  788.1295;\\
 Y_MIN  0.0;\\
 Y_MAX  82.961;\\
 FREQ   Freq__;\\
#END_PARM\\
#TOPOLOGY\\
 BLOCK 1;\\   ! волновод: нижняя стенка
  RECT_STAT METAL; 0.0; 788.1295; 3.607; 5.4105;\\
 END_B\\
 BLOCK 2;\\   ! волновод: верхняя стенка
  RECT_STAT METAL; 0.0; 788.1295; 77.5505; 79.354;\\
 END_B\\
 BLOCK 3;\\   ! плазма — концентрация N = 111636423300000000 м^-3
  RECT_STAT_N 111636423300000000.0; 384.1455; 403.984; 5.4105; 77.5505;\\
 END_B\\
 BLOCK 6;\\   ! плазма — подмагничивание B = 0.05358578191 Тл, блок ровно по плазме
  RECT_STAT_B 0.05358578191; 384.1455; 403.984; 5.4105; 77.5505;\\
 END_B\\
 BLOCK 4;\\   ! вход 1 — АКТИВНЫЙ
  INPUT_X ; 5.4105; 77.5505; 0; 45; 1; 0;\\
 END_B\\
 BLOCK 5;\\   ! вход 2 — пассивный
  INPUT_X ; 5.4105; 77.5505; 90; 135; 0; 0;\\
 END_B\\
#END_TOPOLOGY\\
#LINK_LIST\\
 T 1; 0.0; 0.0;\\
 T 2; 0.0; 0.0;\\
 T 3; 0.0; 0.0;\\
 T 6; 0.0; 0.0;\\
 T 4; 0.0; 0.0;\\
 T 5; 788.1295; 0.0;\\
#END_LINK\\
#OUTPUT\\
 FILE Tfile__;\\
 SMATRIX Sfile__; Freq__; 33.75; 45.0;\\
#END_OUTPUT\\
#END_STEP

Magnetized plasma

Layer with N and B: X-mode opacity bands

Parameter Value
Library section Media, plasma, RCS
Kernel PlanarRT X (planarrt_x.exe)
Source cold magnetized plasma, X-mode
Mesh 437 × 46 nodes, step 1.8035 mm
Task time 45 ns of model time, steps: 21
Run duration about 53 s on a six-core PC, without field output

Problem statement

The same setup as in laboratory work Lab 2: a plasma layer in a waveguide, magnetized by a field B perpendicular to the plane. The X-mode has two opacity bands: below fL and between fUH and fR. All characteristic frequencies are in the datasheet.

Magnetization acts only in the region with density, so N and B are assigned to the same shape.

  • Magnetization acts only where there is density: therefore N and B are assigned to one shape.
  • The B block here matches the plasma exactly rather than being wider: an edge layer N/2 with full B would resonate at 2.598 GHz, inside the band.

Theoretical background

A cold collisionless plasma is defined by the electron density N, which sets the plasma frequency, and by the magnetising field B, which sets the electron cyclotron frequency:

fp=12πNe2ε0me,fce=eB2πme,ε(f)=1−fp2f2

In the PlanarRT X kernel (X-mode) the plasma current is computed directly in the time domain, so the dispersion of the medium is accounted for automatically: the same plasma block is valid at any frequency.

In a magnetic field B the X-mode has two cutoffs and the upper hybrid resonance:

fR,L=12(fce2+4fp2±fce),fUH=fp2+fce2

With fp=3 GHz and fce=1.5 GHz this gives fL=2.342, fUH=3.354, fR=3.842 GHz. The wave is opaque at f<fL and in the band fUH<f<fR. Magnetisation acts only where the density is present, so N and B are assigned to the same shape.

Sample datasheet. The values that TPL Designer computes by formulas for the default parameters.

Quantity Value
Waveguide WR-284 / R32, a = 72.14 mm
Plasma N = 111636423274660928 m^-3, B = 0.05359 T, layer 19.84 mm
fp / fce 3 / 1.5 GHz
X-mode cutoffs fL / fR 2.342 / 3.842 GHz
Upper hybrid fUH 3.354 GHz
Opaque for the X-mode f < 2.342 GHz and 3.354 < f < 3.842 GHz

Creating the task file

The sample is built into TPL Designer, so there is nothing to download. Follow the steps in order.

  1. Start TPL Designer. On the start screen, in the Take a sample card, click Open library.
  2. Choose the Media, plasma, RCS section on the left and click the Magnetized plasma tile in the gallery. The sample card with its datasheet and parameters opens on the right.
The sample card in the TPL Designer library
The sample card in the TPL Designer library
  1. Keep the default parameters: all the numbers on this page were obtained for them. Changed values can be reset with Restore defaults.
  2. Click Open in editor. The task opens in the five-section wizard; the section list is on the left.
  3. Open the Geometry section. The canvas shows what the kernel will compute: metal walls, ports, dielectric or plasma. A green icon marks the active port and a red one the passive port. Double-click an object to open its properties.
The Geometry section of the TPL Designer wizard
The Geometry section of the TPL Designer wizard
  1. If you want to view the field in FieldView, open the Output section and tick Export topology (.tt file) and Export fields (.ex, .ey, .hz files), option only at the first step. Field output slows the calculation several times, so it is off in the samples unless a task requires it.
  2. Open the Check section. The left side shows the summary, the right side shows the task file text, and the strip at the bottom reports that there are no issues.
The Check section of the TPL Designer wizard
The Check section of the TPL Designer wizard
  1. Click Create task file and choose an empty folder. It will contain these files: plmag.tpl, plmag_step.h.

Running the calculation

  1. Start PlanarRT X (planarrt_x.exe).
  2. Click Open Open or press Ctrl+O and choose plmag.tpl in the folder you created. If the status bar shows Step:1;Error:no, the task was read correctly.
  3. Click Run Run or press F5. The kernel computes all task steps (21); on a six-core PC this takes about 53 s.
  4. Wait for "Done" in the status bar.

The kernel appends to the .s file instead of overwriting it. Delete the old .s file before a repeated run, or old points will mix with new ones.

Viewing the results

Scattering matrix. Click View S-matrix View S-matrix: TMCGROUT opens with the curve of the first element. It shows VSWR; to see magnitudes press Ctrl+H and choose "Y-scale" → "|S|", and add other elements with Ctrl+D.

The TMCGROUT window right after opening the .s file
The TMCGROUT window right after opening the .s file

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

The TMCROS window with a port signal
The TMCROS window with a port signal

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

Results

Frequency response: magnitudes of the scattering-matrix elements computed by the kernel
Frequency response: magnitudes of the scattering-matrix elements computed by the kernel
Unwrapped transmission phase S21
Unwrapped transmission phase S21
Power balance: sum of squared magnitudes of the first matrix column
Power balance: sum of squared magnitudes of the first matrix column
Port signals over time
Port signals over time

Computed numbers: values at the range edges, mid-range and at the best match.

Frequency, GHz |S11|, dB |S21|, dB
2.6 -4.51 -1.9
3.005 -26.92 -0.01
3.275 -4.26 -2.1
3.95 -3.66 -2.44

Field animation

Field computed by the kernel at 3.275 GHz: 320 frames every 5 ticks, up to 6.86 ns. The Wave scale, as in FieldView

Discussion

The transmission curve follows the structure of the theory: good transparency at 3.0 GHz (|S11|=−26.9 dB) and a deep |S21| dip of −22 dB near 3.41 GHz, just past fUH, inside the marked opaque band. At 3.95 GHz, above fR, transmission is back to −2.4 dB. An important detail shows on the balance plot: at 3.34 GHz the sum falls to 0.61. This point lies on the upper hybrid resonance. The collisionless medium apparently stores energy in the slab here, and the sampling window does not account for it. Away from the resonance the balance is unity.

Task file

TPL Designer shows this text in the Check section. The file is written in the CP1251 encoding.

plmag.tpl
#TMC_RT_H
! Task generated by TPL Designer.
! Magnetized plasma layer in waveguide WR-284 / R32: fp = 3 GHz, fce = 1.5 GHz.
! Kernel: tmc_rtx (X-mode)
! Delete plmag.s before the run -- it is appended to, not overwritten.

#include plmag_step.h

plmagstep 2.6; plmag_f2p6; plmag;
plmagstep 2.668; plmag_f2p668; plmag;
plmagstep 2.735; plmag_f2p735; plmag;
plmagstep 2.803; plmag_f2p803; plmag;
plmagstep 2.87; plmag_f2p87; plmag;
plmagstep 2.938; plmag_f2p938; plmag;
plmagstep 3.005; plmag_f3p005; plmag;
plmagstep 3.073; plmag_f3p073; plmag;
plmagstep 3.14; plmag_f3p14; plmag;
plmagstep 3.208; plmag_f3p208; plmag;
plmagstep 3.275; plmag_f3p275; plmag;
plmagstep 3.343; plmag_f3p343; plmag;
plmagstep 3.41; plmag_f3p41; plmag;
plmagstep 3.478; plmag_f3p478; plmag;
plmagstep 3.545; plmag_f3p545; plmag;
plmagstep 3.613; plmag_f3p613; plmag;
plmagstep 3.68; plmag_f3p68; plmag;
plmagstep 3.748; plmag_f3p748; plmag;
plmagstep 3.815; plmag_f3p815; plmag;
plmagstep 3.883; plmag_f3p883; plmag;
plmagstep 3.95; plmag_f3p95; plmag;

#EOF
plmag_step.h
! ==========================================================================
! plmag_step.h -- macro definitions of the computation steps.
! Included with the line  #include plmag_step.h  and must lie NEXT TO the .tpl
!
! TWO backslashes at the end of a line = "the macro text continues below".
! The LAST line of the macro has NO continuation -- that marks the end.
! ==========================================================================
#define plmagstep Freq__; Tfile__; Sfile__; @\\
#STEP\\
#PARM\\
 ANGLE_UNIT radian;\\
 FREQ_UNIT  GHz;\\
 LONG_UNIT  mm;\\
 TIME_UNIT  ns;\\
 DELTA  1.8035;\\
 TIME   0.; 45.0;\\
 X_MIN  0.0;\\
 X_MAX  788.1295;\\
 Y_MIN  0.0;\\
 Y_MAX  82.961;\\
 FREQ   Freq__;\\
#END_PARM\\
#TOPOLOGY\\
 BLOCK 1;\\   ! waveguide: bottom wall
  RECT_STAT METAL; 0.0; 788.1295; 3.607; 5.4105;\\
 END_B\\
 BLOCK 2;\\   ! waveguide: top wall
  RECT_STAT METAL; 0.0; 788.1295; 77.5505; 79.354;\\
 END_B\\
 BLOCK 3;\\   ! plasma -- density N = 111636423300000000 m^-3
  RECT_STAT_N 111636423300000000.0; 384.1455; 403.984; 5.4105; 77.5505;\\
 END_B\\
 BLOCK 6;\\   ! plasma -- magnetization B = 0.05358578191 T, block exactly over the plasma
  RECT_STAT_B 0.05358578191; 384.1455; 403.984; 5.4105; 77.5505;\\
 END_B\\
 BLOCK 4;\\   ! port 1 -- ACTIVE
  INPUT_X ; 5.4105; 77.5505; 0; 45; 1; 0;\\
 END_B\\
 BLOCK 5;\\   ! port 2 -- passive
  INPUT_X ; 5.4105; 77.5505; 90; 135; 0; 0;\\
 END_B\\
#END_TOPOLOGY\\
#LINK_LIST\\
 T 1; 0.0; 0.0;\\
 T 2; 0.0; 0.0;\\
 T 3; 0.0; 0.0;\\
 T 6; 0.0; 0.0;\\
 T 4; 0.0; 0.0;\\
 T 5; 788.1295; 0.0;\\
#END_LINK\\
#OUTPUT\\
 FILE Tfile__;\\
 SMATRIX Sfile__; Freq__; 33.75; 45.0;\\
#END_OUTPUT\\
#END_STEP