add plots

This commit is contained in:
church89 2023-03-27 11:32:38 +02:00
parent b7aaf33311
commit 8cd64e0b26

View file

@ -256,6 +256,10 @@ else:
tally.scores.append(heating_score)
tallies = openmc.Tallies([tally])
# Depletion settings
model = openmc.model.Model(geometry,mats,settings,tallies)
model.export_to_xml()
#Plots
colors = {salt:'yellow', graphite:'black', inor: 'grey', helium: 'cyan', inconel: 'grey',
bush: 'blue', ss316: 'grey', concrete: 'brown', shield: 'red', insulation: 'green',
@ -277,9 +281,6 @@ plot.color_by = 'material'
plot.colors = colors
openmc.plot_inline(plot)
# Depletion settings
model = openmc.model.Model(geometry,mats,settings,tallies)
results=model.run()
op = openmc.deplete.CoupledOperator(model,