CORE-GATECH-GROUP / serpent-tools

A suite of parsers designed to make interacting with SERPENT output files simple and flawless
http://serpent-tools.readthedocs.io/en/latest/
MIT License
52 stars 33 forks source link

ENH reading radioactive decay mode "gsrc" file #419

Open veeshy opened 4 years ago

veeshy commented 4 years ago

Is your feature request related to a problem? Please describe. When running serpent in radioactive decay mode, a [input]_gsrc.m file is generated described the radioactive source being used in the problem. Further describes in http://serpent.vtt.fi/mediawiki/index.php/Radioactive_decay_source,_practical_example

Describe the solution you'd like Reading this output, perhaps keeping track of each nuclide set separately and perhaps plots / sums for total source added too.

Describe alternatives you've considered No good alternatives other than matlab, and even then it would be cumbersome to keep track of nuclides too.

Additional context I don't have a complete example to share, but I have a barebones gsrc output attached to help test things. A note: the "total" listed here is NOT consistent with the matrix provided because I arbitrarily removed most of the output and did not adjust the total. This does have all the salient features of the output though: multiple materials, multiple isotopes in a material, the vol and tot intensity variables for each material.

[Uploading shareable_gsrc.m.zip…]()