<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Dear yt:<br>
<br>
I have one simple question, but it bothers me these days.<br>
<br>
I used the yt to analysis the "hdf5" files, which generated by
Gadget-2. These files have basic fields, like: ("PartType0", "*"),
("PartType1", "*") and ("all", "*"). Then I want to plot the density
map and temperature map, it seems need some derived fields, like:
("gas", "density") and ("gas", "temperature").<br>
<br>
I'm curious about how the ("gas","temperature") was derived, so I
browsed a lots of documents on the Web, but found nothing. Please
see <br>
<a class="moz-txt-link-freetext" href="http://yt-project.org/doc/reference/field_list.html?highlight=field%20list">http://yt-project.org/doc/reference/field_list.html?highlight=field%20list</a><br>
About the field of ('gas','temperature'), there is "No source
available" in "Field Source"!<br>
<br>
In my data, the field ("PartType0","InternalEnergy") is provided by
me, and I think the temperature should calculated by Internal Energy
"E" with the function: k*T = (Gamma -1)*µ*mp*E, where k = 1.38E-16
erg/K is Boltzmann constant, Gamma = 5/3 for adiabat particles, μ =
0.6 is the corresponding mean molecular weight, and mp = 1.67E-24 g
is proton mass. But this result is about half of the value of
("gas","temperature"). <br>
So what you may know is why, which one is right? I need your help!<br>
<br>
Thank you a lot, and happy new year!<br>
<br>
Regard,<br>
Dan<br>
<br>
<br>
--<br>
Dan Hu<br>
=======================================<br>
<div align="left">Department of Physics, Shanghai Jiao Tong
University <br>
800 Dongchuan Road, Minhang, Shanghai 200240, PRC</div>
E-mail : <a _src="mailto:hudan_bazhaoyu@163.com"
href="mailto:hudan_bazhaoyu@163.com">hudan_bazhaoyu@163.com</a><br>
<a _src="mailto:hudan_bazhaoyu@sjtu.edu.cn"
href="mailto:hudan_bazhaoyu@sjtu.edu.cn">hudan_bazhaoyu@sjtu.edu.cn</a><br>
=======================================
</body>
</html>