# Rotation boundary condition

**URL:** <https://openmc.discourse.group/t/rotation-boundary-condition/884>\
**Category:** User Support\
**Created:** [December 5, 2020, 10:04pm UTC](https://openmc.discourse.group/t/rotation-boundary-condition/884 "2020-12-05T22:04:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jujuC31](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@jujuC31](https://openmc.discourse.group/u/jujuC31)\
**Post date:** [December 5, 2020, 10:04pm UTC](https://openmc.discourse.group/t/rotation-boundary-condition/884/1 "2020-12-05T22:04:03Z")

</div>

Hello,

I need a little help to improve my core geometry, please.

I’d like to use a special boundary condition on a surface : I’ve a geometry where I can take advantage of a punctual central symmetry (half core) to accelerate calculations.

I’ve tried to draw it (simplify !) in the following picture (a CYLZ cut with a YPLANE). For example, if a particle comes out of a position x with a vector (i, j, k), I want it to enter from a position -x with a vector (-i, -j, k).

 ![openmc_bo](https://global.discourse-cdn.com/free1/uploads/openmc/original/2X/8/825df6844fb90189f08707fe0dcf0eb95e5004be.jpeg)

Is there a mixture of both periodic and reflective boundary conditions to do it ? I’ve some difficulties to imagine how to do it…

Can I consider a surface as both entry and exit for a periodic boundary condition : `border.periodic_surface = border` ?

Or is a specific development needed (rotation boundary condition ?) ?

Thank you in advance for your answer.

Regards

Julien

---

<div class="post-metadata">

**Author:** ![kingyue](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/kingyue/32/507_2.png) [@kingyue](https://openmc.discourse.group/u/kingyue)\
**Post date:** [December 7, 2020, 2:50am UTC](https://openmc.discourse.group/t/rotation-boundary-condition/884/2 "2020-12-07T02:50:09Z")

</div>

Hi Julien,

I also had similar question. I have two ideas as shown in the figure below.

1. Use a reflective plane X=Y to cut the core
2. Or joint two 1/4 core to make a pair of periodic planes

I’m not sure whether the second idea is available. Looking forward to others’ suggestion.

 ![825df6844fb90189f08707fe0dcf0eb95e5004be_2_690x337](https://global.discourse-cdn.com/free1/uploads/openmc/original/2X/0/0a6aace77fe0efde4be45acecad11ea76e306fd8.jpeg)

---

<div class="post-metadata">

**Author:** ![paulromano](https://yyz2.discourse-cdn.com/free1/user_avatar/openmc.discourse.group/paulromano/32/486_2.png) [@paulromano](https://openmc.discourse.group/u/paulromano)\
**Post date:** [December 7, 2020, 8:02pm UTC](https://openmc.discourse.group/t/rotation-boundary-condition/884/3 "2020-12-07T20:02:55Z")

</div>

The reflective solution along x=y is probably your best bet. I don’t see how the second option here would work. There is a [pull request](https://github.com/openmc-dev/openmc/pull/1701) adding supporting for general rotational periodic conditions, but in this case because plane 1 and plane 2 are effectively the same plane, it likely won’t work.
