Hi everyone! I’m trying to figure out how to use and to undestarnd the command .IndependentSource in a ‘eigenvalue’ simulation. Does it work just to set up the positions of the first generation of particules? or in general there will be particules being creating from there?
And what do I do when I set ‘fissionable’:True?
Thanks!
Here is the model I’m analysing on.
run = openmc.Settings()
run.run_mode = ‘eigenvalue’
run.particles = 10000
run.batches = 110
run.inactives = 10
positions = [
(-1.9431, -1.9431, 96.6),
(+1.9431, +1.9431, +96.6),
(-5.8293, 5.8293, 96.6),
( 5.8293, -5.8293, 96.6),
(-9.7155, -9.7155, 96.6),
( 9.7155, 9.7155, 96.6),
(-13.6017, 13.6017, 96.6),
(13.6017, -13.6017, 96.6),
(-13.6017, 0.0 , 96.6),
( 13.6017, 0.0 , 96.6),
( 0.0 , 13.6017, 96.6),
( 0.0 ,-13.6017, 96.6)
]
source_1 = openmc.IndependentSource(constraints={‘fissionable’: True})
dist_espacial = openmc.stats.PointCloud(positions = positions)
dist_angular = openmc.stats.Isotropic()
source_1.space = dist_espacial
source_1.angle = dist_angular
run.source = source_1
run.export_to_xml()