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

Focusing force gradient artifact near axis #153

Open
n01r opened this issue Apr 30, 2024 · 0 comments
Open

Focusing force gradient artifact near axis #153

n01r opened this issue Apr 30, 2024 · 0 comments

Comments

@n01r
Copy link

n01r commented Apr 30, 2024

Hi, I wanted to report an artifact I found when I analyzed an LWFA simulation.
It first became visible in the gradient of the transverse focusing force inside the plasma bubble at the position of the accelerated particle beam.

Image of the normalized focusing force $$\frac{1}{E_0}\frac{\mathrm{d}(E_x - c B_y)}{\mathrm{d}r}$$
download
Zoom-in:
download

Here is a Python file (as TXT) that reproduces the run.
run_wake-t.py.txt

It changes with the numerical resolution in $r$. See here an average over all slices at all beam positions.
image
Here with 10x radial resolution
image

These spikes flatten out when the number of plasma particles is increased. (The original number of particles was 2)
With ppc=4 it is still visible, with ppc=8 and higher it is basically gone.

This artifact can cause numerical emittance growth in the beam.

Already discussed with @AngelFP and @RemiLehe. This issue is for tracking purposes and can be closed with the implementation of either documentation for users or maybe a correction.

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