Цилиндр в плазменной оболочке

Как плазма меняет рассеяние: три варианта сразу

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

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

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

  • Три варианта одним заданием: без объекта (опора), голый металл и металл в плазме — так видно, что меняет оболочка. X-мода: поле E лежит в плоскости рисунка.

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

Двумерная (погонная) эффективная площадь рассеяния определяется как предел

σ=limr→∞2πr|Es|2|Ei|2

и измеряется в метрах или в дБ·м. Здесь она оценивается по отклику на входе. Ядро считает две сцены, с телом и без него, а разность отделяет рассеяние от отражений самой области:

σ≈2πW2λ|S11−S11опора|2

где W — апертура входа. Это оценка порядка величины: область конечна, поглотитель отражает на уровне −30 дБ, а фронт на входе не бесконечен.

Металлический цилиндр радиуса 20 мм окружён слоем плазмы толщиной 10 мм с fp=4 ГГц. Это упрощённая модель тела в плазменной оболочке. Для голого цилиндра при E в плоскости рисунка (X-мода) ряд Ми записывается через производные функций:

σ=2λπ|∑n=−∞∞(−1)nJn′(ka)Hn(2)′(ka)|2

Одно задание считает три сцены: пустую область, голый металл и металл в плазме.

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

Величина Значение
Цилиндр / оболочка радиус 20 мм, оболочка 10 мм
Плазма fp = 4 ГГц, N = 198464752488286080 м⁻³
Голый цилиндр, ряд Ми (E ⟂ оси), 2 ГГц σ = 76.39 мм
Голый цилиндр, ряд Ми (E ⟂ оси), 8 ГГц σ = 66.71 мм
Ожидаемо разница вариантов «металл» и «металл + плазма» — вклад оболочки. Для тонкой оболочки при E в плоскости (X-мода) она невелика: прогон ядра при умолчаниях даёт расхождение меньше 1 дБ — утолщайте оболочку или поднимайте fp

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

Образец уже встроен в 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. Нажмите «Создать файл задания» и выберите пустую папку. В ней появятся файлы: coated.tpl, coated_step.h.

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

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

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

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

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

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

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

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

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

Результаты

Погонная ЭПР: оценка ядра и аналитика
Погонная ЭПР: оценка ядра и аналитика
Сигналы на портах во времени
Сигналы на портах во времени

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

без объекта

Частота, ГГц |S11|, дБ
2 -32,91
5 -39,51
8 -43,16

металл

Частота, ГГц |S11|, дБ
2 -19,62
5 -26,99
8 -30,72

металл + плазма

Частота, ГГц |S11|, дБ
2 -19,28
5 -27,49
8 -30,34

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

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

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

Обе кривые ядра почти совпадают: разница варианта с оболочкой и голого металла не превышает 0,3 дБ на всех частотах. Оболочка толщиной 10 мм при этой поляризации почти не меняет ЭПР, а поле на анимации показывает сильное рассеяние на самом металле. Оценка колеблется вокруг ряда Ми от −8,3 до −16 дБ·м, как и в образце с голым цилиндром, и причина та же. Чтобы увидеть влияние оболочки, поднимайте fp или утолщайте её параметрами образца.

Файл задания

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

coated.tpl
#TMC_RT_H
! Задание сгенерировано TPL Designer.
! Металлический цилиндр в плазменной оболочке: радиус 20 мм, оболочка 10 мм, fp = 4 ГГц (X-мода).
! Ядро: tmc_rtx (X-мода)
! Перед прогоном удалить coated_ref.s и coated_metal.s и coated_plasma.s -- дописывается, а не перезаписывается.

#include coated_step.h

! вариант: без объекта
coatedstep1 2.0; coated_ref_f2; coated_ref;
coatedstep1 2.75; coated_ref_f2p75; coated_ref;
coatedstep1 3.5; coated_ref_f3p5; coated_ref;
coatedstep1 4.25; coated_ref_f4p25; coated_ref;
coatedstep1 5.0; coated_ref_f5; coated_ref;
coatedstep1 5.75; coated_ref_f5p75; coated_ref;
coatedstep1 6.5; coated_ref_f6p5; coated_ref;
coatedstep1 7.25; coated_ref_f7p25; coated_ref;
coatedstep1 8.0; coated_ref_f8; coated_ref;

