Commit d745b50
committed
make keff scaling consistent with keff normalization for kinetic simulations
Kinetic simulations based on an eigenvalue solve need to multiply the
prompt and delayed fission sources by the computed keff to bake-in the
steady state initial condition. The keff scaling introduced in PR 3595
complicates this by multiplying tallied flux by keff. This is fine,
however this new scaling factor is also applied to the final quantities
which serve as the final estimate of quantities for each timestep in
kinetic simulation. This would effetively undo the keff normalization
putting the system out of steady state. In practice this looks like a
shap step change in the values of tallied quantities. To address this,
this commit introduces control flow to ensure that the keff scaling
is applied to tallies at each timestep, but does not apply to the
internal quantitities stored in memory until the final timestep, to
ensure the keff normalization still bakes in that steady state.1 parent 85db78b commit d745b50
1 file changed
Lines changed: 15 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
666 | 666 | | |
667 | 667 | | |
668 | 668 | | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | | - | |
673 | | - | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | | - | |
678 | | - | |
| 669 | + | |
679 | 670 | | |
680 | 671 | | |
681 | 672 | | |
| |||
2137 | 2128 | | |
2138 | 2129 | | |
2139 | 2130 | | |
2140 | | - | |
2141 | | - | |
| 2131 | + | |
| 2132 | + | |
2142 | 2133 | | |
2143 | 2134 | | |
2144 | 2135 | | |
| |||
2250 | 2241 | | |
2251 | 2242 | | |
2252 | 2243 | | |
2253 | | - | |
2254 | | - | |
| 2244 | + | |
| 2245 | + | |
| 2246 | + | |
| 2247 | + | |
| 2248 | + | |
| 2249 | + | |
| 2250 | + | |
| 2251 | + | |
| 2252 | + | |
| 2253 | + | |
2255 | 2254 | | |
2256 | 2255 | | |
2257 | 2256 | | |
| |||
2261 | 2260 | | |
2262 | 2261 | | |
2263 | 2262 | | |
2264 | | - | |
| 2263 | + | |
| 2264 | + | |
2265 | 2265 | | |
2266 | 2266 | | |
2267 | 2267 | | |
| |||
0 commit comments