[yt-users] SPH from generic particle stream?

Jonah Miller jonah.maxwell.miller at gmail.com
Tue Jun 28 19:51:49 PDT 2016


Hi Nathan,

Thanks for the explanation! I guess I'll try copying one of the other 
SPH frontends and hacking it to suit my needs.

Best,
Jonah

On 16-06-28 09:09 AM, Nathan Goldbaum wrote:
>
>
> On Tue, Jun 28, 2016 at 9:42 AM, Jonah Miller 
> <jonah.maxwell.miller at gmail.com 
> <mailto:jonah.maxwell.miller at gmail.com>> wrote:
>
>     Hi yt-users,
>
>     I haven't received a response yet, so I thought I'd try again and
>     ask an even more basic question: are data streams for SPH data
>     even supported?
>
>
> Not right now, no. In principle it should be possible but I think it 
> will require some modifications to load_particles so the SPH fields 
> are generated. See:
>
> https://bitbucket.org/yt_analysis/yt/issues/1062/add-example-for-loading-an-sph-dataset
>
>     And if not, is there a front-end I should try to look at to mimic?
>     Perhaps the Gadget fronted?
>
>
> Sure, look at any of the SPH frontends. Note that there's some stuff 
> common to all the SPH frontends in yt.frontends.SPH
>
>
>     Thanks in advance!
>
>     Best,
>     Jonah Miller
>
>     On Sat, Jun 25, 2016, 5:49 PM Jonah Miller
>     <jonah.maxwell.miller at gmail.com
>     <mailto:jonah.maxwell.miller at gmail.com>> wrote:
>
>         Hi yt-users,
>
>         I'm trying to play around with yt for SPH type data (there's
>         no frontend
>         for this code). I found out how to load generic particle data
>         via the
>         load_particle_data stream
>         (http://yt-project.org/docs/dev/examining/generic_particle_data.html#generic-particle-data)
>         and I found some information on SPH type data
>         (http://yt-project.org/doc/analyzing/fields.html#sph-fields)
>         but I can't
>         seem to figure out how to tell yt that I have a smoothing
>         length and a
>         particle I want to smooth. Is there a way to do this?
>
>         I attach a non-working script showing roughly what I'm trying
>         to do.
>
>         Thanks in advance!
>
>         Best,
>         Jonah
>
>
>     _______________________________________________
>     yt-users mailing list
>     yt-users at lists.spacepope.org <mailto: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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160628/29e25e99/attachment.htm>


More information about the yt-users mailing list