1 / 65

Tutorial for XFDTD

Tutorial for XFDTD. Written by Cynthia Furse University of Utah. XFDTD. 3D Finite Difference Time Domain code Written by Remcom, Inc. http://www.remcom.com. To start XFDTD in the CADE Lab. type 'xfdtd53' in a shell.

alan-webb
Download Presentation

Tutorial for XFDTD

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

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 This means you will be defining the materials at the locations of the E field components Total Space (model plus surrounding air) Cell Size

  8. View the Grid.

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

  10. To change the plane you are viewing: ZY plane XY 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 Enter your material e r s Material 0=air Material 1 = PEC (metal) Lookup the material properties for your material. Only needed when computing SAR

  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 Blocks of Plate and Cube Types of Single-Cell Models Wire Plate Cube Build Layers above or below

  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. 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 Ey Ez Ex Each Cell has Ex, Ey, Ez components

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

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

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

  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. Slice 25 Add a plate to the bottom, too. (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. (27,23,28) We want to add a feedpoint to the center of the patch. Use the cursor to find where this is.

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

  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 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. (27,23,27)

  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. They Can be edit in “Set Waveform” This is your feedpoint location 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. The source location will only show when the source window is open. Close the Source Window, and Reopen It to see the source location on your grid.

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

  42. Save your geometry again

  43. Save FDTD Parameters as a .fdtd file

  44. Run FDTD

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

  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. You can edit your plot parameters here Simulation S-parameters Results Then Click First Click

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

More Related