[yt-users] Using yt to build simulation initial conditions

John ZuHone jzuhone at gmail.com
Tue Jul 8 06:29:12 PDT 2014


Hi Stuart,

I've been working on a new ICs framework for yt (probably for 3.1), in addition to the stuff that's already there. If you could let me know some more details on what you're trying to do, we can see if any of that would help you. 

I'm a little swamped at the moment, so I can't guarantee I'll be very quick to respond, but we can get you going on this.

Best,

John

John ZuHone
Laboratory for High-Energy Astrophysics
NASA/Goddard Space Flight Center
8800 Greenbelt Rd., Mail Code 662
Greenbelt, MD 20771
(w) 301-286-2531
(m) 781-708-5004
john.zuhone at nasa.gov
jzuhone at gmail.com

> On Jul 8, 2014, at 8:19 AM, Matthew Turk <matthewturk at gmail.com> wrote:
> 
> Hi Stuart,
> 
> There is in fact a mechanism for doing so!  John ZuHone has used it in
> the past, and I believe it should be portable.  There is a GDF writer,
> and tests that test this functionality, which can be modified and
> extended to output in any form you like.  I believe you can find some
> examples in the documentation or in the tests for the GDF utilities.
> If you have any specific questions, please go ahead and write back to
> the list.
> 
> Best,
> 
> -Matt
> 
>> On Mon, Jun 30, 2014 at 12:39 PM, Stuart Mumford <stuart at mumford.me.uk> wrote:
>> Hello,
>> 
>> I have a use case for yt that I do not know if anyone else has encountered
>> (though somehow I think they might have done!). I need to build background
>> conditions for my code, this for me entails complex stratified density and
>> magnetic field geometry see this:
>> http://labs.adsabs.harvard.edu/adsabs/abs/2013MNRAS.435..689G/ to get an
>> idea of the problem.
>> 
>> The yt derived field and other abstractions would make doing this much
>> easier, however I don't know if there is a framework for creating base
>> fields in yt in memory and then computing derived fields based on those and
>> then saving a mix of input fields and derived fields to disk?
>> To make this more complex I have some weird save out requirements, so being
>> able to change array order and do mpi decomposition at save time would be
>> very useful.
>> 
>> Any suggestions or people telling me that this is obvious are welcome :)
>> 
>> Thanks
>> Stuart
>> 
>> _______________________________________________
>> 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