[FLASH-USERS] [EXT] Problem in converting SEAME data

Reyes, Adam adam.reyes at rochester.edu
Thu Aug 26 08:15:23 EDT 2021


The sesame table you’re trying to convert is probably missing the 304 tables for the electron EOS. I’ve run into this problem before for another of the sesame tables that only included the 301 tables for the total EOS. Unfortunately in this case there is nothing you can do, since FLASH expects the separate ion & electron tables in the tabulated EOS implementation.

Adam

On Aug 26, 2021, at 3:07 AM, Ong Jian Fuh <jianfuh.ong at eli-np.ro<mailto:jianfuh.ong at eli-np.ro>> wrote:


Dear all,

I am converting sesame data into the one readable by FLASH using opacplot2. It seems that no one is maintaining the GitHub repository. I first extract the sesame data by:

$ sesame-extract xses_asc 3715

Then

$ opac-convert --Znum 13 xses_3715.ses --outname al-imx-006

and it returns the following:

Traceback (most recent call last):
  File "/home/ong/.anaconda3/lib/python3.8/site-packages/opacplot2/scripts/opac_convert.py", line 135, in __init__
    self.eos_dict = self.handle_dict[args.input]()
  File "/home/ong/.anaconda3/lib/python3.8/site-packages/opacplot2/scripts/opac_convert.py", line 181, in sesame_toEosDict
    eos_dict = op.toEosDict(Znum=self.args.Znum,
  File "/home/ong/.anaconda3/lib/python3.8/site-packages/opacplot2/opg_sesame.py", line 290, in toEosDict
    opp_ses_data = opp.utils.EosMergeGrids(
  File "/home/ong/.anaconda3/lib/python3.8/site-packages/opacplot2/utils.py", line 233, in __init__
    i_grids[key] = eos_data['_'.join((intersect[0],key))]
KeyError: 'ele_dens'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ong/.anaconda3/bin/opac-convert", line 8, in <module>
    sys.exit(convert_tables())
  File "/home/ong/.anaconda3/lib/python3.8/site-packages/opacplot2/scripts/opac_convert.py", line 302, in convert_tables
    eos_dict = Formats_toEosDict(input_data['args'],
  File "/home/ong/.anaconda3/lib/python3.8/site-packages/opacplot2/scripts/opac_convert.py", line 137, in __init__
    raise KeyError('Must use valid format name.')
KeyError: 'Must use valid format name.'

Then I try the other element. There was no problem in converting for element 3713 but it does not work for FLASH with

 DRIVER_ABORT: [op_readIonmix4Tables] ERROR: no IONMIX4 energy group grid found

When I compare the generated IONMIX data (element 3715 & 3713) with the one come with FLASH, there is a lot of zeros

        28        17
 atomic #s of gases:         13
 relative fractions:   1.00E+00
           0
numbersnumbersnumbersnumbers
numbersnumbersnumbersnumbers

.....

0.000000E+000.000000E+000.000000E+000.000000E+00
0.000000E+000.000000E+000.000000E+000.000000E+00
.....

Does anyone has a successful experience in converting a working EoS data from sesame? Thanks.

--
Regards,

Dr. Ong Jian Fuh
Extreme Light Infrastructure - Nuclear Physics
"Horia Hulubei" National Institute for Physics and Nuclear Engineering
30 Reactorului Street, 077125 Magurele (Ilfov), Romania
www.eli-np.ro<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.eli-2Dnp.ro&d=DwMDaQ&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=1C4d97g-LRBm3GqeRtlZHfnzFQIEWizIeq2b_IZClJA&m=Vx2iTYvpwWtWhJUdr3JGALczzJvBMDf1ZevSJvN6gN4&s=k5XhW15y1fCZwmTzesYoGJqePkkh-hjk0UD0LgKSfns&e=>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20210826/d80ab093/attachment.htm>


More information about the flash-users mailing list