📄 smallringresonator.prj
字号:
begin <fimmwave_prj(1.0)> "SmallRingRes"
begin <FPLayoutNode(1.0)> "SmallRingResLayout"
begin <FPlayout(1.0)>
6 6 1 1//width height depth is2Dmode
"" -1000 //matfilename Tsub
METALWALL 0.000000 //lhs BC
METALWALL 0.000000 //rhs BC
MAGWALL 0.000000 //bottom BC
MAGWALL 0.000000 //top BC
begin <layoutshape_list(1.3)>
//xposn yposn SHAPE(...) nxHint nyHint pmlfact RIXPROFILE(...) GRADEDPARS(...)
3@OC 0@OC ELLIPSE(3.2,3.2) 0 0 OPQ(1 0) 0
3@OC 0@OC ELLIPSE(3.6,3.6) 0 0 OPQ(3 0) 0
0@OL 2@OB RECTANGLE(6,0.2) 0 0 OPQ(3 0) 0
0@OL -2@OT RECTANGLE(6,0.2) 0 0 OPQ(3 0) 0
end
3 //joint_method
// LHS rtRegList follows
begin <RTregionList(1.0)>
//rCoeff_re rCoeff_im tCoeff_re tCoeff_im xoff yoff xalign yalign shape pars
end
// RHS rtRegList follows
begin <RTregionList(1.0)>
//rCoeff_re rCoeff_im tCoeff_re tCoeff_im xoff yoff xalign yalign shape pars
end
end
//lhs input field
begin <FPInputDefinition(2.1)>
1 //input type
2 //single mode input
end
//rhs input field
begin <FPInputDefinition(2.1)>
1 //input type
0 //single mode input
end
begin <molab_parms(1.1)>
1 0 0 0 // autoRun <unused> minTEfrac maxTEfrac
N(1e+050) N(-1e+050) // evstart evend
60 0 100 1 // maxNmodes molabOpt nx ny
1.5868 0 REFFIDX 0 0 V3 1 600 600 15 25 0 60 10 // lambda hCurv solverID Hsymmetries Vsymmetries solverParms
end
end
begin <FPScanNode(1.0)> "SmallRingResScanner"
"SmallRingResLayout" //cdname1
"REPLICA" //cdname2
100 //nstep
1.57 1.6 //xstart,xend
"wavelength" //xlabel
begin <FPLayoutNode(1.0)> "REPLICA"
begin <FPlayout(1.0)>
6 6 1 1//width height depth is2Dmode
"" -1000 //matfilename Tsub
METALWALL 0.000000 //lhs BC
METALWALL 0.000000 //rhs BC
MAGWALL 0.000000 //bottom BC
MAGWALL 0.000000 //top BC
begin <layoutshape_list(1.3)>
//xposn yposn SHAPE(...) nxHint nyHint pmlfact RIXPROFILE(...) GRADEDPARS(...)
3@OC 0@OC ELLIPSE(3.2,3.2) 0 0 OPQ(1 0) 0
3@OC 0@OC ELLIPSE(3.6,3.6) 0 0 OPQ(3 0) 0
0@OL 2@OB RECTANGLE(6,0.2) 0 0 OPQ(3 0) 0
0@OL -2@OT RECTANGLE(6,0.2) 0 0 OPQ(3 0) 0
end
3 //joint_method
// LHS rtRegList follows
begin <RTregionList(1.0)>
//rCoeff_re rCoeff_im tCoeff_re tCoeff_im xoff yoff xalign yalign shape pars
end
// RHS rtRegList follows
begin <RTregionList(1.0)>
//rCoeff_re rCoeff_im tCoeff_re tCoeff_im xoff yoff xalign yalign shape pars
end
end
//lhs input field
begin <FPInputDefinition(2.1)>
1 //input type
2 //single mode input
end
//rhs input field
begin <FPInputDefinition(2.1)>
1 //input type
0 //single mode input
end
begin <molab_parms(1.1)>
1 0 0 0 // autoRun <unused> minTEfrac maxTEfrac
N(1e+050) N(-1e+050) // evstart evend
60 0 100 1 // maxNmodes molabOpt nx ny
1.6 0 REFFIDX 0 0 V3 1 600 600 15 25 0 60 10 // lambda hCurv solverID Hsymmetries Vsymmetries solverParms
end
end
end
begin <notesTB(1.0)> "Notes"
>This example shows a small ring resonator (micro-wire structure)
>constructed using the FIMMPROP Layout component.
>
>* Open the SmallRingResLayout Node
>* Plot the Ey field (View/Optical field/XZ profile)
>* Plot a movie of the Ey field (ditto above but set nframes=15)
>* Open the SmallRingResScanner and vary the wavelength from
> 1.57um to 1.60um - note the sharp resonance at around 1.5868,
> dropping over 90% of the power to the side branch.
end
begin <FPLayoutNode(1.0)> "DoubleRing"
begin <FPlayout(1.0)>
12 10 1 1//width height depth is2Dmode
"" -1000 //matfilename Tsub
METALWALL 0.000000 //lhs BC
METALWALL 0.000000 //rhs BC
MAGWALL 0.000000 //bottom BC
MAGWALL 0.000000 //top BC
begin <layoutshape_list(1.3)>
//xposn yposn SHAPE(...) nxHint nyHint pmlfact RIXPROFILE(...) GRADEDPARS(...)
7.1@OL 2.1@OC ELLIPSE(3.2,3.2) 0 0 OPQ(1 0) 0
0@OL 4.1@OB RECTANGLE(12,0.2) 0 0 OPQ(3 0) 0
1.1@OL -2.1@OC ELLIPSE(3.2,3.2) 0 0 OPQ(1 0) 0
0.9@OL -2.1@OC ELLIPSE(3.6,3.6) 0 0 OPQ(3 0) 0
0@OL -0.1@OB RECTANGLE(12,0.2) 0 0 OPQ(3 0) 0
0@OL -4.3@OB RECTANGLE(12,0.2) 0 0 OPQ(3 0) 0
6.9@OL 2.1@OC ELLIPSE(3.6,3.6) 0 0 OPQ(3 0) 0
end
3 //joint_method
// LHS rtRegList follows
begin <RTregionList(1.0)>
//rCoeff_re rCoeff_im tCoeff_re tCoeff_im xoff yoff xalign yalign shape pars
end
// RHS rtRegList follows
begin <RTregionList(1.0)>
//rCoeff_re rCoeff_im tCoeff_re tCoeff_im xoff yoff xalign yalign shape pars
end
end
//lhs input field
begin <FPInputDefinition(2.1)>
1 //input type
3 //single mode input
end
//rhs input field
begin <FPInputDefinition(2.1)>
1 //input type
0 //single mode input
end
begin <molab_parms(1.1)>
1 0 0 0 // autoRun <unused> minTEfrac maxTEfrac
N(1e+050) N(-1e+050) // evstart evend
60 0 100 1 // maxNmodes molabOpt nx ny
1.5867599293375 0 REFFIDX 0 0 V3 1 300 300 15 25 0 25 25 // lambda hCurv solverID Hsymmetries Vsymmetries solverParms
end
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -