如何用脚本命令设置PML


#1

画了一个光栅耦合器,光栅的周期大于100时,结果不收敛,发帖问一下原因 继续讨论:
FDTD区域物件有下列特性可以设置(见后)
而setnamed(“FDTD”,“pml type”,“stretched coordinate PML”);是选stretched coordinate PML;另一个是uniaxial anisotropic PML (legacy)
setnamed(“FDTD”,“pml profile”,2);是Stabilized。
共有4种,因此是1234,它排列第二。 这个不明显,我也是测试后才知道的。
要设置某个方向,用这个
setnamed(“FDTD”,“x min bc”,“PML”);
setnamed(“FDTD”,“x min bc”,“metal”);
也可以用数字setnamed(“FDTD”,“x min bc”,3);
1PML
2Metal 就是PEC
3Periodic
4Symmetric
5Anti-Symmetric
6Bloch
7PMC

所有能设置的参数列表:
?getnamed(“FDTD”);
allow grading in x
allow grading in y
allow grading in z
allow symmetry on all boundaries
always use complex fields
angle phi
angle theta
auto shutoff max
auto shutoff min
background index
bfast alpha
bfast dt multiplier
bloch units
define x mesh by
define y mesh by
define z mesh by
dimension
direction
down sample time
dt
dt stability factor
dx
dy
dz
enabled
extend structure through pml
force symmetric x mesh
force symmetric y mesh
force symmetric z mesh
grading factor
injection axis
kx
ky
kz
max source time signal length
mesh accuracy
mesh cells per wavelength
mesh cells x
mesh cells y
mesh cells z
mesh frequency max
mesh frequency min
mesh refinement
mesh type
mesh wavelength max
mesh wavelength min
meshing refinement
min mesh step
name
nx
ny
nz
override simulation bandwidth for mesh generation
param1
param2
pml alpha
pml alpha polynomial
pml kappa
pml layers
pml max layers
pml min layers
pml polynomial
pml profile
pml sigma
pml type
same settings on all boundaries
set based on source angle
set process grid
set simulation bandwidth
simulation frequency max
simulation frequency min
simulation temperature
simulation time
simulation wavelength max
simulation wavelength min
snap pec to yee cell boundary
source_index
type
use auto shutoff
use bfast fdtd
use divergence checking
use early shutoff
use relative coordinates
x
x max
x max bc
x min
x min bc
x span
y
y max
y max bc
y min
y min bc
y span
z
z max
z max bc
z min
z min bc
z span


画了一个光栅耦合器,光栅的周期大于100时,结果不收敛,发帖问一下原因