Tallies value being 0 after the first iteration in a multi-physics loop

Hello! I’m quite new to OpenMC, and I’m using it to create a multiphysics coupling using both OpenFOAM and OpenMC.

My problem is that, for OpenMC, the first iteration works perfectly fine, but the second one always displays two errors:

-”openMC Another Cell instance already exists with id=”

-my heating tallies are 0, breaking my loop.

I tried to search a solution in the forum but I can’t find anything to help me. I also asked some solution to an AI, one of them solved the first one but not the second one.

Does someone has a solution or an idea to solve my problem?

Thank you :slight_smile:

I found the problem, it was coming from my Python code, it’s now working!

1 Like