Skip to content
itpplasmaPublic

About

Symplectic Integration Methods for Particle Loss Estimation

Resources

Contributing

Stars

26 stars

Watchers

2 watching

Forks

Latest commit

 

History

1,516 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOI coverage

SIMPLE

Symplectic Integration Methods for Particle Loss Estimation

SIMPLE traces guiding-centre orbits of energetic particles, by default 3.5 MeV fusion alphas, in three-dimensional magnetic fields and reports when and where they leave the plasma. It integrates in canonical coordinates with symplectic schemes and classifies orbits as regular or chaotic, which makes alpha-loss estimates cheap enough for stellarator optimisation loops.

  • Field input: VMEC equilibria, Boozer chartmaps (GVEC, booz_xform), coil files, SPECTRE multi-volume equilibria.
  • Physics options: collisions with a background plasma, fusion-weighted alpha births, STL wall intersection, orbit classification, full orbits.
  • OpenMP over particles, an optional native CUDA backend, and the Python package pysimple.

SIMPLE workflow

Build and run

With GNU Fortran, CMake ≥ 3.22, Ninja, NetCDF-C/Fortran and BLAS/LAPACK installed:

git clone https://github.com/itpplasma/SIMPLE.git && cd SIMPLE
make
mkdir -p run && cp examples/simple.in run/
curl -L -o run/wout.nc https://github.com/hiddenSymmetries/simsopt/raw/master/tests/test_files/wout_LandremanPaul2021_QA_reactorScale_lowres_reference.nc
(cd run && ../build/simple.x simple.in && tail -1 confined_fraction.dat)

This traces 128 alphas for 10 ms in a public quasi-axisymmetric reactor equilibrium. The quick start explains the output; the installation guide covers packages per platform, CMake options and pysimple.

Documentation

Manual: https://itpplasma.github.io/SIMPLE/latest/. Contributing: CONTRIBUTING.md. Mirror with release tags: https://gitlab.eufus.psnc.pl/itpplasma/simple.

Cite

Cite the methods your study uses:

Full references: publications page and CITATION.cff.

License

MIT. The FIRM3D-compatible tracing path has separate provenance and license information.

About

Symplectic Integration Methods for Particle Loss Estimation

Resources

Contributing

Stars

26 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages