Hello,<div><span style="white-space:pre"> </span>Here I have written a simple matlab script for such conversion, I use sesame Sn data and the output .imx file have been tested in FLASH LaserSlab expamle, with actual run completed successfully. You need to choose your desired [rho,T] grid and the script will interpolate [Pressure, Internal energy, Rosseland, Planck] on that meshgrid, then produced a file in ionmix4 format.</div><div><span style="white-space:pre"> </span>But there are some problems for this version you need to be aware of: </div><div><span style="white-space:pre"> </span>1. I don't have sesame table containing ionization, so Thomas-Fermi ionization is used here, the error can be significant(20% at most I suppose?).</div><div><span style="white-space:pre"> </span>2. Extrapolation (here I set a small constant extrap_val = 0.1) can happen if you use meshgrid cover a larger [rho,T] than original input grid. For example, the opacity data I have begin with temperature ~ 4eV, so the output imx file is not accurate when start from room temperature.</div><div><span style="white-space:pre"> </span>3. I only have one radiation group in my sesame table, or a "gray" radiation field. If you need multiple groups you have to make some changes to the script, just repeatly write-out each radition group consecutively in the same format.</div><div><br></div><div><span style="white-space:pre"> </span>And also to mention, on this link:<a href="http://flash.uchicago.edu/pipermail/flash-users/2015-April/001689.html" target="_blank">http://flash.uchicago.edu/pipermail/flash-users/2015-April/001689.html</a>, Roman suggest using opacplot2 to do the conversion, I tried but I always get the segmentation fault problem, guess I didn't install those librarie right or something. Maybe you can try it first, for better confidence.</div><div><br></div><div>Best,</div><div>Tao</div><div><br></div><div><blockquote name="replyContent" class="ReferenceQuote" style="padding-left:5px;margin-left:5px;border-left:#b6b6b6 2px solid;margin-right:0">-----原始邮件-----<br>
<b>发件人:</b><span id="rc_from">"Acharya, Nitish" <nachary2@ur.rochester.edu></span><br>
<b>发送时间:</b><span id="rc_senttime">2019-06-25 21:47:00 (星期二)</span><br>
<b>收件人:</b> "flash-users@flash.uchicago.edu" <flash-users@flash.uchicago.edu><br>
<b>抄送:</b> <br>
<b>主题:</b> [FLASH-USERS] EOS tables format conversion<br><br>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi all,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I am trying to use SESAME EOS tables+opacity tables of some low Z materials in FLASH. Has anyone had the experience of converting SESAME tables into IONMIX4 format and use them in FLASH?</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Thanks,</p>
<p style="margin-top:0;margin-bottom:0">Nitish</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<p style="margin-top:0; margin-bottom:0"><span style="font-size:10pt">---------------------------</span></p>
<p style="margin-top:0; margin-bottom:0"><span style="font-size:10pt">Nitish Acharya</span></p>
<p style="margin-top:0; margin-bottom:0"><span style="font-size:10pt">PhD Student</span></p>
<p style="margin-top:0; margin-bottom:0"><span style="font-size:10pt">Department of Mechanical Engineering</span></p>
<p style="margin-top:0; margin-bottom:0"><span style="font-size:10pt">University of Rochester</span></p>
</div>
</div>
</div>
</blockquote><br><span>--<br>陶弢 <div>中国科学技术大学 </div><div>物理学院 工程与应用物理系 </div><div>安徽省, 合肥市 230026 </div><div>联系电话: 0551-63602495 </div><div>E-mail: tt397396@mail.ustc.edu.cn </div><div>------------------------------------</div><div>Vincent Tao</div><div>University of Science and Technology of China </div><div>Department of Engineering and Applied Physics School of Physical Sciences </div><div>Hefei, Anhui 230026
P. R. China </div><div>Tel: +86-0551-63600946 (Office) </div><div>E-mail: tt397396@mail.ustc.edu.cn</div></span></div>