I am trying to make an adjustable liquid zone control for a candu reactor simulation I have developed, attached is everything pertaining to these cells, I have been successful in making a non adjustable LZC, but that limits me to only having a length of the pitch cell when deciding the height of the LZC. When I made the following code to make an adjustable one based on the value fed into the Zplane, which separates the Helium and light water within the LZC column, I am running into issues where the geometry is not what I expected when I check the full assembly. I am wondering if anyone can take a look quickly and let me know what my issue might be.
Couldn’t take a pic that contained the entire line of code but here is the universe building,
LZC_Corner_Left_Front_Universe_adjustable_top = openmc.Universe(cells=[bundle26, pressure_tube26, CO2_layer26, calandria26, pitch_left_LZC_cell_front_corner_adjustable, LZC_Inner_cell_left_front_corner_adjustable_lw_top, LZC_Inner_cell_left_front_corner_adjustable_he_top, LZC_Outer_cell_left_front_corner_adjustable])
LZC_Corner_Right_Front_Universe_adjustable_top = openmc.Universe(cells=[bundle27, pressure_tube27, CO2_layer27, calandria27, pitch_right_LZC_cell_front_corner_adjustable, LZC_Inner_cell_right_front_corner_adjustable_lw_top, LZC_Inner_cell_right_front_corner_adjustable_he_top, LZC_Outer_cell_right_front_corner_adjustable])
LZC_Corner_Left_Back_Universe_adjustable_top = openmc.Universe(cells=[bundle28, pressure_tube28, CO2_layer28, calandria28, pitch_left_LZC_cell_back_corner_adjustable, LZC_Inner_cell_left_back_corner_adjustable_lw_top, LZC_Inner_cell_left_back_corner_adjustable_he_top, LZC_Outer_cell_left_back_corner_adjustable])
LZC_Corner_Right_Back_Universe_adjustable_top = openmc.Universe(cells=[bundle29, pressure_tube29, CO2_layer29, calandria29, pitch_right_LZC_cell_back_corner_adjustable, LZC_Inner_cell_right_back_corner_adjustable_lw_top, LZC_Inner_cell_right_back_corner_adjustable_he_top, LZC_Outer_cell_right_back_corner_adjustable])