mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
added metastable activity test
This commit is contained in:
parent
649f4a28f2
commit
270ef8346c
1 changed files with 8 additions and 0 deletions
|
|
@ -423,3 +423,11 @@ def test_activity_of_tritium():
|
|||
m1.volume = 1
|
||||
assert pytest.approx(m1.activity) == 3.559778e14
|
||||
|
||||
|
||||
def test_activity_of_metastable():
|
||||
"""Checks that 1 mol of a Tc99_m1 nuclides has the correct activity"""
|
||||
m1 = openmc.Material()
|
||||
m1.add_nuclide("Tc99_m1", 1)
|
||||
m1.set_density('g/cm3', 1)
|
||||
m1.volume = 98.9
|
||||
assert pytest.approx(m1.activity, rel=0.001) == 1.93e19
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue