Need to do hexagonal lattices for a reactor I’m working on, but I’m having a hard time getting the definition right. How do I make this thing smooth instead of bumpy?
Hi Daedalus, welcome back to the openmc community.
I think you want to declare the universe filling the outside of your hexagonal lattice, you can use the outer feature from your hex lattice. Here is the example, i.e. you named the hexagonal lattice as fuel_universe and the gray material is graphite, then
fuel_universe.outer = openmc.Universe(cells=[openmc.Cell(fill= graphite)], name='graphite surrounding fuel lattice')
Solved. For future note, I had the void universe already defined and filled with graphite, but you have to remove the region definition from it in order for it to work.