Changes

EM.Tempo Example Project: Fields Near a Ship

15,208 bytes removed, 17:14, 29 August 2014
/* Project Features */
{{projectinfo|Example|Fields Near a Ship|Ship Fields.png|A large ship is imported into EM.Cube, and the fields near the ship due to a planewave source are examined.|
*STL .STP File Import
*Simulating large problems in [[EM.Tempo]]
*[[EM.Tempo#Plane Waves | Planewave Source]]|
All versions|{{download|http://www.emagtech.com|EM.Tempo Lesson 3Ship Project|[[EM.Cube]] 14.8}} }}
===Objective:===
To construct This project is meant to demonstrate [[EM.Tempo]]'s ability to handle relatively large projects within a probedesktop environment. A third-fed rectangular microstrip patch antenna on party model (as a conductor-backed dielectric substratestep file) is imported, define a proper source to model the feeding probemeshed, and investigate different types of computational domain truncation and boundary conditionssimulated.
===What You Will Learn:===We urge users to download and experiment with the project, but for more instructive examples, please see [[EM.Tempo]]'s tutorial lessons.
In this tutorial you will use a lumped source to excite a more, namely, a plane wave. You will also introduce different materials and try out more complex geometries to build your physical structure. You learn how to plot different types of data files and perform mathematical operations on your data sets. ===Project Parameters===
==Getting Started==#Name: EMTempoShip#Length Units: Feet#Frequency Units: MHz #Center Frequency: 100 MHz
Open the [[EM.Cube]] application and switch to [[FDTD Module]]. Start a new project with the following attributes:==Project Features==
#Name: In this project, we seek to highlight several advanced capabilities of [[FDTDLesson3EM.Tempo]]#Length Units: mm#Frequency Units: GHz #Center Frequency: 1.575GHz#Bandwidth: 2GHz
==Creating Material Groups & Drawing Objects==*'''Simple Workflow''': The ship model featured in this project was imported, meshed, and simulated -- no manual CAD modification or manual mesh refinement was required.
*'''Fast Mesh Generation''': The mesh generated for the ship model requires about 85 million cells, and the model contains about 150 CAD objects, but [[Image:fdtd_lec3_1_toolbarboxEM.png|thumb|900px|center|Object ToolbarTempo]]'s fixed-cell mesh generator can mesh the model in only a few seconds.
[[Image*'''Large Project Size''':fdtd_lec3_2_drawThe ship featured in this project is about 80 wavelengths in length.png|thumb|700px|right|Drawing and box and This project was successfully simulated on a rectangle strip]] Create a PEC material group (PEC_1) and a dielectric material group (Dielectric_1) with &epsilon;<sub>r</sub> = 3.38typical desktop PC, &mu;<sub>r</sub> = 1, &sigma; = &sigma;<sub>m</sub> = 0. First, make Dielectric_1 active and draw a box only required about 6 GB of dimensions 120mm × 120mm × 1.524mm to represent the substrate. Set the coordinates of the LCS (local coordinate system) origin of the box object at (0, 0, 0). Next, activate the PEC_1 group. Draw a rectangle strip of length 52mm and width 51mm to represent the metallic patchRAM.
You can draw the rectangle strip first in a blank area of the project workspace and then adjust its coordinates to move it to the right location. In this case, set the coordinates of the LCS origin of the rectangle object at (0, 0, 1.524mm), i.e., at the center of the top face of the dielectric box. Or you can draw the patch right on location. Hover the mouse over the top face of the dielectric box. The mouse cursor snaps to a small highlighted “ball” at the center of box’s top face. Start drawing the rectangle right from this point.==Gallery==
{{Notetwoimgcenter|Under [[EMMoveShip.Cube]]’s default Snap-To-Object mode, if you hover the mouse over an object, its color becomes translucent. In this mouse-over state, the mouse cursor snaps png|Moving imported CAD objects to one of the characteristic points of the highlighted objectobject is highlightedFDTD module|MeshingShip. You can always activate [[EM.Cube]]’s useful Snap-To-Object mode using png|Meshing the keyboard shortcut “O”.ship model}}
Finally, while the PEC_1 group is still active, draw a vertical line of length 1.524mm to represent the probe feed on the patch antenna. Remember to hold down the keyboard’s <b>Shift Key</b> when drawing the line object to make it perpendicular to the current XY work plane. Set the coordinates of the LCS origin of the line object at (-15mm, 0, 0). The line object will move underneath the metallic patch object.
{{Notetwoimgcenter|If you draw a rectangle strip Ship Fields.png|Nearfields in a blank space, it is center-drawn by default. Use the keyboard shortcut “B”, while still drawing, to toggle to corner-based and edge-based drawing modes. You can also use the keyboard’s “Up Arrow” and “Down Arrow” keys to change the plane vicinity of the drawn rectangle. If you start drawing a new rectangle strip ship from the center of a flat face of another object, the rectangle will be drawn center-based, lying in the plane of that facePlanewave source. If you start drawing a new rectangle strip from the center of a linear edge of another object, the rectangle will be drawn edge-based away from the selected edge, and you can change the plane of the rectangle using |ShipFields2.png|Nearfields near the arrow keysship (mesh view enabled).}}
==Domain Settings & Boundary ConditionsDownload==
In this tutorial lesson you will simulate two different versions of your microstrip patch antenna: one with an infinite substrate and one with a finite substrate. You will see the effect of a finite substrate on the radiation characteristics of the patch antenna. [[EM.Cube]] provides CMPL boundary conditions that absorb impinging waves and thus emulate an open-boundary free space. One of the important properties of CPML boundary conditions is that they can be placed around a dielectric medium, and they equally absorb waves impinging from inside the dielectric material. This means that to the impinging wave, the CPML indeed emulated a dielectric medium of infinite extents. {{Notedownload|If a CMPL wall touches the boundary of a dielectric medium, its makes the dielectric medium look like having an infinite extent in that direction.}} [[Imagehttp:fdtd_lec3_3_infiniteextent.png|thumb|700px|right|A dielectric substrate that is laterally of infinite extents]] For this project, we want a dielectric substrate that is laterally of infinite extents and backed by a perfect electrical conductor from its bottom. Therefore, you need CPML walls on the left, right, front and back wall of the computational domain plus its top wall. On the other hand, you have to designate the bottom boundary condition as PEC. You do this from the Boundary Conditions Dialog, which you can open by right clicking on the “Boundary Conditions” item in the “Computational Domain” section of the Navigation Tree and selecting <b>Boundary Conditions…</b> Next, you have to open the Domain Settings Dialog, either by clicking the <b>Domain Settings</b> [[Image:fdtd_domainsettings2www.png]] button of Simulate Toolbar or using the keyboard shortcut <b>Ctrl+A</b>emagtech. Set all the five +X, –X, +Y, -Y and –Z <b>Offset</b> values to 0 and keep the +Z offset at the default value of 0.25 &lambda;<sub>0</sub>. You will notice that the computational domain do shrinks and touches the four lateral sides and bottom of your dielectric substrate box object.  [[Image:fdtd_lec3_4_domainboundary.pngcom|thumb|900px|center|Setting the computational domain and the boundary conditions]] ==Source Definition== [[Image:fdtd_lec3_5_source.png|thumb|600px|right|Setting a lumped source]] In Tutorial Lesson 1, you used a lumped source to excite a long wire to model a dipole antenna. Lumped sources placed on short wires can be used to model probe feeds. In probe-fed patch antennas, a coaxial line or an SMA connector are usually attached from the back of the antenna. The outer conductor of the coaxial cable or the flange of the SM connector is attached to the ground plane of the antenna, while the inner conductor of the coaxial line or SMA connector is extended through the dielectric substrate and then attached to the metallic patch. This can be modeled as a short line object immersed in the substrate, and connected to the ground on one side and to the rectangle patch object from the other side.  Define a new lumped source in the “<b>Lumped Sources</b>” section of the Navigation Tree. This will be placed on Line_1 as it is the only eligible line object in your project. Keep the default offset, unit amplitude, zero phase and 50&Omega; resistanceEM.   ==Defining Tempo Ship Project Observables== For this project, you will define three observables: 1. A field sensor located at (0, 0, 1.524) coinciding with the patch plane. 2. A far field box with a “Radiation Pattern” observable. 3. A default port definition for lumped source LS_1 with a 50&Omega; port impedance.   By default, [[EM.Cube]]’s [[FDTD Module]] assumes a free space background medium for radiation pattern calculation. In other words, it assumes that your physical structure is immersed in the free space, and it uses the free-space Green’s functions for the near-to-far-field transformation. However, in this project, your real background structure is an infinite dielectric substrate with an infinite PEC ground plane at its bottom. [[FDTD Module]]’s Radiation Pattern Dialog currently gives four options for a ar field background medium: 1. Free Space (default) 2. PEC Ground Plane 3. PMC Ground Plane 4. Dielectric Half-Space with specified &epsilon;<sub>r</sub> and   You can access these options by clicking the button labeled <b>Background…</b> in the Radiation Pattern dialog and opening the “Far Field Background Medium” dialog. For this project, the two options close to your structure are “PEC Ground Plane” and “Dielectric Half-Space”. However, the latter assumes a dielectric medium of infinite depth in the –Z direction, so it does not apply. A PEC ground plane is not a bad approximation as the thickness of your substrate is about 0.005 &lambda;<sub>0</sub>. Therefore, from the radio buttons in the section titled “Set Background Medium” select the second option, i.e., <b>PEC Ground Plane</b>. In the section titled “Set Top Z-Coordinate”, keep the default option “Use Bottom of Domain”. This means that the infinite PEC ground plane is placed at the bottom of your computational domain, where you have already set up a PEC boundary condition.   [[Image:fdtd_lec3_6_radiationpattern.png|thumb|600px|center|Radiation Pattern and the Far Field Background Medium dialog]]  ==Setting Mesh Parameters==  [[Image:fdtd_lec3_7_meshspacingnew14.png|thumb|700px|right]] As your patch antenna is a resonant structure, the results of your FDTD simulation will be highly dependent on the quality of your FDTD mesh. Open the FDTD Mesh Settings Dialog by clicking the <b>Mesh Settings</b> [[Image:fdtd_meshsettings.png]] button of Simulate Toolbar (or using the keyboard shortcut <b>Ctrl+G</b>). Set the value of <b>Minimum Mesh Density</b> to 30 cells/&lambda;<sub>eff</sub>. Remember that your substrate is very thin, with a thickness of about 0.005&lambda;<sub>0</sub>. [[EM.Cube]]’s FDTD mesher applies special rules for thin regions. Set the value of “<b>Minimum Grid Spacing in Thin Regions</b>” to 0.01 as a fraction of maximum grid spacing in the free space. As a result, you also have to modify the value of “<b>Absolute Minimum Grid Spacing</b>” and set that one, too, to 0.01 as a fraction of maximum grid spacing in the free space. Use the <b>Apply</b> button of this dialog to enact the changes. View the mesh of your structure and make sure it has good quality. Enable the YZ or ZX Grid Planes and see the side views of the structure. You will see the variable resolution in the free space and dielectric regions, as well as the gradual grid transition from the air to the dielectric substrate.  [[Image:fdtd_lec3_8_meshsetting.png|thumb|600px|center|Setting mesh parameters]] ==Running the FDTD Simulation & Visualizing the Results== [[Image:fdtd_lec3_9_enginesettingarrow.png|thumb|600px|right|Engine setting parameters]] At this time, your project is ready for FDTD simulation. Run a quick “Analysis” to examine the computed near and far fields of the patch antenna and its port characteristics. Before starting the FDTD analysis, keep in mind that your about to run a resonant structure. It is highly recommended that you change the default termination criterion. To do so, open the FDTD Engine Settings Dialog. As a reminder, you can open this dialog either through the Simulation Run Dialog, or directly from the menu <b>Simulate &rarr; Simulation Engine Settings…</b> In the “Termination Criterion” section of this dialog, set the <b>Power Threshold</b> to -50dB and set <b>Max No. Time Steps</b> to 25,000. Keep the default selected radio button labeled “Both”. if your computer is equipped with a powerful graphical processing unit (GPU), this is a good project to showcase the impact of GPU acceleration. In the “Acceleration” section of the dialog, select the option “Use GPU Solver”.   At the end of the simulation, using the Navigation Tree visualize the electric and magnetic field distributions on the patch plane as well as the 3D radiation pattern of the patch antenna. Using Data Manager, plot the S<sub>11</sub> parameter of the probe-fed patch antenna. Note the sharp resonance of the antenna near 1.5GHz.  [[Image:fdtd_lec3_10_ehtotal.png|thumb|800px|center|The electric field (left) and magnetic field (right) distributions on the patch plane]]  {| border="0"|-| valign="top"|[[Image:fdtd_lec3_11_splotl.png|thumb|400px|center|The S<sub>11</sub> plot as a function of frequency for an patch antenna with an infinite substrate]]| valign="top"|[[Image:fdtd_lec3_12_etot.png|thumb|400px|center|The 3D radiation pattern of the patch antenna with an infinite substrate]] |-|8 {{Note|[[EM.Cube]]’s [[FDTD Module]] does not provide a current distribution observable. However, you can define near field sensors on flat metallic plates. The tangential magnetic field components on thes senor plane represent the electric surface currents.}}  ==Analyzing a Patch Antenna with a Finite Substrate== As the next step of this tutorial lesson, you will convert the dielectric substrate of your patch antenna to one with finite extents and analyze the performance of the resulting antenna. Save your project up to this point as a new project called “FDTDLesson4A”, where you will make all the new modificatios. You will use the previous part later in the next tutorial lesson. First, you are going to change the computational domain settings and its boundary conditions. Set all the boundary conditions to PML at all the six ±X, ±Y and ±Z boundaries, thus removing the previous PEC bottom boundary. Then, open the Domain Settings Dialog and restore all the six default 0.25 &lambda;<sub>0</sub> offsets for an open-boundary structure. You can do this very quickly by clicking the <b>Reset</b> button of the dialog and then clicking the <b>Apply</b> button. The domain walls all move away from your physical structure.   [[Image:fdtd_lec3_13_domainboundaryfinite.png|thumb|750px|center|Setting the computational domain and the boundary conditions]]  Next, realize that you new to add a new finite PEC ground to the back of your finite-sized substrate because you removed the bottom PEC boundary wall. You need to draw a new PEC rectangle strip object. First, you have to activate the PEC_1 group on the Navigation Tree. Then, draw a rectangle strip of dimensions 120mm × 120mm in a blank space and move it to the back of the dielectric box and settings its LCS coordinates to (0, 0, 0). Alternatively, hover the mouse over the bottom face of the dielectric box. The mouse cursor snaps to a small highlighted “ball” at the center of box’s bottom face. Start drawing the rectangle right from this point. Drag the mouse to snap to one of the four corners of the dielectric box and release the mouse. You get the right rectangular obejct at the right location and with the right dimensions.    {| border="0"|-| valign="top"|[[Image:fdtd_lec3_15_backB.png|thumb|700px|center|Adding a finite PEC ground to the back of a finite-sized substrate]]| valign="top"|[[Image:fdtd_lec3_15_backC.png|thumb|700px|center|A PEC ground in the back of a finite-sized dielectric box]] |-|}  Before running a new simulation, make sure to change the settings of “Far Field Background Medium” dialog. Open the radiation pattern dialog and click the button labeled <b>Background…</b> In the scetion titled “Set Background Medium”, select the <b>Free Space</b> radio button. Now, run a quick FDTD anslysis of your new patch antenna with the finite substrate and visualize the electric and magnetic field distributions and the 3D radiation pattern. Also, plot the S11 parameter of the probe-fed patch antenna in EM.Grid as well as its 2D polar radiation pattern graphs in YZ and ZX planes.   [[Image:fdtd_lec3_20_etotfinite.png|thumb|800px|center|The electric field (left) and magnetic field (right) distributions on the finite patch plane]]  [[Image:fdtd_lec3_18_s11etpt.png|thumb|800px|center|The S<sub>11</sub> plot as a function of frequency (left) and the 3D radiation pattern of the patch antenna with an infinite substrate (right)]]  [[Image:fdtd_lec3_19_polarYZ_ZXfinite.png|thumb|800px|center|The 2D polar radiation pattern graphs in YZ (left)and ZX planes (right)]]  Comparing the results of the patch antenna with the finite substrate to the one with an infinite substrate, you notice that the near field distributions are almost identical. However, the far field radiation patterns are completely different. In the finite substrate case, the radiation pattern takes a more circular shape and back lobes start to appear in the lower half-space corresponding to 0 &le; &theta; &le; 90<sup>o</sup>. Also, note that the resonant frequency of the antenna stays the same, although the S<sub>11</sub> dip is now a little bit deeper. Moreover, in the YZ Plane, you have a large E<sub>&phi;</sub> component and a very small E<sub>&theta;</sub> component; while in the ZX Plane, the situation is just the opposite, with a large E<sub>&theta;</sub> component and almost no E<sub>&phi;</sub> component.
{{FDTD Details}}
{{EMCUBE directory}}
 
[[EM.Cube | Back to EM.Cube Wiki Main Page]]
831
edits