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

Phase error tests #132

Open
henry2004y opened this issue Feb 1, 2024 · 0 comments
Open

Phase error tests #132

henry2004y opened this issue Feb 1, 2024 · 0 comments

Comments

@henry2004y
Copy link
Owner

Besides the energy conservation #73, we are also interested in the phase errors in each numerical algorithms. Consider a single charged particle gyrating in a uniform magnetic field B with no electric field, with an initial velocity fully perpendicular to B. Energy conservation means that the gyroradius would not change, while phase error measures the accumulated difference in the angle $\theta$.

For example, the Boris method has a phase error proportional to $\Delta t$, $\mathcal{O}(\Delta t)$.

We should carefully design a test specifically for measuring the phase errors.

Related questions:

  1. For the adapative schemes, how to choose the time steps?
  2. Do we need to resolve the gyromotion to get accurate results?
  3. For the fixed timestepping schemes, how to choose the optimal time steps?
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