Just trying to carry out a fixed source simulation using WMP Windowed Multipole Library and can’t quite get it working.
I get the error
ERROR: Could not find nuclide P31 in the nuclear data library.
So I’ve tried including a type neutron in the cross_sections.xml but that produces another error
ERROR: Nuclear data library does not contain cross sections for P31 at or near
400.000000 K.
So I don’t think that it is making use of the WMP cross section at this point.
I have used the settings.temperature = {‘multipole’: True}, registered the wmp h5 file and set the cell / material temperatures.
But I must have missed something to enable the use of WMP, any hints appreciated
Jumping in on this thread. The test case you set up is pretty useful. Diving in a little deeper it looks like OpenMC still checks for data at the right temperature on the import of the NNDC file before importing the WMP file (github). You can get around this by setting the temperature tolerance to a high value. Maybe try:
Also thanks for pointing out that line on the Github. I think that really gets to the root of the problem.
I wondering if a condition should be added to that line, perhaps something like if WMP cross section is used then don’t perform this temperature check.
To expand on the reasoning here – windowed multipole data only provides cross sections for the resolved resonance region. Temperature-dependent data is still needed for the unresolved resonance region and thermal region (for moderators), so even if you’re using WMP, the code needs to know how you intend to deal with data outside the resolved region. By setting a large tolerance, you’re telling OpenMC “use a single temperature for the URR and thermal regions”. Depending on your problem, that may or may not be acceptable.