Presentation is loading. Please wait.

Presentation is loading. Please wait.

Tutorial for XFDTD Written by Cynthia Furse University of Utah.

Similar presentations


Presentation on theme: "Tutorial for XFDTD Written by Cynthia Furse University of Utah."— Presentation transcript:

1 Tutorial for XFDTD Written by Cynthia Furse University of Utah

2 XFDTD 3D Finite Difference Time Domain code Written by Remcom, Inc. http://www.remcom.com

3 To start XFDTD in the CADE Lab type 'xfdtd53' in a shell. * Suggestion: First open the folder where you want your XFDTD file in.

4 Geometry File XFDTD uses two file types for any simulation. The Geometry file contains information about grid spacing and size, material types, and the location of objects in the grid. Its extension is ".id". The other file type is the fdtd file. This file contains all simulation paramenters, including the location of sources, number of timesteps, and data to be saved during the simulation. To run a simulation, a Geometry file has to be created. After the Geometry file has been saved, an fdtd file needs to be created. The fdtd file automatically references the geometry file that was open when it is created. After the fdtd file is created and saved, calcfdtd can be run. The data will be stored in the directory that xfdtd was opened in. After the simulation run is complete, the fdtd file needs to be reloaded into xfdtd for data to be viewed and plotted.

5 This is what the XFDTD Window Looks Like

6 To Create an New Geometry:

7 Define the FDTD Grid Cell Size Total Space (model plus surrounding air) This means you will be defining the materials at the locations of the E field components

8 View the Grid.

9 This will show you the grid. So far it contains only air. Orientation. You are viewing the xy-plane. Zoom Factor Where in the plane.(layer#) Location of your cursor

10 To change the plane you are viewing: XY plane ZY plane ZX plane 3D view

11 Edit the Menu of Electrical Material Parameters

12 Add Electrical Materials Double select ADD Then, choose Next Available or Choose Color * Disabled “Num Lock” in your computer keyboard, if double click cannot process.

13 Edit Electrical Properties of the Materials to be in your model Material 0=air Material 1 = PEC (metal) Lookup the material properties for your material.  r  Only needed when computing SAR Enter your material

14 Edit the Color for Your Material If you click Choose Color instead of Next Available:

15 Display the Edit Panel to Draw or Edit your Model

16 Here are Several Model Elements Choose Material Types of Single- Cell Models Wire Plate Cube Build Layers above or below Blocks of Plate and Cube

17 Start to Define Your Geometry Choose Material

18 The Library has Other Elements

19 Let’s Start with a Single-Cell “Wire” made of Material 2, What I Named Substrate

20 Ex Ey Ez Each Cell has Ex, Ey, Ez components Electric Grid Lines Represent Each Ex,Ey,Ez Component… (The Grid has also been Zoomed) This means the Ex component is “in” material 2 (but the Ey,Ez components are in material 0=air) Ez is in Material 2 Ey is in Material 2

21 See How a Cube of Material is Defined in this layer: Ex Ey Ez

22 And in the Layer Above it Ex Ey No Ez’s * To erase or undo, use Free Space in Electrical Materials to cover.

23 Draw the Teflon Box for Patch Antenna on Slice 25 Alternatively we could have used rectangular box in the library. Hold Middle Mouse Button to Drag, Click Left Button to Build.

24 Add Another Layer Slice 26 * Or in Geometry Editing Tools, add number of layers in Additional Layers for above or below levels.

25 And Another Layer Slice27

26 The Top is Slice 28

27 But we want the top of the patch antenna to be metal, so choose the plate element PEC

28 Add a plate to the bottom, too. Slice 25 (We used the plate instead the cube to draw layers of PEC, therefore, it’s on the same layer with Taflon)

29 Look at this “sandwich” in the yz and xz planes If the plates and boxes aren’t lined up correctly, fix them

30 We want to add a feedpoint to the center of the patch. Use the cursor to find where this is. (27,23,28)

31 Look at the feed location View-XZplane (Make sure that’s your feedpoint when you put your cursor at your feed Location) Y=23

32 Use Single Cell Wire (PEC) from Edit Panel

33 Use these wires to connect top to bottom plate, leaving one cell gap for voltage feed source 2 single-cell wires in the z (vertical) direction gap

34 Find the Location of the Feed Point Gap with the Cursor (27,23,27) The location to put your source need to be one grid below the feedpoint because the source take one grid space. We put our cursor at the gap.

35 Save Your Geometry Now you have created your geometry file You have found where to put your source Save your geometry as ~.id file

36 Types of Simulations Steady State Steady state simulations use the sinusoid source found in the FDTD - Run Paramenters - Voltage Source menu. This is very useful to determine exact parameters of an object at the specified input frequency. This includes SAR values, efficiency, radiation patterns, and input impedance. Many of these values can be found by simply looking at the Steady State Option in the Plot menu. Transient Transient simulations are excellent for determining the general paramaters of an antenna over a range of frequencies. Transient simulations use a gaussian pulse, or one of its variations as a source. By running a transient simulation. One can easily determine the input impedance over a large frequency range. This allows you to find the resonant frequency of an antenna, and gives you the information needed to make changes to your design.

37 Transient Simulation: Open Voltage Sources Panel

38 Choose a Source and “Add Port to List”. You may have several sources. This is your feedpoint location They Can be edit in “Set Waveform” If you want to S-paramters results

39 A note on # of Time Steps For steady state simulations, enough time steps must be included to reach steady state conditions. Otherwise, the results will be invalid. To determine if convergence has been reached. Store near zone values. Look at the near zone values to determine if Steady State has been reached. For transient simulation, more time steps will allow larger FFT transforms. This will give plots more data points, giving smoother graphs.

40 Close the Source Window, and Reopen It to see the source location on your grid. The source location will only show when the source window is open.

41 Define what you want FDTD to save after calculation Other values of interest are available for sine wave source only These are available for pulsed FDTD

42 Save your geometry again

43 Save FDTD Parameters as a.fdtd file

44 Run FDTD

45 This is what is displayed Start simulation If you want to see EM fields, select yes, and you will be impressed

46 Simulation Starts

47 XY Plane of EM Field You can change the Plane and view fields in Different direction

48 Display Results When Simulation is Finished, Reopen the.fdtd file again, then display the result.

49 Simulation S-parameters Results First Click You can edit your plot parameters here Then Click

50 S11 Response You can see the resonance frequency of this antenna is around 1.1GHz

51 Impedance Measurements

52 Real Impedance Response

53 Steady State Simulation * First to find out what frequency your antenna operates at, then add the source.

54 Steady State Simulation Edit by clicking “Set Waveform”

55 Radiation Pattern (E-field) Set Up

56 Run FDTD

57 Display Steady State Data

58 Steady State Data

59 Radiation Pattern

60 Radiation Plot Setup

61 Display Plot

62 Plot Setup Change to Polar Plot Format

63

64 Radiation Pattern

65 End of Tutorial


Download ppt "Tutorial for XFDTD Written by Cynthia Furse University of Utah."

Similar presentations


Ads by Google