Skip to Content.
Sympa Menu

opal - [Opal] number of macroparticles per grid size

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

[Opal] number of macroparticles per grid size


Chronological Thread  
  • From: "Dragos Constantin" <dragos.constantin AT gmail.com>
  • To: opal AT lists.psi.ch
  • Subject: [Opal] number of macroparticles per grid size
  • Date: Tue, 14 May 2024 20:38:00 +0200

Hi All,

This issue relates to the relationship between the number of macroparticles
and the grid size. (I know that at least the number of macroparticles must be
bigger than the grid size.)

When I setup a simulation model I use a small number of macroparticles with a
relattively small grid size. For example:

REAL N_PARTICLES = 1e4;

REAL MXX = 2^3;
REAL MYY = 2^3;
REAL MTT = 2^7;

So in this case I have ~1.22 macroparticles per grid voxel. I definitely want
to increase the number of particles, the question is do I have to increase the
grid resolution as well? If yes, what is a good choice for the number of
macroparticles/grid voxel?

Thanks,
Dragos



Archive powered by MHonArc 2.6.24.

Top of Page