Jonathan Shimwell
a8f7a61acb
removed unused step_index arg from restart ( #2867 )
2024-02-28 22:13:45 +00:00
Jonathan Shimwell
5005c3cdc6
type hinting openmc.deplete.abc.py ( #2866 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2024-02-15 07:30:46 +00:00
Jin Whan Bae
f5900293fa
microxs from mg flux and chain file ( #2755 )
...
Co-authored-by: Jin Whan Bae <baej@ornl.gov>
Co-authored-by: shimwell <mail@jshimwell.com>
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
Co-authored-by: Olek <45364492+yardasol@users.noreply.github.com>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2023-12-21 21:21:14 -06:00
Jonathan Shimwell
124e62fc58
added path arg to integrator.integrate ( #2784 )
2023-12-12 13:32:09 -06:00
Ethan Peterson
8b2698f5c0
Change matrix format to CSC in depletion ( #2764 )
2023-11-28 07:34:02 -06:00
Paul Romano
94f02ae10b
Bump version to 0.14.0-dev ( #2740 )
2023-10-31 16:55:19 -05:00
Paul Romano
97414699fd
Update variable names for depletion 'n' vectors ( #2583 )
2023-07-06 14:48:36 -05:00
Olek
f200e446aa
Allow transfer rates with nuclides. ( #2564 )
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
Co-authored-by: Lorenzo Chierici <l.chierici89@gmail.com>
2023-06-26 07:23:32 -05:00
Paul Romano
8ce5c7366c
Remove initial dilute nuclides in depletion ( #2568 )
2023-06-21 14:45:59 +02:00
Paul Romano
787b3e0308
Use multiply_density in depletion reaction rate helper classes ( #2559 )
...
Co-authored-by: Andrew Johnson <drewejohnson@users.noreply.github.com>
2023-06-14 22:15:22 -07:00
Jonathan Shimwell
74fb2801c2
creating parent dirs for output_dir ( #2543 )
2023-06-02 11:44:43 -05:00
Lorenzo Chierici
43437e9410
TransferRates (old msr continuous capabilities) ( #2358 )
...
---------
Co-authored-by: Jonathan Shimwell <drshimwell@gmail.com>
Co-authored-by: Olek <45364492+yardasol@users.noreply.github.com>
Co-authored-by: yardasol <yardasol@grinnell.edu>
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
Co-authored-by: Gavin Ridley <gavin.keith.ridley@gmail.com>
2023-04-27 22:11:17 -05:00
Paul Romano
01e86efc9e
Only show print() output from openmc.deplete on rank 0
2022-11-29 13:29:57 -06:00
Paul Romano
5dc6550312
Rename divide_by_adens --> divide_by_atoms
2022-11-21 14:51:40 -06:00
Jonathan Shimwell
5cdef2e964
added Julian years to Integrator
2022-08-26 16:30:24 +01:00
yardasol
8969b9b4e9
remove unneeded parameter from update
2022-08-10 15:53:40 -05:00
Olek
4a06d14b15
Apply suggestions from code review
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-08-02 12:28:00 -05:00
yardasol
89d79310bb
revert DepletionOperator to TransportOperator; doc updates
2022-08-01 12:44:28 -05:00
yardasol
eac4092362
address @paulromano's fourth round of comments
...
- syntax fixes
- remove `units` argument from MicroXS.from_csv and MicroXS.from_array
- make Operator warning display only when users call Operator
2022-08-01 09:35:35 -05:00
yardasol
3e81a86915
TransportOperator->DepletionOperator
2022-07-30 18:37:51 -05:00
yardasol
773757246b
Operator->CoupledOperator
...
- update references in docstrings and docpages
- minor adjustments to related docs in deplete module files
- retain backwards compatiblity by exporint Operator alias
2022-07-30 16:46:31 -05:00
yardasol
511464b53b
adjust top-level module descriptions
2022-07-30 15:59:28 -05:00
yardasol
3e827530ba
make changes from @paulromano's 3rd review
...
- syntax fixes and adjustments
- change name of FluxDepletionOperator to IndependentOperator
- flux_operator.py -> independent_operator.py
- new class, MicroXS, for creating (for now) one-group microscopic
cross section DataFrames. This class takes the functionality that was
previously in static functions in IndependentOperator
- Associated changes to the test suite and online docs
2022-07-28 17:50:06 -05:00
yardasol
4818a296d4
Made changes from paulromano's 2nd round of comments
...
- Syntax improvements and fixes
- removed `flux` parameter from Integrator
- Moved generate_1g_cross_sections to a top level function in
flux_operator.py
- changed normalization modes: constant-flux -> source-rate;
constant-power -> fission-q
- fixed regression tests (fission-q reference solution was bad before,
but is now much more reasonable and comparable to the source-rate
reference solution)
- added `nuc_units` parameter to the `from_nuclides` method.
- docstring fixes
- RST doc fixes
- spelling fixes
2022-07-27 13:30:56 -05:00
yardasol
018ed9f58a
add flux parameter to SII integrator
2022-07-21 17:47:50 -05:00
yardasol
34598609b8
add flux parameter to Integrator.__init__ signature
2022-07-21 17:24:16 -05:00
yardasol
0984b29f67
add machinery to do constant-power depletion with FluxDepletionOperator
2022-07-21 12:14:47 -05:00
Olek
5d5a2d6fa5
_orig_dir -> orig_dir
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2022-07-13 15:55:15 -05:00
yardasol
39b008df26
Remove __enter__, __exit__ methods from TransportOperator
...
This commit removes the context manager for switching directories from
the TransportOperator class, and moves this functionality to a
module-level function, change_directory.
2022-07-12 16:07:59 -05:00
yardasol
9a86f7bb41
move TalliedFissionYieldHelper from abc.py to helpers.py
2022-06-14 12:29:20 -05:00
Paul Romano
bc1ab31746
Raise exception if timestep in [MWd/kg] is given with zero power
2022-06-03 09:09:52 -05:00
Paul Romano
5421bf0b1f
Rename results_list.py -> results.py
2022-06-03 09:04:00 -05:00
Paul Romano
bd7b33c636
Rename results.py stepresult.py
2022-06-03 09:04:00 -05:00
Paul Romano
8bfb1889b9
Rename deplete.ResultsList -> deplete.Results
2022-06-03 09:04:00 -05:00
Paul Romano
aacf3c4938
Rename deplete.Results -> deplete.StepResult
2022-06-03 09:03:59 -05:00
Paul Romano
0b77cc7edc
Allow normal instantiation of ResultsList (instead of from_hdf5)
2022-06-03 09:03:57 -05:00
Paul Romano
371f4746c2
Add minimal output to Integrator.integrate
2022-04-21 14:31:40 -05:00
Paul Romano
badaaacca4
Consistent use of cross sections / chain file in Operator class
2022-01-12 10:32:25 -06:00
Adam Nelson
e1365bd036
Applied suggested changes per @paulromano's code review
...
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
2021-10-01 06:09:24 -05:00
agnelson
ad483b3fea
Moved the dummy communicator to being within openmc vice openmc.deplete, added test of model.calculate_volumes and model.deplete, fixed issues identified from those tests, and added a DLL quieting method (still needs to be propagated to integrator.integrate
2021-09-30 11:18:35 -05:00
Paul Romano
0d83672544
Resolve a few TODOs related to Python 3.6
2021-07-27 22:50:28 -05:00
Paul Romano
ce6bfa47b2
Apply @pshriwise suggestions from code review
...
Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
2020-09-17 22:18:20 -05:00
Paul Romano
76fc6fb3e7
Implement FluxCollapseHelper that is used by Operator
2020-09-15 10:23:31 -05:00
Paul Romano
8e1ec5621f
Merge branch 'develop' into ccfe-spp-2
2020-08-13 09:20:16 -05:00
Paul Romano
ec0d2fb6d0
Allow final transport solve to be omitted in depletion
2020-08-11 13:35:55 -05:00
Paul Romano
c3968ff9a9
Expand description of normalization_mode in docstring
2020-08-10 07:29:37 -05:00
Paul Romano
e682aa88e4
Address @drewejohnson comments on #1628
2020-08-06 08:12:36 -05:00
Paul Romano
e266bd244b
Move energy-related details to intermediate EnergyNormalizationHelper class
2020-08-03 14:43:33 -05:00
Paul Romano
14fdcf9d4d
More renames of power to source_rate
2020-08-03 07:38:35 -05:00
Paul Romano
8d489cc23b
Simplify Integrator docstrings, few more power -> source_rate
2020-08-03 07:38:35 -05:00