! вариант: металл
coatedstep2 2.0; coated_metal_f2; coated_metal;
coatedstep2 2.75; coated_metal_f2p75; coated_metal;
coatedstep2 3.5; coated_metal_f3p5; coated_metal;
coatedstep2 4.25; coated_metal_f4p25; coated_metal;
coatedstep2 5.0; coated_metal_f5; coated_metal;
coatedstep2 5.75; coated_metal_f5p75; coated_metal;
coatedstep2 6.5; coated_metal_f6p5; coated_metal;
coatedstep2 7.25; coated_metal_f7p25; coated_metal;
coatedstep2 8.0; coated_metal_f8; coated_metal;

! вариант: металл + плазма
coatedstep3 2.0; coated_plasma_f2; coated_plasma;
coatedstep3 2.75; coated_plasma_f2p75; coated_plasma;
coatedstep3 3.5; coated_plasma_f3p5; coated_plasma;
coatedstep3 4.25; coated_plasma_f4p25; coated_plasma;
coatedstep3 5.0; coated_plasma_f5; coated_plasma;
coatedstep3 5.75; coated_plasma_f5p75; coated_plasma;
coatedstep3 6.5; coated_plasma_f6p5; coated_plasma;
coatedstep3 7.25; coated_plasma_f7p25; coated_plasma;
coatedstep3 8.0; coated_plasma_f8; coated_plasma;

#EOF
coated_step.h
! ==========================================================================
! coated_step.h — макроопределения шагов расчёта.
! Подключается строкой  #include coated_step.h  и должен лежать РЯДОМ с .tpl
!
! ДВА бэкслеша в конце строки = "текст макроса продолжается ниже".
! У ПОСЛЕДНЕЙ строки макроса переноса НЕТ — это признак конца.
! ==========================================================================
! вариант: без объекта
#define coatedstep1 Freq__; Tfile__; Sfile__; @\\
#STEP\\
#PARM\\
 ANGLE_UNIT radian;\\
 FREQ_UNIT  GHz;\\
 LONG_UNIT  mm;\\
 TIME_UNIT  ns;\\
 DELTA  1.5;\\
 TIME   0.; 35.0;\\
 X_MIN  0.0;\\
 X_MAX  510.0;\\
 Y_MIN  0.0;\\
 Y_MAX  510.0;\\
 FREQ   Freq__;\\
#END_PARM\\
#TOPOLOGY\\
 BLOCK 1;\\   ! поглотитель справа
  RECT_STAT ABSORBER; 502.5; 510.0; 0.0; 510.0;\\
 END_B\\
 BLOCK 2;\\   ! поглотитель снизу
  RECT_STAT ABSORBER; 0.0; 502.5; 0.0; 7.5;\\
 END_B\\
 BLOCK 3;\\   ! поглотитель сверху
  RECT_STAT ABSORBER; 0.0; 502.5; 502.5; 510.0;\\
 END_B\\
 BLOCK 4;\\   ! плоская волна — АКТИВНЫЙ
  INPUT_X MAGNETIC; 9.0; 501.0; 0; 35; 1; 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 4; 0.0; 0.0;\\
#END_LINK\\
#OUTPUT\\
 FILE Tfile__;\\
 SMATRIX Sfile__; Freq__; 26.25; 35.0;\\
#END_OUTPUT\\
#END_STEP

! вариант: металл
#define coatedstep2 Freq__; Tfile__; Sfile__; @\\
#STEP\\
#PARM\\
 ANGLE_UNIT radian;\\
 FREQ_UNIT  GHz;\\
 LONG_UNIT  mm;\\
 TIME_UNIT  ns;\\
 DELTA  1.5;\\
 TIME   0.; 35.0;\\
 X_MIN  0.0;\\
 X_MAX  510.0;\\
 Y_MIN  0.0;\\
 Y_MAX  510.0;\\
 FREQ   Freq__;\\
#END_PARM\\
#TOPOLOGY\\
 BLOCK 1;\\   ! поглотитель справа
  RECT_STAT ABSORBER; 502.5; 510.0; 0.0; 510.0;\\
 END_B\\
 BLOCK 2;\\   ! поглотитель снизу
  RECT_STAT ABSORBER; 0.0; 502.5; 0.0; 7.5;\\
 END_B\\
 BLOCK 3;\\   ! поглотитель сверху
  RECT_STAT ABSORBER; 0.0; 502.5; 502.5; 510.0;\\
 END_B\\
 BLOCK 5;\\   ! цилиндр
  CIRCLE_STAT METAL; 0.0; 20.0; 0.0; 6.283185307;\\
 END_B\\
 BLOCK 4;\\   ! плоская волна — АКТИВНЫЙ
  INPUT_X MAGNETIC; 9.0; 501.0; 0; 35; 1; 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 5; 255.0; 255.0;\\
 T 4; 0.0; 0.0;\\
