-
Hi I am trying to generate a big dataset with many particles, e.g. billions of particles. For now, I increased particle density but the number of particles didn't have a big difference.
The following is my input file:
The following is from bpls:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @Change72, Thank you for the questions.
The number of numerical particles in WarpX (and PIC simulations in general) is usually not set by the density, but by the number of particles per cell. The reason for that is that particles have a representative "weight" and sampling them as such "macro" particles can save a lot of computational costs. So, look into the paramters
Sure, you can change the block size by setting See also the introduction to our domain decomposition here: https://warpx.readthedocs.io/en/latest/usage/workflows/domain_decomposition.html and included links to AMReX. |
Beta Was this translation helpful? Give feedback.
Hi @Change72,
Thank you for the questions.
The number of numerical particles in WarpX (and PIC simulations in general) is usually not set by the density, but by the number of particles per cell. The reason for that is that particles have a representative "weight" and sampling them as such "macro" particles can save a lot of computational costs.
So, look into the paramters
<species_name>.num_particles_per_cell
or<species_name>.num_particles_per_cell_each_dim
respectively, depending on your<species_name>.injection_…