Skip to content

Commit

Permalink
fix plot and settings generation
Browse files Browse the repository at this point in the history
  • Loading branch information
yardasol committed Sep 29, 2022
1 parent ebcacc7 commit b6bf524
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/msbr/openmc_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ def main_lattice(zone_i_boundary, cr_boundary, core_base, core_top):
settings.batches = 400
settings.inative = 5
settings.temperature = {'default': 900, 'method': 'interpolation'}
settings.export_to_xml()

# Plots
plots_3d = False
Expand Down Expand Up @@ -356,8 +357,6 @@ def main_lattice(zone_i_boundary, cr_boundary, core_base, core_top):
plot.width = (700., 700., 650.)
plot.pixels = (10000, 10000, 10000)

plots = openmc.Plots()
plots.append(plot)
plots.export_to_xml()
plots.append(plot)

plots.export_to_xml()

0 comments on commit b6bf524

Please sign in to comment.