Commit graph

70 commits

Author SHA1 Message Date
guillaume
9de6108ac0 BUG fix, indexing of nuclides in reactionrates arrays was being ignored + cleaned debugging lines + added plots to examples 2018-06-03 21:21:39 -04:00
guillaume
da49be46aa debugging rxn rates 2018-06-02 22:47:24 -04:00
guillaume
09a4475e38 fixed bugs when changing integrator at restart time 2018-06-02 16:33:24 -04:00
guillaume
a85db74b2b addressed paulromano's review, added support for restart in cecm integrator 2018-06-02 14:03:11 -04:00
guillaume
87aed7a0b0 addressed smharper's comments 2018-05-31 17:33:43 -04:00
guillaume
1f60a7fea6 more natural way of getting starting index for depletion restart 2018-05-30 16:28:25 -04:00
guillaume
d4ff02d2a2 first round of adapting tests 2018-05-30 13:39:04 -04:00
guillaume
8726744ef2 added support for changing power at beginning of restart without recomputing rates (no TH feedback) 2018-05-29 23:57:31 -04:00
guillaume
2b08112b91 getting volumes from last result 2018-05-29 22:56:47 -04:00
guillaume
f4968e1e03 updated comment 2018-05-29 22:39:17 -04:00
guillaume
d2bce45a31 cleaned a comment 2018-05-29 20:04:01 -04:00
guillaume
29222f69cf cleaner way to get initial time 2018-05-29 20:03:05 -04:00
guillaume
73d8b4a043 getting initial nuclide densities from depletion results for the burnable ones, from geometry for the non-burnable ones 2018-05-29 19:55:54 -04:00
guillaume
563e3436e4 getting initial nuclide densities from depletion results, other choice would be to update python densities, but depletion results are needed anyway 2018-05-29 19:09:38 -04:00
guillaume
cf85c2bb05 skipping first step if already ran, not checking if power is the same though 2018-05-29 18:03:37 -04:00
guillaume
1673b2983a added restart in predictor, working on skipping initial step if already ran 2018-05-29 17:45:31 -04:00
guillaume
51911bacb4 added transfer volumes function, changed titles in depletion example 2018-05-28 18:36:43 -04:00
Sterling Harper
f223c2738f Swap RectLattice distribcell ordering 2018-05-16 18:17:23 -04:00
Paul Romano
6b1c0f907f Fix openmc.capi.init() 2018-05-02 06:21:09 -05:00
Paul Romano
b9ff205090 Don't put free neutron in depletion chain 2018-03-01 23:09:10 -06:00
Paul Romano
5993a59196 Address first round of comments on #976 2018-02-27 07:22:27 -06:00
Paul Romano
ab00421c0e Add test for Chain.from_endf. Remove tqdm dependence. 2018-02-23 11:37:55 -06:00
Paul Romano
7622a1a394 Add methods on Material to get mass (if volume specified) 2018-02-22 16:00:32 -06:00
Paul Romano
92697ec06e Introduce ResultsList class to replace scattered functions 2018-02-21 15:36:27 -06:00
Paul Romano
b4719cf53f Fix for Python 3.4 (setting __doc__ on properties) 2018-02-20 22:46:26 -06:00
Paul Romano
4a500df455 Add Model.deplete method to make user's life easier 2018-02-20 16:40:18 -06:00
Paul Romano
33dec88bd0 Add format spec for depletion results HDF5 file (add necessary attributes too) 2018-02-20 15:35:39 -06:00
Paul Romano
6fac1367ec Improve depletion reference documentation 2018-02-20 14:43:26 -06:00
Paul Romano
f3758e5330 Fix broken tests on Py3.4, 3.5 2018-02-20 09:30:50 -06:00
Paul Romano
236e7f8b9e Add format spec for depletion chain XML file 2018-02-20 00:05:53 -06:00
Paul Romano
c9f8daa0ab Fix in ReactionRates class. More documentation updates 2018-02-19 23:17:50 -06:00
Paul Romano
a9df0465f0 Start cleaning up documentation 2018-02-19 22:51:53 -06:00
Paul Romano
a460782691 Get rid of extra Settings class 2018-02-19 17:52:17 -06:00
Paul Romano
ccfee55115 Make timesteps and power specified in integrator functions 2018-02-19 17:26:44 -06:00
Paul Romano
c19f396aa7 Remove Operator.form_matrix methods (Chain owns these) 2018-02-19 16:49:51 -06:00
Paul Romano
704a131f2d Some refactoring of AtomNumber. Get rid of burn_mat_to_ind 2018-02-19 16:49:45 -06:00
Paul Romano
65061bdadc Change burn_nuc_to_ind to _burnable_nucs 2018-02-19 16:48:58 -06:00
Paul Romano
945675aaaa Simplification of OpenMCOperator.__init__ 2018-02-19 16:48:58 -06:00
Paul Romano
2a1c66913a Don't use hard-wired IDs for MaterialFilter and Tally 2018-02-19 16:48:55 -06:00
Paul Romano
6832071b4c Move set_density method to AtomNumber 2018-02-19 13:35:51 -06:00
Paul Romano
78e1afb0ff Rename participating_nuclides -> nuclides_with_data 2018-02-19 13:15:11 -06:00
Paul Romano
ea335e0696 Change OPENDEPLETE_CHAIN -> OPENMC_DEPLETE_CHAIN 2018-02-19 13:15:11 -06:00
Paul Romano
4e21e398c8 Move density_to_mat to example_geometry.py 2018-02-19 13:15:11 -06:00
Paul Romano
2cd9aecf21 Get rid of Operator.mat_tally_ind 2018-02-19 13:15:11 -06:00
Paul Romano
fe547feb74 Don't keep track of non-burnable materials 2018-02-19 13:15:07 -06:00
Paul Romano
f113205ab9 Don't update non-depletable materials (changes test results) 2018-02-19 09:15:09 -06:00
Paul Romano
afd4ad61b0 Support --update for depletion regression test 2018-02-19 08:53:39 -06:00
Paul Romano
82fea220c4 Use get_all_materials() to simplify logic 2018-02-19 07:23:26 -06:00
Paul Romano
5c4ea0d640 Replace Chain.index_reaction with Chain.reactions.
Now the ReactionRates controls all the indexing needed to build a depletion
matrix. Got all tests fixed here too. Decided to add get/set methods on
ReactionRates which take strings.
2018-02-17 14:31:04 -06:00
Paul Romano
c9abcfc0a1 Make ReactionRates a subclass of ndarray, simplifying mapping dictionaries 2018-02-17 10:28:24 -06:00