Allow user control over Operator.dilute_initial

Users can now pass dilute_initial as an input
argument into the Operator, and directly set
Operator.dilute_initial. Documentation was updated to
include units on the initial default concentration, which
is 1000 atoms per cubic centimeter. The user is allowed
to set this value to zero.

Notes have been added to ResultsList.get_atoms
and get_reaction_rate methods, indicating why there may
be non-zero values when pulling data for isotopes not
initially present.
A similar note was added to the depletion_results.h5
io format file.

Closes #1288
This commit is contained in:
Andrew Johnson 2019-07-15 15:10:18 -05:00
parent b4b063482e
commit 918340a3af
No known key found for this signature in database
GPG key ID: 253418E91B7F6FEB
4 changed files with 58 additions and 14 deletions

View file

@ -44,3 +44,10 @@ The current version of the depletion results file format is 1.0.
**/reactions/<name>/**
:Attributes: - **index** (*int*) -- Index user in results for this reaction
.. note::
The reaction rates for some isotopes not originally present may
be non-zero, but should be negligible compared to other atoms.
This can be controlled by changing the
:class:`openmc.deplete.Operator` ``dilute_initial`` attribute.