-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
minute = 60 * second | ||
hour = 60 * minute | ||
day = 24 * hour | ||
year = 365.25 * day |
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 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 |
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.
data
is an extremely generic name. data
could suggest a file that contains data. I would recommend data_handler
or something similar.
This PR should be merged with #1 since it directly addresses the comments in that PR. |
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.