Hello yt-commuinty, I was trying to use yt to analyse GIZMO data. Is there a function which can translate GIZMO gas data,particle0, to uniform grid with neutral hydrogen,velocity,temperature.etc? I know the "deposit " field and covering_grid in yt, but "deposit" isn't uniform and covering_grid is designed for grid-like data.. Thank you! Edward
The covering grid should work with deposit fields.
You could also look at the arbitrary_grid, which is a little bit less
restrictive than covering_grid about the resolution and left and right edge.
On Wed, May 31, 2017 at 4:11 PM 梁家豪
Hello yt-commuinty,
I was trying to use yt to analyse GIZMO data. Is there a function which can translate GIZMO gas data,particle0, to uniform grid with neutral hydrogen,velocity,temperature.etc? I know the "deposit " field and covering_grid in yt, but "deposit" isn't uniform and covering_grid is designed for grid-like data..
Thank you! Edward _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
Hi Nathan!
Do you mean that I should put deposit fields instead of GIZMO data into
covering grid/ arbitrary_grid?
2017-06-01 5:14 GMT+08:00 Nathan Goldbaum
The covering grid should work with deposit fields.
You could also look at the arbitrary_grid, which is a little bit less restrictive than covering_grid about the resolution and left and right edge.
On Wed, May 31, 2017 at 4:11 PM 梁家豪
wrote: Hello yt-commuinty,
I was trying to use yt to analyse GIZMO data. Is there a function which can translate GIZMO gas data,particle0, to uniform grid with neutral hydrogen,velocity,temperature.etc? I know the "deposit " field and covering_grid in yt, but "deposit" isn't uniform and covering_grid is designed for grid-like data..
Thank you! Edward _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
It looks like I spoke too soon. It turns out that you can't smooth SPH
smoothed fields onto a covering grid or an arbitrary grid. I thought this
worked but I guess I was mistaken. I've filed an issue with a feature
request for this here:
https://github.com/yt-project/yt/issues/1436
In principle I think this would be relatively easy to do. I'm in the middle
of working on a significant change in how yt supports SPH particle data, I
will make sure that this gets done as part of that.
For now you can use covering grids and arbitrary grids with a locally
deposited field, here's an example using the deposited dark matter density:
https://gist.github.com/72803576524833663793e7a10563b6b3
On Wed, May 31, 2017 at 4:39 PM, 梁家豪
Hi Nathan!
Do you mean that I should put deposit fields instead of GIZMO data into covering grid/ arbitrary_grid?
2017-06-01 5:14 GMT+08:00 Nathan Goldbaum
: The covering grid should work with deposit fields.
You could also look at the arbitrary_grid, which is a little bit less restrictive than covering_grid about the resolution and left and right edge.
On Wed, May 31, 2017 at 4:11 PM 梁家豪
wrote: Hello yt-commuinty,
I was trying to use yt to analyse GIZMO data. Is there a function which can translate GIZMO gas data,particle0, to uniform grid with neutral hydrogen,velocity,temperature.etc? I know the "deposit " field and covering_grid in yt, but "deposit" isn't uniform and covering_grid is designed for grid-like data..
Thank you! Edward _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (2)
-
Nathan Goldbaum
-
梁家豪