add plots
This commit is contained in:
parent
b7aaf33311
commit
8cd64e0b26
1 changed files with 4 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue