Warwick-Plasma/epoch

noisze

Opened this issue · 6 comments

As u can see, I want to know why this picture has so much noise? how can i reduce it?
f9a3cfb44204b1bfd5b476cd5cbeb79
9c98ef84111703e33e0c0254dbbd904
e3a3d2c18d5474209ae140b2d5ce478

input.txt
This is my input.deck

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

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.

image
image
it seems just include subset(core_field1),

i think it should be cell.Electric_Field.Ey_averaged.data;

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