PySCL issueshttps://code.ornl.gov/neams-workbench/PySCL/-/issues2017-08-07T17:36:12Zhttps://code.ornl.gov/neams-workbench/PySCL/-/issues/10String ZAIDs fail to be retrieved2017-08-07T17:36:12ZLefebvre, Robert AlexanderString ZAIDs fail to be retrievedRequesting nuclide "8016" fails when it should be equivalent to 8016Requesting nuclide "8016" fails when it should be equivalent to 8016Stauff, Nicolas EmileStauff, Nicolas Emilehttps://code.ornl.gov/neams-workbench/PySCL/-/issues/9Crash of PySCL when using natural abundance elements2017-07-14T15:35:04ZStauff, Nicolas EmileCrash of PySCL when using natural abundance elements@lefebvre
I noticed PyARC/PySCL will crash when using natural abundance material.
With MCC3's libraries, there are at least three elements that should be supported: "c", "zn" and "v". Could you please check this? I expect it should be ...@lefebvre
I noticed PyARC/PySCL will crash when using natural abundance material.
With MCC3's libraries, there are at least three elements that should be supported: "c", "zn" and "v". Could you please check this? I expect it should be an easy fix (I don't see why this does not work)...
Here is the error message I get:
```
Traceback (most recent call last):
File "/Users/nstauff/PyARC/PyARC.py", line 2245, in <module>
this.execute(sys.argv[1:])
File "/Users/nstauff/PyARC/PyARC.py", line 473, in execute
self.prerun(options)
File "/Users/nstauff/PyARC/PyARC.py", line 1140, in prerun
self.load_mixing_table()
File "/Users/nstauff/PyARC/PyARC.py", line 944, in load_mixing_table
self.load_adens(self.mixing_table,material)
File "/Users/nstauff/PyARC/PyARC.py", line 916, in load_adens
mixture.add_atom_den(float(aden.value.data), self.sclib.nuclide(str(aden.id)))
File "/Users/nstauff/PyARC/PySCL/PySCL.py", line 272, in add_atom_den
self.atom_densities[inventory.identifier()] = atom_density
AttributeError: 'NoneType' object has no attribute 'identifier'
Process finished with 0 return code; ran in 4 secs, finished at Tue Jun 13 12:42:16 2017
```
Thanks!Stauff, Nicolas EmileStauff, Nicolas Emilehttps://code.ornl.gov/neams-workbench/PySCL/-/issues/8Isotope-Name Mapping Collision2017-03-23T13:41:30ZLefebvre, Robert AlexanderIsotope-Name Mapping CollisionLefebvre, Robert AlexanderLefebvre, Robert Alexanderhttps://code.ornl.gov/neams-workbench/PySCL/-/issues/7Formula Weight Fraction2017-03-23T13:24:32ZLefebvre, Robert AlexanderFormula Weight FractionSupport formula weight fraction.
Given the following, what are the atom densities.
`
wdens = total_weight_density
wform( 3 ){ % atom count
wfrac ( ac-209 ) = 0.4 % weight fraction ...Support formula weight fraction.
Given the following, what are the atom densities.
`
wdens = total_weight_density
wform( 3 ){ % atom count
wfrac ( ac-209 ) = 0.4 % weight fraction sum to one
wfrac ( ac-230 ) = 0.2 % weight fraction sum to one
wfrac ( ac-231 ) = 0.4 % weight fraction sum to one
}
wform( 4 ){ % atom count
wfrac ( ac-229 ) = 0.5 % weight fraction sum to one
wfrac ( ac-223 ) = 0.3 % weight fraction sum to one
wfrac ( ac-223 ) = 0.2 % weight fraction sum to one
}
`
TODO - specify the conversion formula.Lefebvre, Robert AlexanderLefebvre, Robert Alexanderhttps://code.ornl.gov/neams-workbench/PySCL/-/issues/6Formula Atom Fraction2017-03-27T18:01:50ZLefebvre, Robert AlexanderFormula Atom FractionSupport formula atom fraction.
Given the following, what are the atom densities?
`
adensity = dens
aform( 3 ){ % atom count
afrac ( ac-226 ) = 0.7 % atom fraction sum to one
...Support formula atom fraction.
Given the following, what are the atom densities?
`
adensity = dens
aform( 3 ){ % atom count
afrac ( ac-226 ) = 0.7 % atom fraction sum to one
afrac ( ac-228 ) = 0.2 % atom fraction sum to one
afrac ( ac-229 ) = 0.1 % atom fraction sum to one
}
aform( 4 ){ % atom count
afrac ( ac-221 ) = 0.3 % atom fraction sum to one
afrac ( ac-224 ) = 0.3 % atom fraction sum to one
afrac ( ac-224 ) = 0.4 % atom fraction sum to one
}
`
Lefebvre, Robert AlexanderLefebvre, Robert Alexanderhttps://code.ornl.gov/neams-workbench/PySCL/-/issues/5Atom Fraction2017-03-23T13:24:32ZLefebvre, Robert AlexanderAtom FractionSupport atom fractions.
Given the following, what is the atom density?
`
adensity = 13.546
afracs{
afrac ( hg-196 ) = 0.00146535 % atom fraction sum to one
afrac ( hg-198 ) = 0.098391...Support atom fractions.
Given the following, what is the atom density?
`
adensity = 13.546
afracs{
afrac ( hg-196 ) = 0.00146535 % atom fraction sum to one
afrac ( hg-198 ) = 0.09839167 % atom fraction sum to one
afrac ( hg-199 ) = 0.16732845 % atom fraction sum to one
afrac ( hg-200 ) = 0.23027355 % atom fraction sum to one
afrac ( hg-201 ) = 0.13204386 % atom fraction sum to one
afrac ( hg-202 ) = 0.30064148 % atom fraction sum to one
afrac ( hg-204 ) = 0.06985561 % atom fraction sum to one
}
`
TODO - capture the conversion formula.Stauff, Nicolas EmileStauff, Nicolas Emilehttps://code.ornl.gov/neams-workbench/PySCL/-/issues/4Weight Density2017-06-13T14:15:30ZLefebvre, Robert AlexanderWeight DensitySupport Weight Density.
Given the following, what is the atom density?
`
wdens{
wden ( ac-230 ) = 0.0 % mass density in g/cm^3
wden ( ac-229 ) = 0.0 % mass density in g/cm^3
...Support Weight Density.
Given the following, what is the atom density?
`
wdens{
wden ( ac-230 ) = 0.0 % mass density in g/cm^3
wden ( ac-229 ) = 0.0 % mass density in g/cm^3
wden ( ac-225 ) = 0.0 % mass density in g/cm^3
}
`
TODO - provide conversion formula.Stauff, Nicolas EmileStauff, Nicolas Emilehttps://code.ornl.gov/neams-workbench/PySCL/-/issues/3Weight Fraction2017-03-23T13:24:32ZLefebvre, Robert AlexanderWeight FractionSupport weight fraction.
Given the following, what should be the atom density?
`
wdensity = wdens
wfracs{
wfrac ( ac-212 ) = 0.3 % weight fraction sum to one
wfrac ( ac-231...Support weight fraction.
Given the following, what should be the atom density?
`
wdensity = wdens
wfracs{
wfrac ( ac-212 ) = 0.3 % weight fraction sum to one
wfrac ( ac-231 ) = 0.3 % weight fraction sum to one
wfrac ( ac-213 ) = 0.4 % weight fraction sum to one
}
`Lefebvre, Robert AlexanderLefebvre, Robert Alexanderhttps://code.ornl.gov/neams-workbench/PySCL/-/issues/2Atom Density2017-03-23T13:24:32ZLefebvre, Robert AlexanderAtom DensitySupport atom density
`
adens{
aden ( ac-213 ) = 0.0 % atom density in at/barn-cm
aden ( ac-216 ) = 0.0 % atom density in at/barn-cm
aden ( ac-211 ) = 0.0 % atom density...Support atom density
`
adens{
aden ( ac-213 ) = 0.0 % atom density in at/barn-cm
aden ( ac-216 ) = 0.0 % atom density in at/barn-cm
aden ( ac-211 ) = 0.0 % atom density in at/barn-cm
}
`
This should be a simple pass-throughLefebvre, Robert AlexanderLefebvre, Robert Alexanderhttps://code.ornl.gov/neams-workbench/PySCL/-/issues/1Compute Atomic Number Density from Weight Percent2017-03-23T13:24:32ZLefebvre, Robert AlexanderCompute Atomic Number Density from Weight PercentThe PySCL ability to calculate number densities from a weight percent isotopic distribution is needed for PyARC.
The formula for this calculation is as follows :
`aden(i) = wtpt(i)*rho(mi)*avogadro/(mass(i)*1E+24)`
=> `aden(i) = w...The PySCL ability to calculate number densities from a weight percent isotopic distribution is needed for PyARC.
The formula for this calculation is as follows :
`aden(i) = wtpt(i)*rho(mi)*avogadro/(mass(i)*1E+24)`
=> `aden(i) = wtpt(i)*rho(mi)/mass(i)*(avogadro/1E+24)`
for each isotope `i` in mixture `mi`.Lefebvre, Robert AlexanderLefebvre, Robert Alexander