Hex Lattice error with n_axial set to 10

One comment, one question. I have been able to get a planar replication of the hex lattice by setting the hexlattice.universe attribute to the replicated universe. But I have not been able to figure out how to replicate that in the Z direction. I set an n_axial value to 10, but still get the following error:

A hexagonal lattice without <n_axial> must have specified by 2 numbers.

I have 3 coordinates for the center (0,0,0), but still get the above call out?

Ideally I’d like openmc to “propagate” in the vertical direction without me having to call out the number of Z layers - is that possible? My assignment region will truncate the geometry.

Also, documentation error - the variable is called out as num_axial in the documentation. Looking at the source, it should be n_axial.

Appreciate any help! Brian

@Brian729 You need one additional level of nesting.

ring2 = [uni_1, uni_2, ...]
ring1 = [uni_1]

level_1 = [ring2, ring1] # 1st axial layer
level_2 = [ring2, ring1] # 2nd axial layer
...
...
... 

For more information, see this post; hopefully, you’ll find your answer there.