mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-21 14:35:27 -04:00
Use several data variables from endf package (#3787)
This commit is contained in:
parent
8053111f2d
commit
3f20a5e228
1 changed files with 3 additions and 70 deletions
|
|
@ -6,6 +6,9 @@ from pathlib import Path
|
|||
from math import sqrt, log
|
||||
from warnings import warn
|
||||
|
||||
from endf.data import (ATOMIC_NUMBER, ATOMIC_SYMBOL, ELEMENT_SYMBOL,
|
||||
EV_PER_MEV, K_BOLTZMANN)
|
||||
|
||||
# Isotopic abundances from Meija J, Coplen T B, et al, "Isotopic compositions
|
||||
# of the elements 2013 (IUPAC Technical Report)", Pure. Appl. Chem. 88 (3),
|
||||
# pp. 293-306 (2013). The "representative isotopic abundance" values from
|
||||
|
|
@ -112,72 +115,6 @@ NATURAL_ABUNDANCE = {
|
|||
'U238': 0.992742
|
||||
}
|
||||
|
||||
# Dictionary to give element symbols from IUPAC names
|
||||
# (and some common mispellings)
|
||||
ELEMENT_SYMBOL = {'neutron': 'n', 'hydrogen': 'H', 'helium': 'He',
|
||||
'lithium': 'Li', 'beryllium': 'Be', 'boron': 'B',
|
||||
'carbon': 'C', 'nitrogen': 'N', 'oxygen': 'O', 'fluorine': 'F',
|
||||
'neon': 'Ne', 'sodium': 'Na', 'magnesium': 'Mg',
|
||||
'aluminium': 'Al', 'aluminum': 'Al', 'silicon': 'Si',
|
||||
'phosphorus': 'P', 'sulfur': 'S', 'sulphur': 'S',
|
||||
'chlorine': 'Cl', 'argon': 'Ar', 'potassium': 'K',
|
||||
'calcium': 'Ca', 'scandium': 'Sc', 'titanium': 'Ti',
|
||||
'vanadium': 'V', 'chromium': 'Cr', 'manganese': 'Mn',
|
||||
'iron': 'Fe', 'cobalt': 'Co', 'nickel': 'Ni', 'copper': 'Cu',
|
||||
'zinc': 'Zn', 'gallium': 'Ga', 'germanium': 'Ge',
|
||||
'arsenic': 'As', 'selenium': 'Se', 'bromine': 'Br',
|
||||
'krypton': 'Kr', 'rubidium': 'Rb', 'strontium': 'Sr',
|
||||
'yttrium': 'Y', 'zirconium': 'Zr', 'niobium': 'Nb',
|
||||
'molybdenum': 'Mo', 'technetium': 'Tc', 'ruthenium': 'Ru',
|
||||
'rhodium': 'Rh', 'palladium': 'Pd', 'silver': 'Ag',
|
||||
'cadmium': 'Cd', 'indium': 'In', 'tin': 'Sn', 'antimony': 'Sb',
|
||||
'tellurium': 'Te', 'iodine': 'I', 'xenon': 'Xe',
|
||||
'caesium': 'Cs', 'cesium': 'Cs', 'barium': 'Ba',
|
||||
'lanthanum': 'La', 'cerium': 'Ce', 'praseodymium': 'Pr',
|
||||
'neodymium': 'Nd', 'promethium': 'Pm', 'samarium': 'Sm',
|
||||
'europium': 'Eu', 'gadolinium': 'Gd', 'terbium': 'Tb',
|
||||
'dysprosium': 'Dy', 'holmium': 'Ho', 'erbium': 'Er',
|
||||
'thulium': 'Tm', 'ytterbium': 'Yb', 'lutetium': 'Lu',
|
||||
'hafnium': 'Hf', 'tantalum': 'Ta', 'tungsten': 'W',
|
||||
'wolfram': 'W', 'rhenium': 'Re', 'osmium': 'Os',
|
||||
'iridium': 'Ir', 'platinum': 'Pt', 'gold': 'Au',
|
||||
'mercury': 'Hg', 'thallium': 'Tl', 'lead': 'Pb',
|
||||
'bismuth': 'Bi', 'polonium': 'Po', 'astatine': 'At',
|
||||
'radon': 'Rn', 'francium': 'Fr', 'radium': 'Ra',
|
||||
'actinium': 'Ac', 'thorium': 'Th', 'protactinium': 'Pa',
|
||||
'uranium': 'U', 'neptunium': 'Np', 'plutonium': 'Pu',
|
||||
'americium': 'Am', 'curium': 'Cm', 'berkelium': 'Bk',
|
||||
'californium': 'Cf', 'einsteinium': 'Es', 'fermium': 'Fm',
|
||||
'mendelevium': 'Md', 'nobelium': 'No', 'lawrencium': 'Lr',
|
||||
'rutherfordium': 'Rf', 'dubnium': 'Db', 'seaborgium': 'Sg',
|
||||
'bohrium': 'Bh', 'hassium': 'Hs', 'meitnerium': 'Mt',
|
||||
'darmstadtium': 'Ds', 'roentgenium': 'Rg', 'copernicium': 'Cn',
|
||||
'nihonium': 'Nh', 'flerovium': 'Fl', 'moscovium': 'Mc',
|
||||
'livermorium': 'Lv', 'tennessine': 'Ts', 'oganesson': 'Og'}
|
||||
|
||||
ATOMIC_SYMBOL = {0: 'n', 1: 'H', 2: 'He', 3: 'Li', 4: 'Be', 5: 'B', 6: 'C',
|
||||
7: 'N', 8: 'O', 9: 'F', 10: 'Ne', 11: 'Na', 12: 'Mg', 13: 'Al',
|
||||
14: 'Si', 15: 'P', 16: 'S', 17: 'Cl', 18: 'Ar', 19: 'K',
|
||||
20: 'Ca', 21: 'Sc', 22: 'Ti', 23: 'V', 24: 'Cr', 25: 'Mn',
|
||||
26: 'Fe', 27: 'Co', 28: 'Ni', 29: 'Cu', 30: 'Zn', 31: 'Ga',
|
||||
32: 'Ge', 33: 'As', 34: 'Se', 35: 'Br', 36: 'Kr', 37: 'Rb',
|
||||
38: 'Sr', 39: 'Y', 40: 'Zr', 41: 'Nb', 42: 'Mo', 43: 'Tc',
|
||||
44: 'Ru', 45: 'Rh', 46: 'Pd', 47: 'Ag', 48: 'Cd', 49: 'In',
|
||||
50: 'Sn', 51: 'Sb', 52: 'Te', 53: 'I', 54: 'Xe', 55: 'Cs',
|
||||
56: 'Ba', 57: 'La', 58: 'Ce', 59: 'Pr', 60: 'Nd', 61: 'Pm',
|
||||
62: 'Sm', 63: 'Eu', 64: 'Gd', 65: 'Tb', 66: 'Dy', 67: 'Ho',
|
||||
68: 'Er', 69: 'Tm', 70: 'Yb', 71: 'Lu', 72: 'Hf', 73: 'Ta',
|
||||
74: 'W', 75: 'Re', 76: 'Os', 77: 'Ir', 78: 'Pt', 79: 'Au',
|
||||
80: 'Hg', 81: 'Tl', 82: 'Pb', 83: 'Bi', 84: 'Po', 85: 'At',
|
||||
86: 'Rn', 87: 'Fr', 88: 'Ra', 89: 'Ac', 90: 'Th', 91: 'Pa',
|
||||
92: 'U', 93: 'Np', 94: 'Pu', 95: 'Am', 96: 'Cm', 97: 'Bk',
|
||||
98: 'Cf', 99: 'Es', 100: 'Fm', 101: 'Md', 102: 'No',
|
||||
103: 'Lr', 104: 'Rf', 105: 'Db', 106: 'Sg', 107: 'Bh',
|
||||
108: 'Hs', 109: 'Mt', 110: 'Ds', 111: 'Rg', 112: 'Cn',
|
||||
113: 'Nh', 114: 'Fl', 115: 'Mc', 116: 'Lv', 117: 'Ts',
|
||||
118: 'Og'}
|
||||
ATOMIC_NUMBER = {value: key for key, value in ATOMIC_SYMBOL.items()}
|
||||
|
||||
DADZ = {
|
||||
'(n,2nd)': (-3, -1),
|
||||
'(n,2n)': (-1, 0),
|
||||
|
|
@ -268,11 +205,7 @@ DADZ = {
|
|||
# Values here are from the Committee on Data for Science and Technology
|
||||
# (CODATA) 2018 recommendation (https://physics.nist.gov/cuu/Constants/).
|
||||
|
||||
# The value of the Boltzman constant in units of eV / K
|
||||
K_BOLTZMANN = 8.617333262e-5
|
||||
|
||||
# Unit conversions
|
||||
EV_PER_MEV = 1.0e6
|
||||
JOULE_PER_EV = 1.602176634e-19
|
||||
|
||||
# Avogadro's constant
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue