How to get the droplet trajectory? #781
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I'm not sure on this as I haven't actually done it, but here's something you can try. To track spray droplets you should be able to run with According to the AMReX documentation, the combination of particle id and processor (the processor on which the particle was generated, not where it is) should be unique and allow you to track particles over time. |
Beta Was this translation helpful? Give feedback.
I'm not sure on this as I haven't actually done it, but here's something you can try.
To track spray droplets you should be able to run with
particles.write_ascii_files = 1
, which will output a text file with particle locations and data at the same intervals as you are dumping plt/chk files. These files are unlabelled but you can deduce what the columns mean based on how they are written. The first AMREX_SPACEDIM columns are the location, the next several columns contain the particle data as defined here, then the final two columns are the particle id and processor id.According to the AMReX documentation, the combination of particle id and processor (the processor on which the particle w…