Skip to content
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

79 lines (65 sloc) 2.95 KB

openEMS is a free and open electromagnetic field solver using the FDTD method. Matlab or Octave are used as an easy and flexible scripting interface.


openEMS Features:

  • fully 3D Cartesian and cylindrical coordinates graded mesh.
  • Multi-threading, SIMD (SSE) and MPI support for high speed FDTD.
  • Octave and Matlab-Interface
  • Dispersive material (Drude/Lorentz/Debye type)
  • Field dumps in time and frequency domain as vtk or hdf5 file format
  • Flexible post-processing routines in Octave/Matlab
  • and many more

Install Instruction



  • Install all necessary dependencies, e.g. on Ubuntu 14.04 and above:
sudo apt-get install build-essential cmake git libhdf5-dev libvtk5-dev libboost-all-dev libcgal-dev libtinyxml-dev libqt4-dev libvtk5-qt4-dev

Note for Ubuntu 16.04: Due to a bug in CGAL the package "libcgal-qt5-dev" may be required

  • Optional: Install octave and octave devel packages:
sudo apt-get install octave liboctave-dev
  • Optional: For the package hyp2mat you need additonal dependencies:
sudo apt-get install gengetopt help2man groff pod2pdf bison flex libhpdf-dev libtool
  • Optional: For MPI support:
sudo apt-get install libopenmpi-dev

Clone, build and install

  • Clone this repository, build openEMS and install e.g. to "~/opt/openEMS":
git clone --recursive
cd openEMS-Project
./ ~/opt/openEMS

or including hyp2mat and CTB and MPI:

./ ~/opt/openEMS --with-hyp2mat --with-CTB --with-MPI
  • Add the given paths to your Octave/Matlab environment (e.g.):
  • Add the optional packages to your Octave/Matlab environment (e.g.):

For more informations and other platforms see:

Update Instruction:

  • Perform an update in case of a new release

Note: Changes you may have made (e.g. to the tutorials or examples) may be overwritten!

cd openEMS-Project
git pull
./ ~/opt/openEMS
You can’t perform that action at this time.