OptiFDTD应用:光栅衍射的远场分布
光栅布局在大多数情况下是周期性结构。OptiFDTD中有两种实现周期性布局的方法:PBG编辑器和VB脚本。本课将重点介绍以下功能: kM6
EZ`mj •使用VB脚本生成光栅(或周期性)布局。 z22|Kv;w •光栅布局模拟和后处理分析 >=]NO'?O 布局layout Ply2DQr 我们将模拟如图1所示的二维光栅布局。 =1uj1.h 图1.二维光栅布局 ;
HR\R s%0[DO3NV 用VB脚本定义一个2D光栅布局 $u0+29T2O ;dpS@;v 步骤: U)T/.L{0i 1 通过在文件菜单中选择“New”,启动一个新项目。 X(0:zb,#G* 2 在“Wafer Properties”对话框中设置以下参数 PLY-,Q&' Wafer Dimensions: &T|UAM. Length (mm): 8.5 &
Q|f *T Width (mm): 3.0 QWIOim- EeF n{_ 2D wafer properties: XO8 H] Wafer refractive index: Air 4w3V!K8 3 点击 Profiles 与 Materials. )f_"`FH0d yA`]%U(( 在“Materials”中加入以下材料: sOrY^cY; Name: N=1.5 &<[]X@ bY Refractive index (Re:): 1.5 5p(t") q>Ar.5&M_ Name: N=3.14 oM?
C62g\ Refractive index (Re:): 3.14 (p#;6Xhf da7x 1n$D 4.在“Profile”中定义以下轮廓: 1)c=15^ Name: ChannelPro_n=3.14 y:(C=*^<t 2D profile definition, Material: n=3.14 1v8:,!C c] :J/'vc Name: ChannelPro_n=1.5 !x!L&p 2D profile definition, Material: n=1.5 SgQmYaa& -`ys pE0? 6.画出以下波导结构: pCud`
:o" a. Linear waveguide 1 XDv7#Tv_wv Label: linear1 3YZ3fhpw Start Horizontal offset: 0.0 Dv\:b* Start vertical offset: -0.75 P\G C8KV] End Horizontal offset: 8.5 J*W;{Vty End vertical offset: -0.75 <:_]Yl Channel Thickness Tapering: Use Default ]jT[dX|? Width: 1.5 \T#(rt\j Depth: 0.0 !h~#L"z Profile: ChannelPro_n=1.5 %lq7; emtp B?zS_Ue b. Linear waveguide 2 /hj9Q! Label: linear2 8Jly!=Qm5 Start Horizontal offset: 0.5 ZkVvL4yIK Start vertical offset: 0.05 )]e d;V End Horizontal offset: 1.0 V,*0<7h End vertical offset: 0.05 5)zj){wL Channel Thickness Tapering: Use Default &4$43\(D Width: 0.1 j2v[-N4 {J Depth: 0.0 '\vmfp= Profile: ChannelPro_n=3.14 vpr@ k=q%FlE 7.加入水平平面波: R~mMGz Continuous Wave Wavelength: 0.63 General: RBp(dKxM$w Input field Transverse: Rectangular *Uw# X Position: 0.5 9!/1F ! Direction: Negative Direction Ss#{K; Label: InputPlane1 J$=b&$I( 2D Transverse: n;T Center Position: 4.5 0:(dl@I)@ Half width: 5.0 ,EJ [I^ Titlitng Angle: 45 Jhq5G" Effective Refractive Index: Local Amplitude: 1.0 ]KV8u1H> 图2.波导结构(未设置周期) \iTPJcb5 j$ i8@] 8.单击“Layout Script”快捷工具栏或选择仿真菜单下的“Generate Layout Script…”。这一步将把布局对象转换为VB脚本代码。 }n&JZ`8<s 将Linear2代码段修改如下: *V<2\- Dim Linear2 If I$ for m=1 to 8 PI<s5bns
{ Set Linear2 = WGMgr.CreateObj ( "WGLinear", "Linear2"+Cstr(m) ) ^V;lZtZ Linear2.SetPosition 0.5+(m-1)*1.0, 0.05, 1+(m-1)*1.0, 0.05 U JRT4>G Linear2.SetAttr "WidthExpr", "0.1" zyQEz#O Linear2.SetAttr "Depth", "0" x6cl(J} Linear2.SetAttr "StartThickness", "0.000000" ` vmk Linear2.SetAttr "EndThickness", "0.000000" #i#.tc Linear2.SetProfileName "ChannelPro_n=3.14" KVe'2Q< Linear2.SetDefaultThicknessTaperMode True ra#)*fG,~ 3<Y;mA=hw 点击“Test Script”快捷工具栏运行修改后的VB脚本代码。生成光栅布局,布局如图3所示。 lNnbd?D8 图3.光栅布局通过VB脚本生成 E$zq8-p| */h9 "B 设置仿真参数 )RKhEm%Vr2 1. 在Simulation菜单下选择“2D simulation parameters…”,将出现仿真参数对话框 J+*Y)k 2. 在仿真参数对话框中,设置以下参数: HC, 0"W TE simulation g,]5&C T3v Mesh Delta X: 0.015 Vy"^]5 Mesh Delta Z: 0.015 xM"XNT6b Time Step Size: Auto Run for 1000 Time steps *:\9T#h 设置边界条件设置X和Z边为各向异性PML边界条件。 dM;WG;8e Number of Anisotropic PML layers: 15 JM4`k8mM 其它参数保持默认 z_0 lMX` 运行仿真 @z?.P;f9# • 在仿真参数中点击Run按钮,启动仿真 hp%Pg & • 在分析仪中,可以观察到各场分量的时域响应 ~G^doj3|+ • 仿真完成后,点击“Yes”,启动分析仪。 ${:$jX[ ee?Mo` 远场分析衍射波 [ESs?v$ 1. 在OptiFDTD Analyzer中,在工具窗口中选择“Crosscut Viewer” aV%rq9Tp 2. 选择“Definition of the Cross Cut”为z方向 B{i;+[ase 3. 将位置移动到等于92的网格点,(位置:-0.12)观察当前位置的近场 bM_(`]&* 4. 在Crosscut Viewer的工具菜单中选择“Far Field”,出现远场转换对话框。(图4) . T>}O0L" 图4.远场计算对话框 k EDZqUD xb_:9 5. 在远场对话框,设置以下参数: DG
FvRB Wavelength: 0.63 QX3![;0F Refractive index: 1.5+0i %QZ!Tb Angle Initial: -90.0 1VsEic Angle Final: 90.0 -L<Pm(v& Number of Steps: 721 $?Mz[X Distance: 100, 000*wavelength L2A#OZZu Intensity =_:L
wmI h\ek2K 6. 点击“计算”按钮开始计算,并将结果保存为 Farfield.ffp。 HcUz2Rm5XP 7. 启动“Opti 2D Viewer”并加载Farfield.ffp。远场如图5所示。 6242qb 图5.“Opti 2D Viewer”中的远场模式
|