mabarnes / moment_kinetics

Other
2 stars 4 forks source link

Kinetic electrons #237

Closed johnomotani closed 1 month ago

johnomotani commented 1 month ago

Initial version of kinetic electron implementation. Note that electrons are always moment-kinetic, so that their density and parallel flow can be set by quasineutrality/ambipolarity, with the small-mass-ratio limit of the electron parallel momentum equation being used to calculate the parallel electric field.

Currently only 1D1V supported.

An implicit solve for kinetic electrons is still work-in-progress. It is (partially) implemented, but should not be used yet.

There is an option for 'Braginskii fluid' electrons, where Braginskii's collisional closure is used for the electron parallel heat flux.

Also includes @LucasMontoya4's 'Maxwell diffusion' feature, as this was merged during development.