ndiffusion.scale_to_critical¶
- ndiffusion.scale_to_critical(mats, keff)[source]¶
Return a copy of mats with
nusigfdivided by keff.A transient should start from a genuine steady state. The flux from a k-eigenvalue solve satisfies
A phi = (1/k) B phi, so unlesskis exactly 1 it is not a steady state of the time-dependent equation and the “unperturbed” transient drifts from the first step - which makes any reactivity insertion measured against it meaningless. Scalingnusigfby1/kmakes the same flux an exact fixed point.- Parameters:
- Returns:
A new
Materials; the input is not modified.- Return type:
- Raises:
ValueError – If keff is not positive.