openmc icon indicating copy to clipboard operation
openmc copied to clipboard

Random Ray Linear Source

Open jtramm opened this issue 1 year ago • 1 comments

In the random ray method, the particle flux is treated continuously in space and angle. However, in the current random ray implementation in OpenMC, any scattering or fixed sources are typically assumed to be constant (flat) within a mesh cell. Error stemming from this approximation to the source term can be mitigated by reducing the size of mesh cells.

Thus, to maintain accuracy, the #2832 will allow the user to specify cell-, universe-, or material-wise meshes to subdivide user input geometry into smaller flat source regions (i.e., a "cell-under-voxel" approach. From the user perspective, this subdivision is intended to be easily done in just a few lines of added code to an existing Monte Carlo geometry input deck, but can raise the cost of the computation if a fine mesh is needed to accurately represent steep source gradients.

To this end, previous work implementing linear sources in the random ray solver in the SCONE code has shown that a much coarser mesh can be used when sources are assumed to take a higher-order form, typically linear, allowing for significant overall computational time savings and accuracy improvements. As the mathematics and practical implementation aspects of this feature are already well understood, I believe this feature should be straightforward to implement, and will likely result in a multifold improvement in the speed and accuracy of the solver.

jtramm avatar May 20 '24 14:05 jtramm

I'm working on implementing this

RufusN avatar Jun 12 '24 16:06 RufusN

Closed by #3072

jtramm avatar Jul 17 '24 00:07 jtramm