#END_LINK\\
#OUTPUT\\
 FILE Tfile__;\\
 SMATRIX Sfile__; Freq__; 26.25; 35.0;\\
#END_OUTPUT\\
#END_STEP

! вариант: металл + плазма
#define coatedstep3 Freq__; Tfile__; Sfile__; @\\
#STEP\\
#PARM\\
 ANGLE_UNIT radian;\\
 FREQ_UNIT  GHz;\\
 LONG_UNIT  mm;\\
 TIME_UNIT  ns;\\
 DELTA  1.5;\\
 TIME   0.; 35.0;\\
 X_MIN  0.0;\\
 X_MAX  510.0;\\
 Y_MIN  0.0;\\
 Y_MAX  510.0;\\
 FREQ   Freq__;\\
#END_PARM\\
#TOPOLOGY\\
 BLOCK 1;\\   ! поглотитель справа
  RECT_STAT ABSORBER; 502.5; 510.0; 0.0; 510.0;\\
 END_B\\
 BLOCK 2;\\   ! поглотитель снизу
  RECT_STAT ABSORBER; 0.0; 502.5; 0.0; 7.5;\\
 END_B\\
 BLOCK 3;\\   ! поглотитель сверху
  RECT_STAT ABSORBER; 0.0; 502.5; 502.5; 510.0;\\
 END_B\\
 BLOCK 5;\\   ! цилиндр
  CIRCLE_STAT METAL; 0.0; 20.0; 0.0; 6.283185307;\\
 END_B\\
 BLOCK 6;\\   ! плазменная оболочка — концентрация N = 198464752500000000 м^-3
  CIRCLE_STAT_N 198464752500000000.0; 20.0; 30.0; 0.0; 6.283185307;\\
 END_B\\
 BLOCK 4;\\   ! плоская волна — АКТИВНЫЙ
  INPUT_X MAGNETIC; 9.0; 501.0; 0; 35; 1; 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 5; 255.0; 255.0;\\
 T 6; 255.0; 255.0;\\
 T 4; 0.0; 0.0;\\
#END_LINK\\
#OUTPUT\\
 FILE Tfile__;\\
 SMATRIX Sfile__; Freq__; 26.25; 35.0;\\
#END_OUTPUT\\
#END_STEP

Cylinder in a plasma sheath

How plasma changes scattering: three variants at once

Parameter Value
Library section Media, plasma, RCS
Kernel PlanarRT X (planarrt_x.exe)
Source X-mode, cold plasma
Mesh 340 × 340 nodes, step 1.5 mm
Task time 35 ns of model time, steps: 27
Run duration about 86 s on a six-core PC, without field output

Problem statement

A metal cylinder surrounded by a plasma layer: a simplified model of a body in a plasma sheath (as for a hypersonic vehicle). One task computes three variants: an empty domain (reference), bare metal and metal in plasma.

  • Three variants in one task: no object (reference), bare metal and metal in plasma; this shows what the sheath changes. X-mode: the E field lies in the plane of the drawing.

Theoretical background

The two-dimensional scattering width is defined as the limit

σ=limr→∞2πr|Es|2|Ei|2

and is measured in metres or dB·m. Here it is estimated from the response at the port. The kernel computes two scenes, with and without the body, and the difference separates scattering from the reflections of the region itself:

σ≈2πW2λ|S11−S11ref|2

where W is the port aperture. This is an order-of-magnitude estimate: the region is finite, the absorber reflects at about −30 dB, and the incident front is not infinite.

A 20 mm radius metal cylinder is surrounded by a 10 mm plasma layer with fp=4 GHz. This is a simplified model of a body in a plasma sheath. For a bare cylinder with E in the plane of the figure (X-mode) the Mie series is written through derivatives:

σ=2λπ|∑n=−∞∞(−1)nJn′(ka)Hn(2)′(ka)|2

One task computes three scenes: an empty region, bare metal and metal in plasma.

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

Quantity Value
Cylinder / sheath radius 20 mm, sheath 10 mm
Plasma fp = 4 GHz, N = 198464752488286080 m^-3
Bare cylinder, Mie series (E perpendicular to the axis), 2 GHz sigma = 76.39 mm
Bare cylinder, Mie series (E perpendicular to the axis), 8 GHz sigma = 66.71 mm
Expected the difference between the "metal" and "metal + plasma" variants is the contribution of the sheath. For a thin sheath with E in the plane (X-mode) it is small: a kernel run at the defaults gives a difference below 1 dB; make the sheath thicker or raise fp

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 Cylinder in a plasma sheath 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: coated.tpl, coated_step.h.

