[yt-users] Accessing scalar fields in ramses

mohammad safarzadeh mtsafarzadeh at gmail.com
Wed Dec 21 09:59:01 PST 2016


Dear Mattew

It appears the problem is not YT but I need to change the index of variable
referring to zoom simulation.
because I generate my IC with MUSIC, I have to make sure I have
ivar_refine=9 in the parameter file and
set level_XXX/ic_pvar_00004. So it is something related to ramses...

Thanks a lot!



On Wed, Dec 21, 2016 at 8:50 AM, Matthew Turk <matthewturk at gmail.com> wrote:

> Hi Mohammad,
>
> This sounds like a bug, but one I don't quite understand.  It should, I
> believe, at least make the additional variables available.  Can you turn
> your debug level to maximum and put the output of
>
> ds = yt.load(...
> ds.index
>
> into a pastebin?
>
> On Tue, Dec 20, 2016 at 8:10 PM, mohammad safarzadeh <
> mtsafarzadeh at gmail.com> wrote:
>
>> Hi all,
>>
>> I have been running zoom simulations with with two scalar fields,
>> 1-metallicity, 2-rpgas.
>>
>> Therefore I run ramses compiled with NVAR=8.
>>
>> when I load the dataset with YT, I see  “metallicity”,“var6” and “var7”
>> where
>>
>> var6 and 7 are for Rpgas and zoom sim (as ramses treats zoom sim itself
>> as a scalar variable).
>>
>> When I turned on the delayed cooling, which is yet another scalar field
>> in ramses,
>>
>> I compiled and run the code with NVAR=9. However, YT still sees two
>> variables and I don’t
>>
>> see any “var8” in the field_list. In other words I have three scalar
>> fields but YT is not detecting them.
>>
>> Is there a way around this?
>>
>>
>> Thank you very much,
>>
>> All best,
>>
>> Mohammad
>>
>> --
>> Mohammadtaher Safarzadeh, Ph.D.
>> http://www.mtsafarzadeh.com
>>
>>
>> _______________________________________________
>> 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
>
>


-- 
Mohammadtaher Safarzadeh, Ph.D.
http://www.mtsafarzadeh.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20161221/814392dd/attachment.htm>


More information about the yt-users mailing list