Skip to content

Fix sonic/toroidal rotation conversion near axis and use thermal pressure#296

Open
nanshi1177 wants to merge 2 commits intomasterfrom
fix-rotation-diamagnetic-correction
Open

Fix sonic/toroidal rotation conversion near axis and use thermal pressure#296
nanshi1177 wants to merge 2 commits intomasterfrom
fix-rotation-diamagnetic-correction

Conversation

@nanshi1177
Copy link
Contributor

Smooth dp/dψ correction to zero near ρ<0.2 with quadratic ramp to avoid singularity at magnetic axis. Use pressure_thermal instead of total pressure (which includes fast ions) for the diamagnetic correction.

…sure

  Smooth dp/dψ correction to zero near ρ<0.2 with quadratic ramp to avoid
  singularity at magnetic axis. Use pressure_thermal instead of total pressure
  (which includes fast ions) for the diamagnetic correction.
@nanshi1177 nanshi1177 requested a review from jmcclena March 25, 2026 03:13
minor updates to on-axis dpi_dpsi correction factor
@jmcclena
Copy link
Contributor

@nanshi1177 I've made some minor changes, making rho_correction an input to the function, and using density_thermal.

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