Running the calculation

  1. Start PlanarRT X (planarrt_x.exe).
  2. Click Open Open or press Ctrl+O and choose coated.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 (27); on a six-core PC this takes about 86 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

Scattering width: kernel estimate and analytical result
Scattering width: kernel estimate and analytical result
Port signals over time
Port signals over time

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

no object

Frequency, GHz |S11|, dB
2 -32.91
5 -39.51
8 -43.16

metal

Frequency, GHz |S11|, dB
2 -19.62
5 -26.99
8 -30.72

metal + plasma

Frequency, GHz |S11|, dB
2 -19.28
5 -27.49
8 -30.34

Field animation

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

Discussion

The two kernel curves almost coincide: the difference between the sheathed variant and bare metal does not exceed 0.3 dB at any frequency. A 10 mm sheath hardly changes the scattering width at this polarisation, and the animation shows strong scattering on the metal itself. The estimate oscillates around the Mie series from −8.3 to −16 dB·m, as in the bare-cylinder sample, and for the same reason. To see the effect of the sheath, raise fp or thicken it with the sample parameters.

Task file

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

coated.tpl
#TMC_RT_H
! Task generated by TPL Designer.
! Metal cylinder in a plasma sheath: radius 20 mm, sheath 10 mm, fp = 4 GHz (X-mode).
! Kernel: tmc_rtx (X-mode)
! Delete coated_ref.s and coated_metal.s and coated_plasma.s before the run -- it is appended to, not overwritten.

#include coated_step.h

! variant: no object
coatedstep1 2.0; coated_ref_f2; coated_ref;
coatedstep1 2.75; coated_ref_f2p75; coated_ref;
coatedstep1 3.5; coated_ref_f3p5; coated_ref;
coatedstep1 4.25; coated_ref_f4p25; coated_ref;
coatedstep1 5.0; coated_ref_f5; coated_ref;
coatedstep1 5.75; coated_ref_f5p75; coated_ref;
coatedstep1 6.5; coated_ref_f6p5; coated_ref;
coatedstep1 7.25; coated_ref_f7p25; coated_ref;
coatedstep1 8.0; coated_ref_f8; coated_ref;

! variant: metal
coatedstep2 2.0; coated_metal_f2; coated_metal;
coatedstep2 2.75; coated_metal_f2p75; coated_metal;
coatedstep2 3.5; coated_metal_f3p5; coated_metal;
coatedstep2 4.25; coated_metal_f4p25; coated_metal;
coatedstep2 5.0; coated_metal_f5; coated_metal;
coatedstep2 5.75; coated_metal_f5p75; coated_metal;
coatedstep2 6.5; coated_metal_f6p5; coated_metal;
coatedstep2 7.25; coated_metal_f7p25; coated_metal;
coatedstep2 8.0; coated_metal_f8; coated_metal;

! variant: metal + plasma
coatedstep3 2.0; coated_plasma_f2; coated_plasma;
coatedstep3 2.75; coated_plasma_f2p75; coated_plasma;
coatedstep3 3.5; coated_plasma_f3p5; coated_plasma;
coatedstep3 4.25; coated_plasma_f4p25; coated_plasma;
coatedstep3 5.0; coated_plasma_f5; coated_plasma;
coatedstep3 5.75; coated_plasma_f5p75; coated_plasma;
coatedstep3 6.5; coated_plasma_f6p5; coated_plasma;
coatedstep3 7.25; coated_plasma_f7p25; coated_plasma;
coatedstep3 8.0; coated_plasma_f8; coated_plasma;

#EOF
coated_step.h
! ==========================================================================
! coated_step.h -- macro definitions of the computation steps.
! Included with the line  #include coated_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.
! ==========================================================================
! variant: no object
#define coatedstep1 Freq__; Tfile__; Sfile__; @\\
#STEP\\
#PARM\\
 ANGLE_UNIT radian;\\
 FREQ_UNIT  GHz;\\
 LONG_UNIT  mm;\\
 TIME_UNIT  ns;\\
 DELTA  1.5;\\
 TIME   0.; 35.0;\\
 X_MIN  0.0;\\
 X_MAX  510.0;\\
 Y_MIN  0.0;\\
 Y_MAX  510.0;\\
 FREQ   Freq__;\\
