Hi, everyone!
I’m green hand in OpenMC, and there is a problem that has been bothering me for a while, I can’t understand the meaning of filling universe for a cell, for exemple: I already definie a Universe that possess series of Cells, and each Cell has its own region, however if I wanna fill another cell with this Universe ,i still need define region. I can’t understand /(ㄒoㄒ)/
And now I am building a complex model, because of my lack of knowledge on OpenMC, I definie different function for each components which return an array of Cell for in different locations so that I could repeat. Final, all Cells are filled in a same Universe, then Universe–>Geometry, the simulation could run, but I noticed that in this case, there will be a lots of Plane, their positons are same,just the id is different. I have no idea if it will affect the simulation results, in fact, I run debug model ,there are not overlap Cell.
Thank you for your time and effort!
Let’s say you have cell A that is filled with universe B. All cells in universe B will be constrained by the region that is assigned to cell A. For example, if universe B had the following two cells:
Hi @paulromano.
thanks for your answer, It’s clear to me now . And if cellA’s region was bigger than universeB (in your example), the gap is vacuum? The act of filling a Universe into a Cell makes it easier to model, right? because Cell can be cloned and translation.
In addition, I have tried to install OpenMc plotter before, but for OpenMc 0.13.0. it doesn’t seem to have a suitable version
If cellA’s region was bigger than the collection of cells in universeB, the gap is undefined and you may lose particles in your model. If you want a region of vacuum, you need to explicitly define a cell for that region and just don’t assign any fill at all (or, equivalently, set fill=None). This is why it is generally recommend to make sure each universe doesn’t have any undefined regions (in my example, cell1 and cell2 fill all the space in universeA).
If you install openmc-plotter using pip, it should work with OpenMC 0.13.0. What’s the error you’re running into?