Replies: 5 comments 6 replies
-
Hey Kavin, You can set a general momentum distribution using the Instead, I would recommend manually writing the starting positions and momenta of your particles to file, and loading these using the particles_from_file block. Hope this helps, |
Beta Was this translation helpful? Give feedback.
-
The examples in this documentation are desperately needed! More examples, many examples. Without real examples what is written specifically in this paragraph resembles the attempt to describe music with words. Same in some other places. You return to it many times trying to decipher the exact meaning of these words (because there could be multiple possibilities behind the words) and never finish...With hundreds of examples no documentation would even needed. I agree that partically my probems arise because I am not native English speaker plus usually do not like RTFM, any of them, preferring tries and faults :). Still for me the documentation for EPOCH was from the first day looking as a worst disaster i ever seen. |
Beta Was this translation helpful? Give feedback.
-
Thanks @Status-Mirror. I plan to try this later at some point. But @DanRRRR has a point, it will be much easier if there was a more detailed example of what the particle files should look like (perhaps I missed it when I checked earlier). |
Beta Was this translation helpful? Give feedback.
-
Let me ask again -- am i understanding this correctly that there is no way to make in settings something resembling DO loop? A la this standard Fortran do loop Do i=1,100 May be there exist some trickery ? |
Beta Was this translation helpful? Give feedback.
-
Thanks, Stuart. Would be great if developers add simplest possible demo examples of loading from file, starting initially from text/ASCII |
Beta Was this translation helpful? Give feedback.
-
Hi,
Can the particle momentum initial conditions be set deterministically? For example, say I want all particles at certain x coordinate to have a certain momentum:
px=0,
py=0,
pz=p0*sin(x/micron).
Regards,
Kavin Tangtartharakul
Beta Was this translation helpful? Give feedback.
All reactions