Dear Wahid,
Thank you for your advice! I want to keep the beryllium reflector. However, I am encountering an error and would like some guidance.
Here is my code:
assembly.universes = [
[[Be4,Be3,Be,Be,Be,Be,Be3,Be4],
[Be3,Be,Be,Be,Be,Be,Be,Be3],
[Be,root,root,root_bor,root,root_bor,root,Be],
[Be,root,root_bor,root_bor,root,root_bor,root,Be],
[Be,root,root_bor,root,root_bor,root_bor,root,Be],
[Be,root,root,root,root_bor,root,root,Be],
[Be3,Be,Be,Be,Be,Be,Be,Be3],
[Be4,Be3,Be,Be,Be,Be,Be3,Be4]]
]
#COREEEEEE
H_UP = openmc.ZPlane(z0 = 29)
H_DOWN = openmc.ZPlane(z0 = -29)
Define the inner and outer cylinders
inner_cylinder = openmc.ZCylinder(r=35)
outer_cylinder = openmc.ZCylinder(r=36, boundary_type=‘vacuum’)
Define the regions
vessel_region = -outer_cylinder & +inner_cylinder & -H_UP & +H_DOWN
vwfill_region = -inner_cylinder & -H_UP & +H_DOWN
assembly_region = -openmc.ZCylinder(r=35)
assembly_cell = openmc.Cell(name=‘quarter assembly cell’, fill=assembly, region=vwfill_region)
Create cells and assign regions
v = openmc.Cell(name=‘v’)
v.fill = Al
v.region = vessel_region
Add cells to universe
quarter_assembly_universe = openmc.Universe(cells=[v, assembly_cell])
Define geometry and export
geometry = openmc.Geometry(quarter_assembly_universe)
geometry.export_to_xml()
and the error:
What am i doing wrong?