Electromagnetic Modelling and Antenna Simulation via Opensource Software

Commercial electromagnetic simulation (EM) software packages such as CST Microwave Studio and ANSYS HFSS are widely used in commercial applications and educational purposes. Based on my experience, they provide very accurate results which match measurements in most antenna works. On the other hand, there are also very solid opensource software and applications which may also provide similar results in some applications.

While commercial EM software suits usually have very good documentations, easy-to-use interference, and result visualisation and navigation tools, opensource EM software suits might consist of only the solver and documentation which explains how it should be used and implemented for design and simulation via an interference and a programming language such as Python, MATLAB, C++ . As they are opensource, it is also possible to edit their codes and advance their functions and performance. Thus, these features makes opensource EM software more suitable for research, academic studies and development.

For antenna design and simulation purposes, three opensource software, openEMS, gprMax, FDTD++ are promising as they provide very accurate results, support a wide range of applications and multicore processing (gprMax also supports GPU computation) and very good documentation. Moreover, they are developed by universities and widely used in research and development. An overview of these three software:

openEMS Features

  1. Efficient EC-FDTD method in full 3D cartesian coordinates (x,y,z)
  2. Efficient EC-FDTD method in full 3D cylindrical coordinates (ρ, φ, z)
  3. Fully graded mesh
  4. Multi-threading, SIMD (SSE) and MPI support for high speed parallel FDTD
  5. Simple engine extensions API to easily introduce new features to the FDTD algorithm
  6. Matlab-Interface
  7. Absorbing boundary conditions (MUR, PML)
  8. Coordinate dependent material definitions
  9. Coordinate dependent excitation definitions (e.g. mode-profiles)
  10. Dispersive material (Drude/Lorentz/Debye type)
  11. Field dumps in time and frequency domain as vtk or hdf5 file format
  12. Flexible post-processing routines (mostly in Matlab)
  13. Subgrids to reduce simulation time in cylindrical coordinates
  14. Remote simulations using SSH (Linux only)
  15. PyhOpenEMS: Python support

gprMax Features

  1. Anisotropic material modelling
  2. Dispersive material modelling (with multi-pole Debye, Lorenz or Drude formulations)
  3. Modelling of soils with realistic dielectric and geometric properties
  4. Building of heterogeneous objects
  5. Building of objects with rough surfaces
  6. Built-in libraries of antenna models

Finite-Difference Time-Domain (FDTD) Software in C++

  1. Fully featured FDTD software, free with open C++ source code
  2. Developed by active researchers and authors of a number of FDTD methodologies
  3. Numerical solutions to Maxwell’s equations in 3D, 2D, or 1D
  4. Solutions in the time and/or frequency domain
  5. Multiple types of boundary conditions supported
  6. Advanced features, for greater applicability, accuracy, and computational efficiency, relative to most other FDTD software
  7. Powerful and flexible geometric modelling capabilities, with support for computer-aided designs, meshes, and algorithmic specifications
  8. Sophisticated material models, with the most accurate and physically meaningful fits to experimental optical data
  9. Advanced data processing/post-processing tools
  10. Powerful, yet simple user interface, with full control over all simulation parameters
  11. Scalable, from desktop to massively parallel simulations
  12. Detailed instruction manual, with illustrative examples and tutorials on both FDTD++ and the FDTD methodology

Moreover, in the following websites, you can find more opensource software for EM and general academic purposes.



There are also a few research papers on opensource antenna design and simulations and comparison with commercial software/applications and measurements:

[1] A. Fedeli, C. Montecucco, and G. L. Gragnani, “Open-source software for electromagnetic scattering simulation: The case of antenna design,” Electron., vol. 8, no. 12, pp. 1–31, 2019, doi: 10.3390/electronics8121506.

[2] C. Warren and A. Giannopoulos, “Creating finite-difference time-domain models of commercial ground-penetrating radar antennas using Taguchi’s optimization method,” Geophysics, vol. 76, no. 2, 2011, doi: 10.1190/1.3548506.

[3] I. Giannakis, A. Giannopoulos, and C. Warren, “Realistic FDTD GPR Antenna Models Optimized Using a Novel Linear/Nonlinear Full-Waveform Inversion,” IEEE Trans. Geosci. Remote Sens., vol. 57, no. 3, pp. 1768–1778, 2019, doi: 10.1109/TGRS.2018.2869027.

[4] C. Warren and A. Giannopoulos, “Experimental and Modeled Performance of a Ground Penetrating Radar Antenna in Lossy Dielectrics,” IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens., vol. 9, no. 1, pp. 29–36, 2016, doi: 10.1109/JSTARS.2015.2430933.

Note: This website will be updated with more information and simulation results soon.