diff --git a/docs/source/pythonapi/examples/tally-arithmetic.ipynb b/docs/source/pythonapi/examples/tally-arithmetic.ipynb index 9d2a81493..acadc4c4b 100644 --- a/docs/source/pythonapi/examples/tally-arithmetic.ipynb +++ b/docs/source/pythonapi/examples/tally-arithmetic.ipynb @@ -495,12 +495,9 @@ "source": [ "# Fast Fission Factor tallies\n", "therm_fiss_rate = openmc.Tally(name='therm. fiss. rate')\n", - "tot_fiss_rate = openmc.Tally(name='tot. fiss. rate')\n", - "therm_fiss_rate.add_score('fission')\n", - "tot_fiss_rate.add_score('fission')\n", + "therm_fiss_rate.add_score('nu-fission')\n", "therm_fiss_rate.add_filter(openmc.Filter(type='energy', bins=[0., 0.625]))\n", - "tallies_file.add_tally(therm_fiss_rate)\n", - "tallies_file.add_tally(tot_fiss_rate)" + "tallies_file.add_tally(therm_fiss_rate)" ] }, { @@ -572,7 +569,7 @@ " Copyright: 2011-2015 Massachusetts Institute of Technology\n", " License: http://mit-crpg.github.io/openmc/license.html\n", " Version: 0.6.2\n", - " Date/Time: 2015-08-10 13:21:32\n", + " Date/Time: 2015-08-10 13:51:02\n", " MPI Processes: 4\n", "\n", " ===========================================================================\n", @@ -628,20 +625,20 @@ "\n", " =======================> TIMING STATISTICS <=======================\n", "\n", - " Total time for initialization = 1.4260E+00 seconds\n", - " Reading cross sections = 3.8800E-01 seconds\n", - " Total time in simulation = 9.0700E+00 seconds\n", - " Time in transport only = 8.3270E+00 seconds\n", - " Time in inactive batches = 1.4110E+00 seconds\n", - " Time in active batches = 7.6590E+00 seconds\n", - " Time synchronizing fission bank = 6.7300E-01 seconds\n", - " Sampling source sites = 1.1000E-02 seconds\n", - " SEND/RECV source sites = 2.0000E-03 seconds\n", - " Time accumulating tallies = 1.0000E-03 seconds\n", + " Total time for initialization = 1.0760E+00 seconds\n", + " Reading cross sections = 3.6600E-01 seconds\n", + " Total time in simulation = 1.0001E+01 seconds\n", + " Time in transport only = 9.0020E+00 seconds\n", + " Time in inactive batches = 1.7190E+00 seconds\n", + " Time in active batches = 8.2820E+00 seconds\n", + " Time synchronizing fission bank = 8.8400E-01 seconds\n", + " Sampling source sites = 3.7000E-02 seconds\n", + " SEND/RECV source sites = 0.0000E+00 seconds\n", + " Time accumulating tallies = 1.6000E-02 seconds\n", " Total time for finalization = 2.0000E-03 seconds\n", - " Total time elapsed = 1.0500E+01 seconds\n", - " Calculation Rate (inactive) = 8858.97 neutrons/second\n", - " Calculation Rate (active) = 4896.20 neutrons/second\n", + " Total time elapsed = 1.1089E+01 seconds\n", + " Calculation Rate (inactive) = 7271.67 neutrons/second\n", + " Calculation Rate (active) = 4527.89 neutrons/second\n", "\n", " ============================> RESULTS <============================\n", "\n", @@ -795,7 +792,7 @@ "source": [ "Notice that even though the neutron production rate and absorption rate are separate tallies, we still get a first-order estimate of the uncertainty on the quotient of them automatically!\n", "\n", - "Now, let's analyze of few of the classic factors in the four-factor formula, starting with the resonance escape probability, which we'll define as $$p=\\frac{\\langle\\Sigma_a\\phi\\rangle_T}{\\langle\\Sigma_a\\phi\\rangle}$$ where the subscript $T$ means thermal energies." + "Now, let's analyze the classic factors in the four-factor formula, starting with the resonance escape probability, which we'll define as $$p=\\frac{\\langle\\Sigma_a\\phi\\rangle_T}{\\langle\\Sigma_a\\phi\\rangle}$$ where the subscript $T$ means thermal energies." ] }, { @@ -861,7 +858,7 @@ "metadata": {}, "source": [ "The fast fission factor can be calculated as\n", - "$$\\epsilon=\\frac{\\langle\\Sigma_f\\phi\\rangle}{\\langle\\Sigma_f\\phi\\rangle_T}$$" + "$$\\epsilon=\\frac{\\langle\\nu\\Sigma_f\\phi\\rangle}{\\langle\\nu\\Sigma_f\\phi\\rangle_T}$$" ] }, { @@ -896,18 +893,18 @@ "
| \n", + " | energy [MeV] | \n", + "cell | \n", + "nuclide | \n", + "score | \n", + "mean | \n", + "std. dev. | \n", + "
|---|---|---|---|---|---|---|
| bin | \n", + "\n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " |
| 0 | \n", + "0.0e+00 - 6.2e-01 | \n", + "10000 | \n", + "total | \n", + "(nu-fission / absorption) | \n", + "1.241103 | \n", + "0.008414 | \n", + "