GithubHelp home page GithubHelp logo

mezzatf / pamdi3d Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jannisteunissen/pamdi3d

0.0 0.0 0.0 26.38 MB

Particle model for discharge simulation

Makefile 0.45% Shell 0.05% HTML 24.82% Roff 0.09% Assembly 0.05% SourcePawn 0.71% Fortran 70.98% Python 0.09% TeX 1.30% C++ 1.47%

pamdi3d's Introduction

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.

pamdi3d's People

Contributors

casperrutjes avatar jannisteunissen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.