From ecbc05ce14fc4a0499ead169d03ef8fa0ca13e69 Mon Sep 17 00:00:00 2001 From: Alec Golas Date: Thu, 31 Oct 2019 16:46:49 -0400 Subject: [PATCH] Update operator.py Changed burnable material volume to volume of material instance --- openmc/deplete/operator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmc/deplete/operator.py b/openmc/deplete/operator.py index e3a767e574..d8aeb33fd2 100644 --- a/openmc/deplete/operator.py +++ b/openmc/deplete/operator.py @@ -341,7 +341,7 @@ class Operator(TransportOperator): if mat.volume is None: raise RuntimeError("Volume not specified for depletable " "material with ID={}.".format(mat.id)) - volume[str(mat.id)] = mat.volume + volume[str(mat.id)] = mat.volume/mat.num_instances self.heavy_metal += mat.fissionable_mass # Make sure there are burnable materials