openmc-dev / openmc

OpenMC Monte Carlo Code
https://docs.openmc.org
Other
699 stars 444 forks source link

Write secondary particle tracks from particle restart file #2962

Open Edgar-21 opened 2 weeks ago

Edgar-21 commented 2 weeks ago

Description

It would be nice to be able to visualize the tracks of all secondary particles created during a particle restart run to assist with diagnosing geometry problems.

For example, this is a track from a particle restart file which was generated after losing a particle. You'll have to take my word here but the track does not reach the cell in which it is reported as lost. I am using the weight windows feature so I believe that this may be due to splitting. The output from openmc -t -r particleX.h5 also indicates that particles reach cells not reached by this track. I am happy to provide any more information as needed.

image