From fe3d85d0d086321c09d777bfb09cdede7e27289b Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Wed, 27 Mar 2019 13:56:53 -0500 Subject: [PATCH] Fix to depletion script. --- examples/python/pincell_depletion/run_depletion.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/python/pincell_depletion/run_depletion.py b/examples/python/pincell_depletion/run_depletion.py index ba34a3706..c4319eb96 100644 --- a/examples/python/pincell_depletion/run_depletion.py +++ b/examples/python/pincell_depletion/run_depletion.py @@ -16,7 +16,7 @@ particles = 1000 time_step = 1*24*60*60 # s final_time = 5*24*60*60 # s time_steps = np.full(final_time // time_step, time_step) - +print(time_steps) chain_file = './chain_simple.xml' power = 174 # W/cm, for 2D simulations only (use W for 3D) @@ -100,7 +100,7 @@ geometry = openmc.Geometry(root) # Compute cell areas area = {} -area[fuel] = np.pi * fuel_or.coefficients['R'] ** 2 +area[fuel] = np.pi * fuel_or.coefficients['r'] ** 2 # Set materials volume for depletion. Set to an area for 2D simulations uo2.volume = area[fuel]