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

Refactored example scripts and notes for future work #3

Closed
wants to merge 62 commits into from

Conversation

LukeSeifert
Copy link
Collaborator

@LukeSeifert LukeSeifert commented May 2, 2024

This PR is a refactored version of PR #1. This PR contains documentation for my planned approaches for handling spatial depletion in OpenMC, as well as some proof-of-concept work using a simplified PDE approach.

These purpose of this repository is to help me keep track of my scripts in a convenient manner. This repo may be referenced if/when this work proves relevant in a future publication. I plan to use these scripts in the early portion of my PhD work as a proof-of-concept to discuss the differences between different methodologies for handling spatial resolution in depletion simulations. These scripts will likely not be developed significantly beyond their current state, as the next steps of my work will likely involve working with either OpenMC or SaltProc (depending on the accuracy of loosely coupled advection in depletion).

Note: The actual number of lines to review is around 1400, but I also have the necessary OpenMC data files included here for ease of use.

minute = 60 * second
hour = 60 * minute
day = 24 * hour
year = 365.25 * day

Choose a reason for hiding this comment

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

I would recommend using a library such as unyt for these conversions

@@ -0,0 +1,273 @@
import solvers
import numpy as np
from data import DataHandler

Choose a reason for hiding this comment

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

data is an extremely generic name. data could suggest a file that contains data. I would recommend data_handler or something similar.

@samgdotson samgdotson added the Status:6-Duplicate This can be closed because it is covered by / duplicative of the content of another issue or PR. label May 2, 2024
@samgdotson
Copy link

This PR should be merged with #1 since it directly addresses the comments in that PR.

@samgdotson samgdotson closed this May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status:6-Duplicate This can be closed because it is covered by / duplicative of the content of another issue or PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants