Hi all, I've been trying to export some of my Enzo data to radmc3d input files and have run into an issue with the amr grid writer - it writes the amr_grid.inp file in units of kpc, rather than cgs like radmc3d wants. Is there a way to fix this short of modifying the .inp file manually afterward? Thanks a lot, Mike
Hi Mike,
Thanks for catching this. The cell positions are all computed from the grid
left and right edges, so they'll be in whatever units the simulation output
is in. For me, that was cgs, so I never noticed this issue. I think all
that needs to happen is that these positions need to be multiplied by
pf.units['cm']. I can check in a fix for this in a minute.
-Andrew
On Thu, Dec 19, 2013 at 1:33 AM, Mike Butler
Hi all,
I've been trying to export some of my Enzo data to radmc3d input files and have run into an issue with the amr grid writer - it writes the amr_grid.inp file in units of kpc, rather than cgs like radmc3d wants. Is there a way to fix this short of modifying the .inp file manually afterward?
Thanks a lot,
Mike
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (2)
-
Andrew Myers
-
Mike Butler