WIP: Implement impact ionization between plasma species#1384
Open
emarchet wants to merge 7 commits intoHi-PACE:developmentfrom
Open
WIP: Implement impact ionization between plasma species#1384emarchet wants to merge 7 commits intoHi-PACE:developmentfrom
emarchet wants to merge 7 commits intoHi-PACE:developmentfrom
Conversation
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.
This PR proposes an implementation of impact ionization between plasma species. The algorithm is based on Pérez et al. (2012), with some modifications described by Higginson et al. (2020) (previously discussed in BLAST-WarpX/warpx#5091).
At the moment, only electron-driven impact has been implemented, for a limited set of species.
Collision.cppfile defines the logic behind per-cell particle collisions and the creation of new electrons,ImpactIonizationSigma.Hcalculates the cross section describing the ionization probability and inImpactIonization.Hthe particle properties are redistributed after the impact.The latter is derived from WarpX SplitAndScatterFunc.H, with some changes to include relativistic effects.
Input
The following input defines impact ionization for a 1% Hydrogen plasma. No beams are initialized and a temperature of 100 eV is set.
Testing
In the following, the average electron density over 500 ps (for a single time step), is compared with the time-integrated, theoretical reaction rate:
The code is being further tested, both with and without an input beam, for hydrogen and argon plasmas.