Source Strength

Hi,
Should we always set the source strength value to 1 when writing source properties?
Thank you

The default source strength is 1, so it’s not necessary to set it explicitly if you just want the default.

I’m using a gamma source with radius 1. If I don’t want to set the source strength as the default 1, how can I do that if I want to specify the actual source strength.Should I use this formula?
image

That formula is just telling you the flux at some distance away from an isotropic source. You would want to specify S0 for the sake of a particle transport simulation. In OpenMC, this is done with:

source = openmc.Source()
source.strength = ...  # your value for S_0
# specify space, angle, energy distribution of source as needed

settings = openmc.Settings()
settings.source = [source]