<div dir="ltr"><div><div><div>Hi everyone,<br><br></div>It looks to me like this issue was never resolved - for instance when I attempt to save the clump hierarchy (which I can now find thanks to Kacper!), it complains about not finding NumberDensity (traceback here: <a href="http://pastebin.com/NSuaj8XH">http://pastebin.com/NSuaj8XH</a> ). I got it to work using a potentially non-optimal solution, namely adding the following lines to the end of yt/frontends/flash/fields.py -- <a href="http://pastebin.com/jYWcZCDj">http://pastebin.com/jYWcZCDj</a><br>
<br></div>I can imagine this failing if the dataset uses the Helmholtz EoS or maybe with multispecies, but maybe it would work (I don't have any datasets handy which use these).<br><br></div>Thank you,<br>John<br><div>
<div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Oct 25, 2012 at 4:18 PM, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Hi Matt,</div><div><br></div><div>There's actually an issue related to this that we closed before the 2.4 release: <a href="https://bitbucket.org/yt_analysis/yt/issue/401/entropy-field-does-not-work-for-non-enzo" target="_blank">https://bitbucket.org/yt_analysis/yt/issue/401/entropy-field-does-not-work-for-non-enzo</a></div>
<div><br></div><div>Basically, we would need to pare the FLASH data dumps, search for the appropriate runtime parameters that control the EOS settings (as described in section 15 of the FLASH docs: <a href="http://flash.uchicago.edu/site/flashcode/user_support/flash4_ug/node22.html" target="_blank">http://flash.uchicago.edu/site/flashcode/user_support/flash4_ug/node22.html</a>), and from that back out what mean molecular weight is.</div>
<div><br></div><div>I think it would be possible for Mark to define his own NumberDensity field in his .yt/my_plugins file as a stopgap solution.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-Nathan</div>
</font></span><div><div class="h5"><br><div><div>On Oct 25, 2012, at 4:09 PM, Matthew Turk wrote:</div><br><blockquote type="cite"><div>Hi all,<br><br>Mark Richardson wrote to the yt_analysis project with a problem with<br>
clumps on FLASH datasets.  Here's his email:<br><br>"Below includes my script and the output (it wouldn't let me attach<br>two files). I get some output in the clump file up until I'd expect to<br>see the Jeans Mass dumped. The output makes me think that it can't<br>
calculate this point because Gamma is unknown, or some other essential<br>variable needed to get the number density. I've attempted to change<br>the data_structure.py frontend for Flash to alias Gamma to gamc and<br>game but I still get the 'cannot find Gamma' when loading my dataset."<br>
<br>The issue from the traceback is that JeansMassMsun requires<br>MeanMolecularWeight which needs NumberDensity.  This can't be<br>generated for his data.<br><br>I am not an expert on FLASH, but it seems that this should be<br>
straightforward to fix, I just don't know how.  Anybody from the FLASH<br>or Clump side have any ideas?<br><br>-Matt<br>_______________________________________________<br>yt-dev mailing list<br><a href="mailto:yt-dev@lists.spacepope.org" target="_blank">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br></div></blockquote></div><br></div></div></div><br>_______________________________________________<br>

yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
<br></blockquote></div><br></div>