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

[WIP]Implement PSATD advance with the Picard implicit iterative solver #4662

Closed

Conversation

dpgrote
Copy link
Member

@dpgrote dpgrote commented Feb 2, 2024

This implements use of the PSATD field advance coupled with the implicit Picard iterative solver, using a Strang split advance.

  • Advect Maxwell using PSATD with no J, ½ step
  • Advance particles along with dE/dt = -J, full step, iterating
  • Advect Maxwell using PSATD with no J, ½ step

This requires the input parameter psatd.update_with_rho = 0.
With psatd.periodic_single_box_fft = 1, exact energy conservation is obtained. Otherwise good conservation is seen, but not exact ($\Delta E/E$ ~ 1.e-9 but will depend on parameters).
Convergence is found for wpedt <= 1.9 (compared to wpedt < 0.25 for FDTD).

Todo:

  • Add CI test
  • Implement specialized advance routines (as noted in source comments)

@dpgrote dpgrote added the component: implicit solvers Anything related to implicit solvers label Feb 2, 2024
@JustinRayAngus
Copy link
Contributor

Charge conservation?

@dpgrote
Copy link
Member Author

dpgrote commented Jul 3, 2024

Closed. Replaced by PR #5027.

@dpgrote dpgrote closed this Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: implicit solvers Anything related to implicit solvers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants