Hi all,
I am trying to use cross-sections at 800 K. I am not sure I am using the right way to set the temperature though. In my Python input file (I am using the Python API), I just set the "temperature" variable in my openmc.material to 800 K. For example, graphite = openmc.Material(name='Graphite', temperature = '800').
The problem is that when OpenMC runs, it does not find the corresponding cross-sections for the nuclides. This is the output on the command line:
| The OpenMC Monte Carlo Code
Copyright | 2011-2016 Massachusetts Institute of Technology
License | http://openmc.readthedocs.io/en/latest/license.html
Version | 0.8.0
Git SHA1 | 81c3bb593d30296efc531c15aba4b268cee687cf
Date/Time | 2016-11-29 15:22:36
===========================================================================
========================> INITIALIZATION <=========================
===========================================================================
Reading settings XML file...
Reading geometry XML file...
Reading cross sections XML file...
Reading materials XML file...
Reading Li7 from /home/julien/openmc/data/nndc_hdf5/Li7.h5
ERROR: Nuclear data library does not contain cross sections for Li7 at or near
800 K.
ERROR STOP
Traceback (most recent call last):
File "msr3", line 405, in <module>
sp = StatePoint('statepoint.80.h5')
File "/usr/local/lib/python2.7/dist-packages/openmc-0.8.0-py2.7.egg/openmc/statepoint.py", line 116, in __init__
self._f = h5py.File(filename, 'r')
File "/usr/local/lib/python2.7/dist-packages/h5py-2.5.0-py2.7-linux-x86_64.egg/h5py/_hl/files.py", line 260, in __init__
fid = make_fid(name, mode, userblock_size, fapl, swmr=swmr)
File "/usr/local/lib/python2.7/dist-packages/h5py-2.5.0-py2.7-linux-x86_64.egg/h5py/_hl/files.py", line 89, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper (/home/julien/h5py-2.5.0/h5py/_objects.c:2579)
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper (/home/julien/h5py-2.5.0/h5py/_objects.c:2538)
File "h5py/h5f.pyx", line 76, in h5py.h5f.open (/home/julien/h5py-2.5.0/h5py/h5f.c:1816)
IOError: Unable to open file (Unable to open file: name = 'statepoint.80.h5', errno = 2, error message = 'no such file or directory', flags = 0, o_flags = 0)
I tried to set temp to 900 or 873 and it does not work.
I downloaded my cross section from NNDC using the script in OpenMC. Does this error mean that I actually don't have high temperature cross-sections in my NNDC library?
Thanks for your help.
Julien