unable to clone a cell

Included is a Jupyter notebook, as well as an edited script of ‘region.py’.

As for ‘region.py’, I added line 3 to “import copy” and also changed three other lines from "clone = deepcopy(self) " to "clone = copy.deepcopy(self) ". I am not sure if this was necessary OR warranted.

This Jupyter notebook describes the geometry and materials of an arbitrary wedge of a cylinder. The intent is to build a wedge representing one eighth of the core, then clone seven instances of it, and rotate those seven instances around the central axis.

MSR cores typically have this type of symmetry.

Can you please take a look at this and let me know what I’m doing wrong?

Respectfully and sincerely,

Shawn Wachter

geometry-CoreSection-002.ipynb (9.63 KB)

region.py (18 KB)

Hi Shawn,

The root universe you’ve defined contains cell1 and cell2, but both of these cells do not have any region defined and thus occupy all space. Thus, they overlap one another. When you try to plot the geometry, it only sees the first cell it comes across (cell1) which is why you can’t see the rotated cell/universe. Unfortunately there’s no easy way around this. I personally think you’d be best just setting up the four plane surfaces required to subdivide things into eight segments. Hope this helps!

Best,
Paul