Skip to content

Feature request: Arbitrary rotation angle for periodic boundary conditions #2769

@lewisgross1296

Description

@lewisgross1296

Description

I've gone back in time a bit too see the development of periodic BCs in OpenMC (#459, #647, #1129, #1820 ). It seems like there is only support for increments of 90 degrees WRT rotational periodic boundary conditions. Unfortunately, the model I'm working on has 3 way symmetry. I've included an image

Alternatives

It seems like there are no alternatives, which can be especially hampering for hexagonal core shapes and their natural tendency to be symmetric in increments of 30 or 60 degrees

Compatibility

I think the API could stay the same, but that burdens the developers to extend periodic BC code to arbitrary angles. It might be faster to add another API call that accomplishes this and doesn't break the existing rotational symmetry, but it would likely be more confusing for the user. I'm assuming this is a medium skill/effort change, though I'm not exactly sure what needs to happen to the existing code and the reason for current limitations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions