Skip to content

Repository files navigation

Flan

Fully kinetic Monte Carlo to follow trace amount of impurities in a turbulent plasma.

Flan is named after my dog, Flannery. It does not stand for anything.

Typical usage is to track a trace amount of impurities in a turbulent background generated by Gkeyll. Flan follows impurities in a plasma in a fully kinetic, Monte Carlo sense and is built on first-principles.

A publication detailing Flan is anticipated in 2025.

Documentation

Link to the ReadTheDocs

Upcoming Changes

  • Restructure impurity transport routines to use SoA for efficient GPU implementation (ongoing)
  • Couple to CGYRO and/or SOLEDGE3X (starting late 2026)
  • Incorporate MPI to spread computation across multiple nodes Merged to main 6/3/26
  • Add time profiling Merged to main 7/31/25
  • Upgrade to Nanbu collision model Merged to main 7/23/25
  • Expand code to non-Cartesian geometries (e.g., tokamak coordinates) Merged to main 5/30/25

FLAN is dual-licensed under the GNU General Public License v3.0 (GPLv3) and a commercial license.

  • The GPLv3 license applies to all open-source use.
  • A commercial license is available for organizations that wish to use FLAN in proprietary software, avoid GPL obligations, or obtain commercial support.

For commercial licensing inquiries, please contact: zamperinis@fusion.gat.com.

About

Trace impurity following codes to be run on top of a turbulent Gkeyll simulation

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages