@@ -67,6 +67,21 @@ are needed to compute kinetics parameters in OpenMC:
67
67
Obtaining kinetics parameters
68
68
-----------------------------
69
69
70
+ The ``Model `` class can be used to automatically generate all IFP tallies using the Python API
71
+ with ``settings.ifp_n_generation `` greater than 0::
72
+
73
+ model = openmc.model.Model(settings = settings)
74
+ model.export_to_xml()
75
+
76
+ Additionally, each of the tallies can be manually defined individually with group-wise or total
77
+ :math: `\beta _{\text {eff}}` specified by providing a 6-group ``openmc.DelayedGroupFilter ``::
78
+
79
+ beta_tally = openmc.Tally(name="group-beta-score")
80
+ beta_tally.scores = ["ifp-beta-numerator"]
81
+
82
+ #Add DelayedGroupFilter to enable group-wise tallies
83
+ beta_tally.filters = [openmc.DelayedGroupFilter(list(range(1, 7)))]
84
+
70
85
Here is an example showing how to declare the three available IFP scores in a
71
86
single tally::
72
87
@@ -95,6 +110,18 @@ for ``ifp-denominator``:
95
110
96
111
\beta _{\text {eff}} = \frac {S_{\text {ifp-beta-numerator}}}{S_{\text {ifp-denominator}}}
97
112
113
+ The parameters can be directly retrieved from a statepoint file direction using the ``ifp_results ``
114
+ method::
115
+
116
+ with openmc.StatePoint(output_path) as sp:
117
+ results = sp.ifp_results()
118
+
119
+ #Retrieve generation lifetime
120
+ generation_lifetime = results['Generation Time']
121
+
122
+ #Retrieve 6-group delayed neutron fraction array
123
+ beta_eff = results['Beta Effective']
124
+
98
125
.. only :: html
99
126
100
127
.. rubric :: References
@@ -107,4 +134,4 @@ for ``ifp-denominator``:
107
134
of the Iterated Fission Probability Method in OpenMC to Compute Adjoint-Weighted
108
135
Kinetics Parameters", International Conference on Mathematics and Computational
109
136
Methods Applied to Nuclear Science and Engineering (M&C 2025), Denver, April 27-30,
110
- 2025 (to be presented) .
137
+ 2025.
0 commit comments