I was using an older version of OpenMC, and switched to a slightly newer one due to switching pcs, and due to that the method of defining the source deprecated and I had to switch to the new method. Once I completed what I thought was the fix, which was adding it to the constraints section later a line down, I started to get the error “More than 95% of external source sites sampled were rejected” with the run stopping. I was wondering why it was working before and not now. Furthermore, I tried to limit the sampling region to just my fuel materials, but it still gives me the error. Can someone assist me with this issue. Attached are pictures of my fuel materials being defined, and the source definition. fuel_materials is packaged using the following command with the rest of the materials,
materials = openmc.Materials([Sheath, Calandria_tube, Pressure_tube, Moderator, Coolant, CO2, Calandria_vessel, Air, Adjuster, Helium, Light_water, AdjusterA] + fuel_materials)
before being exported.