Describe b0 as the on-axis R B_phi over the axis major radius at phi = 0 - #838
Open
CharlesCNorton wants to merge 1 commit into
Open
Describe b0 as the on-axis R B_phi over the axis major radius at phi = 0#838CharlesCNorton wants to merge 1 commit into
CharlesCNorton wants to merge 1 commit into
Conversation
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Change - the
VmecWOut.b0docstring says what the field holds: the on-axis R B_phi (rbtor0) divided by the major radius of the magnetic axis at phi = 0, which is the field strength on the axis only for a planar circular axis.Cause - it read "Magnetic field magnitude on the magnetic axis".
b0isfpsi0 / r_00inoutput_quantities.cc, withfpsi0the half-gridbvcoextrapolated to the axis andr_00the axis R at the first grid point, aseqfor.fcomputes it; on a non-planar axis neither is the field there.Evidence - pyQSC's
r2 section 5.4quasi-helical configuration (B0 = 1, nfp 4, axis R from 0.847 to 1.190) solved at ns 201:|B|on the axis is 1.0000 within 6e-4 at every toroidal angle,rbtor0is 1.2009, which isB0times the axis length over 2 pi (1.2009), the axis R at phi = 0 is 1.1895, andb0is 1.0096.Scope - docstring only.