noisze
Opened this issue · 6 comments
2018-2025 commented
Status-Mirror commented
PIC codes produce noisy data, but there are ways to reduce the noise.
You could:
- Increase the particles per cell to reduce simulation noise.
- Output data averaged over a few timesteps as described in the "data averaging" section of this page.
- Re-bin data in your plotting tool into larger bins, and average over local cells.
Hope this helps,
Stuart
2018-2025 commented
Thank you for your reply, and i want to know if i can use the average and subset of field together? Because i note if i use them together, the SDF seems not include average.
2018-2025 commented
2018-2025 commented
i think it should be cell.Electric_Field.Ey_averaged.data;
Status-Mirror commented
Hey @2018-2015
You can get averaged fields of the full grid, and non-averaged subset grids in the same simulation by using:
ey = always + field1 + average
Which returns the variables:
- Electric_Field.Ey.Core_field1.data
- Electric_Field.Ey_averaged.data
But it seems you can't currently get averaged inside a subset. I will look to see how viable this would be to add to the code.
Cheers,
Stuart