Hello, I need to build a Fuel tube with four flat sides joined by rounded corners (rectengular but with rounded corners). Please, give ideas how to construct it
Hi @umarov and welcome to the community! This can be done with the rectangular_prism function:
prism = openmc.model.rectangular_prism(width, height, corner_radius=...)
inside_prism = openmc.Cell(fill=..., region=prism)
outside_prism = openmc.Cell(fill=..., region=~prism)
Hi Paulromano, appreciate a lot, thank you!
Hope to be part of community)