Open lijiangdong1999 opened 1 year ago
Hi @lijiangdong1999,
thank you for reaching out. Debugging these kind of details usually takes a bit of careful detail-to-detail comparisons to figure out. @RemiLehe volunteered to help you, but is on vacation until the end of the month due to summer time.
Can you in the meantime please share a few more details on your setup? For instance:
driver.initialize_self_fields = 1
), as rigid injection or something else? We have multiple options: https://warpx.readthedocs.io/en/latest/usage/parameters.html#overall-simulation-parametersThanks for your reply. I will give you more details about my simulation. 1.the density I try to model for the plasma and beam is the same as AWAKE parameters, 7.76e20 for plasma and 3e11 ppp for proton.
Hi @lijiangdong1999,
thank you for reaching out. Debugging these kind of details usually takes a bit of careful detail-to-detail comparisons to figure out. @RemiLehe volunteered to help you, but is on vacation until the end of the month due to summer time.
Can you in the meantime please share a few more details on your setup? For instance:
- what is the density (with units) you try to model for the plasma and beam
- what is the LCODE input file 2.1. what is the model you use in LCODE - also electromagnetic PIC or an electrostatic model? 2.2. what boundary conditions and initial conditions are used in LCODE?
- are there any resolution constraints for your setup, e.g., is the Rb plasma frequency the shortest effect to resolve or something else?
- I noticed your input file does not initialize the self-field of the driver beam. How do you like to initialize it? With a Poisson solve (
driver.initialize_self_fields = 1
), as rigid injection or something else? We have multiple options: https://warpx.readthedocs.io/en/latest/usage/parameters.html#overall-simulation-parameters- Any other details you can share, e.g., a sketch of the setup, paper, or link to the specs of the AWAKE campaign details that you try to model.
These are some details when I use, do you have any suggestions? Thanks in advance.
Hello everyone, now I use warpx to simulate PWFA driven by proton beams. I have already got the microbunch structure, which is followed with theoretical prediction. But the longitudinal electric field is different with my result with lcode. Using the parameters of AWAKE, the longitudinal electric field is about 200MV/m in lcode, but 15MV/m in warpx. Could you please help check the input file to figure out why? Thanks in advance. Attached is my input files and simulation results about microbunch and longitudinal electric field. AWAKE.txt