Particle model for discharge simulation
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cfgs
input
output
pamdi3d_libs
particle_core
src
.gitignore
Makefile
README.md
makerules.make

README.md

Particle simulations of discharges in 3D, with adaptive particle control (super-particles) and adaptive grid refinement.

Getting the code on your machine

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

Updating the code

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 the code

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.

Visualizing the output

I'd highly recommend Visit to visualize the output. Output files have the Silo format.