-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alternative method of particle initialisation from a file #3948
Comments
Hi Daniel, Thanks for the suggestion, that would be super useful! CCing @aeriforme, she suggested this recently, too. X-ref #618 Using openPMD files for the density profile (and maybe also temperature maps) would be ideal. |
This would great! To guide the implementation:
Some features that we would like to have:
Steps:
|
Hi Reme, What would be really nice is if the particle per cell could also be read from an openPMD file. I would expect that people using this feature would be either for a) preplasma formation or b) some nanostructured foams, where it would be advantageous not to have lots of low weight macroparticles due to a constant 'ppc' setting. Cheers, |
Implementation started in #4754. |
Hello,
I have a feature suggestion. I have initialised macro particles from an external openPMD file so that I can use the output of a hydrodynamic input as my starting conditions. This method has worked well however requires conversion of particle number density mesh into macroparticles.
An alternative to this could be supplying the number density as an openPMD mesh and then specifying a variable such as total_macro_particle_number to initialise the particles or a second mesh containing the particle per cell number.
This may be a simpler method for users to create custom targets that can't be easily created using an analytical function.
Thanks,
Daniel
The text was updated successfully, but these errors were encountered: