Using Maxwell-Boltzmann distribution with spatially varying temperature #2023
-
Hi, I am looking into using WarpX for a simulation with initialization based on an equilibrium from a different code. For initializing the magnetic field, I've side-stepped modifying the source code by decomposing the equilibrium fields via FFT and taking advantage of the maths parser. I can also do the same for the densities. However, for the velocity distributions, I'm not really sure if there is any easy way to use the MB distribution with a spatially varying temperature in WarpX as it is right now. I've tried to search the git repo to see if anyone else has mentioned this and found no comments. Anyone have a suggestion on getting around this (maybe I've missed something in the documentation..) or, very hopefully, has anyone got a modified version lying around for this particular feature? Unfortunately, I'm mostly familiar with Fortran and not C++ so it'd take me some time to get up to speed for any modification at all.. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi, Thanks for the suggestion! This should not be too hard to add, we just need to pass It's not currently on our agenda, but I can put it on the developer meeting to either find a volunteer or a volunteer to guide you on which aspects of the code to change. |
Beta Was this translation helpful? Give feedback.
Hi, @hklion took this task on and we are soon merging the update via #2357