Question about the number density #141
-
Dear developers, Thanks for your notice. It's good to know that epoch has been moved to github. I have a question about the input deck. When I use epoch to read an external file to set the initial particle number density distribution, does the epoch defaults to set the same weight of each super-particle, and have a spatial-distribution of number of particles per cell? Or does the epoch uniformly distribute the super-particles throughout the space, but change the weight of each particle to fit the given number density profile? If the former is not the default, how to modify the Makefile and other files to use the former one, thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
In short, how can I let epoch keep the weight of each particle the same when initializing structured density profiles, and only change the number of particles in each grid cell to satisfy a given structured density profile (e.g., on Page 86-87 in the user's manual)? Thank you very much! |
Beta Was this translation helpful? Give feedback.
-
I believe the behaviour you want would be enabled by the |
Beta Was this translation helpful? Give feedback.
I believe the behaviour you want would be enabled by the
PER_SPECIES_WEIGHT
compilation option, so you could compile withmake COMPILER=gfortran DEFINES=-DPER_SPECIES_WEIGHT
. Remember tomake clean
beforehand.