Git Product home page Git Product logo

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

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pamdi3d's Issues

Some errors encountered when I compile the program

When I compiled the program, I found some errors that could not be resolved, as shown below:

  1. "error#5102: cannot open include file 'silo_f9x.inc'", in the 'm_write-silo' .I also cannot find the file named 'silo_f9x.inc' in this folder.
  2. "error#6633: the type of the actual argument differs from the type of the dummy argument [COORD_DATA]", in the m_particle_core.
  3. "error#7002: error in opening the compiled module file. [MPI]". I cannot fine the module named 'mpi' in this program.
    Because I am a beginner, I am not sure whether it is the error in my use that caused this compiling errors. If you donnot get these errors when you compile the program, that should be my way of using it wrong. So I want to dertermine if the program group itself is missing some files, or if my usage method is wrong?
    Thanks!

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.