Skip to content

Rotate pin hexagonal lattice for OpenMC

Kiesling, Kalin Rose requested to merge rotate_lattice into development

This fixes a bug in the indexing for the hexagonal pin lattices. Initially it was thought that PyARC indexing in each ring starts at the top of the ring, but it actually starts at the bottom (when the hex orientation is x). This adds a function to rotate rings in a lattice by 180 degrees if that's the case. Tests are updated/added accordingly to actually catch this difference. I can confirm now that the OpenMC model is consistent with how it appears in Workbench.

Merge request reports