Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zi temperature dependent and normalizations #20

Merged
merged 1 commit into from
Oct 17, 2024
Merged

Conversation

orso82
Copy link
Member

@orso82 orso82 commented Oct 16, 2024

@tomneiser @jmcclena @nanshi1177

This adds temperature dependence to Z of the impurity ions to both TGLF and CGYRO

Also, tried using IMAS.gacode_units.XXX normalizations throughout.

We seem to have been using the mass and charge of the main ion species as normalization. Instead we should have used the mass of the deuterium and no normalization for the charge of the ions (at least that's what I think). This may result in some difference when running with DT ion, or other exotic cases, like carbon plasmas.

Can you please double and triple check my changes?

@adrianaghiozzi I'll open up a similar PR for the the NEO.jl package soon.

@orso82
Copy link
Member Author

orso82 commented Oct 16, 2024

here's the corresponding ProjectTorreyPines/NEO.jl#6 PR

@nanshi1177
Copy link

This is good for me.

@orso82 orso82 merged commit 3a6b8af into master Oct 17, 2024
1 check passed
@orso82 orso82 deleted the gacode_Zi_norm branch October 17, 2024 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants