Changes
*Large Projects
*Cloud-Based Resources
|All versions| None }}
In this article, we will compute the bi-static radar cross-section (RCS) of a Dassault Mirage III type fighter aircraft at 850 MHz with [[EM.Tempo]]. Throughout the article, we will discuss a few challenges involved in working with electrically-large models.
{{Note| For an in-depth tutorial related to computing RCS in [[EM.Tempo]], please review [[EM.Tempo Tutorial Lesson 2: Analyzing Scattering From A Sphere]]}}
== Computational Environment ==
The Mirage III has approximate dimensions (length,wingspan,height) of 15m x 8m x 4.5m. Or, measured in terms of freespace wavelength at 850 MHz, 42.5 lambda λ x 22.66 lambda λ x 12.75 lambdaλ. Thus, for the purposes of [[EM.Tempo]], we need to solve a region of about 12,279 cubic wavelengths. For problems of this size, a great deal of CPU memory is needed, and a high-performance, multi-core CPU is desirable to reduce simulation time.
[https://aws.amazon.com/ Amazon Web Services ] allows one to acquire high-performance compute instances on demand, and pay on a per-use basis. To be able to log into an Amazon instance via Remote Desktop Protocol, the [[EM.Cube]] license must allow terminal services (for more information, see [[http://www.emagtech.com/content/emcube-2016-licensing-purchasing-options EM.Cube]] Pricing]). For this project, we used a c4.4xlarge instance running Windows Server 2012. This instance has 30 GiB of memory, and 16 virtual CPU cores. The CPU for this instance is an Intel Xeon E5-2666 v3 (Haswell) processor.
== CAD Model ==
The CAD model used for this simulation was found on [https://grabcad.com/ GrabCAD], an online repository of user-contributed CAD files and models. [[EM.Cube]]'s IGES import was then used to import the model. Once we import the model, we move the Mirage to a new PEC material group in [[EM.Tempo]].
<div><ul> <li style="display: inline-block;"> [[Image:glass.png |thumb|left|200px|Selecting glass as cockpit material for the Mirage model.]]</li><li style="display: inline-block;"> [[Image:Mirage image.png |thumb|left|200px|Complete model of Mirage aircraft.]]</li></ul></div>
For the present simulation, we model the entirety of the aircraft, except for the cockpit, as PEC. For the cockpit, we use [[EM.Cube]]'s material database to select a glass of our choosing.
== Project Setup ==
===Planewave Source===
Since we're computing a Radar Cross Section, we also need to add a planewave source. For this example, we will specify a TMz planewave with θ = 135 degrees, φ = 0 degrees, or:
<div><ul> <li style="display: inline-block;"> [[Image:Large struct article mesh settings.png |thumb|left|300px|Mesh settings used for the Mirage project.]]</li><li style= Results =="display: inline-block;"> [[Image:Large struct article mesh detail.png|thumb|left|300px|Mesh detail near the cockpit region of the aircraft.]] </li></ul></div>
[[Image:Engine settings.png|thumb|left|300px|Engine settings used for Mirage project.]]
For a given system, some experimentation may be needed to determine the best number of threads to use. In many cases, using half of the available hardware concurrency works well. This comes as a result of there often being two cores per memory port on many modern processors. In other words, for many problems, the FDTD solver cannot load and store data from CPU memory quickly enough to use all available threads or hardware concurrency. The extra threads are idling waiting for data, and a performance hit is incurred due to increased thread context switching.
[[Image:Large struct article ScreenCapture3.png|thumb|left|500px|Figure 1: Geometry of the periodic unit cell of the dispersive water slab in EM.Tempo.Cube]] [[Image:Large struct article ScreenCapture2.png|thumb|left|500px|Figure 1: Geometry will attempt use a version of the periodic unit cell of the dispersive water slab in EMFDTD engine optimized for use with Intel's AVX instruction set, which provides a significant performance boost.Tempo.]] [[Image:Large struct article ScreenCapture1.png|thumb|left|500px|Figure 1: Geometry If AVX is unavailable, a less optimal version of the periodic unit cell of the dispersive water slab in EMengine will be used.Tempo.]] 270 million
After the sources, observables, and mesh are set up, the simulation is ready to be run.
<br clear="all" />
== Simulation ==
The complete simulation, including meshing, time-stepping, and farfield calculation took 5 hours, 50 minutes on the above-mentioned Amazon instance. The average performance of the timeloop was about 330 MCells/s. The farfield computation requires a significant portion of the total simulation time. The farfield computation could have been reduced with larger theta and phi increments, but, as mentioned previously, for electrically large structures, resolutions of 1 degree or less are required.
After the simulation is complete, we can see the RCS pattern as shown below. We can also plot 2D cartesian and polar cuts from the Data Manager.
<div><ul>
<li style="display: inline-block;">
[[Image:Large struct article ScreenCapture3.png|thumb|left|300px|RCS pattern of the Mirage model at 850 MHz in dBsm.]]
</li>
</ul></div>
<div><ul>
<li style="display: inline-block;"> [[Image:RCS XY.png|thumb|left|300px|XY cut of RCS]]</li>
<li style="display: inline-block;"> [[Image:RCS ZX.png|thumb|left|300px|ZX cut of RCS]]</li>
<li style="display: inline-block;"> [[Image:Large struct article RCS YZ.png|thumb|left|300px|YZ cut of RCS]]</li>
</ul></div>
<div><ul> <li style="display: inline-block;"> [[Image:Large struct article mesh detailScreenCapture1.pngpng|thumb|left|500px|Figure 1300px]]</li><li style="display: Geometry of the periodic unit cell of the dispersive water slab in EM.Tempoinline-block;"> [[Image:Large struct article ScreenCapture2.png|thumb|left|300px]]</li></ul></div>
<div><ul> <li style="display: inline-block;"> [[Image:Large struct article mesh settingsRCS XY Polar.png ||thumb|left|500px300px|Figure 1XY Cut of RCS is dBsm]]</li><li style="display: Geometry of the periodic unit cell inline-block;"> [[Image:RCS ZX Polar.png||thumb|left|300px| ZX Cut of the dispersive water slab in EM.TempoRCS is dBsm]] </li><li style="display: inline-block;"> [[Image:RCS YZ Polar.png||thumb|left|300px| YZ Cut of RCS is dBsm]]</li></ul></div>