[yt-users] Enzo Tracer Particle Visualization

Matthew Turk matthewturk at gmail.com
Tue May 19 14:03:15 PDT 2015


Hi Yuan,

It won't work automatically with Enzo outputs, but you can use
load_particles() to get each output as its own dataset.

-Matt

On Tue, May 19, 2015 at 2:08 PM, Yuan Li <bear0980 at gmail.com> wrote:
> Hi Stephanie,
>
> There is temperature information stored in TracerOutput* files, which allows
> me to make temperature maps of the particles without yt.
>
> I used to assume that yt would automatically read in all the tracer particle
> information, but maybe I was wrong. Maybe the TracerOutput* files is a whole
> separate thing. Or yt does read in everything, but does not process some of
> the information, such as temperature and density? I am not sure.
>
> Yuan
>
> On Tue, May 19, 2015 at 2:52 PM, Stephanie Tonnesen <stonnes at gmail.com>
> wrote:
>>
>> Hi Yuan,
>>
>> I am interested, but have little knowledge about your problem.  The
>> particle fields in the HDF5 file don't contain the tracer particle
>> temperature, or yt is not able to read the temperature information that is
>> in the HDF5 file?
>>
>> -Stephanie
>>
>>
>> --
>> Dr. Stephanie Tonnesen
>> Alvin E. Nashman Postdoctoral Fellow
>> Carnegie Observatories, Pasadena, CA
>> stonnes at gmail.com
>>
>> On Tue, May 19, 2015 at 10:56 AM, Yuan Li <bear0980 at gmail.com> wrote:
>>>
>>> Hi Cameron,
>>>
>>> The particle fields only include particle positions and velocities, but
>>> not tracer particle temperatures for example.
>>>
>>> Depending on how well the particles trace the fluid, a particle
>>> temperature map can look a bit different from a gas temperature map. I can
>>> make particle temperature maps using numpy histogram2d, but was hoping to be
>>> able to do it in yt for more direct comparisons. For now, my particle maps
>>> look fairly similar to the gas maps made using yt, but the ranges can be a
>>> bit different.
>>>
>>> Yuan
>>>
>>> On Tue, May 19, 2015 at 1:32 PM, Cameron Hummels <chummels at gmail.com>
>>> wrote:
>>>>
>>>> I think so.  Don't enzo tracer particles have a different particle type
>>>> than non-tracers?  If so, you should be able to make a Particle Filter using
>>>> that particle type and then use the corresponding deposit fields to do the
>>>> Projection.  See this for more information:
>>>>
>>>>
>>>> http://yt-project.org/docs/dev/analyzing/filtering.html#filtering-particle-fields
>>>>
>>>> On Mon, May 18, 2015 at 1:35 PM, Yuan Li <yuan at astro.columbia.edu>
>>>> wrote:
>>>>>
>>>>> Hi all,
>>>>>
>>>>> I am trying to make projection plots (e.g. average particle
>>>>> temperature) using Enzo tracer particles. Is there a way of doing this using
>>>>> yt?
>>>>>
>>>>> Thank you!
>>>>> Yuan
>>>>>
>>>>> _______________________________________________
>>>>> yt-users mailing list
>>>>> yt-users at lists.spacepope.org
>>>>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Cameron Hummels
>>>> Postdoctoral Researcher
>>>> Steward Observatory
>>>> University of Arizona
>>>> http://chummels.org
>>>>
>>>> _______________________________________________
>>>> yt-users mailing list
>>>> yt-users at lists.spacepope.org
>>>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>>>
>>>
>>>
>>> _______________________________________________
>>> yt-users mailing list
>>> yt-users at lists.spacepope.org
>>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>>
>>
>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
_______________________________________________
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