Extracting Particle Data from TNG 100-3-Dark Simulation and Smoothing Lengths

Aniruddha Madhava
  • 1
  • 30 Aug

Good evening,

I have a few questions about the TNG 100 simulations I wanted to ask.

  1. Is it possible to extract particle coordinates to produce a 2D histogram plot of dark matter distribution for the TNG 100-3-Dark run? For the other TNG 100 runs (e.g., TNG 100-3), I used the code: dm = il.snapshot.loadSubset(basePath, 0,'dm', fields=['Coordinates']), which worked flawlessly. The same code applied to the TNG 100-3-Dark simulation produces a "FileNotFoundError". If it is possible to extract particle coordinates, what changes would I need to make to my existing code.

  2. I was also curious about the smoothing lengths used for the simulation runs. In the following link: https://snow.ddog.host/about/, are the \epsilon{gas, min} and \epsilon{DM, *} smoothing lengths for the gas and dark matter particles, respectively? If not, how can I figure out these lengths? Furthermore, are these smoothing lengths constant for all sub-runs in the TNG 100 family (i.e., are the lengths the same for TNG 100-3 and TNG 100-2, etc.)?

Thank you so much for your help.

Edit: Actually, both questions have been resolved. For the first one, I needed to use the correct directory to the outputs. For the second question, see the comment below.

Aniruddha Madhava
  • 30 Aug

Actually, the second question has been answered before (see: https://www.tng-project.org/data/forum/topic/821/how-to-obtain-the-softening-lengths-for-each-snaps/). But my first question remains.

  • Page 1 of 1