Skip to content

Commit f2fa791

Browse files
Added all intermediate files for JNM paper, wrote README file on reproducibility
1 parent 836a122 commit f2fa791

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+22103
-3
lines changed

README.md

+41-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,42 @@
1-
Grime
2-
=====
1+
Readme File for 2015 JNM Injected Interstitials Paper by M. P. Short et al.
32

4-
Grand Radiation Informed Microstructure Evolver
3+
==============================================
4+
5+
A note to those who want to reproduce our results:
6+
7+
You will have to install MOOSE to compile this code directly. Follow the instructions at www.mooseframework.org before proceeding.
8+
9+
To run the cases exactly as done in the paper, use a simple shell script to vary one parameter at once, and automatically
10+
rename the output file accordingly. Follow this example to, for instance, change the temperature of the simulation in Kelvin by increments of 25K:
11+
12+
## Go to the project directory
13+
cd ~/grime/problems/InjectedInterstitials/200nA
14+
15+
## Generate a sequence of numbers from 573-823K in increments of 25, and feed them into the simulation, AND name the output files accordingly
16+
seq 573 25 823 | awk '{print "../.././grime-dev-opt -i grime.i Materials/PureIron/ConstantTemperature="$1" Outputs/file-base=grime-II-"$1"K"}' | sh
17+
18+
## Do the same thing, but this time use the input file with injected interstitials turned off:
19+
seq 573 25 823 | awk '{print "../.././grime-dev-opt -i grime-noII.i Materials/PureIron/ConstantTemperature="$1" Outputs/file-base=grime-noII-"$1"K"}' | sh
20+
21+
If you want to reproduce the vacancy activation energy study, just slightly modify the above scripts to replace instead the vacancy activation energy:
22+
23+
## Generate a sequence of numbers from 80-92, and feed them into the simulation after the decimal point for E_A_vacancy, AND name the output files accordingly
24+
seq 80 92 | awk '{print "../.././grime-dev-opt -i grime.i Materials/PureIron/ConstantTemperature=0."$1" Outputs/file-base=grime-II-"$1"0meV}' | sh
25+
26+
## Generate a sequence of numbers from 80-92, and feed them into the simulation after the decimal point for E_A_vacancy, AND name the output files accordingly
27+
seq 80 92 | awk '{print "../.././grime-dev-opt -i grime-noII.i Materials/PureIron/ConstantTemperature=0."$1" Outputs/file-base=grime-noII-"$1"0meV}' | sh
28+
29+
The only difference between the input files is a single line removing the secondary source of injected interstitials, artificially turning it off.
30+
To confirm this, type:
31+
32+
diff grime.i grime-noII.i
33+
34+
Your output should look like this:
35+
36+
181d180
37+
< SecondarySource = InjectedInterstitials
38+
39+
The single line shows that the first file contains the secondary source of interstitials, while the second file does not. Nothing else varies, so you're running the same simulation with and without injected interstitials.
40+
41+
All intermediate files, in .csv and .gnumeric form, are included so readers can verify our intermediate data and graphs. They are untouched since creating the figures in the paper.
42+
Finally, please note that the input files are set to automatically output the .csv files in the papers/ directory for easier post processing. The .e (Exodus) files contain this information too. The csv files were created by adding postprocessors to aid in data extraction.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)