About how to get the volume-power cell-by-cell

Hi ,guys!
I’m newbie at openmc.
I have a question about how to get the volume-power(watt/m³) cell-by-cell, it’s not for a depletion simulation. And I have known the total power(watt) of my case. How to write the code to go for it?
I ask basic question, but I’ll appreciate it you can get me out.It would be better in great detail.


Regards!
Zhuangli

@lz152 Use DistribcellFilter with “kappa-fission” score to get the energy deposited in different cells. And then multiply it by (P * nu/(Q * k)), Now you have power in [eV/s] units, which can be converted to [W]. Finally divided it by the volume of each cell to get power density [W/m3].

Regards
Pranto

Thank you Pranto for answering! It is helpfully!
I also have another question: I just run the OpenMC(openmc.run()command) without depleting simulation, what I do is right?


Regards!
Zhuangli

@lz152 yes, for the situation you’ve described, calling openmc.run() is fine :+1:

1 Like

Paul,
Thank you for answering!


Best regards!
Zhuangli