rodarima / cpic

Particle in Cell simulation of plasma in C
GNU General Public License v3.0
1 stars 1 forks source link

Particle at border leads to wrong electric potential #1

Closed rodarima closed 5 years ago

rodarima commented 5 years ago

At iteration 69, with a 2 particle test, when one is located exactly at the border, the solver shows very large electric potential φ at the border. A unexpected acceleration is produced.

68 69 70

rodarima commented 5 years ago

Average speed magnitude of particles shows the peak as well, but is one iteration ahead. u-mag

rodarima commented 5 years ago

Padded field used by the FFTW seems to be being used by the particle mover.