The empty data file named tallies.out

My openmc code is running smoothly as it shows the k-effective value after every generation of particle. But after tallies calculation has completed, we know that a file named tallies.out is being generated in the respective folder. But when I opened the file, it shows nothing.

What is the reason behind the emptiness in tallies.out file? And how can I solve it?

Have you defined any tallies in your simulation? If you don’t have any tallies defined, the tallies.out file should not be written at all. If you do have tallies defined, the results should show up in the tallies.out file. If you have a script/set of XML files you can share that demonstrate the behavior you are seeing, that would allow someone to diagnose further.

model.xml (1.7 KB)
Untitled.ipynb (43.8 KB)

I have given the xml file and my code here. Please do a comment on it