[FLASH-USERS] Problem in converting SEAME data

Ong Jian Fuh jianfuh.ong at eli-np.ro
Thu Aug 26 03:07:52 EDT 2021


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

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


More information about the flash-users mailing list