From b400c1ca211692d8be3aadd00d9a7df1faced267 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Tue, 4 Jun 2019 22:25:45 -0500 Subject: [PATCH] Fix axial segmentation of fuel pin --- smr/smr/pins.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smr/smr/pins.py b/smr/smr/pins.py index 27d2f90..c2620f1 100644 --- a/smr/smr/pins.py +++ b/smr/smr/pins.py @@ -7,7 +7,7 @@ import openmc from openmc.model import subdivide from .materials import mats -from .surfaces import surfs, pellet_OR, bottom_fuel_rod, top_active_core +from .surfaces import surfs, pellet_OR, bottom_fuel_stack, top_active_core def make_pin(name, surfaces, materials, grid=None): @@ -703,7 +703,7 @@ def pin_universes(num_rings=10, num_axial=196, depleted=False): if num_axial > 1: # Determine z position between each fuel pellet, omitting the surfaces # corresponding to the very bottom and top of the active fuel length - axial_splits = np.linspace(bottom_fuel_rod, top_active_core, num_axial + 1)[1:-1] + axial_splits = np.linspace(bottom_fuel_stack, top_active_core, num_axial + 1)[1:-1] axial_surfs = [openmc.ZPlane(z0=z) for z in axial_splits] if num_rings > 1: