I have one simple question, but it bothers me these days.
I used the yt to analysis the "hdf5" files, which
Gadget-2. These files have basic fields, like:
("PartType1", "*") and ("all", "*"). Then I want to plot
map and temperature map, it seems need some derived
("gas", "density") and ("gas", "temperature").
I'm curious about how the ("gas","temperature") was
derived, so I
browsed a lots of documents on the Web, but found nothing.
About the field of ('gas','temperature'), there is "No
available" in "Field Source"!
In my data, the field ("PartType0","InternalEnergy") is
me, and I think the temperature should calculated by
"E" with the function: k*T = (Gamma -1)*µ*mp*E, where k =
erg/K is Boltzmann constant, Gamma = 5/3 for adiabat
particles, μ =
0.6 is the corresponding mean molecular weight, and mp =
is proton mass. But this result is about half of the value
So what you may know is why, which one is right? I need
Thank you a lot, and happy new year!
Department of Physics,
Shanghai Jiao Tong
800 Dongchuan Road, Minhang, Shanghai 200240, PRC
E-mail : email@example.com