Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 

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.

About

Particle model for discharge simulation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published