Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random Ray Linear Source #3010

Open
jtramm opened this issue May 20, 2024 · 1 comment
Open

Random Ray Linear Source #3010

jtramm opened this issue May 20, 2024 · 1 comment
Assignees

Comments

@jtramm
Copy link
Contributor

jtramm commented May 20, 2024

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.

@RufusN
Copy link

RufusN commented Jun 12, 2024

I'm working on implementing this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In progress
Development

No branches or pull requests

2 participants