Ionization balance with charge exchange using ADF11 rates #27
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.
Currently, it is not possible to run an ionization balance with charge exchange included when ADF11 rates are being used; you have to use ADF04 rates. The reason for this appeared to be that reading CX rates from ADF11 ccd files was not implemented in
read_adf11. I implemented this and now it is possible to run the ionization balance calculation.I am using carbon as a test case. Here is what the steady-state ionization balance looks like for n_e = 1e19 m^-3 with no CX:

And here is what it looks like with CX included for a neutral hydrogen density and temperature of 5e17 m^-3 and 5 eV, respectively:

Ideally, these results would be compared against an ionization balance where the CX rates are determined from ADF04 files. However, I don't know how to run ionization balances with ADF04 rates. That being said they look qualitatively similar to the results from previous ionization balances with CX included (e.g. Adam McLean's 2021 PSI contribution).