

|
1
|
|
2
|
In the Select Physics tree, select Optics > Wave Optics > Electromagnetic Waves, Beam Envelopes (ewbe).
|
|
3
|
Click Add.
|
|
4
|
Click
|
|
5
|
|
6
|
Click
|
|
1
|
|
2
|
|
1
|
|
2
|
|
3
|
Locate the Definition section. In the Expression text field, type if(n==0,1,if(n==1,2*x,if(n==2,4*x^2-2,0))).
|
|
4
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
Click
|
|
6
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
Click
|
|
6
|
|
1
|
|
2
|
Click in the Graphics window and then press Ctrl+A to select both objects.
|
|
3
|
|
4
|
|
1
|
|
2
|
Select the object int1 only.
|
|
3
|
|
4
|
Select the Keep input objects checkbox.
|
|
5
|
Click
|
|
6
|
|
1
|
|
2
|
Click in the Graphics window and then press Ctrl+A to select both objects.
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
Click
|
|
6
|
|
1
|
|
2
|
Go to the Add Material window.
|
|
3
|
|
4
|
Click the Add to Component button in the window toolbar.
|
|
5
|
|
1
|
|
2
|
|
1
|
|
2
|
Go to the Add Physics window.
|
|
3
|
|
4
|
Click the Add to Component 1 button in the window toolbar.
|
|
5
|
|
1
|
|
3
|
|
4
|
|
5
|
|
6
|
Click OK.
|
|
7
|
|
8
|
Click
|
|
9
|
In the Source term quantity table, enter the following settings:
|
|
1
|
In the Model Builder window, under Component 1 (comp1) click Electromagnetic Waves, Beam Envelopes (ewbe).
|
|
2
|
In the Settings window for Electromagnetic Waves, Beam Envelopes, click to expand the Equation section.
|
|
3
|
|
4
|
|
1
|
In the Model Builder window, under Component 1 (comp1) > Electromagnetic Waves, Beam Envelopes (ewbe) click Initial Values 1.
|
|
2
|
|
3
|
|
4
|
|
1
|
|
1
|
|
2
|
|
kg²·m²/(s6·A²)
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
1
|
|
2
|
|
3
|
Click
|
|
1
|
|
2
|
In the Model Builder window, expand the Solution 1 (sol1) node, then click Compile Equations: Stationary.
|
|
3
|
|
4
|
Select the Split complex variables in real and imaginary parts checkbox.
|
|
5
|
|
6
|
In the Show More Options dialog, in the tree, select the checkbox for the node Physics > Advanced Physics Options.
|
|
7
|
Click OK.
|
|
1
|
In the Model Builder window, under Component 1 (comp1) > Global ODEs and DAEs (ge) click Global Equations 1 (ODE1).
|
|
2
|
|
3
|
|
4
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
6
|
|
7
|
|
8
|
|
1
|
In the Model Builder window, expand the Results > Derived Values node, then click Global Evaluation 1.
|
|
2
|
|
3
|
Locate the Expressions section. In the table, enter the following settings:
|
|
4
|
Click
|
|
1
|
Go to the Table 1 window.
|
|
2
|
Click the Full Precision button in the window toolbar. At least the first six to seven digits should be the same for the computed and the analytical mode frequencies.
|