Commit graph

659 commits

Author SHA1 Message Date
liangjg
1969767c91 fix formula 2019-04-11 16:20:28 -04:00
liangjg
c3e27cf24a Merge branch 'develop' into heat-photon 2019-04-11 14:40:44 -04:00
liangjg
7536de5644 Account for fluorescent photons release in heating cross section computing 2019-04-10 13:46:44 -04:00
Paul Romano
edf50f1895 Don't build redundant reactions when calling IncidentNeutron.from_hdf5 2019-04-09 21:04:41 -05:00
liangjg
5db6db53f1 fix photon heating generation from endf 2019-04-05 23:04:42 -04:00
Paul Romano
ef0d216f66 Fix float_endf for decimal-less numbers. Also secretly support d/D 2019-04-04 16:40:28 -05:00
Paul Romano
d79524b9ce Replace float_endf with a fast C/Cython version 2019-04-03 15:19:50 -05:00
liangjg
ba05630a08 Merge branch 'develop' into heat-photon-kerma 2019-04-02 10:17:50 -04:00
liangjg
b7a0fc5187 Merge branch 'photon-analog' into heat-photon-kerma
Conflicts:
	openmc/data/photon.py
2019-03-29 15:41:47 -04:00
liangjg
f5cff7baef generate heating number 2019-03-28 16:58:46 -04:00
Paul Romano
61445ea60f Merge branch 'develop' into more-updates 2019-03-28 14:11:46 -05:00
liangjg
0f248381d1 updated photon data test to check cross sections and data by from_hdf5() 2019-03-27 13:24:00 -07:00
liangjg
ea71b9e377 replace all dataset.value with dataset[()] (or occasionally dataset[...]) 2019-03-27 11:45:48 -04:00
liangjg
0898642164 dataset.value -> dataset[()] in photon.py 2019-03-27 11:11:33 -04:00
liangjg
8926a70bad fix style issues suggested by @paulromano 2019-03-27 10:44:37 -04:00
liangjg
7905b196c3 update _SUBSHELLS array 2019-03-27 10:41:39 -04:00
Paul Romano
2efd58a694 Use dataset[()] instead of deprecated dataset.value 2019-03-27 06:47:22 -05:00
liangjg
fefb68a866 Add from_hdf5() in IncidentPhoton 2019-03-26 13:33:34 -04:00
liangjg
cdde6b55b3 generate photon heating number from ENDF 2019-03-26 12:56:22 -04:00
liangjg
dfdb074718 currently only the heating factors (not heating cross sections) can be extracted from ace as there is no 517 cross section in photoatomic library 2019-03-26 12:56:21 -04:00
liangjg
acf4b3616c fix photon reaction __repr__ 2019-03-26 12:56:20 -04:00
liangjg
21888e6cb5 adjust heating number when reading from ACE 2019-03-26 12:56:19 -04:00
liangjg
90c70f910a first result looks good 2019-03-26 12:56:19 -04:00
liangjg
4eee743ec5 added to_hdf5 in photon reaction to simplify export 2019-03-26 12:56:17 -04:00
liangjg
36641b1029 create from_hdf5 in photon reactions to simplify photon export 2019-03-26 12:56:17 -04:00
liangjg
0661082337 added to_hdf5 for atomic relaxation 2019-03-26 12:56:17 -04:00
liangjg
69e1a9d30d Add from_hdf5 for atomic relaxation data 2019-03-26 12:56:16 -04:00
liangjg
bb30f78b0d using pd.DataFrame to replace the strings 2019-03-26 12:56:16 -04:00
liangjg
4d80367ae4 from_hdf5 completed 2019-03-26 12:56:15 -04:00
liangjg
25d5a67fa1 read photon data from hdf5 2019-03-26 12:56:15 -04:00
liangjg
ce54673f1d include photon heating number in the library (from ACE) 2019-03-26 12:56:10 -04:00
Paul Romano
6c351bf7bc Make sure ACE heating number is multipled by total cross section 2019-03-13 16:13:57 -05:00
Paul Romano
2ab24d85cd Fix extraction of heating number from ACE file 2019-03-13 08:27:30 -05:00
Jingang Liang
830bd4f8e0
Merge pull request #1191 from paulromano/heat-data
Provide gas production, heating, damage energy data in HDF5 files
2019-03-12 12:06:11 -04:00
Paul Romano
30483039c9 Fix docstring of make_ace as suggested by @liangjg 2019-03-12 06:50:49 -05:00
Paul Romano
285532c840 Improve int_endf and float_endf, and use int_endf consistently.
Closes #1027
2019-03-11 13:03:45 -05:00
Paul Romano
08fd6b9cb1 Enable from_njoy methods to use evaluation from ENDF tape containing multiple
materials
2019-03-11 13:03:23 -05:00
amandalund
d1afac3605 Read in bremsstrahlung data in IncidentPhoton.from_ace 2019-03-11 11:33:38 -05:00
Paul Romano
a48d590158 Store heating, gas production, and damage energy as redundant reactions 2019-03-10 14:42:13 -05:00
amandalund
49832db80b Calculate radiative and collision stopping power instead of using NIST ESTAR data 2019-03-03 17:40:57 -06:00
amandalund
e9eadd936d Add function to calculate the density effect correction 2019-03-03 17:40:57 -06:00
amandalund
653993a82b Too eager with f-strings 2019-02-22 21:53:54 -06:00
amandalund
f6097dbe9e Fix seek() for Python 3 and only read in requested table in ace.get_table() 2019-02-22 20:11:03 -06:00
Paul Romano
66ae641b13 Skip TPID record when reading ENDF files 2019-02-15 15:09:17 -06:00
Paul Romano
cf65d9ed2e Add thermal scattering names to match JEFF 3.3 data 2019-02-15 15:09:05 -06:00
liangjg
3122e14010 Updated atomic mass evaluation to AME 2016, close #1137 2019-02-13 21:41:22 +00:00
Paul Romano
ed91913778 Fix export of atomic relaxation transition data for pandas 0.24.0 2019-01-29 14:37:40 -06:00
Paul Romano
927cbdac14 Find nu properly for nuclides with first-, second-, etc. chance fission 2018-11-13 10:49:04 -06:00
Paul Romano
3079afa3d8 Support older versions of HDF5 data for IncidentNeutron.from_hdf5 2018-11-13 06:51:03 -06:00
Paul Romano
7c3c0bb731 Improve logic for determining redundant reactions 2018-11-13 06:35:30 -06:00