Skip to content

Recommend configuration for large scale particles #4591

Answered by ax3l
Change72 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Change72,

Thank you for the questions.

For now, I increased particle density but the number of particles didn't have a big difference. Do you have any better idea of how to generate a large-scale particle dataset?

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_…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ax3l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #4567 on January 09, 2024 00:11.