Fix to depletion script.

This commit is contained in:
Patrick Shriwise 2019-03-27 13:56:53 -05:00
parent 200f47bf91
commit fe3d85d0d0

View file

@ -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]