[yt-users] Athena units
Stephanie Tonnesen
stonnes at gmail.com
Thu Nov 21 17:43:34 PST 2013
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:
pf = load("id0/rps."+outstring[i]+"
.vtk",parameters={"TimeUnits":9.78262,"LengthUnits":8.0236e22,"DensityUnits":9.999e-30})
Thanks!
Stephanie
On Mon, Oct 21, 2013 at 10:20 PM, Stephanie Tonnesen <stonnes at gmail.com>wrote:
> Hi Again, Everyone!
>
> 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:
>
> DensityUnits = 3.
> density_physunits = grid['density'] * DensityUnits
>
> Then, of course, I don't know how I would do a SlicePlot, ProjectionPlot
> or phaseplot in physical units...
>
> Any help/advice/direction is appreciated!
>
> Thanks,
> Stephanie
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20131121/3c074c08/attachment.htm>
More information about the yt-users
mailing list