mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 05:05:30 -04:00
Fix to depletion script.
This commit is contained in:
parent
200f47bf91
commit
fe3d85d0d0
1 changed files with 2 additions and 2 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue