AngelFP / Wake-T

A fast tracking code for plasma accelerators
https://wake-t.readthedocs.io
GNU General Public License v3.0
34 stars 13 forks source link

Special plasma density profile #143

Open koesterf opened 10 months ago

koesterf commented 10 months ago

Dear Wake-T developers,

Thanks for the excellent code. Is it possible to make a plasma density profile as given in the attached figure.

Best, F. Koester

Gas_density_profile
AngelFP commented 10 months ago

Hi @koesterf , Wake-T accepts density profiles that depend on z, and there will soon be support for radial dependency too. However, the profile should be axially symmetric due to the geometry of the wakefield model in Wake-T. I'm not sure that's the case in your profile. Is that the whole domain or is it mirrored towards negative X?

An alternative (but only if your profile is much wider in X than the transverse extent of the wakefield) would be to take just a lineout of the profile at a fixed X position. Then you could give that longitudinal lineout as the density profile to Wake-T.

koesterf commented 10 months ago

Hi @AngelFP, Thank you for replying to my question. I understand what you said. I hope there will be a radial dependency of plasma density in the near future. The density profile is ~ 3 mm long. Out of which, ~ 1 mm is having gradient along both x and y direction (like a tilt in the density profile). I presented a part of the whole density profile. 1-d line out might not help in this case. I need to take the density profile as it is or nearly like it.