MEEP FDTD is an amazing open source software to simulate electromagnetic systems. However many including me, found it difficult to get started with MEEP. This blog post is will describe in detail step by step how to get started and work on MEEP.
Advice on Operating system:
MEEP is designed to work in UNIX devices. It can work in MAC OS also. But after wasting a lot of time installing and configuring in MAC OS , I won't advice you to work in MAC to use MEEP FDTD. For both windows and MAC users I would advice you to install and work in Linux.
In your terminal enter the following code and enter your system password when prompted.
$sudo apt-get install meep h5utils
This will install all the packages and dependencies of MEEP.
Brief Intro about MEEP execution:
MEEP files use the extension ".ctl" . In UNIX platform all the open source packages are executed in the Terminal. For example, running a Python script is done as follows: (In your terminal)
$ python file_name.py
Similarly MEEP files are executed as
$ meep file_name.ctl
MEEP can also be executed in interpreter scheme.
In your terminal start the interpreter by typing meep :
now you can type MEEP commands and it would be executed.
$ meep > (set! resolution 10)
The above is line is a MEEP command to set resolution to 10.
In my next article I would describe how to analyze the output data in Matlab and Python.