Skip to content

ORNL-Fusion/OpenEdge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenEdge

License: GPL-3.0 C++17 Platform MPI HDF5

OpenEdge is developed as a package for SPARTA, using SPARTA as the particle engine. It is a research code for kinetic transport of charged and neutral particles and their interactions with solid surfaces and plasmas. Primary focus is plasma-material interactions (PMI), including lithium droplet physics for the Liquid-Metal SciDAC project.

Contributors welcome: Diagnostics, verification cases, and tests are especially helpful.

Features

  • Particle Transport & Collisions
    • Charged and neutral particle transport (trace-impurity friendly).
    • Coulomb/Nanbu collisions (charged); soft-sphere and hard-sphere/VSS (neutrals).
    • ADAS-based ionization and recombination with HDF5 rate tables.
  • Droplet Physics
    • OML charging with thermionic emission.
    • Epstein and Coulomb drag models.
    • Evaporation with file-driven or constant heat flux.
    • Gravity (3D Cartesian and axisymmetric RZ).
  • Surfaces & PMI
    • File-driven BCA/F-TRIDYN yield tables (energy x angle); sputtering, reflection, absorption.
    • PMI-driven surface emission and redeposition workflows.
  • Fields & Pushers
    • Boris pusher with subcycling; grid- and particle-based E/B fields.
    • Plasma field interpolation from grid to particle position.
    • Electron and ion thermal gradient forces.
  • Sheath Physics
    • Exact point-to-triangle nearest-wall projection per particle.
    • Sheath models: Borodkina, Stangeby, EIRENE-style multi-ion sheath drop.
    • Per-cell sheath potential and electric field diagnostics.
  • Geometry
    • 2D/3D watertight surface meshes; arbitrary domains.
    • Particle-passing domain decomposition for parallel runs.
  • Diagnostics & IO
    • HDF5 input/output for particles, grids, surfaces, and fields.
    • Ion energy-angle distributions (IEAD/EAD) per surface.
    • Sheath geometry (wall distance, surface normals) and field diagnostics.
    • Tallies for fluxes, energy/momentum transfer, and surface hits.
  • Configurability
    • All physics and numerics controlled from the input file (no recompile).

System Requirements

  • CMake ≥ 3.18
  • C++17 compiler (GCC, Clang, or ICC)
  • HDF5 (with C++ bindings; +MPI if running distributed)
  • MPI (OpenMPI or MPICH)

Quick Start

$ git clone https://github.com/ORNL-Fusion/OpenEdge.git
$ mkdir build && cd build
$ cmake -C ../OpenEdge/cmake/presets/mpi.cmake ../OpenEdge/cmake -DPKG_OPENEDGE=ON
$ make -j 4
$ mpirun -np 4 ./spa_mpi -in input.in

License

OpenEdge is licensed under the GNU General Public License v3.0 (GPL-3.0). This means the code is open source — you are free to use, modify, and distribute it, provided that any derivative work is also released under the same GPL-3.0 license.

OpenEdge builds on SPARTA, which is itself GPL-3.0, so OpenEdge inherits the same license terms. Original SPARTA copyright notices are preserved in file headers. See LICENSE for full details.

About

Direct Monte Carlo Simulator for Particle Transport

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors