Add pincell depletion jupyter notebook

The basic structure is borrowed from examples/python/pincell_depletion/
and builds a single pin cell to be depleted. The model building is
expedited, as this assumes the user has read through the
basic user guide on model building. The new openmc.model.pin
function is highlighted, both for building a plain pin
and for subdividing regions for depletion.

The Chain and Operator classes are the focuses of the example,
and the PredictorIntegrator is used to deplete the pin out to
6 months using 30 day depletion steps with 174 W power.
The openmc-make-depletion-chain scripts are introduced as methods
for building initial depletion chains. Use of
openmc.data.DataLibrary.register_file is included, as this allows
the user to not pass the chain_file argument if the depletion chain
is included in OPENMC_CROSS_SECTIONS.

The jupyter notebook is included in the documentation similar
to other examples.
This commit is contained in:
Andrew Johnson 2019-09-05 16:31:46 -05:00
parent 269b3bf2d1
commit 8ca0d35ad6
No known key found for this signature in database
GPG key ID: 253418E91B7F6FEB
3 changed files with 1043 additions and 0 deletions

View file

@ -24,6 +24,7 @@ General Usage
nuclear-data
nuclear-data-resonance-covariance
cad-geom
pincell-depletion
--------
Geometry

View file

@ -0,0 +1,14 @@
.. _notebook_depletion:
=================
Pincell Depletion
=================
.. only:: html
.. notebook:: ../../../examples/jupyter/pincell_depletion.ipynb
.. only:: latex
IPython notebooks must be viewed in the online HTML documentation.

File diff suppressed because one or more lines are too long