Add arbitrary-harmonic 2D3P VFP solver - #342
Merged
Merged
Conversation
Contributor
|
Just a note that log mean flux only conserves energy exactly near maxwellian, chang cooper will probably be slightly better when far from maxwellian. Energy is only conserved for small timesteps much less than the collision time. |
joglekara
marked this pull request as ready for review
August 21, 2026 17:41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
vfp-2dADEPT module for 2D3P electron Vlasov–Maxwell–Fokker–Planck evolution with arbitrary packed complex spherical harmonicsjit,vmap, autodiff, and shardingSupporting fix
The existing VFP1D
FLMCollisionspath assumed the ℓ=1 harmonic and real input. This change exposes a per-harmonic solve and handles complex modes by solving their real and imaginary components independently, allowing the same radial collision operator to be reused for every(ℓ,m).Impact
This establishes the 2D3P arbitrary-
f_lmfoundation needed for magnetized nonlocal transport, Biermann generation, Nernst advection, anisotropic-pressure effects, and future electron-kinetic/ion-fluid coupling.The
kinetic-ohmintegrator is intentionally documented as experimental. It removes light/plasma-wave timestep restrictions through an inertia-free moment closure and current projection; a fully implicit kinetic-current response and moving-ion fluid coupling remain follow-on work.Validation
The reduced
configs/vfp-2d/joglekar-2014-prl.yamldeck also completed end to end and produced finite fields plus all five generalized-Ohm contributions.