




|
1
|
|
2
|
In the Select Physics tree, select Optics > Wave Optics > Electromagnetic Waves, Beam Envelopes (ewbe), Optics > Wave Optics > Electromagnetic Waves, Frequency Domain (ewfd), and Mathematics > PDE Interfaces > General Form PDE (g).
|
|
3
|
Click Add.
|
|
4
|
|
5
|
Click Add.
|
|
6
|
Click
|
|
7
|
In the Select Study tree, select Preset Studies for Some Physics Interfaces > Boundary Mode Analysis.
|
|
8
|
Click
|
|
1
|
|
2
|
|
3
|
Click
|
|
4
|
Browse to the model’s Application Libraries folder and double-click the file waveguide_s_bend_parameters.txt.
|
|
1
|
|
2
|
In the Part Libraries window, select Wave Optics Module > Slab Waveguides > slab_waveguide_s_bend in the tree.
|
|
3
|
Click
|
|
1
|
In the Model Builder window, under Component 1 (comp1) > Geometry 1 click Slab Waveguide S-Bend 1 (pi1).
|
|
2
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
Click OK.
|
|
9
|
|
10
|
Click New Cumulative Selection.
|
|
11
|
|
12
|
Click OK.
|
|
13
|
|
14
|
Click New Cumulative Selection.
|
|
15
|
|
16
|
Click OK.
|
|
17
|
|
1
|
|
2
|
In the Part Libraries window, select Wave Optics Module > Slab Waveguides > slab_waveguide_straight in the tree.
|
|
3
|
Click
|
|
1
|
In the Model Builder window, under Component 1 (comp1) > Geometry 1 click Slab Waveguide Straight 1 (pi2).
|
|
2
|
|
4
|
|
5
|
Locate the Domain Selections section. In the table, enter the following settings:
|
|
6
|
Click to expand the Boundary Selections section. Click to select row number 7 in the table.
|
|
7
|
Click New Cumulative Selection.
|
|
8
|
|
9
|
Click OK.
|
|
10
|
|
1
|
Right-click Component 1 (comp1) > Geometry 1 > Slab Waveguide Straight 1 (pi2) and choose Duplicate.
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
Click OK.
|
|
7
|
|
9
|
Locate the Boundary Selections section. In the table, enter the following settings:
|
|
10
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
Click OK.
|
|
9
|
|
11
|
|
1
|
In the Model Builder window, under Component 1 (comp1) > Geometry 1 right-click Slab Waveguide Straight 2 (pi3) and choose Duplicate.
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
9
|
Click OK.
|
|
10
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
Click OK.
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
Click OK.
|
|
1
|
|
2
|
In the Settings window for Intersection, type Non-PML Core-Cladding Boundaries in the Label text field.
|
|
3
|
|
4
|
|
5
|
In the Add dialog, in the Selections to intersect list, choose Non-PML Core Boundaries and Non-PML Cladding Boundaries.
|
|
6
|
|
1
|
In the Model Builder window, under Component 1 (comp1) right-click Materials and choose Blank Material.
|
|
2
|
|
3
|
Locate the Material Contents section. In the table, enter the following settings:
|
|
1
|
|
2
|
|
3
|
|
4
|
Locate the Material Contents section. In the table, enter the following settings:
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
Select the Activate slit condition on interior port checkbox.
|
|
6
|
Click Toggle Power Flow Direction, to make the arrows in the Graphics window point toward the waveguide S-bend.
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
Select the Activate slit condition on interior port checkbox.
|
|
6
|
Click Toggle Power Flow Direction, to make the arrows in the Graphics window point away from the S-bend.
|
|
1
|
In the Model Builder window, under Component 1 (comp1) > Electromagnetic Waves, Beam Envelopes (ewbe), Ctrl-click to select Port 1 and Port 2.
|
|
2
|
Right-click and choose Copy.
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
Click OK.
|
|
7
|
|
8
|
In the Source term quantity table, enter the following settings:
|
|
1
|
In the Model Builder window, under Component 1 (comp1) > General Form PDE (g) click General Form PDE 1.
|
|
2
|
|
3
|
|
4
|
|
1
|
|
2
|
|
3
|
|
4
|
|
1
|
|
2
|
|
3
|
|
4
|
Locate the Boundary Flux/Source section. In the g text field, type 1, to make the x-derivative of u be 1[m]/1[m] = 1.
|
|
1
|
|
2
|
|
4
|
|
5
|
|
6
|
|
7
|
Click OK.
|
|
1
|
|
2
|
|
3
|
|
4
|
Locate the Constraint section. In the R text field, type u0-u. This is the constraint that will make the path length constant on the Port 2 boundary.
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
Click OK.
|
|
8
|
|
9
|
In the Source term quantity table, enter the following settings:
|
|
1
|
In the Model Builder window, under Component 1 (comp1) > General Form PDE 2 (g2) click General Form PDE 1.
|
|
2
|
|
3
|
|
4
|
|
1
|
In the Model Builder window, under Component 1 (comp1) > General Form PDE (g), Ctrl-click to select Dirichlet Boundary Condition 1, Flux/Source 1, and Constraint 1.
|
|
2
|
Right-click and choose Copy.
|
|
1
|
|
2
|
|
1
|
In the Model Builder window, under Component 1 (comp1) > General Form PDE 2 (g2) right-click Dirichlet Boundary Condition 1 and choose Duplicate.
|
|
2
|
|
3
|
|
4
|
|
1
|
|
2
|
|
3
|
|
1
|
|
2
|
|
3
|
|
1
|
In the Model Builder window, under Component 1 (comp1) right-click Definitions and choose Variables.
|
|
2
|
|
3
|
|
4
|
|
5
|
Locate the Variables section. In the table, enter the following settings:
|
|
1
|
|
2
|
|
3
|
|
4
|
Locate the Variables section. In the table, enter the following settings:
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
Locate the Variables section. In the table, enter the following settings:
|
|
1
|
|
2
|
|
3
|
|
4
|
Locate the Variables section. In the table, enter the following settings:
|
|
1
|
|
2
|
|
3
|
|
4
|
Locate the Variables section. In the table, enter the following settings:
|
|
1
|
In the Model Builder window, under Component 1 (comp1) click Electromagnetic Waves, Beam Envelopes (ewbe).
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
1
|
|
2
|
|
1
|
|
2
|
|
4
|
|
1
|
|
2
|
|
3
|
|
4
|
|
1
|
|
2
|
|
3
|
Locate the Geometric Entity Selection section. From the Geometric entity level list, choose Boundary.
|
|
5
|
|
6
|
Locate the Element Size Parameters section.
|
|
7
|
|
1
|
|
2
|
|
1
|
|
2
|
|
3
|
Select the Adjust edge mesh checkbox.
|
|
4
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
Locate the Physics and Variables Selection section. In the Solve for column of the table, under Component 1 (comp1), clear the checkboxes for Electromagnetic Waves, Frequency Domain (ewfd), General Form PDE (g), and General Form PDE 2 (g2).
|
|
1
|
|
2
|
|
3
|
|
4
|
|
1
|
|
2
|
|
3
|
|
4
|
Locate the Physics and Variables Selection section. Select the Modify model configuration for study step checkbox.
|
|
5
|
In the tree, select Component 1 (comp1) > Definitions > Artificial Domains > Perfectly Matched Layer 2 (pml2).
|
|
6
|
Click
|
|
7
|
|
8
|
Click
|
|
9
|
|
10
|
Click
|
|
11
|
|
12
|
Click
|
|
1
|
|
2
|
Drag and drop above Step 2: Boundary Mode Analysis.
|
|
3
|
|
4
|
In the Solve for column of the table, under Component 1 (comp1), clear the checkbox for General Form PDE 2 (g2).
|
|
1
|
|
2
|
|
3
|
|
4
|
In the Solve for column of the table, under Component 1 (comp1), clear the checkbox for General Form PDE (g).
|
|
5
|
In the Solve for column of the table, under Component 1 (comp1), select the checkbox for General Form PDE 2 (g2).
|
|
6
|
|
1
|
|
2
|
|
3
|
|
4
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
1
|
|
2
|
|
1
|
|
2
|
|
3
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
Clear the Color legend checkbox.
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
Select the Apply to dataset edges checkbox.
|
|
1
|
|
2
|
|
3
|
In the Expression text field, type E1z. This is the dependent variable solved for, the z component of the electric field envelope.
|
|
4
|
|
1
|
In the Model Builder window, expand the Results > Reflectance, Transmittance, and Absorptance (ewbe) node, then click Reflectance, Transmittance, and Absorptance (ewbe).
|
|
2
|
|
4
|
|
1
|
In the Model Builder window, under Component 1 (comp1) click Electromagnetic Waves, Frequency Domain (ewfd).
|
|
2
|
|
3
|
|
1
|
|
2
|
|
3
|
Locate the Physics-Controlled Mesh section. In the table, clear the Use checkboxes for Electromagnetic Waves, Beam Envelopes (ewbe), General Form PDE (g), and General Form PDE 2 (g2).
|
|
4
|
|
1
|
|
2
|
Go to the Add Study window.
|
|
3
|
|
4
|
Click the Add Study button in the window toolbar.
|
|
1
|
In the Model Builder window, under Study 1, Ctrl-click to select Step 3: Boundary Mode Analysis, Step 4: Boundary Mode Analysis 1, and Step 5: Frequency Domain.
|
|
2
|
Right-click and choose Copy.
|
|
1
|
In the Settings window for Boundary Mode Analysis, locate the Physics and Variables Selection section.
|
|
2
|
In the Solve for column of the table, under Component 1 (comp1), clear the checkbox for Electromagnetic Waves, Beam Envelopes (ewbe).
|
|
3
|
In the Solve for column of the table, under Component 1 (comp1), select the checkbox for Electromagnetic Waves, Frequency Domain (ewfd).
|
|
4
|
Click to expand the Mesh Selection section. In the table, enter the following settings:
|
|
1
|
|
2
|
In the Settings window for Boundary Mode Analysis, locate the Physics and Variables Selection section.
|
|
3
|
In the Solve for column of the table, under Component 1 (comp1), clear the checkbox for Electromagnetic Waves, Beam Envelopes (ewbe).
|
|
4
|
In the Solve for column of the table, under Component 1 (comp1), select the checkbox for Electromagnetic Waves, Frequency Domain (ewfd).
|
|
5
|
Click to expand the Mesh Selection section. In the table, enter the following settings:
|
|
1
|
|
2
|
|
3
|
In the tree, select Component 1 (comp1) > Definitions > Artificial Domains > Perfectly Matched Layer 1 (pml1).
|
|
4
|
Click
|
|
5
|
In the tree, select Component 1 (comp1) > Definitions > Artificial Domains > Perfectly Matched Layer 2 (pml2).
|
|
6
|
Click
|
|
7
|
|
8
|
Click
|
|
9
|
|
10
|
Click
|
|
11
|
Click to expand the Mesh Selection section. In the table, enter the following settings:
|
|
12
|
|
13
|
|
1
|
|
2
|
|
3
|
|
1
|
|
2
|
In the Settings window for 2D Plot Group, type Field Comparison, Linear Scale in the Label text field.
|
|
3
|
|
4
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
1
|
|
2
|
|
3
|
|
1
|
|
2
|
|
3
|
|
1
|
|
2
|
|
3
|
|
4
|
|
1
|
In the Model Builder window, expand the Results > Reflectance, Transmittance, and Absorptance (ewfd) node, then click Reflectance, Transmittance, and Absorptance (ewfd).
|
|
2
|
|
4
|