openmc.deplete.cram.deplete¶
-
openmc.deplete.cram.
deplete
(chain, x, rates, dt, matrix_func=None)[source]¶ Deplete materials using given reaction rates for a specified time
Parameters: - chain (openmc.deplete.Chain) – Depletion chain
- x (list of numpy.ndarray) – Atom number vectors for each material
- rates (openmc.deplete.ReactionRates) – Reaction rates (from transport operator)
- dt (float) – Time in [s] to deplete for
- maxtrix_func (Callable, optional) – Function to form the depletion matrix after calling
matrix_func(chain, rates, fission_yields)
, wherefission_yields = {parent: {product: yield_frac}}
Expected to return the depletion matrix required byCRAM48()
.
Returns: x_result – Updated atom number vectors for each material
Return type: list of numpy.ndarray