Hello,
I am just trying to confirm whether I have created a source distribution I think I have, so I am looking for the simplest way to print positions and orientation of initiated source particles (like in MCNP).
Hello,
I am just trying to confirm whether I have created a source distribution I think I have, so I am looking for the simplest way to print positions and orientation of initiated source particles (like in MCNP).
I don’t have any experience with MCNP so I’m not sure if its comparable, but the simplest way I know of is using the ‘plot_source_position’ and ‘plot_source_direction’ functions from
‘openmc_source_plotter’.
See documentation here:
This will produce 3d plots of the source sites
If you want a more detailed list of all source particle positions/information you can extract track data and filter for particles with t=0 (source particles).
Thank you so much! This is just the tool I need!