#END_PARM\\
#TOPOLOGY\\
 BLOCK 1;\\   ! absorber right
  RECT_STAT ABSORBER; 502.5; 510.0; 0.0; 510.0;\\
 END_B\\
 BLOCK 2;\\   ! absorber bottom
  RECT_STAT ABSORBER; 0.0; 502.5; 0.0; 7.5;\\
 END_B\\
 BLOCK 3;\\   ! absorber top
  RECT_STAT ABSORBER; 0.0; 502.5; 502.5; 510.0;\\
 END_B\\
 BLOCK 4;\\   ! plane wave -- ACTIVE
  INPUT_X MAGNETIC; 9.0; 501.0; 0; 35; 1; 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 4; 0.0; 0.0;\\
#END_LINK\\
#OUTPUT\\
 FILE Tfile__;\\
 SMATRIX Sfile__; Freq__; 26.25; 35.0;\\
#END_OUTPUT\\
#END_STEP

! variant: metal
#define coatedstep2 Freq__; Tfile__; Sfile__; @\\
#STEP\\
#PARM\\
 ANGLE_UNIT radian;\\
 FREQ_UNIT  GHz;\\
 LONG_UNIT  mm;\\
 TIME_UNIT  ns;\\
 DELTA  1.5;\\
 TIME   0.; 35.0;\\
 X_MIN  0.0;\\
 X_MAX  510.0;\\
 Y_MIN  0.0;\\
 Y_MAX  510.0;\\
 FREQ   Freq__;\\
#END_PARM\\
#TOPOLOGY\\
 BLOCK 1;\\   ! absorber right
  RECT_STAT ABSORBER; 502.5; 510.0; 0.0; 510.0;\\
 END_B\\
 BLOCK 2;\\   ! absorber bottom
  RECT_STAT ABSORBER; 0.0; 502.5; 0.0; 7.5;\\
 END_B\\
 BLOCK 3;\\   ! absorber top
  RECT_STAT ABSORBER; 0.0; 502.5; 502.5; 510.0;\\
 END_B\\
 BLOCK 5;\\   ! cylinder
  CIRCLE_STAT METAL; 0.0; 20.0; 0.0; 6.283185307;\\
 END_B\\
 BLOCK 4;\\   ! plane wave -- ACTIVE
  INPUT_X MAGNETIC; 9.0; 501.0; 0; 35; 1; 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 5; 255.0; 255.0;\\
 T 4; 0.0; 0.0;\\
#END_LINK\\
#OUTPUT\\
 FILE Tfile__;\\
 SMATRIX Sfile__; Freq__; 26.25; 35.0;\\
#END_OUTPUT\\
#END_STEP

! variant: metal + plasma
#define coatedstep3 Freq__; Tfile__; Sfile__; @\\
#STEP\\
#PARM\\
 ANGLE_UNIT radian;\\
 FREQ_UNIT  GHz;\\
 LONG_UNIT  mm;\\
 TIME_UNIT  ns;\\
 DELTA  1.5;\\
 TIME   0.; 35.0;\\
 X_MIN  0.0;\\
 X_MAX  510.0;\\
 Y_MIN  0.0;\\
 Y_MAX  510.0;\\
 FREQ   Freq__;\\
#END_PARM\\
#TOPOLOGY\\
 BLOCK 1;\\   ! absorber right
  RECT_STAT ABSORBER; 502.5; 510.0; 0.0; 510.0;\\
 END_B\\
 BLOCK 2;\\   ! absorber bottom
  RECT_STAT ABSORBER; 0.0; 502.5; 0.0; 7.5;\\
 END_B\\
 BLOCK 3;\\   ! absorber top
  RECT_STAT ABSORBER; 0.0; 502.5; 502.5; 510.0;\\
 END_B\\
 BLOCK 5;\\   ! cylinder
  CIRCLE_STAT METAL; 0.0; 20.0; 0.0; 6.283185307;\\
 END_B\\
 BLOCK 6;\\   ! plasma sheath -- density N = 198464752500000000 m^-3
  CIRCLE_STAT_N 198464752500000000.0; 20.0; 30.0; 0.0; 6.283185307;\\
 END_B\\
 BLOCK 4;\\   ! plane wave -- ACTIVE
  INPUT_X MAGNETIC; 9.0; 501.0; 0; 35; 1; 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 5; 255.0; 255.0;\\
 T 6; 255.0; 255.0;\\
 T 4; 0.0; 0.0;\\
#END_LINK\\
#OUTPUT\\
 FILE Tfile__;\\
 SMATRIX Sfile__; Freq__; 26.25; 35.0;\\
#END_OUTPUT\\
#END_STEP