-
Notifications
You must be signed in to change notification settings - Fork 94
Add Shaing corrections to Angioni-Sauter model #1719
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
base: main
Are you sure you want to change the base?
Conversation
|
Some notes from a discussion with Sarah Newton (neoclassical expert at UKAEA) and @fcasson
|
9eb2d5f to
d859ae6
Compare
d859ae6 to
e7f5dfb
Compare
jcitrin
left a comment
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.
Main comment is on the dimensionality of chi, and the need I believe to divide by (dpsi/dr)^2 which will significantly increase the output values and hopefully alleviate the "smallness" you are seeing
e7f5dfb to
9b33a67
Compare
|
The width for ions looks less than 0.15 in the plot? Also, since the on-axis values of chi is never actually used, maybe for the sake of plot clarity, we can just set chi[0]=chi[1] ? |
|
Looked into this a bit closer. I think there's a missing 2*pi term in the [Wb] to [m] conversion of chi. This is because the canonical momentum used in the Shaing paper is e\psi, which implies that it's actually divided by from [Wb] psi. The canonical momentum term is actually eRA , and the relation between A and psi comes from psi = int (B * dS) = int ( curlA * dS) = int_contour(A * dl) = 2piAR . So we see that we must divide by 2pi to get the canonical momentum term as just psi. So that means that there would be a (2*pi)^2 multiplication factor still needed in the formula, which I think would get us to O(1) of NCLASS, and the extra tuning coefficient default can be set according to that |
|
A couple of other points for more simplification:
|
b30713f to
719a2ec
Compare
|
If this is good enough, I'll add some tests and move a bunch of the calculations to collisions.py. Lmk if you spot any other TODOs in the meantime. |
719a2ec to
93100a9
Compare
|
Any particular requirements on tests for this? The Angioni-Sauter test is currently only a regression test against NEOS values. I can test against reference values from running standalone NCLASS if required, but would rather not if there's a simpler option as I would have to first learn how to run NCLASS. |
93100a9 to
bf225f6
Compare
I don't see any reason the test should be different to the Angioni-Sauter case. NCLASS is probably not better than NEOS? |
Yes, electron neoclassical transport is always small since it is related to the Larmor radius
This is fine.
This is fine. |
The Angioni-Sauter test is just run against Angioni-Sauter values, to check for regressions. It's not against NEOS (which was used to calibrate Angioni-Sauter). Can do something similar here: can just update the test to run against the combined Angioni-Sauter+Shaing model. |
|
Profiles look very good for STEP. How does it compare for ITER? Can set the prefactor default to be something that minimizes the difference to NCLASS for the 2 cases. |
bf225f6 to
1907e4c
Compare
- Add smooth transition between models - Fix conversion from psi with 2pi factor - Tune default parameters for an 'ok' match with NCLASS on STEP and ITER cases - Add regression test
1907e4c to
7917a78
Compare










Part of #1406.
Currently in draft form for development purposes. Before merging, will need to move many of the calculations to
physics.collisions.@fcasson @jcitrin for discussions.
Sources
Electrons: https://pubs.aip.org/aip/pop/article/4/5/1375/980556/Electron-transport-processes-close-to-magnetic
Ions: https://pubs.aip.org/aip/pop/article/4/3/771/263553/Ion-transport-process-around-magnetic-axis-in