[yt-users] Pressure in Enzo methods

David Collins dcollins4096 at gmail.com
Tue May 5 09:02:02 PDT 2015


Hi, Everybody!

I'm having a little trouble with getting pressure when using
HydroMethod=6.  For instance,
>>> ds0.all_data()['pressure']

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File
"/Users/dcollins/local-2014-09-24-yt3/src/yt-hg/yt/data_objects/data_containers.py",
line 233, in __getitem__
    f = self._determine_fields([key])[0]
  File
"/Users/dcollins/local-2014-09-24-yt3/src/yt-hg/yt/data_objects/data_containers.py",
line 489, in _determine_fields
    finfo = self.ds._get_field_info("unknown", fname)
  File
"/Users/dcollins/local-2014-09-24-yt3/src/yt-hg/yt/data_objects/static_output.py",
line 482, in _get_field_info
    raise YTFieldNotFound((ftype, fname), self)
yt.utilities.exceptions.YTFieldNotFound: Could not find field '('all',
'pressure')' in data0000.



while this works for a run with HydroMethod = 0.
Could someone give me the nickel tour of hydro method impacts setting of
variables, and where I should look to make sure pressure is defined?

Thanks!
d.

-- 
-- Sent from a computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150505/262cea62/attachment.htm>
-------------- next part --------------
_______________________________________________
yt-users mailing list
yt-users at lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org


More information about the yt-users mailing list