Giter Site home page Giter Site logo

picfoam's Introduction

picFoam

picFoam is a fully kinetic electrostatic Particle-in-Cell(PIC) solver, including Monte Carlo Collisions(MCC), for non-equilibrium plasma research.

The solver is developed at ZARM (Center of Applied Space Technology and Microgravity, University of Bremen).

Publications

  1. picFoam: An OpenFOAM based electrostatic Particle-in-Cell solver (preprint)

Instructions

picFoam requires OpenFOAM version 8.

Detailed installation instructions for OpenFOAM can be found here.

OpenFOAM installation

Summery of the OpenFOAM installtion (link above):

  1. Compiler: GCC version > 4.8 or above; or LLVM Clang version > 3.6 or above; or Intel ICC version > 17.0.4 or above

  2. Package dependencies (for Ubuntu version 18.04 or above):

    OpenFOAM:
    
     build-essential
     flex
     bison
     git-core
     cmake
     zlib1g-dev
     libboost-system-dev
     libboost-thread-dev
     libopenmpi-dev
     openmpi-bin
     gnuplot
     libreadline-dev
     libncurses-dev
     libxt-dev
    

    ParaView:

     libqt5x11extras5-dev
     libxt-dev
     qt5-default
     qttools5-dev curl
    
  3. Clone OpenFOAM repositories (recommended installation directory $HOME/OpenFOAM): git clone https://github.com/OpenFOAM/OpenFOAM-8.git git clone https://github.com/OpenFOAM/ThirdParty-8.git

  4. Set the environment variables: source $HOME/OpenFOAM/OpenFOAM-8/etc/bashrc

  5. Compile Scotch/PT-Scotch: Run the Allwmake script in $HOME/OpenFOAM/ThirdParty-8

  6. Compile OpenFOAM: Run the Allwmake script in $HOME/OpenFOAM/OpenFOAM-8

  7. Compile ParaView: Run the makeParaView script in $HOME/OpenFOAM/ThirdParty-8

picFoam installation

Run the Allwmake script inside the picFoam directory.


picFoam tutorials

To run a tutorial execute the respective run.sh script. By default meshes are constructed with blockMesh, but Gmsh geometry files are also included.

If you wish to use the Gmsh geometry, installation of Gmsh version 3.0.6 is recommended. For newer versions run Gmsh with -format msh22 to output an older mesh format, which OpenFOAM can handle.


picFoam extension

If you wish to extend picFoam with new submodels see the file EXTENSION_INSTRUCTIONS.md.

picfoam's People

Contributors

chriskuehn 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.