Hi everyone,
I am trying to define a Neutron Independent source for a PWR pincell. I have defined the setting like this:
settings = openmc.Settings()
settings.batches = 10
settings.inactive = 5
settings.particles = 100
settings.export_to_xml()
source = openmc.IndependentSource()
source.space = openmc.stats.Box([-pitch/2, -pitch/2, -1], [pitch/2, pitch/2, 1], only_fissionable=True)
source.angle = openmc.stats.Isotropic()
settings.source = source
and when I run OpenMC, I get this error:
source = openmc.IndependentSource()
AttributeError: module ‘openmc’ has no attribute ‘IndependentSource’
Does anyone know how to fix this error?
thank you in Advance
Mary