Particle simulations of discharges in 3D, with adaptive particle control (super-particles) and adaptive grid refinement.
First, clone the repository (in this case into a folder pamdi3d)
$ git clone https://github.com/jannisteunissen/pamdi3d pamdi3d
After that, you can compile with just
$ cd pamdi3d
$ make
Depending on your git preferences you can use
$ git fetch
or
$ git pull; git merge origin/master
To do a fresh compilation:
$ make clean
$ make
Running (sequential):
$ ./pampi3d my_config_file.txt
Running (parallel, N = number of tasks):
$ mpirun -n N ./pampi3d my_config_file.txt
You can also specify multiple configuration files, like:
$ ./pampi3d cfg_base.txt cfg_1.txt
In each configuration file, you can specify a different "sim_name" variable. These names will be appended to each other.
I'd highly recommend Visit to visualize the output. Output files have the Silo format.