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

Tglf edits #328

Merged
merged 4 commits into from
Nov 6, 2023
Merged

Tglf edits #328

merged 4 commits into from
Nov 6, 2023

Conversation

tomneiser
Copy link
Contributor

My SULI student Danny Sun (@dannysun91) and I have been looking at TGLF, and found five minor bugs. For kpar_gp1b0, ave_wdhr13b0 and ave_kparhr13bp there is no obvious effect on any of the fluxes for the DIII-D validation database, e.g. heat flux:
tglf_typos_no_effect
For q_par, the effect is small and by design only affects momentum flux:
q_par_TGLF_bugfix_Pi
For betae_sig, using non-default parameters USE_MHD_RULE = F and USE_BPAR = T, the effect is larger but comparable to the effect of USE_MHD_RULE = F/T (not shown):
effect_of_suspected_bugfix_tglf
Hopefully these edits will also help with @gmstaebler's development of the updated eigenvalue solver GFS.

@tomneiser tomneiser requested a review from gmstaebler October 23, 2023 17:54
@gmstaebler
Copy link
Member

gmstaebler commented Oct 23, 2023 via email

@gmstaebler
Copy link
Member

gmstaebler commented Nov 1, 2023 via email

@tomneiser
Copy link
Contributor Author

Thank you, Gary!

@tomneiser tomneiser merged commit f14648b into master Nov 6, 2023
@tomneiser tomneiser deleted the tglf_fixes branch November 6, 2023 23:21
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.

4 participants