Skip to content
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

Files associated with R2S Step2 #26

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

anu1217
Copy link
Contributor

@anu1217 anu1217 commented Sep 16, 2024

fixes #21

-- Adding input files needed for Step 2 of R2S
-- The irradiation schedule was changed in the ALARA input file created in Step 1 to match the parameters specified in OpenMC
-- The config file is the same as the one in #25

@anu1217 anu1217 mentioned this pull request Sep 16, 2024
Copy link
Member

@gonuke gonuke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume this gets set in the config.ini but you probably want a larger source normalization. This has 1e10 for 3e8 seconds (3years). We have 3.55E17 n/MJ of fusion energy, or a source strength of 3.55E17 n/s for each MW of fusion energy. You may want to increase this source normalization to see if that gives you more variation in the photon source over time

@anu1217 anu1217 changed the title Files needed for R2S Step2 Files associated with R2S Step2 Sep 23, 2024
@anu1217
Copy link
Contributor Author

anu1217 commented Sep 23, 2024

I assume this gets set in the config.ini but you probably want a larger source normalization. This has 1e10 for 3e8 seconds (3years). We have 3.55E17 n/MJ of fusion energy, or a source strength of 3.55E17 n/s for each MW of fusion energy. You may want to increase this source normalization to see if that gives you more variation in the photon source over time

The source normalization is set manually in the ALARA input file created by config.ini - by default it's set to 1e10. I changed it to 1e18, which results in a larger and more varied photon distribution. However, the mesh distribution created at each of the two decay timesteps is exactly the same (source.h5m), although the number of photons/second emitted (photon_source_intensities.txt) is different. I could add these files here, but I'm not sure if the R2S output belongs in this particular PR.

@gonuke
Copy link
Member

gonuke commented Sep 24, 2024

When I look at the phtn_src file, I see evidence that they are different at different shutdown times.

This bash command will only look at the TOTAL photon source (rather than the nuclide-specific source), and will exclude the lines for shutdown

prompt%> grep ^TOTAL phtn_src | grep -v shutdown | less

As I scroll through, I see a surprising number of results with 0 photon source (that's maybe a different problem), but most mesh elements that have any photon source have different values at 24 h and 1 month.

How can you tell the two files are the same?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Run ALARA
2 participants