Hello everyone,
I need help in making geometry of a flux trap whose image is attached.
Can it be formed with x,y planes and z-cylinder or there can be any other way of modeling it?
Hello everyone,
I need help in making geometry of a flux trap whose image is attached.
Can it be formed with x,y planes and z-cylinder or there can be any other way of modeling it?
Yes, you’d need four y-planes, four z-cylinders, and (less obviously) two x-planes that are used to create union regions for each of the two cells. I’ve attached a quick Python script that takes advantage of the OpenMC Python API in the latest develop branch along with the plot and geometry.xml file that it produces. Note that for a real model, you’d probably want to put real materials in the cells instead of having them be void.
fluxtrap.py (1.53 KB)
geometry.xml (953 Bytes)
Thanks Paul, the files you uploaded are really helpful.
Regards,
ALI