Setting temperature for a specific nuclide in OpenMC?

Hi everyone,
I need to set the temperature for a specific nuclide within the material. Any quick tips on how to do this, or do I need to prepare cross-sections for each nuclide at the desired temperature?

Thanks!

Hello.
My recollection is that the C++ source code forces all isotopes within a material to a common temperature. To implement a difference, you would need to prepare a dedicated cross section data table or fork the code and implement your change directly in the C++ code.

@AlexandreTrottier is correct – OpenMC does not allow you to set the temperature on a single nuclide. It is a property of a cell/material.

@AlexandreTrottier Thanks for the tip! Here’s what I did: got the cross-sections in ACE format for a nuclide at the desired temperature using NJOY, then manually changed the temperature in the ACE file. Even though they’re prepared at 500 K, the file specifies 300 K. After that, I converted them to H5 format. It’s a workaround, but it’s getting the job done for now.

@paulromano I believe having this feature in upcoming versions could open up possibilities for studying various phenomena, especially reactivity temperature coefficients.

OK, that sounds like a good work around. @paulromano, I am not following your suggestion, since it seems to me that any coefficient study needs to have all isotopes in a cell go to the same temperature. Am I missing something?

Normally, setting the material temperature works for calculating any coefficient. However, if we aim to delve into each isotope’s contribution, it becomes essential to specify the temperature of each isotope in that material.

So the intent is to support a sensitivity analysis of the temperature coefficients. Interesting. I would appreciate if you could let me know how such a study progresses.

Absolutely! I’ll keep you posted. If you have any specific aspects you’re curious about feel free to let me know!

Thank you. I’m mostly curious about the design of numerical experiment side of such a sensitivity study. Are you interested in cross-term effects, types of sensitivity measures etc…

I’d be happy to discuss the details with you. If you prefer, we can continue this conversation privately. Please feel free to message me at your convenience.

I want to add a thought here. In addition to nuclide-level sensitivity study, there are some other situations in which it is beneficial to allow modeling of the same nuclide at different temperatures. Here are two examples:

  1. What if we like to model a complicated geometry like porous media, which can be considered as a mixture of different materials at different temperatures? Currently, I have not found a way to differentiate temperatures in a mixture like this. I appreciate it if you let me know such a capability in OpenMC.
  2. It is very common to do neutronics calculations with homogenized models, in which homogenized materials at different temperatures should be differentiated. Even though it is not commonly done in Monte Carlo simulation, it is also useful to quantify the homogenization effects with Monte Carlo methods directly to guide deterministic method development.

Such a capability could be realized in OpenMC without change to the data library by defining a new type of universe/material that holds traditional material components of individual volume fractions. During particle transport, the macroscopic interaction properties can be obtained by the statistical average of individual materials.