<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><br><br>On Thursday, April 23, 2015, Junhwan Choi (최준환) <<a href="mailto:choi.junhwan@gmail.com">choi.junhwan@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi yt users,<br>
<br>
I have a few questions regarding to density and velocity field.<br>
I try to make the 3-dimension dark matter and baryon density and<br>
velocity fields from enzo simulation.<br>
In order to use SPH/CIC smoothing, I tried to use ('deposit',<br>
'Dark_Matter_cic') for enzo dark matter, and it does not work.<br>
What is particletype for Dark Matter density and velocity in enzo?</blockquote><div><br></div><div>There is no predefined dark matter particle type. You will need to create one using a particle filter.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
After making the density field, I would like to deposit the density<br>
for fixed grid cube.<br>
I knew the FixedResolutionBuffer, that does a similar thing for 2D,<br>
but I can not find 3D version of the similar object.<br>
Is there any such object (uni-grid Buffer) for 3D?</blockquote><div><br></div>You're looking for a covering grid.<br><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Lastly, I try to use the dark matter velocity arrow with<br>
annotate_velocity(), but it looks to me that the annotation only works<br>
for gas,<br>
because it does not have any argument distinct field type.<br>
How can I plot the dark matter (or particle in general) velocity arrow in yt?</blockquote><div><br></div><div>You can use the annotate_quiver function.<span></span></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thank you in advance,<br>
Junhwan<br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'yt-users@lists.spacepope.org')">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
</blockquote>