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

Prove convergence of equilibrium solve #47

Open
2 tasks
bclyons12 opened this issue Aug 11, 2023 · 0 comments
Open
2 tasks

Prove convergence of equilibrium solve #47

bclyons12 opened this issue Aug 11, 2023 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed

Comments

@bclyons12
Copy link
Member

We should determine the order of convergence in the number of radial finite element, poloidal Fourier modes, and MXH coefficients. This would certainly be needed for any peer-reviewed publication. It would like be best to do a Solovev case so there is an analytic answer to compare to. Some initial thoughts from cursory testing.

  • I'm seeing convergence in ρ finite elements, though the order of convergence should be tested, as should the scaling to very high finite element number.
  • There appears to be some coupling between the number of θ Fourier modes (M) and the number of MXH modes (L). If M < L, the code can struggle to converge, while if M > L, I don't see significant improvement in the solution. This kind of makes sense. You can only ever eliminate L oscillations in your solution by refitting the MXH coefficients, so the flux surfaces won't converge away errors high Fourier mode errors for M > L. It's possible we'll just want to fix M = L.

To-do:

  • Measure order of convergence. I think the error should go like h^4.
  • Compute matrix of errors for M and L. I expect for fixed L you'll see that for M < L you get high error and for M > L you'll see little improvement. Going down the diagonal, you'll get a meaningful convergence.
@bclyons12 bclyons12 added the help wanted Extra attention is needed label Aug 11, 2023
@bclyons12 bclyons12 self-assigned this Aug 11, 2023
@bclyons12 bclyons12 added the documentation Improvements or additions to documentation label Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant