Replies: 3 comments 4 replies
-
Hi @Cosimo89, thank you for the detailed description! I have seen something similar where my simulation became unstable due to low resolution where with the choice of electromagnetic solver a lower value for the Could you try to include the whole target in the refined patch? I am wondering if the damped motion of heated electrons would cause fields of different frequencies some of which cannot be properly resolved. Side note:
There is a space between the zero and the |
Beta Was this translation helpful? Give feedback.
-
Hi @n01r , thank you for the reply, really appreciate it! I actually did a large number of tests, varying materials, refinement patch, active models and so on. Case A: Material switched to Li, same resolution with refined patch applied to the whole slab, particles-per-cell = 10x10.Snapshot time: 110fs Case B: Material switched to Li, roughly 6x larger base resolution with refined patch applied to the whole slab, particles-per-cell = 5x5.Snapshot time: 51fs To summarize: every time I use a refined region where the plasma reaches the edges of the refinement, the simulation becomes unstable. This effect occurs in both low and medium resolution cases (a fully resolved case would require 5x more resolution than case B), and in both cases where the patch cuts trough the plasma or simply is in contact with the domain boundaries. PS: about the space after the definition of a0, everything looks good, at least from the
But thanks for pointing that out! |
Beta Was this translation helpful? Give feedback.
-
Hi @n01r first of all, thank you a lot for the interest you are putting into this. Reply to comment 1:About the suggestions in your first comment: they are all interesting. In relation to applying periodic boundaries to the transverse direction, I thought about it, but then I assumed that the open boundaries would be the most stable. I will also apply the other suggestions. In relation to the simulation time of the snapshot posted previously, I edited the comment and added it. As you can see the instability happens very early (110 fs and 51 fs, respectively). Reply to comment 2:I performed some simulations of the slab without refinement. They were stable, but way too slow to have any chance of completion. Very interesting also is the point about the refined patch matching the boundaries. I will definitely try what you suggest there if in the future I will use refinement patch again. If you want me to run some specific case associated to the slab to try to fix the problem, feel free to ask, I will try to run something when I find the space in the cluster :) |
Beta Was this translation helpful? Give feedback.
-
Dear WarpX community,
I am writing here because of a problem I am facing in what I thought would be a simple setup of laser-plasma interaction study.
I want to investigate the heating and interaction between electrons and layers of plasma with different material. The laser pulse regime is in the low-energy, long-duration, so not the typical application range for ultra-intense laser-plasma interactions.
I started by modifying the input script from the laser-ion acceleration case (https://github.com/ECP-WarpX/WarpX/blob/development/Examples/Physics_applications/laser_ion/inputs_test_2d_laser_ion_acc)
In my first setup, I wanted to have a slab of Carbon at a given density (say$\sim30n_c$ ) and a low intensity laser pulse impinging on it. On a later stage I wanted to add an under-dense hydrogen ($n_c\leq 1$ ) after the Carbon slab. Ideally, I wanted to have ionization and coulomb binary collisions included. I also want to use mesh refinement around the Carbon slab, to reduce the computational burden.
Below a sketch of the simulation setup:
The problem that I am facing is that in all investigated configurations, the simulation is unstable as non-physical electric fields seems to be generated at the interface between the refined and the coarse regions which lead to an abrupt explosion of the plasma (see images below). In all my trials, the problem seems to arise around the mesh refinement region, but it also appeared in a low-resolution case I performed without using mesh refinement.
Please note that this test is performed using on purpose a grid resolution of about 4 times coarser than a proper one for production. Can it be a resolution issue?
I performed many different trials to debug my input script (i.e. different boundary conditions, domain sizes, material, no ionization), but all simulations showed similar behavior.
I have the feeling I am committing some bad setup error, but I am afraid not be expert enough to spot it, so I invoke the help of the experts!
Any help/input/ feedback on the input file (attached below) is highly appreciated.
inputs_test_2d.txt
Thank you in advance and best regards,
Cosimo
Beta Was this translation helpful? Give feedback.
All reactions