<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi Stephanie,</div><div><br></div><div>In general, fields with the normal Athena names will be in code units, whereas the yt names will always be in cgs.</div><div><br></div><div>Roughly, it goes like this:</div><div><br></div><div>Density = cgs, density = code units</div><div>Pressure = cgs, pressure = code units</div><div>B[xyz] = cgs, cell_centered_B_[xyz] = code units</div><div>[xyz]-velocity = cgs, velocity_[xyz] = code units</div><div>momentum_[xyz] = code units</div><div><br></div><div>Note that the names are case-sensitive. Now, in yt-3.0 we will be adopting a different set of field names, but for now this should be good.</div><div><br></div><div>Best,</div><div><br></div><div>John</div><div><br>Sent from John ZuHone's iPad</div><div><br>On Nov 21, 2013, at 8:43 PM, Stephanie Tonnesen <<a href="mailto:stonnes@gmail.com">stonnes@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div>I am now looking at a few more variables, and am not sure whether I
should be getting code units or physical units. In the Athena vtk file,
Pressure is one of the variables--will this be plotted in code units or
will yt attempt to give me physical units since I am inputting some
physical unit conversions in the load command? Also , is "BMagnitude"
in code units? I am loading my data using the command:<div class="im"><br>
<br>pf = load("id0/rps."+outstring[i]+"</div><div>.vtk",parameters={"TimeUnits":9.78262,"LengthUnits":8.0236e22,"DensityUnits":9.999e-30})<br><br><br></div>Thanks!<br><br>
</div>Stephanie<br><div><div class=""><div id=":3i1" class="" tabindex="0"><img class="" src="https://mail.google.com/mail/u/0/images/cleardot.gif"></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Oct 21, 2013 at 10:20 PM, Stephanie Tonnesen <span dir="ltr"><<a href="mailto:stonnes@gmail.com" target="_blank">stonnes@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div><div><div><div>Hi Again, Everyone!<br><br></div>So I would also like my figures to be in physical units, instead of in my code units. I *think* the Athena frontend doesn't read in what the unit conversions are (and I am not sure how it would do that). Can I just do something simple like:<br>
<br></div>DensityUnits = 3.<br></div>density_physunits = grid['density'] * DensityUnits<br><br></div>Then, of course, I don't know how I would do a SlicePlot, ProjectionPlot or phaseplot in physical units...<br>
<br></div>Any help/advice/direction is appreciated!<br><br>Thanks,<br></div>Stephanie<br></div>
</blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>yt-users mailing list</span><br><span><a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a></span><br><span><a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a></span><br></div></blockquote></body></html>