-
Notifications
You must be signed in to change notification settings - Fork 30
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
Reverse-Mode Differentiable Ideal-Ballooning Stability Solver #1170
Conversation
…rol/DESC into rg/adjoint_ballooning
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some very small changes. I will review again once re-requested
desc/objectives/_stability.py
Outdated
nturns=3, | ||
nzetaperturn=200, | ||
zeta0=None, | ||
lam0=0.0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I second this, it would also match the paper notation better
…rol/DESC into rg/adjoint_ballooning
Merging this branch as I have two approvals. |
Infinite-n ideal MHD ballooning modes are of significant interest to both the tokamak and the stellarator community.
These instabilities are also related to smaller-scale kinetic instabilities, which cause significant heat loss from fusion reactors.
This commit adds the ability to both analyze and optimize MHD equilibria against the ideal ballooning mode.
An adjoint implementation of an ideal ballooning solver has only been successfully demonstrated previously on a much smaller scale. If this commit works, it would be at least an order of magnitude faster than the linked code.
Here are the tasks: