FDTD脚本设置PML层数的代码

# *******FDTD用脚本添加一个仿真区域*******
deleteall;
addfdtd;
set("dimension",2);#三维仿真区域
set("x",0);
set("y",0);
set("z",0);set("x span",x1);
set("y span",y1);
set("z span",z1);set('simulation time',8*1e-12);
set('mesh accuracy',3);
set("x min bc","periodic");#设置x方向周期边界条件
set("y min bc","periodic");#设置y方向周期边界条件
set("z min bc","pml");set("same settings on all boundaries",1);
set("pml profile",4);
set("pml layers",16);
set('auto shutoff min',1e-8);

本文链接:https://my.lmcjl.com/post/13542.html

展开阅读全文

4 评论

留下您的评论.