Replies: 1 comment
-
Thanks for raising this. The docs on our inputs file is confusing due to historical reasons. The We have not added support for the This can be added, do you like to give it a try? PRs would go: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a rather basic question about particle initialization. When I use (density_expression, momentum_expressions, warpx_momentum_spread_expressions) to specify the particle distribution in picmi.AnalyticDistribution, the generated input file indicates that momentum_distribution_type is set to gaussian_parse_momentum_function. My code goes as follows:
Suppose I want to use maxwell_boltzmann instead (or maxwell_juttner for relativistic plasmas), how do I do that with the PICMI interface?
An unrelated question -- I noticed that I have to warpx_momentum_spread_expressions to get this working. If I use momentum_spread_expressions, then the initial velocities of particles are all zero (relative to the local drift frame).
I would appreciate very much your help on this issue.
Thanks,
Yi-Min
Beta Was this translation helpful? Give feedback.
All reactions