ECP-WarpX / WarpX

WarpX is an advanced electromagnetic & electrostatic Particle-In-Cell code.
https://ecp-warpx.github.io
Other
292 stars 189 forks source link

Multiple GPUs RZ instability w/ Boundary "None" #4176

Open juliettepech opened 1 year ago

juliettepech commented 1 year ago

I ran a RZ simulation with one GPU and get this first animation : animation_new_norm_gas_jet_9e-3(1) Then, I used 4 GPUs instead of one. The only changes in the input files are the following : image Using those conditions, an instability occurs: HTT_experiment_4_GPUs

The instability remains for different tests :

The input file is the following: inputs_HTT_severalGPUs(instability).txt

RemiLehe commented 1 year ago

Thanks a lot for reporting this @juliettepech! Would you have time to check a few more things:

juliettepech commented 1 year ago

I have finished running the last tests and here are the results: image

ax3l commented 1 year ago

let's try:

let's debug via:

RemiLehe commented 1 year ago

Let us also try without ionization (i.e. with pre-ionized plasma).

juliettepech commented 1 year ago

A few updates on the latest cases: Using WarpX 23.01 did not changed anything, the instability is still here. Same thing using warpx.safe_guard_cells = 1 and trying without ionization. image

However, when the Yee Maxwell solver is used, the instability disappears. I also tried Jean-Luc's idea of experimenting with damping (damped boundary conditions for the z axis). Here again, the instability does not occur (the simulation is much longer though, it has reached the time limit of 5 hours, I can run it until the end if necessary). image

EZoni commented 1 year ago

@juliettepech We actually decided to stop supporting none as boundary condition with PSATD, except for r=0 in RZ geometry; damped should be used instead. See PR #4210.