Changes

[[Image:Back_icon.png|30px]] '''[[EM.Cube#EM.Tempo_Documentation | Back to EM.Tempo Tutorial Gateway]]'''
 
[[Image:Download2x.png|30px]] '''[http://www.emagtech.com/downloads/ProjectRepo/EMTempo_Lesson6.zip Download projects related to this tutorial lesson]'''
==Getting Started==
</table>
The wizard also initiated two field sensors planes, called "SENS_1" and "SENS_2", one Z-directed and the other Y-directed, and both centered at the origin. Define a new third field sensor observable, called "SENS_3", which is X-directed and centered at (0,0,0). Open the property dialog of all three sensors, and change the '''Plot Type''' from the default '''Intensity''' option to '''Vector'''. Also, change the value of '''Max Size''' to 0.5 and change the '''Cone Length Ratio''' and the '''Cone Radius Ratio''' to 0.5and o.25, respectively. This will generate vector field plots at the end of the FDTD simulation.
<table>
</table>
It is easy The PyPlot window has a number of controls that let you change the settings of your graph using your mouse. For example, using the Pan/Zoom button [[Image:Py_zoom_icon.png]], you can pan the graph with the left mouse button and zoom it in or out with the right mouse button. A combination of the two operations usually gives you an ideal scaling of your graph. As you move the mouse on the graph, you can read the value of the horizontal axis (X) and the corresponding value of the total electric field distribution along the X direction. You can also customize the graphs and change the scale of the graph axes. Click the {{key|Graph Settings}} button and uncheck the Auto box. Enter values -7 and 7 for <b>Min</b> and <b>Max</b>, respectively, for X-Axis and set the <b>No. Major Intervals</b> to find 7 in "Axis Settings" panel. Similarly, for Y-Axis enter values -100, 1700, and 6 for <b>Min</b> and <b>Max</b>, and <b>No. Major Intervals</b> respectively. <table><tr><td>[[Image:Tempo L6 Fig20.png|thumb|left|480px|Scaling of the graph for reading the distance between two peaks.]]</td></tr></table> <table><tr><td>[[Image:Tempo_L6_Fig20scale.png|thumb|left|700px|Changing X- and Y-axis scale in the Graph Settings dialog.]]</td></tr></table> The distance between two consecutive field maxima, which is equivalent to &lambda;<sub>g</sub>/2. You can use EM.Grid's "Delta Line Mode" to measure horizontal and vertical distances on any graph. First click on the '''Zoom In Horizontally''' [[Image:Zoom_horiz_iconPy_zoom_icon.png]] button of the top toolbar in EM.Grid to get an enlarged view of middle position of the graph. Then, click on Move the [[Image:Delta Line.png]] button of the top toolbar in EM.Grid. Next, click on mouse to the top of one of the field maxima in the graph. Hold down the mouse and drag it to the next field maximum. As you drag the mouse, you can read the &Delta;x and &Delta;y values on the lower right corner of the status bar. In , in this case(0., you will 1464.45). Then move the mouse to the next field maximum and read the values (5.88519,1464.45). You will see &Delta;x = 5.9mm., which is equal to half the calculated guide wavelength.  Alternatively, in the data manager, you can "view" the contents of the data file "SENS_1_X_ETotal.DAT" in the spreadsheet as shown below.
<table>
<tr>
<td>
[[Image:Tempo L6 Fig20Tempo_L6_Fig20list.png|thumb|left|480px|Reading The contents of the distance between two peaks data file "SENS_1_X_ETotal.DAT" shown in EMdata manager's spreadsheet.Grid using its delta line mode.]]
</td>
</tr>
== Running an FDTD Analysis of the Waveguide Filter Structure ==
Keep the same mesh settings and same FDTD engine settings as the previous part. Run a wideband analysis of your filter structure. After the completion of the simulation, plot the S<sub>11</sub> and S<sub>21</sub> graphs in EM.GridPyPlot. The bandpass response of the waveguide filter is clearly visible from the figures below.
{{Note|For resonant antennas and filter structures, relaxed convergence criteria may cause small ripples in the computed frequency response. These will disappear if you lower the power threshold and increase the maximum number of time steps.}}
4,612
edits