diff --git a/openmc/deplete/operator.py b/openmc/deplete/operator.py index e3a767e574..5ce725a67b 100644 --- a/openmc/deplete/operator.py +++ b/openmc/deplete/operator.py @@ -309,7 +309,12 @@ class Operator(TransportOperator): # Assign distribmats to cells for cell in self.geometry.get_all_material_cells().values(): if cell.fill in distribmats and cell.num_instances > 1: - cell.fill = [cell.fill.clone() + mat = cell.fill + if mat.volume is None: + raise RuntimeError("Volume not specified for depletable " + "material with ID={}.".format(mat.id)) + mat.volume /= mat.num_instances + cell.fill = [mat.clone() for i in range(cell.num_instances)] def _get_burnable_mats(self):