How to Track particles with some initial conditions? #859
|
Hi, I am running 2D PIC simulations, with The whole script is However, when I use I wonder why this happens? And what should I do to track those particles that locate in |
Replies: 2 comments 1 reply
|
Hi Please use discussions for this kind of question (this was transferred to discussions) |
|
In the namelist, the If you want to track particles that have initially some condition you must recall something from the documentation (https://smileipic.github.io/Smilei/Use/namelist.html#filter):
This means that you can make a different filter initially, and use the fact that id > 0 only for those which have passed the filter at t=0/ |
In the namelist, the
filter = my_filterparameter carries out this filter every time particles are written to the disk. They may not be the same particles every time.If you want to track particles that have initially some condition you must recall something from the documentation (https://smileipic.github.io/Smilei/Use/namelist.html#filter):
This means that you can make a different filter initially, and use the fact that id > 0 only for those which have passed the filter at t=0/