Volume of a gas cell

Flaminia Fortuni
  • 1
  • 23 Feb '21

Hello,
I want to estimate the effect of dust particles (derived from gas distribution) on the light emitted from star particles that are behind them(in z position) - only the absorbed light for the moment. I am doing a particle-based manipulation of the simulation outputs, i.e. I am using snapshot datasets, in particluar PartType0 for gas/dust and PartType4 for stars.
In order to estimate the column density of the gas, I would need to know the volume of every gas cell. My question: is it right to estimate the gas cell volume (the Voronoi cell volume I think) using Masses(PType0) / Density(PType0) ?
Thanks for your help.

Dylan Nelson
  • 1
  • 23 Feb '21

Yes Volume = Mass / Density exactly, for PartType0. We have this "Volume" field saved in the original Illustris snapshots, but since it can be computed from these two other fields, in TNG we deleted it to save space.

Flaminia Fortuni
  • 24 Feb '21

Great. Thanks for your help.

Flaminia Fortuni
  • 1
  • 26 Feb '21

and what if I want to know the column density of neutral hydrogen enclosed in a single gas volume? Or at least its (volumetric) density. Thank you

Dylan Nelson
  • 26 Feb '21

Please see PartType0/NeutralHydrogenAbundance.

Flaminia Fortuni
  • 26 Feb '21

thanks, I was looking in the old Illustris documentation, I'm sorry.

Flaminia Fortuni
  • 1
  • 1 Mar '21

Sorry, is it possible that for some snapshots - e.g. in TNG100-3 snapshots 32 and 34 - the field PartType0/NeutralHydrogenAbundance is not available? And also PartType0/GFM_Metals, while e.g. PartType0/GFM_Metallicity and other fields are available.

Dylan Nelson
  • 1 Mar '21

That's correct, it is the difference in TNG between "full" and "mini" snapshots.

  • Page 1 of 1