The results of the thermalized flux calculation that incorporate radiative capture reactions in the presence and absence of polyethylene blocks that form an enclosure for a deuteron-deuteron (D-D) neutron generator are presented. This method can be used to measure the moderated neutron flux component in a mixture of moderated and primary neutron spectra. Using 20-cm-thick polyethylene blocks to surround a D-D neutron generator, the moderation of primary neutrons was investigated using nine indium foils. In this paper, the relationship between the moderated neutron flux and the radiative capture rates in the presence and absence of polyethylene blocks is derived. This is compared to a MCNP simulation and a calculation of modulated flux that ignore the primary neutron components.