ammarhakim / gkyl

This is the main source repo for the Gkeyll 2.0 code. Please see gkeyll.rtfd.io for details.
https://gkeyll.readthedocs.io/en/latest/
54 stars 14 forks source link

Enable axisymmetric limited tokamak simulations #148

Closed manauref closed 9 months ago

manauref commented 9 months ago

on CPUs or GPUs, with local or canonical Maxwellians, and the Maxwellian BC. It also works with parallelized species, with one caveat: Canonical Maxwellians require additional inter-species communication to enforce n_e=n_i, and this step is not yet supported with parallelizeSpecies=true. So one has to run the initialization with parallelizeSpecies=false, and then start another simulation with parallelizeSpecies=true and reading in the ICs with the fromFile options.

We can species parallelize this step in the future, but it's both tricky and not urgent right now.