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

Accelerating VEP convergence with new damping approach #2

Open
luraess opened this issue Nov 27, 2021 · 0 comments
Open

Accelerating VEP convergence with new damping approach #2

luraess opened this issue Nov 27, 2021 · 0 comments

Comments

@luraess
Copy link
Member

luraess commented Nov 27, 2021

@. η_vep = τii / 2.0 / Eii * 19.3 # nx, ny = 63, 63

Using η_vep (instead of η_ve) in the definition of dτ_ρ reduces the global number of iterations in this example by nearly a factor 2 (using the switch on l.12).

Code # of tiers
Previous damping approach reference code 67000
New damping approach η_ve code 24000
New damping approach η_vep code 13996

However, one needs to "adjust" the magnitude of η_vep as function of number of grid points. Optimal convergence is found with

  • η_vep * 19.3 for nx = ny = 63
  • η_vep * 19.3 * 1.99 for nx = ny = 127

I did not yet understand all the bits there. Maybe @utkinis have an idea.

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

No branches or pull requests

1 participant