-
Notifications
You must be signed in to change notification settings - Fork 12
added _irradschedule reading from input file #60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -42,6 +42,8 @@ ATOMS | |
| << irradiation schedule >> | ||
| FLUX 1100000000000000.0 | ||
| TIME 300.0 SECS | ||
| FLUX 42.0 | ||
| TIME 200.0 SECS | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we're going to need a lot more test cases for this.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added 5 test input files from the workshop and added them to the test for irradiation and cooling schedule checking ✔️ |
||
| ATOMS | ||
| << end of irradiation >> | ||
| FLUX 0.0 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| << -----set initial switches and get nuclear data----- >> | ||
| CLOBBER | ||
| JSON | ||
| SPEK | ||
| GETXS 1 709 | ||
| GETDECAY 1 | ||
| FISPACT | ||
| * FNS 5 Minutes Inconel-600 | ||
| DENSITY 8.42 | ||
| MASS 1.0E-3 4 | ||
| NI 75.82 | ||
| MN 0.39 | ||
| FE 7.82 | ||
| CR 15.97 | ||
| MIND 1E3 | ||
| GRAPH 1 2 1 3 | ||
| UNCERTAINTY 2 | ||
| HALF | ||
| HAZARDS | ||
| TAB1 1 | ||
| << -----irradiation phase----- >> | ||
| FLUX 1.116E+10 | ||
| ATOMS | ||
| TIME 5.0 MINS | ||
| ATOMS | ||
| << -----cooling phase----- >> | ||
| FLUX 0. | ||
| ZERO | ||
| TIME 36 ATOMS | ||
| TIME 15 ATOMS | ||
| TIME 16 ATOMS | ||
| TIME 15 ATOMS | ||
| TIME 15 ATOMS | ||
| TIME 26 ATOMS | ||
| TIME 33 ATOMS | ||
| TIME 36 ATOMS | ||
| TIME 53 ATOMS | ||
| TIME 66 ATOMS | ||
| TIME 66 ATOMS | ||
| TIME 97 ATOMS | ||
| TIME 127 ATOMS | ||
| TIME 126 ATOMS | ||
| TIME 187 ATOMS | ||
| TIME 246 ATOMS | ||
| TIME 244 ATOMS | ||
| TIME 246 ATOMS | ||
| TIME 428 ATOMS | ||
| TIME 606 ATOMS | ||
| TIME 607 ATOMS | ||
| END | ||
| * END | ||
| /* |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| MONITOR 1 | ||
| CLOBBER | ||
| JSON | ||
| SPEK | ||
| GETXS 1 709 | ||
| GETDECAY 1 | ||
| FISPACT | ||
| * irradiation 1 | ||
| MASS 1.0 1 | ||
| W 100.0 | ||
| TAB1 21 | ||
| FLUX 1.1e14 | ||
| ATOMS | ||
| TIME 5 MINS ATOMS | ||
| END | ||
| * end |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,82 @@ | ||
| MONITOR 1 | ||
| << Overwrite existing inventory.log and inventory.out files >> | ||
| CLOBBER | ||
| << Enable JSON file format output for inventory data >> | ||
| JSON | ||
| << Read ARRAYX and COLLAPX files >> | ||
| GETXS 1 709 | ||
| GETDECAY 1 | ||
| << Read gamma bounds from file >> | ||
| READGG | ||
| << End of control >> | ||
| FISPACT | ||
| * FNS 5 Minutes Inconel-600 | ||
| << Material definition - start of initialisation phase >> | ||
| << Density is in units of g/cm3 >> | ||
| DENSITY 8.42 | ||
| << Elemental definition of material >> | ||
| << total mass = 1g, with 4 elements>> | ||
| MASS 1.0E-3 4 | ||
| << Nickel at 75.82%>> | ||
| NI 75.82 | ||
| << Manganese at 0.39%>> | ||
| MN 0.39 | ||
| << Iron at 7.82%>> | ||
| FE 7.82 | ||
| << Chromium at 15.97%>> | ||
| CR 15.97 | ||
| << Set the minimum number of atoms to track - 1000 atom threshold>> | ||
| << 1e5 atoms is the default >> | ||
| MIND 1E3 | ||
| << Produce some graph files for GNU plot for post processing >> | ||
| << from left to right: 1 graph, 2= .gra and .plt for gnuplot, 1=use uncertainties, 3=total heat output>> | ||
| GRAPH 1 2 1 3 | ||
| << Output estimates of both uncertainty and pathway analysis >> | ||
| UNCERTAINTY 2 | ||
| << Output half lives to output inventory information >> | ||
| HALF | ||
| << Output ingestion and inhalation doses to output >> | ||
| HAZARDS | ||
| << Signify start of inventory phase >> | ||
| << -----irradiation phase----- >> | ||
| << Flux amplitude in /cm2 /s >> | ||
| FLUX 1.116E+10 | ||
| << ATOMS= tells F-II to solve rate equations and dump output to file >> | ||
| << No time is given so it will use 0.0 (initial) >> | ||
| ATOMS | ||
| << Solve and output at 5 minutes of irradiation>> | ||
| TIME 5.0 MINS | ||
| ATOMS | ||
| << -----cooling phase----- >> | ||
| << Set flux to 0 to tell F-II that no irradiation is occuring and it is decay only >> | ||
| FLUX 0. | ||
| << Whilst it is possible to irradiate again FLUX >0, ZERO tells F-II that no more irradiation can occur >> | ||
| << From here on only cooling can happen - this keyword is important for pathways analysis>> | ||
| ZERO | ||
| << Cooling time - note use of ATOMS to indicate solving and output >> | ||
| << we could also use STEP or SPECTRUM to reduce output>> | ||
| << Default time unit is seconds, these are all in seconds >> | ||
| TIME 36 ATOMS | ||
| TIME 15 ATOMS | ||
| TIME 16 ATOMS | ||
| TIME 15 ATOMS | ||
| TIME 15 ATOMS | ||
| TIME 26 ATOMS | ||
| TIME 33 ATOMS | ||
| TIME 36 ATOMS | ||
| TIME 53 ATOMS | ||
| TIME 66 ATOMS | ||
| TIME 66 ATOMS | ||
| TIME 97 ATOMS | ||
| TIME 127 ATOMS | ||
| TIME 126 ATOMS | ||
| TIME 187 ATOMS | ||
| TIME 246 ATOMS | ||
| TIME 244 ATOMS | ||
| TIME 246 ATOMS | ||
| TIME 428 ATOMS | ||
| TIME 606 ATOMS | ||
| TIME 607 ATOMS | ||
| << End of file >> | ||
| END | ||
| * END |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| MONITOR 1 | ||
| CLOBBER | ||
| JSON | ||
| SPEK | ||
| NOERROR | ||
| PROJECTILE 3 | ||
| GETXS 1 162 | ||
| GETDECAY 1 | ||
| FISPACT | ||
| * proton irradiation | ||
| DENSITY 1.0 | ||
| MASS 1.0 1 | ||
| Y 100. | ||
| FLUX 1e20 | ||
| ATOMS | ||
| TIME 1 MINS ATOMS | ||
| TIME 1 MINS ATOMS | ||
| TIME 1 MINS ATOMS | ||
| FLUX 0.0 | ||
| TIME 1 DAYS ATOMS | ||
| TIME 1 DAYS ATOMS | ||
| TIME 1 DAYS ATOMS | ||
| TIME 1 DAYS ATOMS | ||
| TIME 1 DAYS ATOMS | ||
| TIME 1 DAYS ATOMS | ||
| TIME 1 DAYS ATOMS | ||
| END | ||
| * end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can do just decay in F-II without any
ZEROkeyword, but this needs to be confirmed.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking into this and I think yes FISPACT does decay without the ZERO keyword. Just setting the FLUX to 0.0 and the material decays. What ZERO does in addition to setting FLUX to 0.0 is to switch from irradiation to cooling schedule. So I've added a build up of cooling schedule to this PR as well. Sorry for the scope creep.
https://fispact.ukaea.uk/wiki/Keyword:ZERO
https://fispact.ukaea.uk/wiki/Keyword:FLUX