Warwick-Plasma / epoch

Particle-in-cell code for plasma physics simulations
https://epochpic.github.io
GNU General Public License v3.0
176 stars 56 forks source link

noisze #529

Open 2018-2025 opened 1 year ago

2018-2025 commented 1 year ago

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

2018-2025 commented 1 year ago

input.txt This is my input.deck

Status-Mirror commented 1 year ago

PIC codes produce noisy data, but there are ways to reduce the noise.

You could:

Hope this helps, Stuart

2018-2025 commented 1 year ago

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 1 year ago

image image it seems just include subset(core_field1),

2018-2025 commented 1 year ago

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

Status-Mirror commented 1 year ago

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:

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