pillager

Repository for coursework.

https://github.com/quintonjw97/pillager

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: sciencedirect.com
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.0%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Repository for coursework.

Basic Info
  • Host: GitHub
  • Owner: Quintonjw97
  • License: bsd-3-clause
  • Language: MATLAB
  • Default Branch: main
  • Size: 194 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 1 year ago · Last pushed 12 months ago
Metadata Files
Readme Changelog License Citation

README.md

Tests cov License

Pillager

Pillager is a tool for coupling regressive and generalized regressive secant search methods with Serpent 2 transport code burnup calculations. These search methods are detailed in Price and Roskoff (2023). Since the burnup of materials in a nuclear reactor is a function of the neutron flux, and flux is dependent upon material composition and geometry, it is important to conduct burnup calculations with a critical geometry. Criticality, in turn, changes with burnup, necessitating the use of such search methods. Pillager contains the aforementioned search methods, and the capability to automate the coupled process for a realistic Heat-Pipe Microreactor (rHPMR) design.

By providing a base Serpent input file for the reactor and a separate file containing the necessary geometry for the control surfaces, annotated with a variable 'x', Pillager will write the necessary additions for each burnup and search step. Inputs and results from each critical configuration are stored in a folder corresponding to the associated burnup step, and wholistic results are stored in a csv file.

Note the user must obtain access to Serpent 2 independently, it is not included in this package.

Installation

To install, clone this repository and pip install as follows: git clone https://github.com/Quintonjw97/pillager.git cd pillager pip install .

Documentation

Example Criticality Search-Burnup Problem

The Pillager class contains various functions that are used to automatically conduct the coupled search-burnup task. Below is an example of a basic coupled criticality search-burnup script. ``` import pillager.pillager as pg

problem = pg.Pillager() problem.blacklistdirfiles() problem.pillage() An instance of the Pillager class is created first, then the blacklist_dir_files() function should be called to prevent any files in the working directory from being moved, as the pillage() function will move generated Serpent inputs and outputs into folders corresponding to their burnup step. The code above will use the default settings for various Serpent input parameters, though the user can manually designate some values (see documentation). At a minimum, two input files are required to be in your working directory for the problem to successfully execute. One should contain the Serpent geometry lines corresponding to the control surfaces which will be manipulated. They will need to be modified like the example below:

Original Serpent formatting

surf 94 pad 0.0 0.0 14.0 15.0 300.0+180 60.0+180

Modified version

surf 94 pad 0.0 0.0 14.0 15.0 {300.0+180-x} {60.0+180-x} The other file should contain the remainder of the Serpent input lines, with the exception of the following settings: set pop set bc set opti set nbuf set memfrac set mcvol set rfw set rfr set depout set printm dep ```

Owner

  • Name: Quinton Jaanai Williams
  • Login: Quintonjw97
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Williams"
  given-names: "Quinton"
  orcid: "https://orcid.org/0009-0006-2653-2189"
title: "pillager"
version: 0.0.2
doi: 10.5281/zenodo.15060907
date-released: 2025-03-20
url: "https://github.com/Quintonjw97/pillager"

GitHub Events

Total
  • Push event: 160
  • Create event: 3
Last Year
  • Push event: 160
  • Create event: 3